View Single Post
Re: HPB_bot4.0 DOES work for steam
Old
  (#6)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: HPB_bot4.0 DOES work for steam - 20-01-2004

Quote:
Originally Posted by Pierre-Marie Baty
...
To fix this, add these two lines in BotFindEnemy() in the bot_combat.cpp file: (lines starting with "context" are here to show you where to commit the changes)
Code:
 (context)  if (!IsAlive (pMonster))
 (context)	 continue; // discard dead or dying monsters
  
 		   if (strncmp ("building_", STRING (pMonster->v.classname), 9) == 0)
 			  continue; // TFC: skip sentry guns and dispensers
  
 (context)  vecEnd = pMonster->v.origin + pMonster->v.view_ofs;
 (context)
Here's included an updated HPB_bot dll... someone gotta compile it for Linux also
and here is an updated hpb_bot_mm_i586.so
i skip the i386 build, until someone needs it.

(b.t.w. can you allow .tar.gz and tar.bz2 files for upload too, zip kind of sucks in linux)

Cheers MeMeD
Attached Files
File Type: zip hpb_bot_mm_i586.so.zip (125.8 KB, 402 views)
  
Reply With Quote