smilz0 / Left4Bots

Improvements for the L4D2 survivor bots
https://steamcommunity.com/sharedfiles/filedetails/?id=3022416274
34 stars 4 forks source link

Bot order commands are put "on pause" indefinitely #98

Closed syahmiasyraff02 closed 1 month ago

syahmiasyraff02 commented 1 month ago

Describe the bug I have a bug (if you can call it that) that makes every bot order commands (e.g. wait, throw grenades, go to a specific location etc.) to be put "on pause" indefinitely after killing a Tank. This happens very inconsistently though as I encountered it only three times since the addon was last updated two months ago.

To Reproduce Steps to reproduce the behavior:

  1. Go to any map
  2. Spawn a Tank and kill it

Expected behavior By killing the Tank, there's a chance that the bot order commands will be put "on pause" indefinitely. This means that, for example, ordering a specific bot to throw a pipe bomb does nothing.

Additional context I've provided my settings.txt file here if you're curious: settings.txt

syahmiasyraff02 commented 1 month ago

You know what, nvm. I found the cause of it. I appears like the bug occurs because of tomaz's Bots Avoid Mounted Machine Gun's Line of Fire addon. As he said in the now-unlised addon:

"This does not play very well with Left 4 Bots 2. If you have that and use this, their AI will reset back to their vanilla state after they move behind you/after you let go of the mounted machine gun, which means they won't pick up items and other stuff that Left 4 Bots 2 allows the bots to do. If you don't use Left 4 Bots 2 then you might not be bothered by this, but this is a huge deal breaker for the vast amount of people that do use it, myself included. I don't know how to fix this or if there's a solution at all but until then, if you do use Left 4 Bots 2 then I recommend not using this for the time being."