Garry's Mod

Garry's Mod

NACC's Enhanced A.I. Detection (NEAD)
Idk how errors work so how this happened?
ServerLog: [ULX] Maqsud101<STEAM_0:0:163191734> spawned NPC npc_tf2_ghost
NextBot tickrate changed from 0 (0.000ms) to 1 (0.015ms)
Maqsud101<STEAM_0:0:163191734> spawned NPC npc_tf2_ghost

[NACC's Enhanced A.I. Detection (NEAD)] lua/autorun/server/nead_serverscript.lua:170: attempt to call method 'GetEnemy' (a nil value)
1. fn - lua/autorun/server/nead_serverscript.lua:170
2. unknown - lua/ulib/shared/hook.lua:115

I spawned gmod's default nextbot and it happened. its not tf2 ghost its mossman walk around randomly.
< >
正在显示第 1 - 9 条,共 9 条留言
Non-ATF Compliant Chicken  [开发者] 8 月 25 日 下午 2:14 
i booted up gmod with ulib and ULX and spawned a mossman nextbot but I didnt get the error. Are you on the 64 bit branch of gmod? Thats the only branch i tested it on.
Non-ATF Compliant Chicken  [开发者] 8 月 25 日 下午 2:21 
if anything I would try disabling ulib and ULX and seeing if the error persists. Next update I will have an additional valid check on GetEnemy() to hopefully prevent errors like that.
Maqsud101 8 月 25 日 下午 2:48 
I didint know what is get enemy. Yes I tried in 64 bit chromium version that one allow us to use web in game. I'll try again theres one mod also break some npcs animations I'll disable it I'll try again to spawn mossman nextbot (not npc one. one that in others tab.)
Maqsud101 8 月 25 日 下午 2:52 
I checked npc's name is Example NPC in others tab. spawning don't trigger but when you delete this npc with z button error triggers.
Maqsud101 8 月 25 日 下午 2:53 
[NACC's Enhanced A.I. Detection (NEAD)] lua/autorun/server/nead_serverscript.lua:170: attempt to call method 'GetEnemy' (a nil value)
1. fn - lua/autorun/server/nead_serverscript.lua:170
2. unknown - lua/ulib/shared/hook.lua:115
Maqsud101 8 月 25 日 下午 2:56 
Its actually not a big deal this npc useless anyway but still I want to share because idk if its can affect other npcs in feature.
Non-ATF Compliant Chicken  [开发者] 8 月 25 日 下午 3:07 
thank you for sharing anyways. it seems that after the npc is deleted, it passes the validity check even after its no longer an entity. What im more confused about is why it only happens with the stupid default nextbot, but oh well.
Pilgor 8 月 27 日 上午 7:41 
"lua/autorun/server/nead_serverscript.lua:273: attempt to call method 'ResetMoveCalc' (a nil value) 1. v - lua/autorun/server/nead_serverscript.lua:273 2 unknown - lua/includes/modules/hook.lua:102" my error
Non-ATF Compliant Chicken  [开发者] 8 月 27 日 下午 4:55 
@Pilgor i'm removing the 'ResetMoveCalc' function next update because I honestly dont think it does anything important. Hopefully that will fix any issues.
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50