LeadKiller / leadbot

🤖Player AI Bots to revive obscure gamemodes in Garry's Mod🤖
63 stars 13 forks source link

Error when killing an Bot with an Explosive Weapon #51

Open CrafterRa opened 4 months ago

CrafterRa commented 4 months ago

I get Lua errors when killing an Bot

It happens when the Bot tries to respawn after being killed by an explosive weapon like Half life 2s stock Rocket Launcher

I am playing on a local server ,with 8 playerslots. On the newest normal Gmod version not 68x. I have also gotten the error without any addons and have tried it without any addons and still got the error

It spams this Error: [leadbot-master] addons/leadbot-master/lua/entities/leadbot_navigator.lua:87: Tried to use a NULL entity!

  1. EyePos - [C]:-1
    1. InFOV - addons/leadbot-master/lua/entities/leadbot_navigator.lua:87
      1. CanSee - addons/leadbot-master/lua/entities/leadbot_navigator.lua:108
        1. PlayerMove - addons/leadbot-master/lua/leadbot/base.lua:388
          1. v - addons/leadbot-master/lua/leadbot/base.lua:535
            1. unknown - lua/includes/modules/hook.lua:96
caoqt1 commented 3 months ago

Been encountering this issue on the Quake 3 addon aswell, if a bot is damaged even a little bit by an explosion, it floods my console with errors and causes them to walk infinitely in whatever direction they were originally facing

nocturni commented 2 months ago

can confirm this happens since the last update

collins-cu commented 2 months ago

Same issue here. Has anyone found a fix?