.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > HPB_bot
HPB_bot The trusty good ole mechs by botman HLDMTFCOpposing ForceDMCFront Line Force

Reply
 
Thread Tools
HPB-Bot 'gina' bug fix.
Old
  (#1)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default HPB-Bot 'gina' bug fix. - 13-02-2004

There is a bug in HPB-bot. When the Teamplay is on, and there is 'gina' in mp_teamlist, all bots will be 'gina'.

Fix:

change this code in BotCreate function in bot.cpp:

Code:
 
 	  // is this a MOD that supports model colors AND it's not teamplay?
 	  if (((mod_id == VALVE_DLL) || (mod_id == DMC_DLL) ||
 		   (mod_id == GEARBOX_DLL) || (mod_id == HOLYWARS_DLL)) &&
 		  (is_team_play == FALSE))
 	  {
 		 SET_CLIENT_KEY_VALUE( clientIndex, infobuffer, "model", c_skin );
 
 		 if (top_color != -1)
 		    SET_CLIENT_KEY_VALUE( clientIndex, infobuffer, "topcolor", c_topcolor );
 
 		 if (bottom_color != -1)
 		    SET_CLIENT_KEY_VALUE( clientIndex, infobuffer, "bottomcolor", c_bottomcolor );
 	  }
 	  else // other mods
 		 SET_CLIENT_KEY_VALUE( clientIndex, infobuffer, "model", "gina" );
change the last line to:

SET_CLIENT_KEY_VALUE( clientIndex, infobuffer, "model", "" );
  
Reply With Quote
Re: HPB-Bot 'gina' bug fix.
Old
  (#2)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: HPB-Bot 'gina' bug fix. - 13-02-2004

which developers GF was/is named Gina *lol*
  
Reply With Quote
Re: HPB-Bot 'gina' bug fix.
Old
  (#3)
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: HPB-Bot 'gina' bug fix. - 13-02-2004

Thanks Whistler !

I'm updating the bot. It's not much I know but I like to keep things up to date



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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com