Minetest13 reports: My NPC Isaac the Shopkeeper in ... #6670

Open
opened 2024-04-18 00:44:23 +00:00 by yourland-report · 4 comments

Minetest13 reports a bug:

My NPC Isaac the Shopkeeper in Haven appears to be missing-and that's after I visited and left Haven a few times. All other NPCs in Haven are present to me.

Player position:

{
	x = 2095.5090332031,
	y = 15.5,
	z = 1188.958984375
}

Player look:

{
	x = 0.14568847417831,
	y = -0.15471038222313,
	z = 0.97715890407562
}

Player information:

{
	version_string = "5.8.0",
	ip_version = 6,
	min_rtt = 0.19799999892712,
	min_jitter = 0,
	max_jitter = 7.9170002937317,
	avg_jitter = 0.038000002503395,
	connection_uptime = 693,
	serialization_version = 29,
	patch = 0,
	protocol_version = 42,
	minor = 8,
	state = "Active",
	major = 5,
	lang_code = "",
	avg_rtt = 0.21400000154972,
	max_rtt = 8.1560001373291,
	formspec_version = 7
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_nether 1 7740\", \"3d_armor:chestplate_nether 1 15480\", \"shields:shield_rainbow 1 10536\", \"3d_armor:leggings_nether 1 15480\", \"3d_armor:boots_crystal 1 23574\", \"\"}",
		yl_church = "return {[\"last_heal\"] = 1710980541, [\"last_death_portal\"] = 1712878813, [\"last_death\"] = {[\"x\"] = 2818, [\"y\"] = -54, [\"z\"] = 438}}",
		yl_commons_player_created = "1668019739",
		yl_commons_player_joined = "1713400494",
		["stamina:level"] = "4",
		["stamina:poisoned"] = "no",
		["signslib:pos"] = "(-4017,3,-6664)",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_medium\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		punch_count = "136324",
		arenalib_infobox_arenaID = "0",
		["ocean_build.last_warning"] = "1.66857e+09",
		inflicted_damage = "2937586",
		["ocean_build.ocean_built"] = "6",
		repellant = "0",
		xp = "156261",
		hud_state = "on",
		["stamina:exhaustion"] = "138",
		jointime = "1668019739",
		bitten = "0",
		partychat = "main",
		played_time = "2732300",
		digged_nodes = "203945",
		placed_nodes = "63072",
		died = "573",
		crafted = "37006",
		yl_commons_thankyou = "186"
	}
}

Log identifier


[MOD] yl_report log identifier = 5rXYFLx9RzGVLGwEXZfSZuWU1Ros7IIm

Profiler save:

profile-20240418T004423.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 4d 8h 13min 15s | max lag: 1.01s | clients (19/52): AliasAlreadyTaken, AspireMint, BabyBear, Bailiff, Binarix128, daydream, flux, hare_hare_yukai, JinnyC, leogeka2, Minetest13, Parrish, pifo, pilo, poppyasdan, pups, reina67, Service, tour

Teleport command:

/teleport xyz 2096 16 1189

Compass command:

