![]() |
What ist ToDo ?
after some weeks i am finally get cvs running and have looked at the source ...
where are for beginning easy things to do? and what ist to do? thanks |
Re: What ist ToDo ?
If you feel like implimenting PMB's navmesh code, please do! :D
|
Re: What ist ToDo ?
i have a version of RB implementing PMB's navmesh code.
unfortunately it isn't fool proof and can be quite buggy. there are problems with not being able to properly detect locations, and also what to do when the bot doesn't know how to get to it's goal. IE, the random walking is a little not working. some stuff that could be added is to create a set of connections between walkfaces that can let the bot know how to get around the map on first load, which is what i'm sure everyone wants. also figure out why it's not detecting all walkfaces, what is funny about them etc. if you want the source code, let me know, alternatively i might be able to get it into CVS as a sub-folder. @frashman if you want to try working on the combat code some, that would be good. specifically i do not like the way the bot handles shields, it's really quite dumb if you ask me, though it would be complicated to fix |
Re: What ist ToDo ?
Josh, Please pass me either a DLL or the source. :D
Frash, it was a joke. You should start looking for "stupid code" in the combat code areas. |
Re: What ist ToDo ?
1 Attachment(s)
sure thing, here's the source
no guarantees it will compile or work :) but it works for me any questions, just let me know. it needs a folder called realbot\data\cstrike\mesh and i think that's it... |
Re: What ist ToDo ?
Thanks man! :D
|
Re: What ist ToDo ?
yes want to look at stupid code first ... there are so much coherences. first i try to find out what is where set and where are something vars are updated....
have i any possibility to uploadt the code if i corrected anything? |
Re: What ist ToDo ?
just post the changes you think we should make to the forum, perhaps dstrukt can make a sticky post for bugs/things that need to be changed
|
Re: What ist ToDo ?
I'm a bit busy ATM, you make the post Josh and I'll sticky it. ;)
|
Re: What ist ToDo ?
the weapon detection for the buy code is a little messed up.
for some reason it thinks a shield is a TMP. Some more debugging needs to be done to determine exactly why. HTH PS. that's why they are still buying shields with the other patch i suggested. |
Re: What ist ToDo ?
Disable TMP's. Problem solved (although no TMP's) for now.
|
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 |
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
|
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... |
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 |
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! |
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... |
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 |
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? |
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.
|
Re: What ist ToDo ?
Hmmm... I'm totally new to this but...
frashman you added support for the smokegrenade and in bot.h you added: "bool buy_smokegrenade; //31.08.04 Frashman added support for Smoke Grenade" but there is no "bool buy_flashbang;" shouldn't there be a line for that as well or is the flashbang included in "bool buy_grenade;" ? sorry if the question is stupid but I don't get it. |
Re: What ist ToDo ?
first dstrukt2k, i can calm down you. they are the exact prices+200 dollars for ammo. (the prices for cs 1.6)
and now sluggo, sure there is one. a "bool buy_grenade" and a "int buy_flashbang" (because you can buy 2 flashbangs a round. and josh, what is the actual state of affairs of your navmesh code? very interessting and complex thing .... bevor finished, we could add evy's automated waypoint extraction. maybe evy can do this in quiet minute :-) |
Re: What ist ToDo ?
the navmesh code "works".
it stilll has it's bugs, such as not all places are mapped as walkable and the bots still need someone to show them around. but it has worked, very sporatically. i'll just say it's in alpha stage :) as far as the buytable goes, the file is designed so that anyone can change the prices to whatever they want. i think what needs to be done for the table, is to have a true price and an adjusted price, so that ammo is taken into account AND the bots still think they have enough money to buy ammo something to do :) put in code to pick up weapons |
All times are GMT +2. The time now is 18:12. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.