Open gmoduser38 opened 1 year ago
Which version of ZS are you using? What other addons do you have installed? Does ZS work without D3bot, can you test with other players playing as zombies?
The error is related to the "revive" status of zombies. There are some rules that have to be met in order to kill a zombie (headshot, or legshot, or specific damage type, or damage > 70, ...), otherwise zombies will ragdoll for some seconds and then get revived with a small amount of HP.
For some reason the player's revive
variable is set to a function, instead of the revive status entity. I have no idea how that happens, D3bot doesn't even set this variable. Either it's some other addon, or the gamemode is broken, or GMod's newest update causes problems.
D3bot gives me these 2 errors, and they keep increasing.
[d3bot] lua/includes/util.lua:228: attempt to index local 'object' (a function value)
[d3bot] lua/includes/util.lua:228: attempt to index local 'object' (a function value)
Zombie Survival Gamemode also gives me these 2 errors.
[Zombie Survival] gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:120: attempt to index local 'revive' (a function value)
[Zombie Survival] gamemodes/zombiesurvival/gamemode/zombieclasses/zombie.lua:159: attempt to index local 'revive' (a function value)
Did I do something wrong? I've tried on zs_villagehouse and other maps but the errors won't stop showing.