.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Help request (http://forums.bots-united.com/forumdisplay.php?f=37)
-   -   How to install RealBot? Here is a guide! (http://forums.bots-united.com/showthread.php?t=6830)

stefanhendriks 29-06-2008 19:03

How to install RealBot? Here is a guide!
 
Please check out my guide, and resond here if you find it useful!

Check out the guide at http://realbot.bots-united.com/howto

This guide explains how to install RealBot from scratch. It provides a simple install for metamod and the realbot plugin.

Krillin 30-06-2008 01:10

Re: How to install RealBot? Here is a guide!
 
Linux Please?

Thought by downloading the 3068 version the source code would be in there to work with. To our surprise, it wasn't!? You gonna leave us Linux guys out of this or what?

We finally figured out how to compile this in Linux, but now we needed the new code for 3068 so we can run the newest version.

There is what the problem was.
Code:

Makefile's first line reads:
CPP = g++-linux

Needs to read
CPP = g++

In this directory, just run 'make' in a terminal window and the file was created and made the Release directory and moved the .so file into it. Release/realbot_mm_i386.so.

Code:

[gameuser@babby source]$ make
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c NodeMachine.cpp -o NodeMachine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot.cpp -o bot.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_buycode.cpp -o bot_buycode.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_client.cpp -o bot_client.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_func.cpp -o bot_func.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c bot_navigate.cpp -o bot_navigate.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c build.cpp -o build.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c dll.cpp -o dll.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c engine.cpp -o engine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c game.cpp -o game.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c util.cpp -o util.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c ChatEngine.cpp -o ChatEngine.o
g++ -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -march=i386 -O2 -w -I"./hlsdk" -I"./hlsdk/common" -I"./hlsdk/dlls" -I"./hlsdk/engine" -I"./hlsdk/pm_shared" -I"./metamod" -c IniParser.cpp -o IniParser.o
g++ -fPIC -shared -o realbot_mm_i386.so NodeMachine.o bot.o bot_buycode.o bot_client.o bot_func.o bot_navigate.o build.o dll.o engine.o game.o util.o ChatEngine.o IniParser.o -ldl
mkdir -p Release
mv *.so Release

Now if we only had the new source code for 3068, we could rock and roll! Thus far 80 MB of learned files on 60 maps.

Thanks,
Krillin

stefanhendriks 30-06-2008 08:58

Re: How to install RealBot? Here is a guide!
 
Ah linux.

The problem with that is that i do not use Linux, so i can't write a 'fool proof' guide for it.

If you can write some for that, i could add that to the guide.

Be sure you take the source of realbot from google code (you can grab the latest source there, always).

Krillin 01-07-2008 12:53

Re: How to install RealBot? Here is a guide!
 
I would be honored to contribute in any way that I can to help make a Linux Server Install Guide. I had one, but I wrote it on the wrong computer and it ended up geting deleted from a format. ( A testing Server of various Linux Distros).

I had to go by trial and error to figure out how to install it and when I did, I made note of what was required . In fact, I posted them here, but I am learning more about what the commands in 'realbot' really do and how they effect the overall functions of their behavior.

What I noted is found here in the 'Realbot 1.6 Installation Instructions (LINUX). Found here: http://forums.bots-united.com/showpo...8&postcount=16.

I will try to find your souce code for the new version 3068. However, where can I send it to get it posted? Or will you just include it in your download package so Linux Server Admins can just 'unpack', plug-in and go? It is not as easy as it sounds, I hope this current. I miss the 'souce' files being in the .zip download. http://csrealbot.googlecode.com/svn/trunk/ The repository did not have them http://code.google.com/p/csrealbot/downloads/list here. How ironic this is not the current build. Not a word to be found here either: http://filebase.bots-united.com/inde...=category&id=1 I can't find it, and I can not waste anymore time hunting it down. Strike-1, Strike-2, Strike-3. Maybe someday it will appear. lol

The current build.cpp shows at google code is:
Code:

// 14/11/04
// Updated Build nr; it compiles in MSVC again, and should compile in Linux... i did not
// change that much.
// 14/11/04 - end
 
// 05/07/04
// Build has moved away from dll.cpp for easier versioning
// 07/07/04 - Comment changed, it was moved from dll.cpp, not bot.cpp ;) (nitpicking) :D
 
 
// BUILD NR & Version
char *rb_build_nr = "3063";

What gives? Where did you stash the code guy?

Thanks,
Krillin

stefanhendriks 01-07-2008 17:24

Re: How to install RealBot? Here is a guide!
 
If you can send me a guide in plain html (like i did with my own guide) i am more then happy.

Btw, the source was not updated yet, i did not check it into the repository yet. I just did check it in, so you can grab the latest. But, beware, i am stuffing it with debug statements and whatnot, so be sure you have realbot print disabled...

ow, also, the version i checked in has dontshoot on false on default... sorry, but i am developing this thing now.

It would not matter for your guide though, and if you are a bit patient, i will commit a new revision today again if i get time.

btw, if you subscribe to the svn repository you will get e-mails whenever i check it in (i think).

stefanhendriks 01-07-2008 17:25

Re: How to install RealBot? Here is a guide!
 
btw, not every build is a release ;-) so don't bother checking the filebase unless i 'officialy' release it.

Krillin 02-07-2008 00:48

Re: How to install RealBot? Here is a guide!
 
Makes sense to me. I will see if i can find the install.txt I wrote notes in and get the text into an html format and get it to you for Linux Server Installs.

I want to hold off untill you come out with an official release before looking for the source download again. But I have noticed since I reinstalled our Mandriva 2008.0 Linux build and applied 1.1GB of updates, Realbot has been crashing the server 4-5 times in a 24 hour cycle. Which is odd because the last build before I tried to switch Linux Distros, Realbot ran on our server for almost 2 days nonstop! With our July 4th (Independence Day) holiday approaching things are going to get busy until next week.

All we are saying is, Take your time, do it right and make it stable.

Krillin

Untill it is made official, you may want to take a look here to see the Linux Documentation work in progress. lol
Real Bot Linux

stefanhendriks 02-07-2008 08:52

Re: How to install RealBot? Here is a guide!
 
Thanks a lot.

I have made some big improvements last night , you can read the news at my site as well about them (although it mentions just one thing).

If you experience crashes, do you have any stacktrace or some sort of debugging information for me to work with? I might track down the bugs that way and get it more stable.

Krillin 18-07-2008 21:29

Re: How to install RealBot? Here is a guide!
 
Quote:

Originally Posted by stefanhendriks (Post 58335)
Thanks a lot.

I have made some big improvements last night , you can read the news at my site as well about them (although it mentions just one thing).

If you experience crashes, do you have any stacktrace or some sort of debugging information for me to work with? I might track down the bugs that way and get it more stable.

Mandriva 2008.0 has its own. They appear to be memory leaks. As they reference to 'memory can't be read at (hex address)". With keeping this info in a text file, the reports are always consistant. There are three of these logged in the console. The first and last ones are always the same. But the hex address in the middle is always different. I do not have acces to them now I am not on my linux box. Only thing produced is the core.#### (PID 4 digit Number) file and Mandriva doesn't know how to interpet the data file. Unless you have a way to read the dump core.#### file.

I regret to report we removed the bot program due to the crashes making the server instable. Server would crash so much players stopped coming back in the server even though Linux has a built-in auto restart. But 12 times a day is too much for players to tolerate I guess. Since removing the bots in 8 days some 1450 + players have enjoied our server. I am almost pleased.

I will e-mail the crash test file I made with the error messages if you like.

Krillin

stefanhendriks 20-07-2008 20:06

Re: How to install RealBot? Here is a guide!
 
Hi,

Crashes are bad and need to be fixed. But, in order to test it it would require some testing environment (ie, perhaps you have another server where you also have players joining, but where it is less important when the server crashes?).

Any crash report is welcome.

Krillin 25-07-2008 00:55

Re: How to install RealBot? Here is a guide!
 
I had posted a reply here but somewhere along the way it did not post here.

Well, the past 24 hours have been adventurous for us.

Here is what we did.

Due to realbot locking up the entire system now, we had to pull this server off of our main gameserver box.

We created a new build of our Mandriva 2008.0. Not as good as the current, but this is our original box we ran servers off of back in our hay-days.

I do not have any dump files due to the lock up of the system. The video and the mouse was the only thing that came up. The server was locked as well as the system time this afternoon after running overnight. The time of the lock up was 6:36 AM EDT. Was not found until 2:30 - 3:00 PM.

Here is where the sever can be found at:
http://cache.www.gametracker.com/ser...000-591F11.png

Thanks,
Krillin

We are willing to do what ever needs to be to done to help Stephan.

stefanhendriks 25-07-2008 09:26

Re: How to install RealBot? Here is a guide!
 
thanks a bunch!

I hope we can find out what goes wrong. Stability of software is the main priority.

Krillin 25-07-2008 20:48

Re: How to install RealBot? Here is a guide!
 
If you have any ideas on how we can capture what is going on with this that would be helpful for both of us.

We'll keep you posted.

Also, do you have any guesses as to when the next official release is going to be out? You sound like you have been pretty busy this month. As have we. We feel there are memory leaks in Realbot Build 3063 but can not prove it because we can't capture it before it sends the system to a 'melt down'.

Krillin


All times are GMT +2. The time now is 14:35.

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