whosit reports: [testserver] y_bows: can't hit ghosts with arrows #6058

Open
opened 2024-01-23 17:07:16 +00:00 by yourland-report · 3 comments

whosit reports a bug:

[testserver] y_bows: can't hit ghosts with arrows

Player position:

{
	z = 1155.9749755859,
	x = 2037.0670166016,
	y = 14.5
}

Player look:

{
	z = -0.33031913638115,
	x = 0.84157854318619,
	y = -0.42735785245895
}

Player information:

{
	ip_version = 6,
	min_rtt = 0.041000001132488,
	formspec_version = 7,
	max_jitter = 4.2210001945496,
	avg_jitter = 0.0010000020265579,
	connection_uptime = 1386,
	serialization_version = 29,
	patch = 0,
	version_string = "5.8.0",
	protocol_version = 43,
	state = "Active",
	minor = 8,
	lang_code = "ru",
	min_jitter = 0,
	max_rtt = 4.7210001945496,
	avg_rtt = 0.041999999433756,
	major = 5
}

Player meta:

{
	fields = {
		punch_count = "40021",
		xp_redo_hud_color = "0x0000ff",
		inflicted_damage = "610484",
		placed_nodes = "89621",
		["stamina:level"] = "18",
		crafted = "72297",
		["stamina:poisoned"] = "no",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		xp = "0",
		yl_commons_thankyou = "170",
		lagometer = "1",
		arenalib_infobox_arenaID = "0",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}",
		repellant = "0",
		died = "775",
		digged_nodes = "309001",
		yl_church = "return {[\"last_death_portal\"] = 1704531307, [\"last_death\"] = {[\"z\"] = 1139, [\"x\"] = 2057, [\"y\"] = 16}, [\"last_heal\"] = 1687691946}",
		partychat = "party",
		["petz:werewolf_clan_idx"] = "3",
		hud_state = "on",
		["petz:werewolf_vignette_id"] = "20",
		yl_commons_player_created = "1615221933",
		yl_commons_player_joined = "1706028265",
		["stamina:exhaustion"] = "65",
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 25480\", \"3d_armor:chestplate_crystal 1 25480\", \"shields:shield_crystal 1 25480\", \"3d_armor:leggings_crystal 1 25480\", \"3d_armor:helmet_crystal 1 25480\", \"\"}",
		played_time = "7217932",
		["petz:werewolf"] = "0",
		jointime = "1615221933",
		bitten = "0",
		["signslib:pos"] = "(-1936,51,3715)",
		["petz:lycanthropy"] = "1"
	}
}

Log identifier


[MOD] yl_report log identifier = Rmgp46IMdTf9kLFYlmfqI4GjJSwLfKgZ

Profiler save:

profile-20240123T170716.json_prettyEE

Status:

# Server: version: 5.8.0-yl-test | game: Minetest Game | uptime: 36min 56s | max lag: 0.325s | clients (3/52): Administrator, AspireMint, whosit

Teleport command:

/teleport xyz 2037 15 1156

Compass command:

