.:: 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)

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 12:56.

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