Dadido3 / D3bot

A very primitive AI for GMod bots designed to work with Jetboom's Zombie Survival gamemode.
40 stars 28 forks source link

Zombies not moving. #124

Open deducky opened 9 months ago

deducky commented 9 months ago

Randomly started getting this error when I loaded up my server:

[d3bot] lua/includes/util.lua:228: attempt to index local 'object' (a function value)

  1. IsValid - lua/includes/util.lua:228
  2. UpdateBotCmdFunction - addons/d3bot/lua/d3bot/sv_zs_bot_handler/handlers/undead_crow.lua:18
  3. fn - addons/d3bot/lua/d3bot/sv_zs_bot_handler/handle.lua:31
  4. unknown - lua/ulib/shared/hook.lua:109

[d3bot] lua/includes/util.lua:228: attempt to index local 'object' (a function value)

  1. IsValid - lua/includes/util.lua:228
  2. UpdateBotCmdFunction - addons/d3bot/lua/d3bot/sv_zs_bot_handler/handlers/undead_fallback.lua:30
  3. fn - addons/d3bot/lua/d3bot/sv_zs_bot_handler/handle.lua:31
  4. unknown - lua/ulib/shared/hook.lua:109

Zombies will spawn but not move or attack. I've tried fresh reinstalls of the mod, the game, and other mods. I've seen two other instances of this happening to people but I thought I'd bump the question up again.

Dadido3 commented 9 months ago

Hmm, i really don't know what's causing this, and i can't reproduce it here. I've just tested the bot on

It's working without any errors there.

This smells like some LuaJIT/GMod bug to me.

Related issues: #100 #98