Garry's Mod

Garry's Mod

nZombies Unlimited [v1.0]
 This topic has been pinned, so it's probably important
Zet0r  [developer] 10 May, 2019 @ 1:47pm
Bugs and Errors
This gamemode is huge and thus will likely have bugs just because of its sheer size. If you catch any errors or bugs, you can report them here on this thread.

Notice!
In the original nZombies, many players experienced bugs where certain features just didn't work because of other addons preventing certain events from running. nZombies Unlimited attempts to prioritize itself over other addons, but it is not guaranteed to work.

The following problems are NOT bugs unless they come with an error or no other addons are installed!
- Zombies not giving points
- Doors (and other E interactions) not working
- Unable to Revive players
- Unable to properly switch weapons
- Zombies not dying

If you experience any of these issues without errors, go through your installed addons and disable the ones you think might be blocking it and try again until you find which addon was the cause. If the issue occured with no other addons, then please state so in your bug report.

If any of these issues do happen with errors, then it is a valid bug report.
Any report not following this criteria will be deleted.

Please include errors (from console) as well as which steps you took to make the bug happen, or otherwise how and when it happened.

Thank you for helping!

Known Bugs
This list will be added to as people report bugs. Any repost of the same bugs already listed here will also be removed.

- "index upvalue 'old' (a nil value)" when switching weapons (crowbar for example)
- Zombie spawnpoints not spawning
- Zombie spawnpoints still spawning as if doors remained open after a game restart
- Doors not opening with error "attempt to compare string with number"
Last edited by Zet0r; 19 May, 2019 @ 10:00am
< >
Showing 1-15 of 155 comments
:0 10 May, 2019 @ 6:33pm 
zombies wont die
Bilstr 10 May, 2019 @ 11:56pm 
File exists in two addons - possible conflicts! lua/weapons/tfa_gun_base/sh_bullet.lua (TFA Base and nZombies Unlimited)

[ERROR] gamemodes/nzombies-unlimited/gamemode/weapons.lua:159: attempt to perform arithmetic on field 'nzu_PrimaryAmmo' (a nil value)
1. GivePrimaryAmmo - gamemodes/nzombies-unlimited/gamemode/weapons.lua:159
2. GiveRoundProgressionAmmo - lua/weapons/nzu_grenade_mk3a2.lua:151
3. GiveRoundProgressionAmmo - gamemodes/nzombies-unlimited/gamemode/weapons.lua:209
4. v - gamemodes/nzombies-unlimited/gamemode/weapons.lua:214
5. Run - gamemodes/nzombies-unlimited/gamemode/shared.lua:52
6. Prepare - gamemodes/nzombies-unlimited/gamemode/round.lua:188
7. SetRound - gamemodes/nzombies-unlimited/gamemode/round.lua:199
8. Progress - gamemodes/nzombies-unlimited/gamemode/round.lua:204
9. v - gamemodes/nzombies-unlimited/gamemode/round.lua:86
10. Run - gamemodes/nzombies-unlimited/gamemode/shared.lua:52
11. unknown - gamemodes/nzombies-unlimited/entities/entities/nzu_zombie_base.lua:1291
12. FireBullets - [C]:-1
13. unknown - lua/weapons/tfa_gun_base/sh_bullet.lua:542


File exists in two addons - possible conflicts! lua/weapons/cw_base/sh_bullets.lua (Customizable Weaponry 2.0 FIXED and nZombies Unlimited)

[ERROR] gamemodes/nzombies-unlimited/gamemode/weapons.lua:159: attempt to perform arithmetic on field 'nzu_PrimaryAmmo' (a nil value)
1. GivePrimaryAmmo - gamemodes/nzombies-unlimited/gamemode/weapons.lua:159
2. GiveRoundProgressionAmmo - lua/weapons/nzu_grenade_mk3a2.lua:151
3. GiveRoundProgressionAmmo - gamemodes/nzombies-unlimited/gamemode/weapons.lua:209
4. v - gamemodes/nzombies-unlimited/gamemode/weapons.lua:214
5. Run - gamemodes/nzombies-unlimited/gamemode/shared.lua:52
6. Prepare - gamemodes/nzombies-unlimited/gamemode/round.lua:188
7. SetRound - gamemodes/nzombies-unlimited/gamemode/round.lua:199
8. Progress - gamemodes/nzombies-unlimited/gamemode/round.lua:204
9. v - gamemodes/nzombies-unlimited/gamemode/round.lua:86
10. Run - gamemodes/nzombies-unlimited/gamemode/shared.lua:52
11. unknown - gamemodes/nzombies-unlimited/entities/entities/nzu_zombie_base.lua:1291
12. FireBullets - [C]:-1
13. FireBullet - lua/weapons/cw_base/sh_bullets.lua:82
14. unknown - lua/weapons/cw_kk_ins2_base_main/o_sh_attacks.lua:119



The last zombie alive fails to die and is thus invincible.

I am using custom weapons and these similar errors are created in console after using the MMOD 9MM PISTOL and CW 2.0 M1 GARAND weapons within' TFA BASE and CW 2.0 respectively.

The gamemode conflicts with these custom weapon bases. It appears it has to do with sh_bullets.lua

Is there any potential way to fix these conflictions? I love these weapon bases and it would be a shame if they didn't work in this gamemode.
Zet0r  [developer] 11 May, 2019 @ 5:15am 
Originally posted by Bilstr:
File exists in two addons - possible conflicts! lua/weapons/tfa_gun_base/sh_bullet.lua (TFA Base and nZombies Unlimited)
It says that file exists in two addons when it doesn't exist in nZombies?

Well I'll look into it. I was sure I had that issue myself but fixed it, but maybe not (you aren't running a slightly older Github version are you?). Don't worry about not being able to use your favorite weapon bases, I intend to support all main weapon bases.
Zet0r  [developer] 11 May, 2019 @ 5:25am 
Originally posted by Humgry Doggo:
zombies wont die
You got errors with that?
GibbletPlays 11 May, 2019 @ 6:22am 
The config that came with the game-mode doesn't appear in the menus, nor do the options to ready up, customize your character, etc.
Zet0r  [developer] 11 May, 2019 @ 7:12am 
Originally posted by GibbletPlays:
The config that came with the game-mode doesn't appear in the menus, nor do the options to ready up, customize your character, etc.
You're playing on a lower resolution which I forgot to take into account. Hotfixing it today. Though I still don't recommend 720p as the menu is gonna feel very cramped
Zet0r  [developer] 11 May, 2019 @ 7:27am 
Originally posted by Bilstr:
File exists in two addons - possible conflicts! lua/weapons/tfa_gun_base/sh_bullet.lua (TFA Base and nZombies Unlimited)

[ERROR] gamemodes/nzombies-unlimited/gamemode/weapons.lua:159: attempt to perform arithmetic on field 'nzu_PrimaryAmmo' (a nil value)
Confirm if you still get that error now?
GibbletPlays 11 May, 2019 @ 12:21pm 
I got more errors 'n stuff.

[nZombies Unlimited] gamemodes/nzombies-unlimited/gamemode/weapons.lua:695: attempt to call upvalue 'old' (a nil value)
1. unknown - gamemodes/nzombies-unlimited/gamemode/weapons.lua:695

