.:: 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 > RealBot > Help request
Help request Need help? Ask around here! (for questions about the source code, go to the RealBot 'Source')

Reply
 
Thread Tools
How can i stop realbots from buying shields?
Old
  (#1)
mark1221
Guest
 
Status:
Posts: n/a
Default How can i stop realbots from buying shields? - 18-08-2004

All CT bots buy shields... I don't know why but it sucks...
Is there any way to restrict it? maybe a metamod plugin?
maybe a realbot command? I can't install adminmod or amx btw, they don't work on my listen server.

help please.
  
Reply With Quote
Re: How can i stop realbots from buying shields?
Old
  (#2)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: How can i stop realbots from buying shields? - 18-08-2004

what version are you using?
  
Reply With Quote
Re: How can i stop realbots from buying shields?
Old
  (#3)
mark1221
Guest
 
Status:
Posts: n/a
Default Re: How can i stop realbots from buying shields? - 18-08-2004

Realbot WIP 10 the latest DLL (D/Led from evy's place)
  
Reply With Quote
Re: How can i stop realbots from buying shields?
Old
  (#4)
mark1221
Guest
 
Status:
Posts: n/a
Default Re: How can i stop realbots from buying shields? - 19-08-2004

help? :\
  
Reply With Quote
Re: How can i stop realbots from buying shields?
Old
  (#5)
Lethal
Member
 
Lethal's Avatar
 
Status: Offline
Posts: 163
Join Date: Jun 2004
Location: Scotland
Default Re: How can i stop realbots from buying shields? - 20-08-2004

Cant stop the bots from buying it yet. wait for later release of realbot.

Last edited by Lethal; 20-08-2004 at 11:56..
  
Reply With Quote
Re: How can i stop realbots from buying shields?
Old
  (#6)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: How can i stop realbots from buying shields? - 22-08-2004

if you can recompile the source yourself, a tentative patch would be:

bot_buycode.cpp line 214
Code:
 				 if (buy_weapon == -1 && weapon_table[i].priority >0)
that makes it so that anything with a priority of 0 or less, the bot will not buy, dunno if that's what everyone wants though, so i'm not committing that change. Also, you colud try removing it from the bot_buytable.ini or whatever file it is, or you can increase the price of the shield in the buytable.

HTH
  
Reply With Quote
Re: How can i stop realbots from buying shields?
Old
  (#7)
[BBB]sluggo
Member
 
[BBB]sluggo's Avatar
 
Status: Offline
Posts: 153
Join Date: Jan 2004
Location: Stockholm, Sweden
Default Re: How can i stop realbots from buying shields? - 26-08-2004

Josh, I tried it but it doesn't work... It doesn't work for me anyway. They still buy shields like crazy!
My butable.ini has "0" priority for the shield.
What i have is:

if (buy_weapon == -1 && weapons_table[i].priority >0) // New Line by Josh
// "OLD LINE 214" if (buy_weapon == -1)
buy_weapon = weapons_table[i].iId;

compiles fine when i added the "s" to weapon_table in the first line, and this goes on line 214 - 216

Does it really use the buytable.ini???

Last edited by [BBB]sluggo; 26-08-2004 at 01:30..
  
Reply With Quote
Reply


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

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 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com