View Single Post
Re: How do bots identify teams?
Old
  (#6)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: How do bots identify teams? - 03-07-2005

Yes I've been trying to intercept "TeamInfo" messages but they seem unreliable. AMX and StatsMe seems to be able to use the messages reliably though.
From what I logged of it. It gets sent for each player everytime a client (well I tested with bots but AMX and StatsMe seems to detect bot teams just fine too) CONNECTs to the server. It's supposed to be sent for each player each time there is a team change. Since it only got sent for each player each time a player connects the last player to connect will always have the team named "UNASSIGNED" while every other player gets either "TERRORIST" or "CT"

[edit=20050706]
Next release will contain this new detection. I've fixed it and it works. Custom models will now work without affecting the bot's ability to determine what time a player is on.
[/edit]

Last edited by sPlOrYgOn; 07-07-2005 at 03:59..
  
Reply With Quote