Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zombies not moving. #124

Open
deducky opened this issue Feb 4, 2024 · 1 comment
Open

Zombies not moving. #124

deducky opened this issue Feb 4, 2024 · 1 comment

Comments

@deducky
Copy link

deducky commented Feb 4, 2024

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
Copy link
Owner

Dadido3 commented Feb 4, 2024

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

  • 32bit SRCDS 2023.06.28 running on Linux, and
  • GMod P2P server 2024.02.02 (x86-64 branch) running on Windows.

It's working without any errors there.

This smells like some LuaJIT/GMod bug to me.

  • Are you running a dedicated server (SRCDS), or are you starting a new multiplayer or P2P game inside the GMod client?
  • Which version of GMod or SRCDS are you using?
  • What OS is the server running on?
  • What other addons do you have installed?
  • Does the error disappear if you disable/remove all other addons? And if that helps, can you test to bring back the addons one by one, and test it again?
  • Does the error happen immediately, or after some time? Is there some significant event that happens about when the error appears?

Related issues: #100 #98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants