DanteLives reports: I crashed the server through editing my NPC. Here's what I was doing. I was in the "manage variables ... #8526

Open
opened 2025-05-10 05:07:56 +02:00 by yourland-report · 1 comment

DanteLives reports a bug:

I crashed the server through editing my NPC. Here's what I was doing. I was in the "manage variables" dialogue and was trying to assign a value for a new variable for a certain player. Apparently the program couldn't handle the situation where the player didn't already have a value stored for that variable.

Player position:

{
	y = 15.561999320984,
	z = -2361.1140136719,
	x = 1368.458984375
}

Player look:

{
	y = -0.38058623671532,
	z = 0.14784942567348,
	x = 0.91284972429276
}

Player information:

{
	serialization_version = 29,
	avg_rtt = 0.179000005126,
	patch = 0,
	version_string = "5.11.0",
	max_rtt = 0.20999999344349,
	lang_code = "",
	minor = 11,
	state = "Active",
	connection_uptime = 656,
	max_jitter = 0.031999990344048,
	major = 5,
	min_jitter = 0,
	formspec_version = 8,
	protocol_version = 46,
	ip_version = 6,
	min_rtt = 0.17499999701977,
	avg_jitter = 0
}

Player meta:

{
	fields = {
		yl_commons_player_joined = "1746845842",
		played_time = "5226630",
		digged_nodes = "2698296",
		placed_nodes = "275941",
		died = "148",
		bitten = "0",
		repellant = "0",
		yl_commons_thankyou = "78",
		["ocean_build.ocean_built"] = "12",
		xp = "653605",
		ui_waypoints = "{\"data\":[null],\"selected\":1.0}",
		["hud_manager:yl_snowball:hud__enabled"] = "n",
		yl_church = "return {[\"last_death_portal\"] = 1744944684, [\"last_heal\"] = 1730676677, [\"last_death\"] = {[\"x\"] = -5136, [\"y\"] = 234, [\"z\"] = 26}}",
		["signslib:pos"] = "(1329,14,-2357)",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		crafted = "404334",
		["stamina:exhaustion"] = "63",
		arenalib_infobox_arenaID = "0",
		hud_state = "on",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 8240\", \"3d_armor:leggings_crystal 1 8240\", \"3d_armor:chestplate_crystal 1 8240\", \"3d_armor:boots_crystal 1 8240\", \"shields:shield_rainbow 1 18040\", \"\"}",
		["ocean_build.forbidden"] = "true",
		punch_count = "28331",
		jointime = "1629076307",
		inflicted_damage = "536039",
		["stamina:level"] = "19",
		partychat = "main",
		["ocean_build.last_warning"] = "1718067073",
		yl_commons_player_created = "1629076307"
	}
}

Log identifier


[MOD] yl_report log identifier = 7l3hjgeDfV5SdXkv7oTJ9hqP13oN6QIX

Profiler save:

profile-20250510T050756.json_prettyEE

Status:

# Server: version: 5.11.0-yl-lt | game: Minetest Game | uptime: 1d 22h 27min 32s | max lag: 0.257s | clients (14/52): akruz, AliasAlreadyTaken, Bailiff, Crazylad, DanteLives, ganzha, JoeBlack, Kestrel, LeetPeet, Miahide, nakama-ta, Pelu, pink_mothra, Service

Teleport command:

/teleport xyz 1368 16 -2361

Compass command:

