ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.55k stars 594 forks source link

[Counter-Strike: Condition Zero] Assertion (then crash) when bots are kicked and added in a certain way #3777

Open JoelTroch opened 3 weeks ago

JoelTroch commented 3 weeks ago

An assertion which becomes a crash can be triggered in Counter-Strike: Condition Zero by kicking bots and adding them in a certain way.

Assertion details are:

To reproduce:

  1. Start a listen server with 9 bots (should work on any map).
  2. Kick all bots using the bot_kick console command.
  3. Add a bot by changing the bot_quota CVAR to 1.
  4. Add another bot by changing the bot_quota CVAR to 2, the assertion should be triggered.