View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-14-2018 , 12:40   Re: [CSGO] bot quota fix
Reply With Quote #6

First for all, I'm not sure what kind game mode or mods/plugins you are using.
This is about CS:GO own respawn system, not SM plugins.


Finally I found problem. (maybe somone already did before me :s )

Rant:
By default in any game modes.
- First 30 seconds after round_start, bots fill slots automatically depend bot_quota amount and player join team. Works nice.
- After 30 seconds, bots are hold in the end of roun_end. Bots not join or leave automatically.
- After round_end, bots autofill work again like in round_start.


In CS:GO, it have wierd system. (I had no time to check other games for now...)
- When in game respawn system is active, you see it when you jointeam between teams, you respawn immediatelly, there is no freeze/death cam animation.
Server is using bot_add_ct/bot_add_t commands related to -> player jointeam command! *Valve need fix this.
- When server use bot commands, of course cvar bot_quota change amount automatically. This give also problems.


Anyway, bots which not leave or join after 30 sec round_start is game own feature. It's normal.
This can be "fixed" by plugin.







I leave my unfinished test plugin code.
I didn't have anymore time to make plugin, because that "bug" take so long. I need to go work.

- So this plugin will block server commands bot_add_ct/bot_add_t which happen in same time with player jointeam command.
- And everytime human player change team (player_team), it check and change amount bots in game based bot_quota amount.
- And it try fix bot_quota back normal
-- Some point there could be one bot too much, but I look it another time. (Anyone if free to make own versio of this.)
Spoiler



*edit
I forgot mention. In CSGO respawn system, player fast respawn is also buggy, player can respawn in enemy base sometimes.
I couldn't find any cooldown/delay setting for player attempt to spam jointeam and respawn rapidly. With plugin this can be "fix". (Valve need fix this also)
__________________
Do not Private Message @me

Last edited by Bacardi; 11-16-2018 at 18:47. Reason: Dam typo now->no
Bacardi is offline