![]() |
joebot xp code released
quote from http://joebot.bots-united.com
January 8th, 2005 Happy new year everyone. Currently most of the bot developers here at bots united are working on bots for HL2 based mods. If you wanna see what's currently been worked on look here. And I have a little christmas present for you. Since some of us are working on engine indep parts of the bot code, and it's often not published, I decided to upload the source for those who are interested. you can download it here. But this code isnt by far finished :) /@$3.1415rin |
Re: joebot xp code released
w00t w00t w00t. Another code release! :D
|
Re: joebot xp code released
yay, downloading now. I bet there are lots of cool stuff inside :P
|
Re: joebot xp code released
i already talked about stefan about this. We were all working on some engine indep stuff. and then I think it's only logical to make this stuff public. For the United Bot we have to agree on something and then it's nice to know some alternatives.
|
Re: joebot xp code released
yes. Knowing several methods is better and it also gives you a feeling how it will be if you work with such a style of programming ;) (or design)... :D
|
Re: joebot xp code released
er, asp... your zip is corrupt it seems :|
|
Re: joebot xp code released
Zip works for me.
|
Re: joebot xp code released
strange...
if I download it using my download manager, the archive is corrupt (I tried twice), but if I download it using the IE download box, it works. Bah, nevermind. Sorry for the fuss. |
Re: joebot xp code released
Very nice with yet another quality bot going open source!
Quote:
|
Re: joebot xp code released
Quote:
about downloading ... opera downloads it fine, IE does, ... but everybody has a valid zip file now ?! |
Re: joebot xp code released
nice code & getright worked fine.
|
Re: joebot xp code released
can someone compile the src i wanna test it????
|
Re: joebot xp code released
We could, but it's up to aspirin to release a binary for public test.
But i think he did only the source because he's not quite finished with it. Quote:
|
Re: joebot xp code released
i can't help it, but i really have to laugh about all those Astar files... rofl. My own astar routine is like 40 lines of code at max; its even in the UBBOT frame work alpha , which i released on the SDK 2 board...
though, yours is way more object oriented and written in coolish C++ class style... :P |
Re: joebot xp code released
well, there is also this AStarTaskManager, which does the slicing to avoid lags when having to calculate for a long time ... and it's sort of plugin based, you can write a "plugin" for differerent heuristics / costs, therefore there's another .cpp and .h ... maybe I should put all those 'plugins' into one file :)
about releasing binaries ... well, you can compile it, you can play with the bots, but there's still a lot not complete, like team level task coordination, or even nonrandom navigation, so I havnt released anything yet. The basis for all those things is set, but i'm too busy with other stuff at the moment. btw, about that object oriented ( at least a bit ) stuff : I wanted to implement this correction for moving targets with that old aiming algorithm, and well, in old joebot it's quite more complicated than I thought. in 'JoebotXP' all that relevant stuff is in one class, and there shouldnt be direct changes on the variables from the outside, so implementing new aiming there was really easy :) €: changed the memorypool.h in the archive, the free function was just returning without doing anything :D |
Re: joebot xp code released
I had errors while compiling it, not sure if this "Destroy" is M$ specific thing:
Quote:
|
Re: joebot xp code released
havnt compiled it for some time on a gcc, but that Destroy stuff is already pretty old, so I havnt changed much there. it isnt btw anything M$ specific, plain C++, just look it up in the util.h
i'm gonna check that, thx |
Re: joebot xp code released
I changed to GCC 3.4.3 and it worked with some other changes to the bot :)
looks like it's FSF's fault |
Re: joebot xp code released
shhhh... don't give people the club to beat you like that (well, unless you insist :P)
|
Re: joebot xp code released
well it's already *FIXED* in the latest version so it's okay now :D
|
Re: joebot xp code released
here's some errors I've seen in the code:
- Single-player fix not applied correctly. This isn't important for CS bots, but as this new version of Joebot supports Half-Life it's important now :) PHP Code:
PHP Code:
PHP Code:
the correct one is: PHP Code:
also this one: PHP Code:
|
Re: joebot xp code released
thx for pointing out that errors / glitches. havnt bothered much with engine interface functions since I initially wanted to port it to metamod anyway and as long as it works it's fine. The little time I currently have, I better like to spend on higher level problems :)
which one of that private is causing errors and in which function ? maybe you could post or pm just that error log. moving that classes out of there won't be much help I guess. |
Re: joebot xp code released
--------------------Configuration: bot - Win32 Debug--------------------
Compiling... AStarGoalHide.cpp d:\jbxp124\dlls\bitfield.h(82) : error C2248: 'm_plData' : cannot access private member declared in class 'CBitField' d:\jbxp124\dlls\bitfield.h(390) : see declaration of 'm_plData' d:\jbxp124\dlls\bitfield.h(99) : error C2248: 'm_lBits' : cannot access private member declared in class 'CBitField' d:\jbxp124\dlls\bitfield.h(391) : see declaration of 'm_lBits' Error executing cl.exe. AStarGoalHide.obj - 2 error(s), 0 warning(s) |
Re: joebot xp code released
ok, thx
since server-one is down for maintenance, the url isnt working. try http://filebase.bots-united.com/inde...on=file&id=261 instead |
All times are GMT +2. The time now is 05:17. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.