View Single Post
Re: bots not working since new server update
Old
  (#4)
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: bots not working since new server update - 09-08-2005

Here's the update to R2b44o
I've made bots not use vgui menu anymore and made it compare the first 12 characters of the old style menus
Code:
SET_CLIENT_KEYVALUE (index + 1, infobuffer, "_vgui_menus", "0");
Code:
   if (strncmp ((char *) p, "#Team_Select", 12) == 0)  // team select menu?
      bots[bot_index].start_action = MSG_CS_TEAM_SELECT;
[edit]I've uploaded the changed sourcecode files[/edit]
Attached Files
File Type: zip podbotR2b44o_STEAMFIX.zip (111.8 KB, 3336 views)
File Type: zip podbotsrc-R2B44o_STEAMFIX.zip (51.9 KB, 1498 views)

Last edited by sPlOrYgOn; 09-08-2005 at 06:32..
  
Reply With Quote