Garry's Mod

Garry's Mod

S.A.P Bots | Adaptive Friends
Lua error that keeps flooding the console
[S.A.P Bots | Adaptive Friends] lua/entities/sap_bot.lua:507: attempt to call method 'GetVJSNPCRelationship' (a nil value)
1. InitRelaHooks - lua/entities/sap_bot.lua:507
2. unknown - lua/entities/sap_bot.lua:404
3. Spawn - [C]:-1
4. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:483
5. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:536
6. unknown - gamemodes/sandbox/gamemode/commands.lua:568
7. unknown - lua/includes/modules/concommand.lua:54

Any suggestions?
< >
Showing 1-4 of 4 comments
I also have errors;
[S.A.P Bots | Adaptive Friends] lua/entities/sap_bot.lua:481: attempt to call method 'GetVJSNPCRelationship' (a nil value)
1. unknown - lua/entities/sap_bot.lua:481
everytime sap bot dies game crashes, what do i do?
Aub  [developer] 23 Feb, 2023 @ 9:31am 
idk what causes this but i'll need more context i guess..
GetVJSNPCRelationship seems fine,
and InitRelaHooks also seems fine.. maybe the gmod update is messing with certain copies of the mod?
Aub  [developer] 25 Aug, 2024 @ 9:42am 
This is probably an issue with it running with another mod,
I've been testing around with this trying to recreate it, and cannot easily do-so,
but if i figure it out, i will try to patch this issue,
or atleast expand on the leniency of my mod when dealing with data from other mods, to try and avoid errors like this more.
This is most likely an error relating to VJ Base npc's
< >
Showing 1-4 of 4 comments
Per page: 1530 50