/give_compass Construction 7l3hjgeDfV5SdXkv7oTJ9hqP13oN6QIX D2691E 1368 16 -2361
DanteLives reports a bug: > I crashed the server through editing my NPC. Here's what I was doing. I was in the "manage variables" dialogue and was trying to assign a value for a new variable for a certain player. Apparently the program couldn't handle the situation where the player didn't already have a value stored for that variable. Player position: ``` { y = 15.561999320984, z = -2361.1140136719, x = 1368.458984375 } ``` Player look: ``` { y = -0.38058623671532, z = 0.14784942567348, x = 0.91284972429276 } ``` Player information: ``` { serialization_version = 29, avg_rtt = 0.179000005126, patch = 0, version_string = "5.11.0", max_rtt = 0.20999999344349, lang_code = "", minor = 11, state = "Active", connection_uptime = 656, max_jitter = 0.031999990344048, major = 5, min_jitter = 0, formspec_version = 8, protocol_version = 46, ip_version = 6, min_rtt = 0.17499999701977, avg_jitter = 0 } ``` Player meta: ``` { fields = { yl_commons_player_joined = "1746845842", played_time = "5226630", digged_nodes = "2698296", placed_nodes = "275941", died = "148", bitten = "0", repellant = "0", yl_commons_thankyou = "78", ["ocean_build.ocean_built"] = "12", xp = "653605", ui_waypoints = "{\"data\":[null],\"selected\":1.0}", ["hud_manager:yl_snowball:hud__enabled"] = "n", yl_church = "return {[\"last_death_portal\"] = 1744944684, [\"last_heal\"] = 1730676677, [\"last_death\"] = {[\"x\"] = -5136, [\"y\"] = 234, [\"z\"] = 26}}", ["signslib:pos"] = "(1329,14,-2357)", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", crafted = "404334", ["stamina:exhaustion"] = "63", arenalib_infobox_arenaID = "0", hud_state = "on", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 8240\", \"3d_armor:leggings_crystal 1 8240\", \"3d_armor:chestplate_crystal 1 8240\", \"3d_armor:boots_crystal 1 8240\", \"shields:shield_rainbow 1 18040\", \"\"}", ["ocean_build.forbidden"] = "true", punch_count = "28331", jointime = "1629076307", inflicted_damage = "536039", ["stamina:level"] = "19", partychat = "main", ["ocean_build.last_warning"] = "1718067073", yl_commons_player_created = "1629076307" } } ``` Log identifier ``` [MOD] yl_report log identifier = 7l3hjgeDfV5SdXkv7oTJ9hqP13oN6QIX ``` Profiler save: ``` profile-20250510T050756.json_prettyEE ``` Status: ``` # Server: version: 5.11.0-yl-lt | game: Minetest Game | uptime: 1d 22h 27min 32s | max lag: 0.257s | clients (14/52): akruz, AliasAlreadyTaken, Bailiff, Crazylad, DanteLives, ganzha, JoeBlack, Kestrel, LeetPeet, Miahide, nakama-ta, Pelu, pink_mothra, Service ``` Teleport command: ``` /teleport xyz 1368 16 -2361 ``` Compass command: ``` /give_compass Construction 7l3hjgeDfV5SdXkv7oTJ9hqP13oN6QIX D2691E 1368 16 -2361 ```
AliasAlreadyTaken was assigned by yourland-report 2025-05-10 05:07:56 +02:00
whosit added the
1. kind/bug
3. source/mod upstream
2. prio/critical
labels 2025-05-10 11:17:08 +02:00
Sokomine was assigned by whosit 2025-05-10 11:17:16 +02:00
Member
2025-05-08 06:36:16: ACTION[Server]: [yl_commons] formspec "yl_speak_up:manage_variables": DanteLives submitted {"default_value":"","grant_player_var_read_access":"","grant_player_var_write_access":"","list_of_entries":"CanalHouseGuest","list_var_read_access":"Add player:","list_var_write_access":"Add player:","show_stored_value_for_player":"Show value for this player","stored_value_for_player":"DanteLives2"}
2025-05-08 06:36:35: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback on_playerReceiveFields(): ...10.0/Yourland_main/bin/../mods/yl_speak_up/quest_api.lua:206: attempt to index field '$META$' (a nil value)
2025-05-08 06:36:35: ERROR[Main]: stack traceback:
2025-05-08 06:36:35: ERROR[Main]: ...10.0/Yourland_main/bin/../mods/yl_speak_up/quest_api.lua:206: in function 'get_quest_variable_value'
2025-05-08 06:36:35: ERROR[Main]: ...ain/bin/../mods/npc_talk_edit/fs/fs_manage_variables.lua:427: in function 'fun'
2025-05-08 06:36:35: ERROR[Main]: ...5.10.0/Yourland_main/bin/../mods/yl_speak_up/show_fs.lua:80: in function 'old_show_fs'
2025-05-08 06:36:35: ERROR[Main]: ..._main/bin/../mods/npc_talk_edit/show_fs_in_edit_mode.lua:97: in function 'show_fs'
2025-05-08 06:36:35: ERROR[Main]: ...ain/bin/../mods/npc_talk_edit/fs/fs_manage_variables.lua:124: in function 'function_input_check_fields'
2025-05-08 06:36:35: ERROR[Main]: ..._main/bin/../mods/npc_talk_edit/api/formspec_helpers.lua:172: in function 'handle_input_fs_manage_general'
2025-05-08 06:36:35: ERROR[Main]: ...ain/bin/../mods/npc_talk_edit/fs/fs_manage_variables.lua:308: in function 'fun'
2025-05-08 06:36:35: ERROR[Main]: ...5.10.0/Yourland_main/bin/../mods/yl_speak_up/show_fs.lua:28: in function 'func'
2025-05-08 06:36:35: ERROR[Main]: ...ourland_main/bin/../builtin/profiler/instrumentation.lua:124: in function <...ourland_main/bin/../builtin/profiler/instrumentation.lua:117>
2025-05-08 06:36:35: ERROR[Main]: .../5.10.0/Yourland_main/bin/../builtin/common/register.lua:26: in function <.../5.10.0/Yourland_main/bin/../builtin/common/register.lua:12>
```cpp 2025-05-08 06:36:16: ACTION[Server]: [yl_commons] formspec "yl_speak_up:manage_variables": DanteLives submitted {"default_value":"","grant_player_var_read_access":"","grant_player_var_write_access":"","list_of_entries":"CanalHouseGuest","list_var_read_access":"Add player:","list_var_write_access":"Add player:","show_stored_value_for_player":"Show value for this player","stored_value_for_player":"DanteLives2"} 2025-05-08 06:36:35: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback on_playerReceiveFields(): ...10.0/Yourland_main/bin/../mods/yl_speak_up/quest_api.lua:206: attempt to index field '$META$' (a nil value) 2025-05-08 06:36:35: ERROR[Main]: stack traceback: 2025-05-08 06:36:35: ERROR[Main]: ...10.0/Yourland_main/bin/../mods/yl_speak_up/quest_api.lua:206: in function 'get_quest_variable_value' 2025-05-08 06:36:35: ERROR[Main]: ...ain/bin/../mods/npc_talk_edit/fs/fs_manage_variables.lua:427: in function 'fun' 2025-05-08 06:36:35: ERROR[Main]: ...5.10.0/Yourland_main/bin/../mods/yl_speak_up/show_fs.lua:80: in function 'old_show_fs' 2025-05-08 06:36:35: ERROR[Main]: ..._main/bin/../mods/npc_talk_edit/show_fs_in_edit_mode.lua:97: in function 'show_fs' 2025-05-08 06:36:35: ERROR[Main]: ...ain/bin/../mods/npc_talk_edit/fs/fs_manage_variables.lua:124: in function 'function_input_check_fields' 2025-05-08 06:36:35: ERROR[Main]: ..._main/bin/../mods/npc_talk_edit/api/formspec_helpers.lua:172: in function 'handle_input_fs_manage_general' 2025-05-08 06:36:35: ERROR[Main]: ...ain/bin/../mods/npc_talk_edit/fs/fs_manage_variables.lua:308: in function 'fun' 2025-05-08 06:36:35: ERROR[Main]: ...5.10.0/Yourland_main/bin/../mods/yl_speak_up/show_fs.lua:28: in function 'func' 2025-05-08 06:36:35: ERROR[Main]: ...ourland_main/bin/../builtin/profiler/instrumentation.lua:124: in function <...ourland_main/bin/../builtin/profiler/instrumentation.lua:117> 2025-05-08 06:36:35: ERROR[Main]: .../5.10.0/Yourland_main/bin/../builtin/common/register.lua:26: in function <.../5.10.0/Yourland_main/bin/../builtin/common/register.lua:12> ```
AliasAlreadyTaken removed their assignment 2025-05-26 15:32:09 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#8526
No description provided.