/give_compass Construction Rmgp46IMdTf9kLFYlmfqI4GjJSwLfKgZ D2691E 2037 15 1156
whosit reports a bug: > [testserver] y_bows: can't hit ghosts with arrows Player position: ``` { z = 1155.9749755859, x = 2037.0670166016, y = 14.5 } ``` Player look: ``` { z = -0.33031913638115, x = 0.84157854318619, y = -0.42735785245895 } ``` Player information: ``` { ip_version = 6, min_rtt = 0.041000001132488, formspec_version = 7, max_jitter = 4.2210001945496, avg_jitter = 0.0010000020265579, connection_uptime = 1386, serialization_version = 29, patch = 0, version_string = "5.8.0", protocol_version = 43, state = "Active", minor = 8, lang_code = "ru", min_jitter = 0, max_rtt = 4.7210001945496, avg_rtt = 0.041999999433756, major = 5 } ``` Player meta: ``` { fields = { punch_count = "40021", xp_redo_hud_color = "0x0000ff", inflicted_damage = "610484", placed_nodes = "89621", ["stamina:level"] = "18", crafted = "72297", ["stamina:poisoned"] = "no", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", xp = "0", yl_commons_thankyou = "170", lagometer = "1", arenalib_infobox_arenaID = "0", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}", repellant = "0", died = "775", digged_nodes = "309001", yl_church = "return {[\"last_death_portal\"] = 1704531307, [\"last_death\"] = {[\"z\"] = 1139, [\"x\"] = 2057, [\"y\"] = 16}, [\"last_heal\"] = 1687691946}", partychat = "party", ["petz:werewolf_clan_idx"] = "3", hud_state = "on", ["petz:werewolf_vignette_id"] = "20", yl_commons_player_created = "1615221933", yl_commons_player_joined = "1706028265", ["stamina:exhaustion"] = "65", ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 25480\", \"3d_armor:chestplate_crystal 1 25480\", \"shields:shield_crystal 1 25480\", \"3d_armor:leggings_crystal 1 25480\", \"3d_armor:helmet_crystal 1 25480\", \"\"}", played_time = "7217932", ["petz:werewolf"] = "0", jointime = "1615221933", bitten = "0", ["signslib:pos"] = "(-1936,51,3715)", ["petz:lycanthropy"] = "1" } } ``` Log identifier ``` [MOD] yl_report log identifier = Rmgp46IMdTf9kLFYlmfqI4GjJSwLfKgZ ``` Profiler save: ``` profile-20240123T170716.json_prettyEE ``` Status: ``` # Server: version: 5.8.0-yl-test | game: Minetest Game | uptime: 36min 56s | max lag: 0.325s | clients (3/52): Administrator, AspireMint, whosit ``` Teleport command: ``` /teleport xyz 2037 15 1156 ``` Compass command: ``` /give_compass Construction Rmgp46IMdTf9kLFYlmfqI4GjJSwLfKgZ D2691E 2037 15 1156 ```
AliasAlreadyTaken was assigned by yourland-report 2024-01-23 17:07:16 +00:00
AliasAlreadyTaken added the
1. kind/bug
label 2024-01-23 17:23:53 +00:00
flux added the
1. kind/balancing
label 2024-01-23 23:54:52 +00:00
Member

this is because ghosts aren't physical, which allows them to pass through solid nodes and also not kill players that "land" on them.

changing the current behavior would require arc-casting (vs. raycasting) at every server step, which might have performance considerations. currently i'm only arc-casting on the first and last step.

this is because ghosts aren't physical, which allows them to pass through solid nodes and also not kill players that "land" on them. changing the current behavior would require arc-casting (vs. raycasting) at every server step, which might have performance considerations. currently i'm only arc-casting on the first and last step.

If ghosts are not physical .... how do we hit them with swords??

If ghosts are not physical .... how do we hit them with swords??
Member

If ghosts are not physical .... how do we hit them with swords??

they have a selectionbox, which allows pointing at them with a tool.

i could come up with some story behind this mechanic - perhaps, ghosts are still susceptible to the violent energy that a player directs with them through their hands or with a hand-held weapon. in fact, there's code in mobs_monsters to prevent ghosts from taking damage from anything other than a handful of weapons, if you enable a certain setting. but that doesn't feel like a strong reason to keep the current behavior, just an excuse.

> If ghosts are not physical .... how do we hit them with swords?? they have a `selectionbox`, which allows pointing at them with a tool. i could come up with some story behind this mechanic - perhaps, ghosts are still susceptible to the violent energy that a player directs with them through their hands or with a hand-held weapon. in fact, there's code in mobs_monsters to prevent ghosts from taking damage from anything other than a handful of weapons, if you enable a certain setting. but that doesn't feel like a strong reason to keep the current behavior, just an excuse.
whosit changed title from whosit reports: [testserver] y_bows: can't hit ... to whosit reports: [testserver] y_bows: can't hit ghosts with arrows 2024-01-26 04:32:57 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#6058
No description provided.