Rex_2000 reports: make mushroom soup from 2 mush ... #490

Closed
opened 2021-04-24 21:11:21 +00:00 by yourland-report · 5 comments

Rex_2000 reports a bug:

make mushroom soup from 2 mushies and a glass bowl, eat and get a wooden bowl back NOT glass

Player position:

{
	y = -14.5,
	x = 1747.2551269531,
	z = 13296.307617188
}

Player look:

{
	y = -0.49833643436432,
	x = -0.85396945476532,
	z = 0.14965610206127
}

Player information:

{
	min_rtt = 0.028999999165535,
	max_rtt = 0.59200000762939,
	connection_uptime = 18245,
	lang_code = "sv",
	address = "::ffff:90.231.64.176",
	formspec_version = 3,
	protocol_version = 39,
	avg_rtt = 0.032000001519918,
	min_jitter = 0,
	ip_version = 6,
	max_jitter = 0.56100004911423,
	avg_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"\", \"3d_armor:helmet_crystal 1 13040\", \"shields:shield_crystal 1 34540\", \"3d_armor:chestplate_crystal 1 13040\", \"3d_armor:leggings_crystal 1 13040\", \"3d_armor:boots_crystal 1 5440\"}",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = -6689, [\"x\"] = 1752, [\"z\"] = 13294}, [\"last_heal\"] = 1618683795, [\"last_death_portal\"] = 1618683806}",
		played_time = "3001694",
		["stamina:level"] = "16",
		xp = "828753",
		yl_commons_player_joined = "1619280496",
		inflicted_damage = "75268",
		crafted = "72554",
		["signslib:pos"] = "(2168,17,1145)",
		digged_nodes = "923411",
		punch_count = "5159",
		died = "49",
		hud_state = "on",
		placed_nodes = "182416",
		yl_commons_player_created = "1607188527"
	}
}

Log identifier


[MOD] yl_report log identifier = WuaqSil6kXe7jzjmUYEuGhShk1bpEAhO

Profiler save:

profile-20210424T231121.json_pretty

Status:

# Server: version=5.3.0-yl, uptime=30375, max_lag=5.0451, clients={CottageCoreBaddie, Neo, GuodMan, glyman, OogaBogaBang, 55stars1, darealbang, Zero, Mototank, Saturn, Hydra, Test_User, Service, FunkWizard, AliasAlreadyTaken, Rex_2000, Bailiff, Torri, ThinkSome, whosit}
Rex_2000 reports a bug: > make mushroom soup from 2 mushies and a glass bowl, eat and get a wooden bowl back NOT glass Player position: ``` { y = -14.5, x = 1747.2551269531, z = 13296.307617188 } ``` Player look: ``` { y = -0.49833643436432, x = -0.85396945476532, z = 0.14965610206127 } ``` Player information: ``` { min_rtt = 0.028999999165535, max_rtt = 0.59200000762939, connection_uptime = 18245, lang_code = "sv", address = "::ffff:90.231.64.176", formspec_version = 3, protocol_version = 39, avg_rtt = 0.032000001519918, min_jitter = 0, ip_version = 6, max_jitter = 0.56100004911423, avg_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"\", \"3d_armor:helmet_crystal 1 13040\", \"shields:shield_crystal 1 34540\", \"3d_armor:chestplate_crystal 1 13040\", \"3d_armor:leggings_crystal 1 13040\", \"3d_armor:boots_crystal 1 5440\"}", yl_church = "return {[\"last_death\"] = {[\"y\"] = -6689, [\"x\"] = 1752, [\"z\"] = 13294}, [\"last_heal\"] = 1618683795, [\"last_death_portal\"] = 1618683806}", played_time = "3001694", ["stamina:level"] = "16", xp = "828753", yl_commons_player_joined = "1619280496", inflicted_damage = "75268", crafted = "72554", ["signslib:pos"] = "(2168,17,1145)", digged_nodes = "923411", punch_count = "5159", died = "49", hud_state = "on", placed_nodes = "182416", yl_commons_player_created = "1607188527" } } ``` Log identifier ``` [MOD] yl_report log identifier = WuaqSil6kXe7jzjmUYEuGhShk1bpEAhO ``` Profiler save: ``` profile-20210424T231121.json_pretty ``` Status: ``` # Server: version=5.3.0-yl, uptime=30375, max_lag=5.0451, clients={CottageCoreBaddie, Neo, GuodMan, glyman, OogaBogaBang, 55stars1, darealbang, Zero, Mototank, Saturn, Hydra, Test_User, Service, FunkWizard, AliasAlreadyTaken, Rex_2000, Bailiff, Torri, ThinkSome, whosit} ```
AliasAlreadyTaken was assigned by yourland-report 2021-04-24 21:11:21 +00:00
AliasAlreadyTaken added the
1. kind/enhancement
label 2021-04-25 02:07:37 +00:00
Styxcolor added the
1. kind/bug
label 2021-10-31 01:03:54 +00:00
Styxcolor self-assigned this 2021-10-31 01:04:21 +00:00
Owner

I encountered this as well today and submitted a similar bug report. Will fix. #974

I encountered this as well today and submitted a similar bug report. Will fix. #974
Styxcolor added the
4. step/at work
label 2021-10-31 01:07:02 +00:00
Owner

Upon further research this seems to be a bigger integration issue. Discovered the same issue with farming: salad, here too you get a wooden bowl for a glass one.

Upon further research this seems to be a bigger integration issue. Discovered the same issue with farming: salad, here too you get a wooden bowl for a glass one.
Owner

Okay, the issue with all three mods is this: while they all allow the use of any member of the bowl group for crafting, in the on_use line they give back one certain type of bowl. There is nothing that would indicate for MT to return exactly the bowl that was used in crafting. So we have these miraculous bowl conversions into the exact type specified by the respective mod.

One possible solution would be to create a variable that stores which bowl is used by the player and then this variable determines what bowl type is given back in the on_use line in register_craftitem

Currently, I cannot code that in lua, and I don't know whether it's possible to get it to work, whether it will accept a variable instead of the name of one single bowl.

Okay, the issue with all three mods is this: while they all allow the use of any member of the bowl group for crafting, in the on_use line they give back one certain type of bowl. There is nothing that would indicate for MT to return exactly the bowl that was used in crafting. So we have these miraculous bowl conversions into the exact type specified by the respective mod. One possible solution would be to create a variable that stores which bowl is used by the player and then this variable determines what bowl type is given back in the on_use line in register_craftitem Currently, I cannot code that in lua, and I don't know whether it's possible to get it to work, whether it will accept a variable instead of the name of one single bowl.
Styxcolor added the
4. step/help wanted
label 2021-10-31 02:11:48 +00:00
Styxcolor added
5. result/duplicate
and removed
4. step/at work
1. kind/enhancement
4. step/help wanted
labels 2021-11-11 18:58:10 +00:00
Owner

duplicate of #974, will fix there

duplicate of #974, will fix there
Owner

Fixed in:
commit c4ee5a74b19e53223499c3678e03da37de773287

Fixed in: commit c4ee5a74b19e53223499c3678e03da37de773287
Sign in to join this conversation.
No Milestone
No project
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#490
No description provided.