flux reports: channels are being stripped fr ... #4159

Closed
opened 2023-04-11 02:14:32 +00:00 by yourland-report · 5 comments

flux reports a bug:

channels are being stripped from luacontroller interrupts, resulting in inability to have multiple interrupts in a single controller.

Player position:

{
	x = 1284.6950683594,
	y = 33.5,
	z = 511.71099853516
}

Player look:

{
	x = -0.10817842185497,
	y = -0.09723549336195,
	z = -0.98936480283737
}

Player information:

{
	ip_version = 6,
	min_rtt = 0.16500000655651,
	avg_rtt = 0.17299999296665,
	min_jitter = 0,
	protocol_version = 41,
	avg_jitter = 0,
	connection_uptime = 1978,
	serialization_version = 29,
	patch = 0,
	state = "Active",
	lang_code = "",
	major = 5,
	version_string = "5.8.0-dev-d8b1337a6",
	max_rtt = 20.92799949646,
	formspec_version = 6,
	max_jitter = 17.784999847412,
	minor = 8
}

Player meta:

{
	fields = {
		jointime = "1615351173",
		bitten = "0",
		yl_commons_thankyou = "241",
		["stamina:poisoned"] = "no",
		["petz:werewolf_clan_idx"] = "1",
		yl_commons_player_joined = "1681177312",
		["petz:werewolf_vignette_id"] = "19",
		hud_state = "on",
		["stamina:level"] = "16",
		["petz:werewolf"] = "1",
		yl_commons_player_created = "1615351173",
		["petz:lycanthropy"] = "1",
		xp = "1862116",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}",
		played_time = "33834862",
		["3d_armor_inventory"] = "return {\"shields:shield_rainbow 1 8080\", \"3d_armor:helmet_rainbow 1 8080\", \"3d_armor:chestplate_rainbow 1 8080\", \"3d_armor:leggings_rainbow 1 8080\", \"nether_mobs:dragon_boots 1 20020\", \"\"}",
		placed_nodes = "430740",
		died = "94",
		["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}",
		crafted = "126175",
		digged_nodes = "1478076",
		repellant = "0",
		partychat = "party",
		yl_church = "return {[\"last_death_portal\"] = 1680898447, [\"last_death\"] = {[\"z\"] = 587, [\"x\"] = 2817, [\"y\"] = 66}, [\"last_heal\"] = 1615504208}",
		["signslib:pos"] = "(1268,49,608)",
		["stamina:exhaustion"] = "77",
		arenalib_infobox_arenaID = "0",
		punch_count = "225232",
		inflicted_damage = "4326418"
	}
}

Log identifier


[MOD] yl_report log identifier = FUMy5wC2jn3j78k3RA4z4Wlg8EwvvNPE

Profiler save:

profile-20230411T021432.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 40min 25s | max lag: 1.81s | clients (18/52): ABetterName, AliasAlreadyTaken, AspireMint, Bailiff, copper248, daydream, flux, Lia_Katie, Lupercus, mahou, MrClean, niceride, Scathach, Service, shanish3, sixer, Therottenpotato, Two_Iotas

Teleport command:

/teleport xyz 1285 34 512

Compass command:

/give_compass Construction FUMy5wC2jn3j78k3RA4z4Wlg8EwvvNPE D2691E 1285 34 512
flux reports a bug: > channels are being stripped from luacontroller interrupts, resulting in inability to have multiple interrupts in a single controller. Player position: ``` { x = 1284.6950683594, y = 33.5, z = 511.71099853516 } ``` Player look: ``` { x = -0.10817842185497, y = -0.09723549336195, z = -0.98936480283737 } ``` Player information: ``` { ip_version = 6, min_rtt = 0.16500000655651, avg_rtt = 0.17299999296665, min_jitter = 0, protocol_version = 41, avg_jitter = 0, connection_uptime = 1978, serialization_version = 29, patch = 0, state = "Active", lang_code = "", major = 5, version_string = "5.8.0-dev-d8b1337a6", max_rtt = 20.92799949646, formspec_version = 6, max_jitter = 17.784999847412, minor = 8 } ``` Player meta: ``` { fields = { jointime = "1615351173", bitten = "0", yl_commons_thankyou = "241", ["stamina:poisoned"] = "no", ["petz:werewolf_clan_idx"] = "1", yl_commons_player_joined = "1681177312", ["petz:werewolf_vignette_id"] = "19", hud_state = "on", ["stamina:level"] = "16", ["petz:werewolf"] = "1", yl_commons_player_created = "1615351173", ["petz:lycanthropy"] = "1", xp = "1862116", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}", played_time = "33834862", ["3d_armor_inventory"] = "return {\"shields:shield_rainbow 1 8080\", \"3d_armor:helmet_rainbow 1 8080\", \"3d_armor:chestplate_rainbow 1 8080\", \"3d_armor:leggings_rainbow 1 8080\", \"nether_mobs:dragon_boots 1 20020\", \"\"}", placed_nodes = "430740", died = "94", ["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}", crafted = "126175", digged_nodes = "1478076", repellant = "0", partychat = "party", yl_church = "return {[\"last_death_portal\"] = 1680898447, [\"last_death\"] = {[\"z\"] = 587, [\"x\"] = 2817, [\"y\"] = 66}, [\"last_heal\"] = 1615504208}", ["signslib:pos"] = "(1268,49,608)", ["stamina:exhaustion"] = "77", arenalib_infobox_arenaID = "0", punch_count = "225232", inflicted_damage = "4326418" } } ``` Log identifier ``` [MOD] yl_report log identifier = FUMy5wC2jn3j78k3RA4z4Wlg8EwvvNPE ``` Profiler save: ``` profile-20230411T021432.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 40min 25s | max lag: 1.81s | clients (18/52): ABetterName, AliasAlreadyTaken, AspireMint, Bailiff, copper248, daydream, flux, Lia_Katie, Lupercus, mahou, MrClean, niceride, Scathach, Service, shanish3, sixer, Therottenpotato, Two_Iotas ``` Teleport command: ``` /teleport xyz 1285 34 512 ``` Compass command: ``` /give_compass Construction FUMy5wC2jn3j78k3RA4z4Wlg8EwvvNPE D2691E 1285 34 512 ```
AliasAlreadyTaken was assigned by yourland-report 2023-04-11 02:14:32 +00:00
AliasAlreadyTaken added the
1. kind/bug
label 2023-04-11 23:30:01 +00:00
flux added the
2. prio/elevated
label 2023-04-12 04:25:17 +00:00
Member

after consulting the documentation, it's because the relevant value is the interrupt id (event.iid), not event.channel.

after consulting the documentation, it's because the relevant value is the interrupt id (`event.iid`), not `event.channel`.
flux closed this issue 2023-04-12 16:05:54 +00:00
flux added the
5. result/cannot reproduce
label 2023-04-12 16:06:05 +00:00

If this is something more people could fall into and requires a lot of research to get it right, maybe let's make it a documentation issue?

If this is something more people could fall into and requires a lot of research to get it right, maybe let's make it a documentation issue?

its in the official luacontroller manual/tutorial

Chapter V: Events

event info
interrupt Thrown when an interrupt timer elapses. Additional information available in event.iid: The iid specified in interrupt(time, iid)
digiline Thrown when information from a digiline was received. Additional information available in event.channel: The channel of the message; and event.msg: The content of the message. See chapter VIII for details

and also explained in more detail in

Chapter IV: Interrupts
Chapter VIII: Digilines

its in the [official luacontroller manual/tutorial](https://mesecons.net/luacontroller/) > Chapter V: Events > | event | info | | -------- | -------- | | interrupt | Thrown when an interrupt timer elapses. Additional information available in event.iid: The iid specified in interrupt(time, iid) | | digiline | Thrown when information from a digiline was received. Additional information available in event.channel: The channel of the message; and event.msg: The content of the message. See chapter VIII for details | and also explained in more detail in >Chapter IV: Interrupts >Chapter VIII: Digilines
Member

one thing i didn't check, was whether this was the original player's issue or not, but i've forgotten who that player was

one thing i didn't check, was whether this was the original player's issue or not, but i've forgotten who that player was

Might have been niceride

Might have been niceride
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#4159
No description provided.