.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   Parabot Reloaded (http://forums.bots-united.com/showthread.php?t=4625)

Pierre-Marie Baty 27-10-2005 18:16

Parabot Reloaded
 
Note: Check out #9 for the code, #15 for a prelimiary Metamod port, #16 for full version of Parabot 0.91 (which contains other needed files).

----
It's Christmas time !

Look what I've found in my mailbox this morning :
Quote:

Salut Pierre-Marie,

While browsing bots-united after all this time, I still found threads
with people asking for Parabot for the current HL versions - and you
hinting "If we just could patch the source" ;-)
There's a saying "You name it, you have it!" so here we go: I've
attached the latest snapshot of all Parabot source files. I think I've
changed some things since the release 0.91, but I've got no idea what
that was...
Anyway, do with it what you like, patch it, comment it, make it open
source... If you've got questions regarding certain parts of the code
ask me and I'll try to answer.

Best wishes,
Tobias
...all this with the Parabot source code attached. 8)

First things first, I would like to thank Tobias for his generosity, and hereby ask this lazy bugger who dares to come and visit us without posting a single spam to do so A.S.A.P. Now what ? :D

Now, what to do. Parabot was one of - if not THE - best deathmatch bot for Half-Life. It hasn't been maintained for years, but is still kicking ass on some heroic servers. And now we have it's author's agreement to make it open source.

If someone is interested, I propose to do exactly what I did to the POD-bot source code. I make it a metamod plugin, I update the few things that need to be updated in it, I change one or two minor things here and there to make it run perfectly well on up-to-date Steam HL servers, and I hand it over to someone else under the name "Parabot Reloaded" (or any other name ;)) to continue Tobias' work. Candidate maintainers, be aware, it's no n00b code :)

3, 2, 1... discussion !

Whistler 28-10-2005 02:46

Re: Parabot Reloaded
 
That's good news :)

...and before that happens, here's a temporary workaround which makes Parabot works under Steam (and also fixed the single player HL bug):
http://forums.bots-united.com/attach...tachmentid=310

Bluesman 28-10-2005 12:42

Re: Parabot Reloaded
 
Oh yes...this is great news!

Parabot was the best DM bot for HL!

I really hope some good coders will start working with Parabot Reloaded (hey, that is a great name PM :) )

@$3.1415rin 28-10-2005 16:06

Re: Parabot Reloaded
 
nice :)

MarD 29-10-2005 08:59

Re: Parabot Reloaded
 
Heyyo,

Wow, sweetness! Looks like things at BU just keep betting better. :D

I hope a great coder takes the reins and does a great job of maintaining Parabot. And I agree with your idea PMB, sprinkling some of that metamod magic onnit would be great stuff cause then we could multi-bot it if we ever felt the need to. Btw, I also agree that that's a good name for this continued version of Parabot. :P

Tiggr 02-12-2005 12:34

Re: Parabot Reloaded
 
Hi!

Has someone allread done same work? I would love to have Parabot back! (Cant' get it to work with HLDS 4111!)

If not, which other bot would you take? I like waypointless bots! ;-)

Bye
Tiggr

Pierre-Marie Baty 05-12-2005 05:51

Re: Parabot Reloaded
 
I know... Unfortunately I ran out of time to finish it, but things should go better next week. :/

ghost of evilspy 05-12-2005 19:30

Re: Parabot Reloaded
 
Hurray! Now I can stop coding my bot and wait for source release to make it compile under linux (unless you are already doing that too).

Pierre-Marie Baty 13-12-2005 16:04

Re: Parabot Reloaded
 
Well looks like I'm gonna have less and less time for this. And I don't want to do half baked stuff. So all I'm gonna do is upload the Parabot source code Tobias sent me and let whoever wants to do the job do it.

Perhaps that's what I should have started doing.

I'll post the URL when the source will be fully uploaded.

*edit* Here you go. And sorry for not having the time to do it.
http://racc.bots-united.com/parabot-source.zip

