ValveSoftware / halflife

Half-Life 1 engine based games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

JoelTroch opened this issue · comments

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:

  • File: cbase.cpp
  • Line: 327
  • Expression: !("Couldn't find entry to remove")

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.