nytmyr 4de8fbbd56
[Bots] Fix creation limit, spawn limit, level requirement checks (#4868)
* [Bots] Fix creation limit, spawn limit, level requirement checks

- Previously if buckets were being used to control any of these values and the appropriate rule was set to 0, unset class specific buckets would override the main limit buckets.
- For example, if `Bots:SpawnLimit` is set to `0` and a player has their `bot_spawn_limit` set to `5` but they don't have a class bucket set for the class they're attempting to spawn a Cleric, the unset `bot_spawn_limit_Cleric` would return 0 and prevent Clerics from being spawned.
- This affected spawn limits, creation limits and level requirements to use bots if controlled by buckets.
- `#gm on` is required to be on for those beyond the ruled min status requirements to bypass the limits.

Rewrote checks and tested every scenario of set unset rules/buckets.

* Cleanup, fix bot count

- Fixes QueryBotCount to not account for soft deleted bots (`-deleted-`)
2025-05-14 20:13:50 -05:00
..
2023-10-23 22:39:37 -05:00
2023-10-23 22:39:37 -05:00
2025-02-03 04:02:42 -06:00
2013-02-16 16:14:39 -08:00
2014-08-21 16:44:02 -07:00
2014-08-21 17:26:32 -07:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:13:16 -04:00
2024-06-01 18:21:26 -05:00
2024-06-01 18:21:26 -05:00
2016-05-30 06:52:25 -04:00
2014-08-21 19:33:02 -07:00
2014-08-21 19:33:02 -07:00
2014-08-21 17:26:32 -07:00
2018-04-27 21:41:52 -04:00
2018-04-27 21:41:52 -04:00
2016-05-25 02:38:06 -04:00
2020-01-16 17:17:31 -05:00
2013-05-09 11:13:16 -04:00
2013-02-16 16:14:39 -08:00
2014-08-21 19:36:50 -07:00
2013-05-09 11:13:16 -04:00
2020-05-09 14:40:33 -05:00
2023-10-23 22:39:37 -05:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:37:51 -04:00
2021-07-16 21:50:46 -04:00
2014-12-15 22:42:59 -06:00
2013-05-09 11:37:51 -04:00
2019-04-16 01:09:25 -07:00
2019-09-01 23:54:24 -05:00
2016-10-16 21:36:39 -04:00
2019-09-01 23:41:26 -05:00
2013-05-09 11:37:51 -04:00
2025-04-10 02:11:20 -05:00