.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   The RealBot 'Source' (http://forums.bots-united.com/forumdisplay.php?f=52)
-   -   What ist ToDo ? (http://forums.bots-united.com/showthread.php?t=2482)

dstruct2k 30-08-2004 07:26

Re: What ist ToDo ?
 
Disable TMP's. Problem solved (although no TMP's) for now.

frashman 31-08-2004 01:27

I have fixed it!
 
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

Josh_Borke 31-08-2004 11:18

Re: What ist ToDo ?
 
please post your code to the forums, so others can test it, and then we can take care of uploading it to the CVS

frashman 31-08-2004 19:56

Re: What ist ToDo ?
 
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...

evy 01-09-2004 14:21

Re: What ist ToDo ?
 
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

[BBB]sluggo 01-09-2004 14:27

Re: What ist ToDo ?
 
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!

frashman 01-09-2004 19:26

Re: What ist ToDo ?
 
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...

Josh_Borke 01-09-2004 22:10

Re: What ist ToDo ?
 
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

frashman 01-09-2004 22:56

refreshed code
 
1 Attachment(s)
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?

dstruct2k 01-09-2004 23:32

Re: refreshed code
 
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.


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

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