AspireMint reports: Focus should not despawn when ... #6410

Open
opened 2024-03-06 19:54:09 +00:00 by yourland-report · 3 comments

AspireMint reports a bug:

Focus should not despawn when it stops spawning troops. Can it just stay there inactve until we kill it or despawn it after much longer time?

Player position:

{
	x = 1982.6989746094,
	y = 18,
	z = 1175.0269775391
}

Player look:

{
	x = -0.99048614501953,
	y = -0.1372716575861,
	z = 0.0096812024712563
}

Player information:

{
	max_rtt = 13.494999885559,
	protocol_version = 42,
	lang_code = "",
	minor = 7,
	ip_version = 6,
	min_rtt = 0.025000000372529,
	avg_rtt = 0.035999998450279,
	min_jitter = 0,
	max_jitter = 13.343999862671,
	avg_jitter = 0,
	connection_uptime = 8959,
	serialization_version = 29,
	patch = 0,
	formspec_version = 6,
	state = "Active",
	version_string = "5.7.0",
	major = 5
}

Player meta:

{
	fields = {
		digged_nodes = "2034996",
		placed_nodes = "398710",
		died = "386",
		yl_commons_player_created = "1619715757",
		yl_commons_player_joined = "1709745944",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}",
		yl_church = "return {[\"last_death\"] = {[\"x\"] = 4551, [\"y\"] = 29802, [\"z\"] = 1539}, [\"last_heal\"] = 1708702962, [\"last_death_portal\"] = 1709670258}",
		["stamina:exhaustion"] = "150",
		punch_count = "566948",
		repellant = "0",
		["stamina:level"] = "17",
		hud_state = "on",
		yl_commons_thankyou = "298",
		["petz:werewolf_clan_idx"] = "4",
		["ocean_build.forbidden"] = "true",
		["petz:lycanthropy"] = "0",
		xp = "2121499",
		["petz:werewolf"] = "0",
		["ocean_build.last_warning"] = "1.65674e+09",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_nether 1 5220\", \"\", \"3d_armor:leggings_nether 1 10440\", \"3d_armor:boots_crystal 1 5220\", \"3d_armor:chestplate_nether 1 10440\", \"shields:shield_nether 1 10440\"}",
		["ocean_build.ocean_built"] = "12",
		arenalib_infobox_arenaID = "0",
		bitten = "0",
		crafted = "131451",
		jointime = "1619715757",
		played_time = "7062276",
		["signslib:pos"] = "(-54,5,22529)",
		["stamina:poisoned"] = "no",
		partychat = "party",
		inflicted_damage = "12265384"
	}
}

Log identifier


[MOD] yl_report log identifier = 6NEbNtvGWLIaHvRL0hl3tYkVRkxK9gzT

Profiler save:

profile-20240306T195409.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 3d 6h 17min 17s | max lag: 1.38s | clients (17/52): AliasAlreadyTaken, AspireMint, Bailiff, Boot, Crazylad, damour2_, flux, formations52, LadyPixels, Lucien, Lucien_II, LucyUnicorn_Queen, Murmel, pavlo98, poppyasdan, Service, the_chosen_one

Teleport command:

/teleport xyz 1983 18 1175

Compass command:

