View Single Post
Re: Beginner question: Getting bots to spawn
Old
  (#9)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Beginner question: Getting bots to spawn - 25-03-2004

with this line
Code:
	LOG_CONSOLE(PLID, "Message \"%s\"sent to ID %d.", GET_USER_MSG_NAME(PLID, msg_type, NULL), msg_dest);
, you should be catching all the network messages the game is sending, INCLUDING the VGUI messages it should send to your bot. If these messages aren't sent, that's the bot incorrectly connected the server (check your BotCreate() function, because Counter-Strike needs specific stuff in there). If it displays these messages but you can't catch them later on in the same function, there's perhaps a problem with your UTIL_GetBotIndex().



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote