Garry's Mod

Garry's Mod

Oxygen and Stamina System (And Flashlight Battery)
CollChuuk 12 Jan, 2021 @ 10:02am
[Bug] The bars don't display.
The bars are not showing up and I get the fallowing errors.

[Oxygen and Stamina System (And Flashlight Battery)] lua/autorun/client/cl_stamina.lua:10: attempt to index a nil value
1. v - lua/autorun/client/cl_stamina.lua:10
2. unknown - lua/includes/modules/hook.lua:84

Compact freed 991232 bytes
JOY_AXIS_X: mapped to Turn (absolute)
JOY_AXIS_Y: mapped to Look (absolute)
JOY_AXIS_Z: unmapped
JOY_AXIS_R: mapped to Forward (absolute)
JOY_AXIS_U: mapped to Side (absolute)
JOY_AXIS_V: unmapped
Advanced Joystick settings initialized

[Oxygen and Stamina System (And Flashlight Battery)] lua/autorun/client/cl_stamina.lua:25: attempt to compare nil with number
1. v - lua/autorun/client/cl_stamina.lua:25
2. unknown - lua/includes/modules/hook.lua:84 (x84)

I tried changing some settings, but nothing resolves the issue. I also disabled every other addon but this one and it still didn't work. I even uninstalled and reinstalled Gmod, no fix.
< >
Showing 1-15 of 19 comments
Rad Poseidon  [developer] 12 Jan, 2021 @ 6:06pm 
I'm looking into the issue, I think I know the cause
Rad Poseidon  [developer] 12 Jan, 2021 @ 6:17pm 
It should be fixed now. I think the issue was that I accidentally uploaded the wrong version when I went to push the changes to the bars. If you still have any problems let me know.
Codex31 14 Jan, 2021 @ 6:37am 
I'm having the same problem right now...idk why
Rad Poseidon  [developer] 14 Jan, 2021 @ 6:56am 
I just booted up GMod and I don't have any errors and anything is working fine.
Are:
  • You running the latest version
  • All of the modules enabled
If You need to force the addon to update:
  1. Unsubscribe
  2. Navigate to your gmod addons folder (should be <steam dir>\steamapps\common\GarrysMod\garrysmod\addons\)
  3. Delete oxygen_and_stamina.gma
  4. Resubscribe and reboot GMod
Last edited by Rad Poseidon; 14 Jan, 2021 @ 6:57am
Rad Poseidon  [developer] 14 Jan, 2021 @ 6:56am 
sometimes Steam is really finicky about updating addons
CollChuuk 14 Jan, 2021 @ 7:03am 
Oh, forgot to let you know that my problem was fixed. Thanks again. :-)
Rad Poseidon  [developer] 14 Jan, 2021 @ 8:00am 
Originally posted by sᏁᎥᏞᏞᎾᏟ:
Oh, forgot to let you know that my problem was fixed. Thanks again. :-)
Yeah, it was my fault anyway.
Judas Priest 14 Jan, 2021 @ 11:09am 
Idk why but the hud isn't showing for me either. I have every addon disabled, and I just downloaded this addon 20 minutes ago. Restarted gmod and everything.
Last edited by Judas Priest; 14 Jan, 2021 @ 11:14am
Rad Poseidon  [developer] 14 Jan, 2021 @ 11:31am 
are you getting any errors?
Judas Priest 14 Jan, 2021 @ 11:43am 
Originally posted by Rad Poseidon:
are you getting any errors?
None that are being displayed in the console...
Rad Poseidon  [developer] 14 Jan, 2021 @ 12:00pm 
Originally posted by Vergil:
Originally posted by Rad Poseidon:
are you getting any errors?
None that are being displayed in the console...
My only idea of what to try is make sure the modules are enabled
Toolmenu => Oxygen & Stamina => Server
You could also try manually installing the addon, which has helped me in the past with addons that wouldn't work:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1562589993

I really can't think of any reason why they shouldn't show up, especially when it seems to work for some people and not for others, I'll try to see if there could be a cause
Codex31 19 Jan, 2021 @ 8:22pm 
Sorry for the late responce, forgot to sub to dis. I've tired to delete the file and reinstall it but...well the odd part is it's not there...I've searched for it and it's simply not there yet during game play it's clearly there. I've also encounter moments when I load up on a map the bar appear and then fade out as if I ticked "hide when full" which I haven't and I have tried unsub and resub but the issues are the same...I don't even know what is happening now.
Rad Poseidon  [developer] 20 Jan, 2021 @ 5:42am 
Originally posted by Codex31:
Sorry for the late responce, forgot to sub to dis. I've tired to delete the file and reinstall it but...well the odd part is it's not there...I've searched for it and it's simply not there yet during game play it's clearly there. I've also encounter moments when I load up on a map the bar appear and then fade out as if I ticked "hide when full" which I haven't and I have tried unsub and resub but the issues are the same...I don't even know what is happening now.
I'd say another addon was conflicting but you've run the game without them. I would also guess that the oxygen/stamina values aren't going to your client, but if "hide when full" is off then it shouldn't matter. Every theory I have as to why it's not working obviously isn't the issue, and since I don't have a way to recreate it it's much harder for me to debug. I'm pretty much out of ideas at the moment
Codex31 20 Jan, 2021 @ 6:26am 
Tis an enigma. I've tired about everything save the extremes which is just a headache I'm not prepared to deal with. I guess it just doesn't want to work for me.
Rad Poseidon  [developer] 20 Jan, 2021 @ 9:51am 
I had a similar issue with a parkour mod a while back, worked for everyone but me. There is some reason, but I've yet to find it
< >
Showing 1-15 of 19 comments
Per page: 1530 50