.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Help request (http://forums.bots-united.com/forumdisplay.php?f=37)
-   -   How can i stop realbots from buying shields? (http://forums.bots-united.com/showthread.php?t=2479)

mark1221 18-08-2004 11:37

How can i stop realbots from buying shields?
 
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.

Josh_Borke 18-08-2004 12:39

Re: How can i stop realbots from buying shields?
 
what version are you using?

mark1221 18-08-2004 13:04

Re: How can i stop realbots from buying shields?
 
Realbot WIP 10 the latest DLL (D/Led from evy's place)

mark1221 19-08-2004 01:32

Re: How can i stop realbots from buying shields?
 
help? :\

Lethal 20-08-2004 11:51

Re: How can i stop realbots from buying shields?
 
Cant stop the bots from buying it yet. wait for later release of realbot.

Josh_Borke 22-08-2004 04:43

Re: How can i stop realbots from buying shields?
 
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

[BBB]sluggo 26-08-2004 01:29

Re: How can i stop realbots from buying shields?
 
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???


All times are GMT +2. The time now is 00:37.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.