/give_compass Construction 5rXYFLx9RzGVLGwEXZfSZuWU1Ros7IIm D2691E 2096 16 1189
Minetest13 reports a bug: > My NPC Isaac the Shopkeeper in Haven appears to be missing-and that's after I visited and left Haven a few times. All other NPCs in Haven are present to me. Player position: ``` { x = 2095.5090332031, y = 15.5, z = 1188.958984375 } ``` Player look: ``` { x = 0.14568847417831, y = -0.15471038222313, z = 0.97715890407562 } ``` Player information: ``` { version_string = "5.8.0", ip_version = 6, min_rtt = 0.19799999892712, min_jitter = 0, max_jitter = 7.9170002937317, avg_jitter = 0.038000002503395, connection_uptime = 693, serialization_version = 29, patch = 0, protocol_version = 42, minor = 8, state = "Active", major = 5, lang_code = "", avg_rtt = 0.21400000154972, max_rtt = 8.1560001373291, formspec_version = 7 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:helmet_nether 1 7740\", \"3d_armor:chestplate_nether 1 15480\", \"shields:shield_rainbow 1 10536\", \"3d_armor:leggings_nether 1 15480\", \"3d_armor:boots_crystal 1 23574\", \"\"}", yl_church = "return {[\"last_heal\"] = 1710980541, [\"last_death_portal\"] = 1712878813, [\"last_death\"] = {[\"x\"] = 2818, [\"y\"] = -54, [\"z\"] = 438}}", yl_commons_player_created = "1668019739", yl_commons_player_joined = "1713400494", ["stamina:level"] = "4", ["stamina:poisoned"] = "no", ["signslib:pos"] = "(-4017,3,-6664)", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_medium\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", punch_count = "136324", arenalib_infobox_arenaID = "0", ["ocean_build.last_warning"] = "1.66857e+09", inflicted_damage = "2937586", ["ocean_build.ocean_built"] = "6", repellant = "0", xp = "156261", hud_state = "on", ["stamina:exhaustion"] = "138", jointime = "1668019739", bitten = "0", partychat = "main", played_time = "2732300", digged_nodes = "203945", placed_nodes = "63072", died = "573", crafted = "37006", yl_commons_thankyou = "186" } } ``` Log identifier ``` [MOD] yl_report log identifier = 5rXYFLx9RzGVLGwEXZfSZuWU1Ros7IIm ``` Profiler save: ``` profile-20240418T004423.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 4d 8h 13min 15s | max lag: 1.01s | clients (19/52): AliasAlreadyTaken, AspireMint, BabyBear, Bailiff, Binarix128, daydream, flux, hare_hare_yukai, JinnyC, leogeka2, Minetest13, Parrish, pifo, pilo, poppyasdan, pups, reina67, Service, tour ``` Teleport command: ``` /teleport xyz 2096 16 1189 ``` Compass command: ``` /give_compass Construction 5rXYFLx9RzGVLGwEXZfSZuWU1Ros7IIm D2691E 2096 16 1189 ```
AliasAlreadyTaken was assigned by yourland-report 2024-04-18 00:44:23 +00:00
AliasAlreadyTaken added the
3. source/unknown
1. kind/bug
labels 2024-04-18 01:35:35 +00:00
Member

i feel like clients can cache the absence of objects (including NPCS) as well as they can cache their presence. leaving an area and returning might not refresh the client properly. please completely quit out your client, restart it, and rejoin. i might be too paranoid in this advice - but such a failure mode would explain some bugs i've seen.

on the other hand, this might be an issue related to when objects' on_activate callbacks actually run. they do not run if something is reloaded after being cached in the main server process's memory, even if the object was not "active" in between. i don't have a proposal on how to make that more reliable, other than tracking the last time an object's on_step was called.

i feel like clients can cache the *absence* of objects (including NPCS) as well as they can cache their presence. leaving an area and returning might not refresh the client properly. please completely quit out your client, restart it, and rejoin. i might be too paranoid in this advice - but such a failure mode would explain some bugs i've seen. on the other hand, this might be an issue related to when objects' `on_activate` callbacks actually run. they do *not* run if something is reloaded after being cached in the main server process's memory, even if the object was not "active" in between. i don't have a proposal on how to make that more reliable, other than tracking the last time an object's `on_step` was called.

Well, I've not only left the client and returned but used a different client. Isaac is gone entirely, and I didn't remove him with a lasso... I'm wondering now if it was possible he died (which would be a shame from the items he had and his dialogue), but that doesn't seem right.

Well, I've not only left the client and returned but used a different client. Isaac is gone entirely, and I didn't remove him with a lasso... I'm wondering now if it was possible he died (which would be a shame from the items he had and his dialogue), but that doesn't seem right.

If the NPC died or otherwise vanished, then that's a bug and we'll restore him.

If the NPC died or otherwise vanished, then that's a bug and we'll restore him.

Until we know what happened, I restored the NPC from testserver and put him into your mailbox.

Until we know what happened, I restored the NPC from testserver and put him into your mailbox.
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#6670
No description provided.