Eris_still_crafts reports: Using the "craft ALL" button d ... #161

Closed
opened 2021-01-09 15:45:44 +00:00 by yourland-report · 8 comments

Eris_still_crafts reports a bug:

Using the "craft ALL" button doesn't consume hunger

Player position:

{
	y = -25.499000549316,
	x = 2083.9802246094,
	z = 598.53399658203
}

Player look:

{
	y = -0.046932112425566,
	x = 0.9752938747406,
	z = 0.2158685028553
}

Log identifier


[MOD] yl_report log identifier = wN3WOJlBbB4nvulCfs1mGdTiCxg0rpTj

Profiler save:

profile-20210109T164543.json_pretty

Status:

# Server: version=5.3.0-yl, uptime=35934.2, max_lag=1.61773, clients={Aristotle, Kelpi, Sorii, TyrellCorporation, Eris_still_crafts, Rex_2000, Cepheus, Bailiff, AliasAlreadyTaken}
Eris_still_crafts reports a bug: ``` Using the "craft ALL" button doesn't consume hunger ``` Player position: ``` { y = -25.499000549316, x = 2083.9802246094, z = 598.53399658203 } ``` Player look: ``` { y = -0.046932112425566, x = 0.9752938747406, z = 0.2158685028553 } ``` Log identifier ``` [MOD] yl_report log identifier = wN3WOJlBbB4nvulCfs1mGdTiCxg0rpTj ``` Profiler save: ``` profile-20210109T164543.json_pretty ``` Status: ``` # Server: version=5.3.0-yl, uptime=35934.2, max_lag=1.61773, clients={Aristotle, Kelpi, Sorii, TyrellCorporation, Eris_still_crafts, Rex_2000, Cepheus, Bailiff, AliasAlreadyTaken} ```
AliasAlreadyTaken was assigned by yourland-report 2021-01-09 15:45:44 +00:00
AliasAlreadyTaken added the
1. kind/bug
3. source/mod upstream
labels 2021-01-09 15:50:37 +00:00
Styxcolor added the
4. step/question
label 2021-11-07 00:55:17 +00:00
Owner

Oh, should it?

Oh, should it?
Member

Regular crafting does cost hunger. See https://gitlab.com/tunnelers-abyss/unified_inventory_plus for a version of UI+ which prevents players from abusing the "all" button.

I'm not sure it fixes the issue w/ disappearing replacement items, though.

Regular crafting does cost hunger. See https://gitlab.com/tunnelers-abyss/unified_inventory_plus for a version of UI+ which prevents players from abusing the "all" button. I'm not sure it fixes the issue w/ disappearing replacement items, though.
flux added this to the (deleted) project 2022-01-11 01:08:22 +00:00
AliasAlreadyTaken was unassigned by flux 2022-01-11 01:08:31 +00:00
flux self-assigned this 2022-01-11 01:08:31 +00:00
Member

The current version of unified_inventory does drain stamina, but not for the fork of stamina we're currently using. Possibly, the "tipsy" effect, and anything else the main fork are missing, could be extracted.

The current version of unified_inventory *does* drain stamina, but not for the fork of stamina we're currently using. Possibly, the "tipsy" effect, and anything else the main fork are missing, could be extracted.
Member

We're using the right version of stamina now, but it looks like my last fix to unified_inventory_plus broke the logic to check whether to exhaust the player while crafting.

While I'm in there, I might put in a check to disallow using the "craft-all" button if the player is low on stamina.

We're using the right version of stamina now, but it looks like my last fix to unified_inventory_plus broke the logic to check whether to exhaust the player while crafting. While I'm in there, I might put in a check to disallow using the "craft-all" button if the player is low on stamina.
Member
https://github.com/bousket/unified_inventory_plus/pull/19
flux removed the
4. step/question
label 2022-04-14 19:17:17 +00:00
AliasAlreadyTaken added this to the 1.1.110 milestone 2022-04-16 21:37:40 +00:00
AliasAlreadyTaken added the
5. result/fixed
label 2022-04-16 21:37:48 +00:00

@flux Line 113 of that PR:

minetest.chat_send_player(player_name, "has stamina")

Is this a debug print?

https://github.com/bousket/unified_inventory_plus/pull/19/files#diff-e1d00aba99de070d6b8e3f72e3930a174b63ac5c7c253b3f3106060fe9e21d5dR113

Same question for the other, similar lines below?

The initial problem is solved, craft all now consumes hunger. But when it does, it prints "has stamina" to the player as many times as the craft was executed.

@flux Line 113 of that PR: minetest.chat_send_player(player_name, "has stamina") Is this a debug print? https://github.com/bousket/unified_inventory_plus/pull/19/files#diff-e1d00aba99de070d6b8e3f72e3930a174b63ac5c7c253b3f3106060fe9e21d5dR113 Same question for the other, similar lines below? > The initial problem is solved, craft all now consumes hunger. But when it does, it prints "has stamina" to the player as many times as the craft was executed.
AliasAlreadyTaken removed the
5. result/fixed
label 2022-04-16 21:40:58 +00:00
Member

Whoops, yeah that's a debug print =D

Whoops, yeah that's a debug print =D
Member
https://github.com/bousket/unified_inventory_plus/pull/20
AliasAlreadyTaken added the
5. result/fixed
label 2022-05-04 18:01:32 +00:00
flux removed their assignment 2022-10-16 00:19:48 +00:00
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#161
No description provided.