thebigsleepjoe / TTT-Bots-2

Player bots for Garry's Mod TTT
Creative Commons Attribution Share Alike 4.0 International
10 stars 3 forks source link

[BUG] Traitor Bots Stuck when Using Defib #55

Open thebigsleepjoe opened 4 months ago

thebigsleepjoe commented 4 months ago

Server hosting type

P2P

TTT Type

TTT2

Version of Bots

v1.2.2

Describe the bug

Unfortunate traitor bots with a defib will stall the round if they have a dead comrade directly vertically below/above them. This seems to disregard any pathfinding; it may be taking horizontal distance by mistake.

Stack trace/error

No response

Reproducing the bug

  1. Kill a T bot below other T bots
  2. Give all living T bots a defib
  3. Eat popcorn as they try to get to someone they will never reach (as they are below the floor)

Expected behavior

Don't defib if we can't see the body!

Screenshots

image

Additional context

No response

GitHub Username Credit (NOT REQUIRED)

No response