![]() |
Re: Buytable SCREWED.
Can we please get a fix? The CTs buy shields every round if they have the money.
They even buy WEAPONS, but then they buy SHIELDS right after they buy weapons. What's the point of buying an AWP if you are gonna drop it for a shield in a millisecond!? |
Re: Buytable SCREWED.
edit the source code
you can disable them from buying completely in bot_buycode.cpp by return false for CS_SHIELD or whatever the definition is. |
Re: Buytable SCREWED.
Frankly, but looking at the code, there is no specific code for the shield.
So, my guess is that if you do not want a bot to buy a shield (considered as a primary weapon): - specify a favorite weapon in the bot personality file, they should never drop their favorite weapon - specify a very low priority (actually it is a probability as %) for the shield in buytable.ini - move the shield down in the list in buytable.ini, first weapons have more probability to be selected than later ones (even with a lower priority) NB: there may well be code missing to understand that a bot is carrying a shield. This could well be another problem. Hope it helps -eric |
Re: Buytable SCREWED.
Evy, Stefan, I have TRIED all that. Yes, favorite weapons ARE SPECIFIED.
I have 0 priority for shield I TRIED DELETING THE SHIELD ENTRY The bots buy IN THIS ORDER: Chance of getting weapon If they have leftover money, THEY GET A SHIELD EVERY TIME. Heck, maybe it's a probability that they get the shield, but I'll be damned that EVERY GAME I play, all but one or two CTs fail to buy a shield. They aren't MISUNDERSTANDING when they have a shield, they buy the shield when they dont have one. Almost every time! |
Re: Buytable SCREWED.
source updated, i found a bug somewhere where the shield was not 'found' (or detected). It was used in the buy code, so it could influence this behaviour. Try the latest dll and see if it works for you now.. :)
|
Re: Buytable SCREWED.
Thank you! Thank you!
I will try the new DLL immediately. However, I think your new shield code improperly ranks the shield too highly, as they are still bought at 0 priority quite often. The bots tend to buy a prim. weapon, then they buy shield. So it isnt that they arent detecting shield, but they think prim. weapon is different from shield and they buy it, I think. Like it isnt recognizing that both are technically primary weapons, and that you cant buy a FAMAS + shield. |
Re: Buytable SCREWED.
the code ranks no shields at all. the buytable ranks.. ;)
|
Re: Buytable SCREWED.
They are still buying shields, almost every round all but 2 buy shields.
It is now like 50/50... much better but they still buy shields all too often. |
Re: Buytable SCREWED.
hmm, this is really odd! Well , i think its back to the drawing board then. Ow, i wonder if there are any other meta plugins running at ur server? Ie, when i run statsme, it somehow messes up sometimes. So *perhaps* other mods/plugins influence this behaviour... (just a random shot though).
|
Re: Buytable SCREWED.
I only have StatsMe and RealBot, with MetaMod 1.17.1.
It's a local server. And uh... here's what they do every round, I think the problem is in detecting what type of 'weapon' the shield is. Round start [Bot will about 80% of the time buy a new primary weapon, even if it is a downgrade... like AK47 to MP5 or SG552 to pump-shotty] [If bot is CT, the bot will usually buy a shield at this point] I don't think it's statsme because AFAIK it wouldn't have any reason to interface with metamod in the same way RealBot does... |
All times are GMT +2. The time now is 17:59. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.