.:: 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 > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Re: What ist ToDo ?
Old
  (#11)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: What ist ToDo ? - 30-08-2004

Disable TMP's. Problem solved (although no TMP's) for now.
  
Reply With Quote
I have fixed it!
Old
  (#12)
frashman
Member
 
Status: Offline
Posts: 36
Join Date: Jun 2004
Location: Germany
Default I have fixed it! - 31-08-2004

Today i have fixed the bot_buycode.cpp. There were many bugs ... but i am not at the end at all. tomorrow i will rewrite the buycode ...

maybe someone has good ideas, how a good buy strategy is? if not i program my own ideas or try to find out the bugs in the old code.

another question? why is the cs_weapon_shield set to 99?? all other weapons are set to 1-31. can anybody say me why the cs_weapon_shield istn set to 32??


and how can i it upload to the cvs?

thanks


MfG Frashman
  
Reply With Quote
Re: What ist ToDo ?
Old
  (#13)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: What ist ToDo ? - 31-08-2004

please post your code to the forums, so others can test it, and then we can take care of uploading it to the CVS
  
Reply With Quote
Re: What ist ToDo ?
Old
  (#14)
frashman
Member
 
Status: Offline
Posts: 36
Join Date: Jun 2004
Location: Germany
Default Re: What ist ToDo ? - 31-08-2004

yes, I am agreed. but first of all, i must find out, why they don't buy shields anymore and if the priority system of the buytable.ini works correct, it doesn't seem so.

by the way where is stefan and evy, don't here much about them last time...


MfG Frashman
  
Reply With Quote
Re: What ist ToDo ?
Old
  (#15)
evy
Guest
 
Status:
Posts: n/a
Default Re: What ist ToDo ? - 01-09-2004

I'm still there. As soon as I've been able to incorporate/test your code, I'll add it to CVS.

Did you re-use the already modified buy code ? The one from Josh ?

-eric
  
Reply With Quote
Re: What ist ToDo ?
Old
  (#16)
[BBB]sluggo
Member
 
[BBB]sluggo's Avatar
 
Status: Offline
Posts: 153
Join Date: Jan 2004
Location: Stockholm, Sweden
Default Re: What ist ToDo ? - 01-09-2004

I have tried it, and it works much better than before.
But they still throw away a colt occasionally.... But they buy AWP's or something instead so it might be the personality file kicking in. They might like the AWP better.
Good work Frashman!
  
Reply With Quote
Re: What ist ToDo ?
Old
  (#17)
frashman
Member
 
Status: Offline
Posts: 36
Join Date: Jun 2004
Location: Germany
Default Re: What ist ToDo ? - 01-09-2004

thanks. oh evy is alive
yes josh's code is still active. I only modified and fixed some bugs. the real problem was, the right weapon was selected, but a totally other was buyed.... maybe this must be fixed for cs 1.5... (can't test it)

also i added support for buying a smoke grenade, but I don't look for, if the bot can really use the smoke grenade.
in addition i have found out, that the cs_defusekit and cs_weapon_shield had the same number ... i had corrected that
this shield is now used as a primary weapon (oh i have a new idea, if the bot buys a shield, he should look for a cool secondary weapon ... must code this... but at the moment the bot don't use weapon anyway, if he has a shield)
in the iniparser.cpp i had modified the generation of the reaction time, based of skill. in my opinion, 0.0xxx seconds were to fast for human like reaction
and several other little corrections (commented in sourcecode)

by the way, i don't test the reaction to modify the personal file, but so far i can see, josh's favorite weaponcode should be work.
and some words about the buytable.ini. I don't really modified priorities, i'm only typed in the really correct prices for the weapons+ammo. the gound for that they buy now the awp much often, is elucidated in the first lines...


MfG Frashman

Last edited by frashman; 01-09-2004 at 19:34..
  
Reply With Quote
Re: What ist ToDo ?
Old
  (#18)
Josh_Borke
Member
 
Status: Offline
Posts: 152
Join Date: Jun 2004
Default Re: What ist ToDo ? - 01-09-2004

mostly the code corrects for ties in priorities.
the buytable.ini can be used as a limiting factor for purchasing weapons.
i still question the buycode and the status of the bot's primary weapon during buying, but that is something that will take more time and debugging than i have right now.
hopefully the two weapons with the same id fixed some bugs also.
i have not tried the new code
  
Reply With Quote
refreshed code
Old
  (#19)
frashman
Member
 
Status: Offline
Posts: 36
Join Date: Jun 2004
Location: Germany
Default refreshed code - 01-09-2004

have refreshed my code. now the bot try to buy a good secondary weapon, if he takes the shield.

and josh, if I have time, i look for the problem, too. don't know that it was one. how should we manage this? don't buy a new weapon if we have one?
Attached Files
File Type: zip new buycode.zip (175.7 KB, 184 views)


MfG Frashman

Last edited by frashman; 01-09-2004 at 22:59..
  
Reply With Quote
Re: refreshed code
Old
  (#20)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: refreshed code - 01-09-2004

I hope you didnt change the prices to be EXACT... Because a 600 dollar deagle still costs about 120 dollars to fill with ammo, hence why the deagle was probably "priced" at 750.
  
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