I get this error when I melee or yeet a grenade.
(Edit: I also get this error when switching weapons, or basically anything else.)
(Edit 2: All the zombies only use the walking animations, and it looks silly, but that's fine(ish).)
Last edited by GibbletPlays; 11 May, 2019 @ 12:59pm
Eclipse 11 May, 2019 @ 1:24pm 
on multiplayer it gets choppy well run or walking. it not a FPS thing or anything like that it this it get choppy well runing and walking. [2] the window or this the barricade the zombies don't like going to it. they like founding a other way around but all the ways are blocked. How you make the zombies goto the barricade like that?
Bilstr 11 May, 2019 @ 2:46pm 
Originally posted by Zet0r:
Originally posted by Bilstr:
File exists in two addons - possible conflicts! lua/weapons/tfa_gun_base/sh_bullet.lua (TFA Base and nZombies Unlimited)

[ERROR] gamemodes/nzombies-unlimited/gamemode/weapons.lua:159: attempt to perform arithmetic on field 'nzu_PrimaryAmmo' (a nil value)
Confirm if you still get that error now?
I'll check after work; Noticed the hotfix recently. Also similar to what @GibbletPlays said, I too got errors when meleeing but I only tried it when I was downed. Didn't seem game breaking or anything, I still managed to kill zombies.
Zet0r  [developer] 11 May, 2019 @ 3:53pm 
Originally posted by GibbletPlays:
I got more errors 'n stuff.

[nZombies Unlimited] gamemodes/nzombies-unlimited/gamemode/weapons.lua:695: attempt to call upvalue 'old' (a nil value)
1. unknown - gamemodes/nzombies-unlimited/gamemode/weapons.lua:695

I get this error when I melee or yeet a grenade.
(Edit: I also get this error when switching weapons, or basically anything else.)
(Edit 2: All the zombies only use the walking animations, and it looks silly, but that's fine(ish).)
Oh I've actually gotten this error many times before but I always thought it was just when I was testing since I refresh the code often, which would usually forget about old variables, but apparently not? I should be able to have a workaround for it fairly easily.

It's an error in the holstering function, so it happens with all instant holsters (like grenades and crowbar).

Originally posted by iforget_2:
on multiplayer it gets choppy well run or walking. it not a FPS thing or anything like that it this it get choppy well runing and walking. [2] the window or this the barricade the zombies don't like going to it. they like founding a other way around but all the ways are blocked. How you make the zombies goto the barricade like that?
1) What running/walking gets choppy? You? Other players? Or Zombies?
2) Likely navmeshes not covering. Check the navmeshes under the barricade and see if the zombies truly do try to walk through it. They will only vault it if it is in their direction of movement when bumping into it, or slightly in front of them when bumping into anything else.
Bilstr 11 May, 2019 @ 5:19pm 
Originally posted by Zet0r:
Originally posted by Bilstr:
File exists in two addons - possible conflicts! lua/weapons/tfa_gun_base/sh_bullet.lua (TFA Base and nZombies Unlimited)

[ERROR] gamemodes/nzombies-unlimited/gamemode/weapons.lua:159: attempt to perform arithmetic on field 'nzu_PrimaryAmmo' (a nil value)
Confirm if you still get that error now?

EDIT: Switched to the github version. It's fixed now, thanks!
Last edited by Bilstr; 12 May, 2019 @ 12:38am
Ghostlymoo 12 May, 2019 @ 7:52am 
When testing this addon with a friend on a small test config, when the game restarts after a game over the zombie spawns in areas other than spawn continue to function as if the door was opened, might have been a thing on my end but it's a bug I encountered either way.
Zet0r  [developer] 12 May, 2019 @ 8:40am 
Originally posted by Ghostlycreep:
When testing this addon with a friend on a small test config, when the game restarts after a game over the zombie spawns in areas other than spawn continue to function as if the door was opened, might have been a thing on my end but it's a bug I encountered either way.
Bug and noted. Think I know what this might be caused by. Likely fixed in 1.1. You can work around it for now by reloading the config after the game.
AmusingIdiot 12 May, 2019 @ 9:21am 
gonna sound stupid probably but when i buy a weapon i don't get it (haven't actually played the COD nzombies) is this a bug or am i just a complete dumbass and missing something
< >
Showing 1-15 of 155 comments
Per page: 1530 50