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

Ai not pathing/working #100

Open
xirishpvp opened this issue Jul 1, 2023 · 3 comments
Open

Ai not pathing/working #100

xirishpvp opened this issue Jul 1, 2023 · 3 comments

Comments

@xirishpvp
Copy link

zombies will spawn sometimes but then they will sit still doing nothing even if i attack them, not sure what causes this but i was using the testing map in the README. will update if i find fix/ solution even if i edit code

CPU: AMD ryzen 5600

GPU: GTX 1660 SUPER

OS: Running on arch linux with proton 8.0-2

log

[Zombie Survival] gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:159: attempt to index local 'revive' (a function value)

  1. P_CallZombieFunction - gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:159
  2. unknown - gamemodes/zombiesurvival/gamemode/sh_animations.lua:130

[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

[Zombie Survival] gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:120: attempt to index local 'revive' (a function value)

  1. CalcMainActivity - gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:120
  2. _CalcMainActivity - gamemodes/zombiesurvival/gamemode/sh_animations.lua:55
    3. unknown - lua/wos/anim_extension/core/sh_holdtypes.lua:158

[Zombie Survival] gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:159: attempt to index local 'revive' (a function value)

  1. P_CallZombieFunction - gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:159
  2. unknown - gamemodes/zombiesurvival/gamemode/sh_animations.lua:130

[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

[Zombie Survival] gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:120: attempt to index local 'revive' (a function value)

  1. CalcMainActivity - gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:120
  2. _CalcMainActivity - gamemodes/zombiesurvival/gamemode/sh_animations.lua:55
    3. unknown - lua/wos/anim_extension/core/sh_holdtypes.lua:158

[Zombie Survival] gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:159: attempt to index local 'revive' (a function value)

  1. P_CallZombieFunction - gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:159
  2. unknown - gamemodes/zombiesurvival/gamemode/sh_animations.lua:130
@Dadido3
Copy link
Owner

Dadido3 commented Jul 1, 2023

This seems to be similar to #98

I just updated the server to the newest available version (srcds.exe -> 2023.5.1.0) but i wasn't able to provoke this error, at least on windows. It seems like a gmod update introduced some bug that messes up the lua runtime. It's not normal that some variables get replaced with functions.

Some questions which may shed more light on the problem:

  • Which version of ZS are you using?
  • Are you running a dedicated server (srcds), or are you starting a new multiplayer game inside the GMod client?
  • If you are using srcds, is it running on proton, too?
  • What other addons do you have installed?
  • Does the same error happen without D3bot, like when just playing ZS with other players?
  • Does the error happen immediately, or after some time? Is there some significant event that happens about when the error appears?

@xirishpvp
Copy link
Author

i ran it with the p2p server in game maby if i host a dedicated linux server it will run with it will do some testing.

@xirishpvp
Copy link
Author

was also running the default zombie survival link https://github.com/JetBoom/zombiesurvival, and i also tried ZS:R

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