TheRealNin / Siege-Collection

The collection of Siege++ mods that make the NS2 Siege++ project
MIT License
2 stars 1 forks source link

Alien Commander Bot Upgrades Multiple hives to the same type #61

Closed jonsextra closed 7 years ago

jonsextra commented 7 years ago

The bot will make 2, or sometimes 3, of the same hive type (crag, shift, shade)

jonsextra commented 7 years ago

What about just adding a delay b/w choosing hive types equal to how long it takes to upgrade a hive? So it takes 20 sec to upgrade, just make it so that it doesn't choose a new hive type in less than 20 sec.

Frozenclaw commented 7 years ago

Hmm what if ya just made it so it prioritizes hive upgrade before hive drop?

TheRealNin commented 7 years ago

I'm not sure why or how everyone has all these ideas of how the fix the bug. The bug is with the way the tech tree handles hive upgrades, and then the bot is basically fallen victim to it.

It's the same bug as when you click multiple hives and then start an upgrade. If you have enough res, it'll start upgrading them all.

TheRealNin commented 7 years ago

Well I have fixed this now but it's so horrible you might throw up. You've been warned. Whenever an alien comm goes to try to upgrade a hive, it marks the type as done, so it won't ever try again. This prevents multiple hives of the same type. It also sometimes leaves an un-upgraded hive. Bleah.