.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   The RealBot 'Source' (http://forums.bots-united.com/forumdisplay.php?f=52)
-   -   Buytable SCREWED. (http://forums.bots-united.com/showthread.php?t=2174)

V or 'Tex 02-07-2004 04:09

Buytable SCREWED.
 
All my CTs buy Shields first, then MAYBE buy something else.

Ts are fine, they usually get AKs and whatnot but that's normal.

stefanhendriks 02-07-2004 08:21

Re: Buytable SCREWED.
 
hehe, yep... i changed some shield compatible code. I wanted to let them buy shields... you should change the source for that.

stefanhendriks 02-07-2004 17:14

Re: Buytable SCREWED.
 
The bots do not screw up buying at all, i have a nice buytable which lets CT's buy shields, but not too much. Quite fun. I will lower it a bit and provide a buytable.ini file, perhaps just package WIP #11 now... hmm

V or 'Tex 03-07-2004 05:42

Re: Buytable SCREWED.
 
Why do my bots always buy shields, then?

If it isn't broken, tell me what stat in the ini files determines how often they buy shields.

stefanhendriks 03-07-2004 10:15

Re: Buytable SCREWED.
 
Here is my buytable.ini (note, it is shorter now, because the CS 1.6 bug is fixed)

Quote:

#Updated by Stefan Hendriks for Counter-Strike 1.6
################################################## #
#
# Information Regarding weapon support in CS 1.5 and CS 1.6
# A few fields have been added, these should NEVER be changed
# UNLESS you know what you are doing. If you only want to
# change the bots behaviour with buying stuff, then read
# below about the relevant items you can change.
#
################################################## #
#
# This file has been updated at 02/07/04
#
# REALBOT: COUNTER-STRIKE PRIORITY BUY TABLE
#
# [WEAPON_TYPE]
# Price=<see below>
# Priority=% importance.
#
# Price is important! This is the price they take into account before even checking
# the priority queue. Do NEVER set the price lower then the actual price in Counter-Strike
#
# Priority is also important, but do also mind that the ORDER of weapons is important aswell!
#
# The buy code automaticly understands if its a secondary/primary gun. If the code cannot
# identify a weapon (due an update of Counter-Strike), the weapon type is automaticly
# UNKOWN and not taken into account in the buy code, to prevent odd behaviour.
#
# TIPS:
# Always take ammo money into account with prices, as i did. So a gun is 3000, do + 200 to
# make sure the bot will have money left for ammo.
#
# Do not edit the C4 and the KNIFE!
# !! A maximum of 32 weapon types is allowed in this file !!
#
# Stefan

#======
#CS 1.6
#======
; Counter-Terrorist weapon; not as good as Galil
[FAMAS]
Price=2250
Priority=15
; Terrorist Weapon; pretty accurate
[GALIL]
Price=2000
Priority=30
; Counter-Terrorist shield
[SHIELD]
Price=2000
Priority=25
#============================
#End of CS 1.6 specific stuff
#============================
; GRENADE
[HEGRENADE]
Price=400
Priority=25
; Grenade type
[FLASHBANG]
Price=300
Priority=25

; AK - Super popular
[AK47]
Price=2750
Priority=45
; Colt - Super popular
[M4A1]
Price=3350
Priority=45
; MP5 - pretty good second overal weapon
[MP5]
Price=1650
Priority=33
; Steyr Aug - nice weapon
[AUG]
Price=3750
Priority=40
; The AWP - 3v1l!
[AWP]
Price=5000
Priority=20
; Sig sg552
[SG552]
Price=3750
Priority=35
; TMP - bad
[TMP]
Price=1500
Priority=24
; Mac - bad
[MAC10]
Price=1650
Priority=24
; Primary (sub machine) gun
[P90]
Price=2400
Priority=22
; shotgun.. RealBot Rampage Weapon
[M3]
Price=1950
Priority=22
[UMP45]
Price=1950
Priority=22
; Sniper rifle
[SCOUT]
Price=3000
Priority=22
; shotgun.. RealBot Rampage Weapon
; Primary weapon
[XM1014]
Price=3250
Priority=20
; Paragun
[M249]
Price=6000
Priority=25
; Sniper rifle
[SG550]
Price=4450
Priority=10
; Sniper rifle
[G3SG1]
Price=5250
Priority=10
; Elite (Double guns)
[ELITE]
Price=1100
Priority=25
; Desert Eagle
[DEAGLE]
Price=750
Priority=35
[FIVESEVEN]
Price=800
Priority=35
; SECONDARY
[P228]
Price=700
Priority=25
; Grenade type
[SMOKEGRENADE]
Price=500
Priority=0
; Knife (do not edit)
[KNIFE]
Price=32000
Priority=0
; C4 BOMB (do not edit)
[C4]
Price=32000
Priority=0
# These weapons are already owned by a bot.. depending on the team so we give them 0 priority
# to prevent any 'buying a gun we already own' issues...
# a more neat way would be to have PriorityTerror and PriorityCounter, but hence... i lack time
[USP]
Price=500
Priority=0

[GLOCK18]
Price=400
Priority=0


V or 'Tex 03-07-2004 21:29

Re: Buytable SCREWED.
 
I even DELETED the entry for shield.


The bots still buy shields EVERY ROUND. EVERY SINGLE ROUND!

stefanhendriks 03-07-2004 22:10

Re: Buytable SCREWED.
 
be more specific, how many bots buy the shields? All of them?

You should not delete the entry for shield btw. Anyway, its odd because they do not buy a dang thing here if i set the priority to 0.

V or 'Tex 04-07-2004 03:58

Re: Buytable SCREWED.
 
All of them.


And I tried priority 0.


Sometimes... two or three will not buy the shield. (Out of 8 bots on the team)

But usually 7/8 or all of them buy shields.

Moreover, everybody on the T team thinks that once a shield drops it'd be the sweetest thing in the world to pick it up and use it until they die.

evy 04-07-2004 09:48

Re: Buytable SCREWED.
 
In the same vein, I suspect that some crashes with build 3051 are linked to the weapon system...

On my Linux, I have the following crash info:
Code:

0x438bdd09 in CBasePlayer::HasPlayerItem () from .../hlds_l/cstrike/dlls/cs_i386.so
So, it seems that RB could corrupt the data structure of the CS mod (like a NULL pointer instead of a valid one) so that a call to HasPlayerItem (part of the HL engine) fails. ???:(

Not really useful info..., I know :'(

-eric

V or 'Tex 04-07-2004 23:12

Re: Buytable SCREWED.
 
Well I haven't experienced any crashes... but it is really annoying because I can't use RB anymore... the CTs suck at using the shields but they buy them every single round so there's no point in playing as CT or T. It's either too easy or your allies do absolutely nothing.


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

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