PDA

View Full Version : Bots get changed to team Combine in HL2DM


Chanz
06-27-2010, 10:28
Hi,

we've got KAC 1.2.1.1 on our HL2DM roleplay servers.
We have also a Source TV bot running which should stay as spectator in game.

But when I start a map with KAC the bot gets changed to Combine team (team index 3), as soon I disable KAC and reload the map the bot is in spectator team again (team index 1).

Could you tell me please: is that a bug or is this a feature? :)

Anyways if that is a feature how can I disable it?

Thanks

Kigen
06-27-2010, 15:08
Is there anything in the logs?

KAC doesn't mess with teams. However, it could be a command issue.

Chanz
06-28-2010, 18:40
I can't find any thing in the logs.
But as I know bots try to use the command spectate and/or jointeam 1 to join spec as soon they joined the server.

Edit: This bug appears even if I remove all plugins from our server and let only the public version of KAC run.

Chanz
07-14-2010, 13:45
Now I got some time to find out what command the bot uses.
Its spectate. Even when I use sm_fexec sourcetv spectate the bot won't go into spectate.
jointeam 1 doesn't work either.
Those commands work on users without any problems.

berni
07-14-2010, 14:19
It's because g_bInGame[client] isn't set to true for bots, because when it is a bot it returns in OnClientAuthorized.

Chanz
07-15-2010, 00:02
thank you berni :)

Kigen
07-15-2010, 03:44
This will be corrected in the next version.

Kigen
07-21-2010, 15:10
Fixed in KAC 1.2.1.2. Commands from bots will be ignored by KAC.

~Locked