adamqqqplay / dota2ai

Ranked Matchmaking AI: An improved Dota2 AI based on Valve's default AI. Has more than 3 million subscribers on Steam.
http://steamcommunity.com/sharedfiles/filedetails/?id=855965029
GNU General Public License v3.0
320 stars 86 forks source link

Fix Zeus ultimate #105

Closed JoshdanG closed 1 year ago

JoshdanG commented 1 year ago
  1. Fixes various programming errors, especially:
    • Avoiding the misbehaving Linq "Remove()" function
    • Handling bots becoming "null" when we lose vision
  2. Reorganized to track targets across interruptions (silence, stun, etc)
  3. Lots of explanatory variables and comments added
  4. Mostly follows original intended behavior

Fixes #103

JoshdanG commented 1 year ago

We really need to remove the misbehaving Linq "Remove()" function, I have seen many similar errors in the console before.

I'll submit a fix for it. It probably won't fix much, because anything using it wasn't properly tested, but it will be one less bug.