ghost of evilspy 14-12-2005 19:04

Re: Parabot Reloaded
 
I started working on it. Then stopped, too much CBaseEntity stuff used and fixed mod-depend offsets for getting values from CBaseEntity. Can't make it work on linux which for I needed it in first place.

Whistler 15-12-2005 13:31

Re: Parabot Reloaded
 
I'm having errors in the checkvec.h file...
PHP Code:

g++.exe -c bot/bot.cpp -o bot/bot.-I"utils"  -I"/hl/hlsdk/multiplayer/common"  -I"/hl/hlsdk/multiplayer/dlls"  -I"/hl/hlsdk/multiplayer/engine"  -I"/hl/hlsdk/multiplayer/pm_shared"  -I"/hl/metamod-1.17/metamod" -w

In file included from bot
/pb_mapgraph.h:9,
                 
from bot/parabot.h:5,
                 
from bot/bot.cpp:10:
utils/checkvec.h:19errorexpected `)' before "n"

utils/checkvec.h:23: error: expected 
`)' before "i"

utils/checkvec.h:27: error: ISO C++ forbids declaration of `reference' 
with no type
utils
/checkvec.h:27errorexpected `;' before "operator"
utils/checkvec.h:34: error: expected 
`;' before "const_reference"
utils/checkvec.h:34: error: ISO C++ forbids declaration of `const_reference' 
with no type
utils
/checkvec.h:34errorexpected `;' before "operator"
utils/checkvec.h:40: error: expected 
`;' before '}' token

mingw32-make.exe: *** [bot/bot.o] Error 1

Execution terminated 


Pierre-Marie Baty 15-12-2005 21:29

Re: Parabot Reloaded
 
What code does this refer to? Try compiling with a Microsoft compiler.

Killaruna 15-12-2005 23:30

Re: Parabot Reloaded
 
If all project settings are correct (you probably have to change the include directories etc.) the code compiles under MSVC 6.0 and with very minor changes under (the free) MSVC 8.0. I never tried using GCC or any other compilers for that matter, but if you are not using GCC4 it should not be too hard to adjust the code.

Regarding the fixed offsets on CBaseEntities pointers, that is indeed mod-specific and probably invalid for current HL-versions. However, I only used this techinque in cases I did not know any other way to obtain the information. You can probably skip it for mods you don't want to support and maybe there are other methods that I don't know about for the rest...

Killaruna 15-12-2005 23:39

Re: Parabot Reloaded
 
Whistler: Some compilers don't pass typedefs on to subclasses if templates are involved, that seems to be the cause for your problems with checkvec. Try "typename vector<T>::size_type" instead of "size_type" and similar for the other errors.

Whistler 17-12-2005 03:57

Re: Parabot Reloaded
 
1 Attachment(s)
well I just changed to an older gcc version and installed STLPort (which is a better implemention of STL than both GNU libstdc++ and Microsoft one, and is also free software) and it now works :)

so here's a quick port to Metamod

edit: I removed the 0.8 version. 0.91 version is below (thanks to USAZombie) :)

USAZombie 19-12-2005 19:29

Re: Parabot Reloaded
 
1 Attachment(s)
Here is the 0.91 version.

Tiggr 20-12-2005 15:58

Re: Parabot Reloaded
 
It works!

Thank you very much!

Bye
Tiggr

Tiggr 20-12-2005 17:16

Re: Parabot Reloaded
 
