.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   (mEAn) Bot.Admin Mod Help (http://forums.bots-united.com/forumdisplay.php?f=29)
-   -   Realbot AI (http://forums.bots-united.com/showthread.php?t=211)

SGt_pAIn 05-01-2004 08:12

Realbot AI
 
Tring out wip v2060 and found that mEAn was tring to add bots but they where not joining. Found the new command to add is:"realbot add 2 0 5". When I used that, bots joined. You may need to update realbot ai to allow for this command. I know that the version I'am using is beta. Just thought you should know.:D

botmeister 05-01-2004 09:05

Re: Realbot AI
 
Thanks for the heads up. I plan on testing out the latest WIP with mEAn in thenext few days. Once I have it working with it correctly I'll release a new beta update.

botmeister 06-01-2004 05:37

Re: Realbot AI
 
I have not yet prepared a beta release with documentation for the new realbot, but you can try this modified version of mEAn. This one is very untested, but it was running all day on my server and is still going OK.

To get it to work with the latest Realbot WIP (metamod version), use the below modified settings for loading up your server

+localinfo mgamedll addons/metamod/dlls/metamod.dll +localinfo mbotmod realbot_mm

You must have liblist.gam load the mean.dll. The startup settings as shown above will tell the mean.dll to load metamod instead of the bot dll (your metamod.dll path may be different). You will tell metamod to load realbot_mm.dll as shown in the realbot install instructions.

SGt_pAIn 07-01-2004 01:17

Re: Realbot AI
 
Quote:

Thanks for the quick update. I will try it tonight and let you know how it goes.:D
Worked great. Love the new cvar m_autokillbots. Look forward to future releases.

stefanhendriks 07-01-2004 08:54

Re: Realbot AI
 
so this means you did not get any mapchange trouble now? I assume you use the 'normal' metamod dll file. This one is from the metamod site?

botmeister 07-01-2004 09:00

Re: Realbot AI
 
I still get the problem. I'm using that patched metamod, so perhaps it will work if I switch to the normal one.

SGt_pAIn 07-01-2004 09:11

Re: Realbot AI
 
No map change trouble. Just a side note though-I used to have a problem with loading some dlls during a map change till botmiester told me about the (mapchangecfgfile server.cfg) cvar. It reloaded my server.cfg file. Just a thought.

Steam CS 1.6
Win XP PRO 1800+ (All updates/Patches)
Metamod 1.17
Clanmod 1.81.27B
Statsme 2.8.0.7B (NVT)
C-D 4.10.0
Webmod .47
Realbot WIP 2065
mEAn 5.50.10 mod. update
Bleeding v2.0 beta

botmeister 07-01-2004 20:14

Re: Realbot AI
 
I switched to the normal metamod around 12:00 am last night. This morning the log showed 3 server crashes. Unfortunately I cannot tell if the realbot plugin failed or not except since the last crash, which was over 3 map changes (at the time of this post). So all I can say is I got at least 3 successfull map changes in.

stefanhendriks 07-01-2004 20:50

Re: Realbot AI
 
This still makes me wonder, i do want to search for any possible memory leaks on my side though. Perhaps my bit storage/reference has a bug? ( you can see it in NodeMachine.cpp at /usr/src/metamod/realbot_plugin/ on the bu server btw)..

will keep on searching, but now back to study , got a test tomorrow ;)

botmeister 07-01-2004 21:22

Re: Realbot AI
 
Quote:

Originally Posted by stefanhendriks
This still makes me wonder, i do want to search for any possible memory leaks on my side though. Perhaps my bit storage/reference has a bug? ( you can see it in NodeMachine.cpp at /usr/src/metamod/realbot_plugin/ on the bu server btw)..

will keep on searching, but now back to study , got a test tomorrow ;)

Yup, I've been avoiding my work almost all day too - gotta stop checking in here or I'll get nothing done today :)

3 crashes in a period of 10 hours means something is going wrong too often. We should see at least 2 or more full days without failure, at least that's what I got with the old CS 1.5 server. I'm not sure how stable a bare bones CS 1.6 server should be, anyone know?

BTW, as of this post I got 7 successfull map changes in and the bots are still working fine.

stefanhendriks 07-01-2004 23:18

Re: Realbot AI
 
i hate irregular 'bugs'. I even more hate memory leaks or shifts (these are evil). I have been going through my code for 2 times, searching for any possible memory shift, bad allocation, 'out of range' , you name it. No luck so far. I did find in BUILD 205x an uninitialized var, but that is fixed a long time ago.

as for the changed metamod dll, all i did was applying (litterally as it said in the post) pierre's patch. Then went for the changes also made officialy in the .dif file to make it compile in Win 32 and linux... the changes where for variables (int32, to ensure it works with the new 64bit processors and such?).

botmeister 08-01-2004 00:12

Re: Realbot AI
 
It could be that using the different metamods creates a different manifestation of "the bug" whatever it is.

This one may be very nasty to find, but we have a good start because the map change problem is very easy to reproduce.

What about applying what PMB suggested, using the debug dll's for metamod?

stefanhendriks 08-01-2004 19:22

Re: Realbot AI
 
i will try to compile one today

Brakkenjan 08-01-2004 23:54

Re: Realbot AI
 
Hi

for me the bot plugin is not unloaded on map changes, and my server never crashes unless I do something silly. you guys have done a nice job on this thx.

only difference in my setup is I load metamod in liblist and use autoexec.cfg to load mean's settings...

this in my liblsit.gam (this is the mm dll from metamod.org)
gamedll "addons\metamod\dlls\metamod.dll"

this is my autoexec.cfg (mean.dll with new realbot ds commands)
log on
localinfo mm_gamedll mean/mean.dll
localinfo mbotmod realbot_mm

this in server.cfg
mapchangecfgfile server.cfg

this as hlds start command
hlds.exe -console -game cstrike -port 27015 +map de_dust +maxplayers 14

it's been stable with all the releases, with the only problem being the ds commands for realbot.

I doubt that the way i load it makes a difference, but i though i would let you know that it's working like this for me.

Pancak3 13-01-2004 00:19

Re: Realbot AI
 
Will this work as a start up?

-console -game cstrike -port 27015 +localinfo mm_gamedll mean/mean.dll +localinfo mbotmod realbot_mm +maxplayers 24 +map de_dust

Pancak3 13-01-2004 01:25

Re: Realbot AI
 
how come my port is like 33292 or something its like 194:285:21:33292

botmeister 13-01-2004 05:17

Re: Realbot AI
 
To Brakkenjan: since you are using realbot_mm.dll, you should load mean in liblist.gam, then have mean load up metamod, otherwise some enhancement functions won't work.


All times are GMT +2. The time now is 11:32.

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