#My stamina bar is broken (too big), what can be done to fix?
22 messages · Page 1 of 1 (latest)
You edited your max stamina, right? You have to change the max back to a real value. The current stamina value will default to the max as soon as you login, so changing the max is what matters.
@silk sapphire to be frankly I didn't, I tried to teleport and put bad coordinates, so my character was bugged a little and teleported for random near places and then I saw the bar bugged, but persists after relogin.
It's strange for teleport do anything to the max stamina maybe it happened for some other reason and I didn't noticied
PROP_MAX_STAMINA isn't the max value? I followed by this part of the code https://github.com/Grasscutters/Grasscutter/blob/770a793c69ca82e383bb21a5baea346b1d2a5978/src/main/java/emu/grasscutter/game/props/PlayerProperty.java#L26-L28
max stamina is indeed the maximum stamina property
and in db grasscutter.players.properties is where the value is stored, right?
Maybe I'm getting mixed up, but anyways just change both
Yep
you can simply use commands to change it too
I tried use the /setprop but seems to ask for names instead ids...?
yes you have to use the property name
PROP_ indicates a property, everything that follows that is the property name
I see, I will try, my thx
No problem
I see, it 'worked', then i tried put a very small stamina value and I noticed that it worked, but visually I have 3 stamina bars and they aren't 'decreasing' when I use the stamina
since is visual shit, I will try disable my mods for now don't seems to be the mods
Set both max and temp to 24000 then relog, should sort it out
no lucky, it became even bigger but I can't see the stamina being used
red but full, lol
Try making a new account and seeing if it has the same issue. This was after a broken scene right? 24000 is the default max, you can double check in your database that it is the correct value as well