ThinkSome reports: why are there 3 separate "Mixi ... #119

Closed
opened 2020-12-11 01:48:14 +00:00 by yourland-report · 10 comments

ThinkSome reports a bug:

why are there 3 separate "Mixing" and "Crafting" recipes for 1 coal lump -> 4 black dye?

Player position:

{
	y = 15.5,
	x = 2112.4001464844,
	z = 1145.0200195313
}

Player look:

{
	y = -0.34365969896317,
	x = -0.91420739889145,
	z = 0.21476218104362
}

Log identifier


[MOD] yl_report log identifier = rVC9s1jk3IfRW8uv5NvWcOgZ6ainjOh0

Profiler save:

profile-20201211T024814.json_pretty

Status:

# Server: version=5.3.0-yl, uptime=14908.4, max_lag=0.840135, clients={ForceLoadSome, ThinkSome}
ThinkSome reports a bug: ``` why are there 3 separate "Mixing" and "Crafting" recipes for 1 coal lump -> 4 black dye? ``` Player position: ``` { y = 15.5, x = 2112.4001464844, z = 1145.0200195313 } ``` Player look: ``` { y = -0.34365969896317, x = -0.91420739889145, z = 0.21476218104362 } ``` Log identifier ``` [MOD] yl_report log identifier = rVC9s1jk3IfRW8uv5NvWcOgZ6ainjOh0 ``` Profiler save: ``` profile-20201211T024814.json_pretty ``` Status: ``` # Server: version=5.3.0-yl, uptime=14908.4, max_lag=0.840135, clients={ForceLoadSome, ThinkSome} ```
AliasAlreadyTaken was assigned by yourland-report 2020-12-11 01:48:14 +00:00
AliasAlreadyTaken added the
1. kind/bug
label 2020-12-11 10:07:19 +00:00

That's probably due to recipes not overwriting each other properly. I will investigate. Thanks!

That's probably due to recipes not overwriting each other properly. I will investigate. Thanks!

One comes out of the bakedclay mod

One comes out of the bakedclay mod
Styxcolor self-assigned this 2021-11-03 01:01:56 +00:00
Owner

This contradicts issue #556
Has this one been overcorrected?

This contradicts issue #556 Has this one been overcorrected?
Styxcolor added the
4. step/question
label 2021-11-03 01:03:12 +00:00
Styxcolor added
2. prio/low
and removed
4. step/question
labels 2021-11-04 21:15:17 +00:00
Owner

Talked with Alias about it. This is indeed a bug, but it is not very harmful, as at the end of the day, you get the black dye. But it is of course a redundancy and we will fix it. The low prio label comes due to this issue having no impact on the game, rather being an issue of aesthetics.

Talked with Alias about it. This is indeed a bug, but it is not very harmful, as at the end of the day, you get the black dye. But it is of course a redundancy and we will fix it. The low prio label comes due to this issue having no impact on the game, rather being an issue of aesthetics.
Owner

The other issue is not really a duplicate and was a language problem on my side. Coal is from minig coal, charcoal is the coal you get from trees. We talked about that issue, too. More about it there.

The other issue is not really a duplicate and was a language problem on my side. Coal is from minig coal, charcoal is the coal you get from trees. We talked about that issue, too. More about it there.
Styxcolor added the
4. step/at work
label 2021-11-04 21:18:40 +00:00
Owner

my plan for this bugfix: find the 3 different mods that assign a recipe for coal to black dye, check the code and see what can or should be fixed to not have three different displays.

my plan for this bugfix: find the 3 different mods that assign a recipe for coal to black dye, check the code and see what can or should be fixed to not have three different displays.
Owner

so black dye is originally defined in the dye mod from the standard game.

bakedclay\init.lua
line 126 ff.
bakedclay:dye:black defines the second black dye recipe that is equal to the first.

the third crafting recipe seems to sit in unifieddyes\dyes-crafting.lua
line 186

that one is a monster though and seems to look more like a table than anything.

so black dye is originally defined in the dye mod from the standard game. bakedclay\init.lua line 126 ff. bakedclay:dye:black defines the second black dye recipe that is equal to the first. the third crafting recipe seems to sit in unifieddyes\dyes-crafting.lua line 186 that one is a monster though and seems to look more like a table than anything.
Owner

with a workaround thought up by Alias we could at least remove one of the three recipes. We can indeed not touch the table, but most likely the default recipe got cut using the clear_craft function on input instead of output.

with a workaround thought up by Alias we could at least remove one of the three recipes. We can indeed not touch the table, but most likely the default recipe got cut using the clear_craft function on input instead of output.
Owner

Fixed in:
commit f694c2216cf6574943aed25909d43dc837c368aa

Fixed in: commit f694c2216cf6574943aed25909d43dc837c368aa
Styxcolor added
5. result/fixed
and removed
2. prio/low
4. step/at work
labels 2021-11-04 22:32:06 +00:00
Owner

we are not entirely happy with the result. If we find a better solution or notice unwanted follow-up bugs, we will return to this.

we are not entirely happy with the result. If we find a better solution or notice unwanted follow-up bugs, we will return to this.
Sign in to join this conversation.
No Milestone
No project
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#119
No description provided.