Eraldemay reports: silkworms can't be dreamcatche ... #944

Closed
opened 2021-10-22 12:06:02 +00:00 by yourland-report · 3 comments

Eraldemay reports a bug:

silkworms can't be dreamcatchered and since there code is so janky half of mine die/despawn before they ever become a cocoon.

Player position:

{
	y = 8.5,
	x = 6134.9467773438,
	z = 5793.1352539063
}

Player look:

{
	y = -0.85491186380386,
	x = 0.40316244959831,
	z = 0.32647460699081
}

Player information:

{
	min_rtt = 0.30500000715256,
	max_rtt = 2.9210000038147,
	connection_uptime = 6809,
	max_jitter = 2.5950000286102,
	minor = 4,
	major = 5,
	ip_version = 6,
	formspec_version = 4,
	patch = 1,
	protocol_version = 39,
	serialization_version = 28,
	lang_code = "",
	version_string = "5.4.1",
	avg_rtt = 0.32199999690056,
	state = "Active",
	avg_jitter = 0.0020000040531158,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 2060\", \"3d_armor:chestplate_crystal 1 2060\", \"3d_armor:leggings_crystal 1 2060\", \"3d_armor:boots_crystal 1 2060\", \"shields:shield_crystal 1 2060\", \"\"}",
		["petz:werewolf_vignette_id"] = "20",
		yl_commons_thankyou = "25",
		jointime = "1628925507",
		yl_commons_player_joined = "1634897571",
		["signslib:pos"] = "(6145,13,5792)",
		digged_nodes = "513022",
		["petz:werewolf"] = "1",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		partychat = "party",
		punch_count = "12430",
		["petz:lycanthropy"] = "1",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 58, [\"x\"] = 5827, [\"z\"] = 5675}, [\"last_death_portal\"] = 1634796758}",
		placed_nodes = "148042",
		["stamina:level"] = "19.2",
		xp = "350716",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "244472",
		crafted = "2100",
		["petz:werewolf_clan_idx"] = "3",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}",
		played_time = "1405202",
		died = "34",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1628925507"
	}
}

Log identifier


[MOD] yl_report log identifier = lPSg93FnA1K6Tn95X6QKMqrpTq13aQnl

Profiler save:

profile-20211022T140601.json_pretty

Status:

# Server: version=5.4.1-yl, uptime=394437, max_lag=2.84963, clients={dert, Ineva, Shreyas, akim, Eraldemay, katiebee, Bishiro, Bailiff, AliasAlreadyTaken, Service}

Teleport command:

/teleport xyz 6135 9 5793

Compass command:

/give_compass Construction lPSg93FnA1K6Tn95X6QKMqrpTq13aQnl D2691E 6135 9 5793
Eraldemay reports a bug: > silkworms can't be dreamcatchered and since there code is so janky half of mine die/despawn before they ever become a cocoon. Player position: ``` { y = 8.5, x = 6134.9467773438, z = 5793.1352539063 } ``` Player look: ``` { y = -0.85491186380386, x = 0.40316244959831, z = 0.32647460699081 } ``` Player information: ``` { min_rtt = 0.30500000715256, max_rtt = 2.9210000038147, connection_uptime = 6809, max_jitter = 2.5950000286102, minor = 4, major = 5, ip_version = 6, formspec_version = 4, patch = 1, protocol_version = 39, serialization_version = 28, lang_code = "", version_string = "5.4.1", avg_rtt = 0.32199999690056, state = "Active", avg_jitter = 0.0020000040531158, min_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 2060\", \"3d_armor:chestplate_crystal 1 2060\", \"3d_armor:leggings_crystal 1 2060\", \"3d_armor:boots_crystal 1 2060\", \"shields:shield_crystal 1 2060\", \"\"}", ["petz:werewolf_vignette_id"] = "20", yl_commons_thankyou = "25", jointime = "1628925507", yl_commons_player_joined = "1634897571", ["signslib:pos"] = "(6145,13,5792)", digged_nodes = "513022", ["petz:werewolf"] = "1", bitten = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", partychat = "party", punch_count = "12430", ["petz:lycanthropy"] = "1", yl_church = "return {[\"last_death\"] = {[\"y\"] = 58, [\"x\"] = 5827, [\"z\"] = 5675}, [\"last_death_portal\"] = 1634796758}", placed_nodes = "148042", ["stamina:level"] = "19.2", xp = "350716", arenalib_infobox_arenaID = "0", inflicted_damage = "244472", crafted = "2100", ["petz:werewolf_clan_idx"] = "3", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}", played_time = "1405202", died = "34", hud_state = "on", repellant = "0", yl_commons_player_created = "1628925507" } } ``` Log identifier ``` [MOD] yl_report log identifier = lPSg93FnA1K6Tn95X6QKMqrpTq13aQnl ``` Profiler save: ``` profile-20211022T140601.json_pretty ``` Status: ``` # Server: version=5.4.1-yl, uptime=394437, max_lag=2.84963, clients={dert, Ineva, Shreyas, akim, Eraldemay, katiebee, Bishiro, Bailiff, AliasAlreadyTaken, Service} ``` Teleport command: ``` /teleport xyz 6135 9 5793 ``` Compass command: ``` /give_compass Construction lPSg93FnA1K6Tn95X6QKMqrpTq13aQnl D2691E 6135 9 5793 ```
AliasAlreadyTaken was assigned by yourland-report 2021-10-22 12:06:02 +00:00
AliasAlreadyTaken added the
1. kind/bug
3. source/mod upstream
labels 2021-10-25 14:16:28 +00:00

looks like dreamcatcher can´t be used on silkworms because is_pet = false is the default setting

looks like dreamcatcher can´t be used on silkworms because [is_pet = false](https://github.com/runsy/petz/blob/8fee22f2a6442fed326bac63c3abaf6cb72a13bf/petz/petz/silkworm_mobkit.lua#L18) is the default setting
Styxcolor added the
ugh/petz
label 2021-11-10 11:23:06 +00:00
Owner

yes, changed this line and tested it. Now you can use the dreamcatcher on silkworms.

Fixed in:
commit 3cb65f0c0c2ee3b849abf54e0344b00cfb1cf695

yes, changed this line and tested it. Now you can use the dreamcatcher on silkworms. Fixed in: commit 3cb65f0c0c2ee3b849abf54e0344b00cfb1cf695
Styxcolor added the
5. result/fixed
label 2021-11-10 22:55:00 +00:00

Readded in 2a990861a3

Readded in https://gitea.your-land.de/your-land/petz/commit/2a990861a303ef4720379241938b0db91fcbbf65
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#944
No description provided.