BenOnly reports: Idea: a digiline node that can ... #6494

Open
opened 2024-03-15 12:45:32 +00:00 by yourland-report · 5 comments

BenOnly reports a bug:

Idea: a digiline node that can be assigned an NPCs ID and receive messages to send them on a channel

Player position:

{
	x = -23018.44921875,
	y = 52.5,
	z = -15621.203125
}

Player look:

{
	x = 0.79343181848526,
	y = -0.15815806388855,
	z = 0.58775168657303
}

Player information:

{
	min_rtt = 0.043999999761581,
	avg_rtt = 0.41600000858307,
	min_jitter = 0,
	max_jitter = 52.099998474121,
	avg_jitter = 0.080000013113022,
	max_rtt = 52.145999908447,
	serialization_version = 28,
	patch = 7,
	state = "Active",
	formspec_version = 4,
	protocol_version = 39,
	major = 2,
	version_string = "2.0.7",
	ip_version = 6,
	minor = 0,
	connection_uptime = 354,
	lang_code = "de"
}

Player meta:

{
	fields = {
		repellant = "0",
		["ocean_build.ocean_built"] = "12",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 7180\", \"\", \"3d_armor:chestplate_crystal 1 6920\", \"shields:shield_rainbow 1 2768\", \"3d_armor:boots_crystal 1 7070\", \"3d_armor:leggings_crystal 1 6920\"}",
		xp = "92728",
		jointime = "1686751689",
		yl_commons_thankyou = "16",
		played_time = "1745869",
		digged_nodes = "177091",
		inflicted_damage = "92606",
		partychat = "party",
		crafted = "63729",
		placed_nodes = "46590",
		yl_commons_player_created = "1686751689",
		yl_commons_player_joined = "1710506458",
		["stamina:level"] = "8",
		punch_count = "7070",
		["stamina:poisoned"] = "no",
		["ocean_build.forbidden"] = "true",
		["stamina:exhaustion"] = "10",
		["petz:werewolf"] = "0",
		["ocean_build.last_warning"] = "1704396925",
		["petz:lycanthropy"] = "1",
		yl_church = "return {[\"last_death\"] = {[\"x\"] = -23067, [\"y\"] = -1, [\"z\"] = -15824}, [\"last_death_portal\"] = 1709923122, [\"last_heal\"] = 1692220515}",
		died = "319",
		hud_state = "on",
		["petz:werewolf_clan_idx"] = "2",
		bitten = "0",
		["signslib:pos"] = "(2644,22,3355)"
	}
}

Log identifier


[MOD] yl_report log identifier = wVCIJWhQasWBVrY8obPevxMPHB9n3Kdi

Profiler save:

profile-20240315T124532.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 7h 57min 17s | max lag: 0.772s | clients (23/52): AliasAlreadyTaken, Bailiff, BenOnly, BlackPanther, Boot, Davidsoft, daydream, hedwig, Hymn, Jammy, jim15, kogucik97, LadYeauty, Lampi, mindfrost, Murmel, Noii, rewired_X, Robo, Service, TimurHami, whosit, Wovado

Teleport command:

/teleport xyz -23018 53 -15621

Compass command:

/give_compass Construction wVCIJWhQasWBVrY8obPevxMPHB9n3Kdi D2691E -23018 53 -15621
BenOnly reports a bug: > Idea: a digiline node that can be assigned an NPCs ID and receive messages to send them on a channel Player position: ``` { x = -23018.44921875, y = 52.5, z = -15621.203125 } ``` Player look: ``` { x = 0.79343181848526, y = -0.15815806388855, z = 0.58775168657303 } ``` Player information: ``` { min_rtt = 0.043999999761581, avg_rtt = 0.41600000858307, min_jitter = 0, max_jitter = 52.099998474121, avg_jitter = 0.080000013113022, max_rtt = 52.145999908447, serialization_version = 28, patch = 7, state = "Active", formspec_version = 4, protocol_version = 39, major = 2, version_string = "2.0.7", ip_version = 6, minor = 0, connection_uptime = 354, lang_code = "de" } ``` Player meta: ``` { fields = { repellant = "0", ["ocean_build.ocean_built"] = "12", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 7180\", \"\", \"3d_armor:chestplate_crystal 1 6920\", \"shields:shield_rainbow 1 2768\", \"3d_armor:boots_crystal 1 7070\", \"3d_armor:leggings_crystal 1 6920\"}", xp = "92728", jointime = "1686751689", yl_commons_thankyou = "16", played_time = "1745869", digged_nodes = "177091", inflicted_damage = "92606", partychat = "party", crafted = "63729", placed_nodes = "46590", yl_commons_player_created = "1686751689", yl_commons_player_joined = "1710506458", ["stamina:level"] = "8", punch_count = "7070", ["stamina:poisoned"] = "no", ["ocean_build.forbidden"] = "true", ["stamina:exhaustion"] = "10", ["petz:werewolf"] = "0", ["ocean_build.last_warning"] = "1704396925", ["petz:lycanthropy"] = "1", yl_church = "return {[\"last_death\"] = {[\"x\"] = -23067, [\"y\"] = -1, [\"z\"] = -15824}, [\"last_death_portal\"] = 1709923122, [\"last_heal\"] = 1692220515}", died = "319", hud_state = "on", ["petz:werewolf_clan_idx"] = "2", bitten = "0", ["signslib:pos"] = "(2644,22,3355)" } } ``` Log identifier ``` [MOD] yl_report log identifier = wVCIJWhQasWBVrY8obPevxMPHB9n3Kdi ``` Profiler save: ``` profile-20240315T124532.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 7h 57min 17s | max lag: 0.772s | clients (23/52): AliasAlreadyTaken, Bailiff, BenOnly, BlackPanther, Boot, Davidsoft, daydream, hedwig, Hymn, Jammy, jim15, kogucik97, LadYeauty, Lampi, mindfrost, Murmel, Noii, rewired_X, Robo, Service, TimurHami, whosit, Wovado ``` Teleport command: ``` /teleport xyz -23018 53 -15621 ``` Compass command: ``` /give_compass Construction wVCIJWhQasWBVrY8obPevxMPHB9n3Kdi D2691E -23018 53 -15621 ```
AliasAlreadyTaken was assigned by yourland-report 2024-03-15 12:45:32 +00:00
AliasAlreadyTaken added the
1. kind/enhancement
label 2024-03-15 19:39:26 +00:00
Sokomine was assigned by AliasAlreadyTaken 2024-03-15 19:39:30 +00:00
AliasAlreadyTaken removed their assignment 2024-03-15 19:39:37 +00:00
Member

i feel like this should be a generalized way of passing messages between various modules. https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern

i feel like this should be a generalized way of passing messages between various modules. https://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern

That's something I'd like to see supported in the engine, but such a thing can be done modwise as well. Only if its done in a mod, we'll hardly get everyone else to adopt ours

That's something I'd like to see supported in the engine, but such a thing can be done modwise as well. Only if its done in a mod, we'll hardly get everyone else to adopt ours

Or make a remote book writer that writes NPC dialogs and responses to a book, and make a digiline that can read the book's content? This will be more flexible.

Or make a remote book writer that writes NPC dialogs and responses to a book, and make a digiline that can read the book's content? This will be more flexible.
Member

Or make a remote book writer that writes NPC dialogs and responses to a book, and make a digiline that can read the book's content? This will be more flexible.

This issue is about NPCs being able to interact with digilines machines.

Dumping/reading stuff from books is kinda useless, unless you speak about import/export, but then it has no relation to digilines.

> Or make a remote book writer that writes NPC dialogs and responses to a book, and make a digiline that can read the book's content? This will be more flexible. This issue is about NPCs being able to interact with digilines machines. Dumping/reading stuff from books is kinda useless, unless you speak about import/export, but then it has no relation to digilines.
Member

i feel like this should be a generalized way of passing messages between various modules.

this specific shouldn't wait until some theoretical API, i was just dreaming.

> i feel like this should be a generalized way of passing messages between various modules. this specific shouldn't wait until some theoretical API, i was just dreaming.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#6494
No description provided.