/give_compass Construction 6NEbNtvGWLIaHvRL0hl3tYkVRkxK9gzT D2691E 1983 18 1175
AspireMint reports a bug: > Focus should not despawn when it stops spawning troops. Can it just stay there inactve until we kill it or despawn it after much longer time? Player position: ``` { x = 1982.6989746094, y = 18, z = 1175.0269775391 } ``` Player look: ``` { x = -0.99048614501953, y = -0.1372716575861, z = 0.0096812024712563 } ``` Player information: ``` { max_rtt = 13.494999885559, protocol_version = 42, lang_code = "", minor = 7, ip_version = 6, min_rtt = 0.025000000372529, avg_rtt = 0.035999998450279, min_jitter = 0, max_jitter = 13.343999862671, avg_jitter = 0, connection_uptime = 8959, serialization_version = 29, patch = 0, formspec_version = 6, state = "Active", version_string = "5.7.0", major = 5 } ``` Player meta: ``` { fields = { digged_nodes = "2034996", placed_nodes = "398710", died = "386", yl_commons_player_created = "1619715757", yl_commons_player_joined = "1709745944", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}", yl_church = "return {[\"last_death\"] = {[\"x\"] = 4551, [\"y\"] = 29802, [\"z\"] = 1539}, [\"last_heal\"] = 1708702962, [\"last_death_portal\"] = 1709670258}", ["stamina:exhaustion"] = "150", punch_count = "566948", repellant = "0", ["stamina:level"] = "17", hud_state = "on", yl_commons_thankyou = "298", ["petz:werewolf_clan_idx"] = "4", ["ocean_build.forbidden"] = "true", ["petz:lycanthropy"] = "0", xp = "2121499", ["petz:werewolf"] = "0", ["ocean_build.last_warning"] = "1.65674e+09", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_nether 1 5220\", \"\", \"3d_armor:leggings_nether 1 10440\", \"3d_armor:boots_crystal 1 5220\", \"3d_armor:chestplate_nether 1 10440\", \"shields:shield_nether 1 10440\"}", ["ocean_build.ocean_built"] = "12", arenalib_infobox_arenaID = "0", bitten = "0", crafted = "131451", jointime = "1619715757", played_time = "7062276", ["signslib:pos"] = "(-54,5,22529)", ["stamina:poisoned"] = "no", partychat = "party", inflicted_damage = "12265384" } } ``` Log identifier ``` [MOD] yl_report log identifier = 6NEbNtvGWLIaHvRL0hl3tYkVRkxK9gzT ``` Profiler save: ``` profile-20240306T195409.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 3d 6h 17min 17s | max lag: 1.38s | clients (17/52): AliasAlreadyTaken, AspireMint, Bailiff, Boot, Crazylad, damour2_, flux, formations52, LadyPixels, Lucien, Lucien_II, LucyUnicorn_Queen, Murmel, pavlo98, poppyasdan, Service, the_chosen_one ``` Teleport command: ``` /teleport xyz 1983 18 1175 ``` Compass command: ``` /give_compass Construction 6NEbNtvGWLIaHvRL0hl3tYkVRkxK9gzT D2691E 1983 18 1175 ```
AliasAlreadyTaken was assigned by yourland-report 2024-03-06 19:54:09 +00:00

afaik nobody can control what the foci can do, other than the nametag not showing.

afaik nobody can control what the foci can do, other than the nametag not showing.
AliasAlreadyTaken added the
1. kind/enhancement
1. kind/balancing
labels 2024-03-07 07:40:07 +00:00
Member

If I were a Focus and had done my job of delivering the troops, I wouldn't wait any longer for a homunculus to come and kill me. I would donate first.

If I were a Focus and had done my job of delivering the troops, I wouldn't wait any longer for a homunculus to come and kill me. I would donate first.
Member

like all mobs_redo mobs which don't override it, foci have a 5 minute lifetime. that can be increased programmatically, but it's also extended indefinitely if the mob is attacking something. foci don't really have an explicit attack, but they will "target" anyone that attacks them, so long as that player doesn't disappear (i.e. run far enough away).

i've considered proposing that foci and mobs spawned from foci get a longer lifetime, but i feel the better solution is smarter mob AI, and not just increasing the already frustrating aspects of their existence. better AI needs better mob frameworks first, unfortunately.

like all mobs_redo mobs which don't override it, foci have a 5 minute lifetime. that can be increased programmatically, but it's also extended indefinitely if the mob is attacking something. foci don't really have an explicit attack, but they will "target" anyone that attacks them, so long as that player doesn't disappear (i.e. run far enough away). i've considered proposing that foci and mobs spawned from foci get a longer lifetime, but i feel the better solution is smarter mob AI, and not just increasing the already frustrating aspects of their existence. better AI needs better mob frameworks first, unfortunately.
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#6410
No description provided.