.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   joebot xp code released (http://forums.bots-united.com/showthread.php?t=3376)

dub 10-01-2005 21:02

Re: joebot xp code released
 
nice code & getright worked fine.

Black_Hunter 10-01-2005 22:43

Re: joebot xp code released
 
can someone compile the src i wanna test it????

Cpl. Shrike 12-01-2005 18:10

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:

Quote @$3.1415rin
well, half - open source, because the development will be still closed source I guess. It doesnt make much sense at the moment to work with others on the main part of the code, becausae I havnt published / written down all the ideas I wanna implement.


stefanhendriks 12-01-2005 18:35

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

@$3.1415rin 12-01-2005 19:32

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

Whistler 13-01-2005 08:03

Re: joebot xp code released
 
I had errors while compiling it, not sure if this "Destroy" is M$ specific thing:
Quote:

Originally Posted by GNU C++ Compiler 2.95
g++ -march=i586 -O2 -D__JOEBOTXPDLL=1 -D__HLENGINE=1 -I../hlsdk -I../dlls -I../
NNSim -I../NNSim/SOM -c BaseBot.cpp -o BaseBot.o
BaseBot.cpp: In method `CBaseBot::~CBaseBot()':
BaseBot.cpp:58: `Destroy' undeclared (first use this function)
BaseBot.cpp:58: (Each undeclared identifier is reported only once
BaseBot.cpp:58: for each function it appears in.)
BaseBot.cpp:58: parse error before `*'
BaseBot.cpp:59: parse error before `*'
make: *** [BaseBot.o] Error 1


@$3.1415rin 13-01-2005 17:13

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

Whistler 14-01-2005 04:07

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

Pierre-Marie Baty 14-01-2005 06:05

Re: joebot xp code released
 
shhhh... don't give people the club to beat you like that (well, unless you insist :P)

Whistler 14-01-2005 06:56

Re: joebot xp code released
 
well it's already *FIXED* in the latest version so it's okay now :D


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

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