Garry's Mod

Garry's Mod

Bio-Annihilation II
This topic has been locked
roclops 12 Mar, 2021 @ 3:33pm
Whenever I try to spawn in a zombie, I get LUA errors. (Note: I am using a map with a Nav_mesh)
Bio-Annihilation II] lua/entities/nb_ba2_infected.lua:27: attempt to index a nil value
1. unknown - lua/entities/nb_ba2_infected.lua:27
2. Spawn - [C]:-1
3. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:487
4. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:540
5. unknown - gamemodes/sandbox/gamemode/commands.lua:572
6. unknown - lua/includes/modules/concommand.lua:54

NextBot tickrate changed from 0 (0.000ms) to 1 (0.015ms)
NextBot [41][nb_ba2_infected_citizen] Error: lua/entities/nb_ba2_infected.lua:376: bad argument #2 to 'FindInSphere' (number expected, got nil)
< >
Showing 1-9 of 9 comments
GaussTheWizard  [developer] 12 Mar, 2021 @ 3:44pm 
Interesting... Try typing this into console: ba2_zom_range 10000

If all else fails, I'll have a fix in the next version.
roclops 12 Mar, 2021 @ 4:03pm 
I tried the command, and It seems that the console doesn't recognize the command as well. I will be patient and wait for the fix.
GaussTheWizard  [developer] 12 Mar, 2021 @ 5:15pm 
It's just as I feared: something crazy has happened that is preventing the convars from being created. Are there any Lua errors the moment you load in?
roclops 12 Mar, 2021 @ 5:59pm 
I can't seem to find any LUA errors in the console, I could send my console if you need to review it yourself.
GaussTheWizard  [developer] 12 Mar, 2021 @ 6:37pm 
Okay, then it's really bizarre why the convars aren't getting written. Could it be because you're weighing down the game with a bunch of addons? If there's a limit of how many convars there can be, you could be exceeding it. How many are you running at once when you get this problem?
roclops 12 Mar, 2021 @ 6:38pm 
I'll try running this addon by itself, I'll tell you if it works.
roclops 12 Mar, 2021 @ 6:41pm 
Alright, this addon works now. It seems there was an addon overload or incompatibility. Thanks for all the help!
GaussTheWizard  [developer] 12 Mar, 2021 @ 6:44pm 
I'm glad you could get it to work!
roclops 12 Mar, 2021 @ 6:46pm 
Yep, I really do appreciate when creators help people, and this mod is very high-quality. Keep up the great work!
< >
Showing 1-9 of 9 comments
Per page: 1530 50