And there is a minor problem, using MM, HL-Server crashes on map change! :-(

Bye
Tiggr

USAZombie 21-12-2005 09:29

Re: Parabot Reloaded
 
Trying to run metamod version and I get badf load.

Metamod log says the file was found but could not be opened.

Zacker 23-12-2005 21:33

Re: Parabot Reloaded
 
Wow great news! Parabot was a truely amazing bot which I really had a LOT of fun with. Until I got Parabot I did not really play HLDM or DMC, but with this great bot the game did not matter - it was simply pure fun.

It is incredible to see this go opensource. I hope that some of you other skilled bot coders will take this up and continue the Parabot spirit.

Tiggr 26-12-2005 12:14

Re: Parabot Reloaded
 
Hi, it's me again!

Parabot_mm reloades still chrashes my server on each mapchange! I'm using the full standalone Windows v4.1.1.1 (without any steam stuff, because of the cooperate firewall - yes I game at work!). Client is Half-Life 1.1.1.0, even without any steam stuff. I have MetaMod, AdminMod, ChatProtection and PlayerNames loaded, all works fine. But Parabot_mm (and some other bot's too) chrash my server, on map change. :-(

Don't want to play only one map, but also want use parabot! :cursing:

What can I do?

Bye
Tiggr

Simon Logic 14-08-2006 17:53

Re: Parabot Reloaded
 
Quote:

Originally Posted by USAZombie
Trying to run metamod version and I get badf load.

Metamod log says the file was found but could not be opened.

Me too. I used HL v1.1.2.0. Suspect it works fine on 1.1.1.0 version. I'll checkout this night.

Also i used enchanced metamod configuration to launch non-metamod parabot.dll v0.91 (by using gamedll dll/parabot.dll statement within config.ini file) and got very strange message (quoting by memory, sorry): the DLL is too old and using version 1.40. Game engine version is 1.40. SICK!

Pity that Parabot haven't been posted to http://sf.net yet. It's delaying further development of this wonderful bot.

jeefo 14-08-2006 18:18

Re: Parabot Reloaded
 
Look at the thread date dude. Well Parabot is not coded by anyone at BU (or anyone else, it's seems). Sorry.

Simon Logic 15-08-2006 10:51

Re: Parabot Reloaded
 
Wow, just discovered that those source code was of v0.91, not 0.8 one. Cool!

Couple of words about the problems above.

Stupid message about too old DLL was really talking about the DLL was not found! I should use gamedll dllS/parabot.dll. So, that's the key to use non-metamod version under metamod. But as i assumed earlier, it works only in v1.1.1.0. Under 1.1.2.0 the game crashes with message 'Error determining MOD directory name!' from h_export.cpp.

MM version of Parabot works fine under prior versions to 1.1.2.0 also. I discovered that Parabot works bugly in conjunction with metamod v1.19p28 (optimized): the player couldn't switch weapons. I had to turn back to original 1.17.4. It works pretty fine.

GordonFreeman 10-01-2011 06:35

Re: Parabot Reloaded
 
I have crash with Opposing Force and Half-Life

And every time on:
op4_xendance;op4_rubble

When I -or- BOT touched the SKY texture.

Please, check it!

Parabot is Greath bot for HL!



P.S.: Sorry for BAD English

Whistler 14-01-2011 03:38

Re: Parabot Reloaded
 
sorry but no one is actively maintaining parabot :(
maybe try jkbotti instead?

GordonFreeman 16-01-2011 07:42

Re: Parabot Reloaded
 
Quote:

Originally Posted by Whistler (Post 63049)
sorry but no one is actively maintaining parabot :(
maybe try jkbotti instead?

JKBotti is easy bot!
I like a very adrenaline game with cheaters :). Parabot is good for it.
But it crashed my server. I used GraveBOT with botskill 1
REALLY ADRENALINE GAME!

genmac 03-10-2012 16:33

Re: Parabot Reloaded
 
I found a more stable metamod based parabot tnx to google chrome and this nice russian plugin site http://aghl.ru/forum oh my I'm having so much fun with like the good old days. Really love the way it navigates the map really smooth. I can finally make a little Parabot-mm VS Jk_botti VS HpB_Bot VS RcBot bot battle hehe.

Hanzolo 18-01-2015 21:40

Re: Parabot Reloaded
 
Hello there.

Can you please upload that metamod version of parabot?
I tried searching the russian forums but didnt find it.

Thanks!

edit: nvm, I found it. Though it's crashing my hlds v1110 after few mins.


All times are GMT +2. The time now is 19:49.

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