CHR15cs / CS2-Practice-Plugin

Open Source Plugin for Counterstrike 2 based on CounterStrikeSharp
GNU General Public License v3.0
86 stars 13 forks source link

Bot spawn problems in different gamemodes (windows) #66

Open SerGGun9 opened 9 months ago

SerGGun9 commented 9 months ago

So when you start the server with "+game_mode 1" command (which is competitive gamemode) and let's imagine you are T side and you try to spawn a bot, the plugin will spawn 2 bots from another team (CT). The 1st one is gonna spawn at your exact position and the 2nd one is gonna spawn on CT spawn. Another problem here is if you try to kick them by using ".nobot" or ".clearbots" command, then the 1st bot (which was at your position) will just move to CT spawn so after that both of them are just gonna stay on CT spawn. I can only fix this problem by using "fake_rcon bot_kick". And in casual gamemode (game_mode 0) when you spawn a bot at your position using ".bot" or ".cbot", it will spawn 1 bot from your team for some reason. There's two problems: you cannot kill your teammates in casual gamemode and they are moving from your current position for a bit when you are moving like inside of them. This problem can be fixed by using "mp_teammates_are_enemies 1". I host my dedicated server on my windows pc. Is this a bug or am I just doing something wrong here?

CHR15cs commented 8 months ago

The bot implementation is far from perfect, we currently cannot spawn real fake clients like it was in sourcemod, thats why we have to add them using classic server commands, as soon as we get the fake clients like they were in csgo this will be fixed.

I can try to improve it a bit but I dont have really high hopes until we get fake clients