.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Forum (http://forums.bots-united.com/forumdisplay.php?f=36)
-   -   Work In progress (WIP) #8 (http://forums.bots-united.com/showthread.php?t=594)

botmeister 04-02-2004 01:30

Re: Work In progress (WIP) #8
 
Quote:

Originally Posted by A$$A$$IN
Just to reiterate for the less observant, here is the fix for the "bots unload at mapchange" problem.

1. Start up the server with bots.
2. Once bots have joined the game, go to the console and type meta refresh.
3. Verify that bots are still active in the server, then shut down the server.
4. Restart the server, everything should be fine now.
5. Repeat this any time you change versions of RealBot.

I don't see how the refresh will fix anything since it only attempts to reload the plugin and remove deleted one without taking down the server. What I did to fix the problem was delete all the experience files as they probably became incompatible between versions.

From metamod website



The file is re-read at changelevel, as well as on demand (via "meta refresh" console command; see below). When the file is re-read, it will:
  • load any new plugins added to the file
  • unload any plugins that have been deleted from the file. This is only applicable to plugins loaded from the inifile. If the plugin was loaded from the console, it will not be unloaded during a refresh, whether it's in the inifile or not.
  • reload any plugin whose file on disk has been updated since it was loaded. Note this appears to be only useful under linux, as under Windows you cannot rename or overwrite an open DLL, so it doesn't look a loaded plugin could ever have a newer file on disk. Oh well.

A$$A$$IN 04-02-2004 01:41

Re: Work In progress (WIP) #8
 
CS 1.6 Steam dedicated server. It's not that the box is overloaded, I can run other stuff and performance is great. Something is limiting FPS to 20, but it's not CPU performance. CS 1.5 dedicated server runs at 80 FPS no problem on the same box.

A$$A$$IN 04-02-2004 01:47

Re: Work In progress (WIP) #8
 
Quote:

Originally Posted by botmeister
I don't see how the refresh will fix anything since it only attempts to reload the plugin and remove deleted one without taking down the server. What I did to fix the problem was delete all the experience files as they probably became incompatible between versions.

That's the difference between theory and practice. I nuked the rbx/rbn files too, and that didn't solve the problem. I think metamod stores some setting in the registry somewhere (not in the config files) that refresh resets somehow. My fix consistently solves the problem, but I don't claim to know exactly why.

Jeffrccar 04-02-2004 03:34

Re: Work In progress (WIP) #8
 
Quote:

Originally Posted by A$$A$$IN
CS 1.6 Steam dedicated server. It's not that the box is overloaded, I can run other stuff and performance is great. Something is limiting FPS to 20, but it's not CPU performance. CS 1.5 dedicated server runs at 80 FPS no problem on the same box.

A$$A$$IN have you tried the metamod plugin called a WinHL-Booster or Booster Lite? When using a Windows OS on the HLDS this plugin will lower the ping and raise the FPS.
This plugin for me gives me a 200 FPS on a WON HLDS
Note: I have not tried this in Steam on a HLDS Server so, do not know if it boosts the FPS.

dead bwoy 04-02-2004 03:52

Re: Work In progress (WIP) #8
 
Update...

So I had the same problem with the bots not moving at all, and just standing around... rolled back from the fastfix to wip#8... deleted the exp and map files... Then ran around to every nook and cranny of de_dust, by myself, for both teams... I had just trained my first killing squad!!! These bots are awesome when they work right! So then I got to thinking... maybe I hadn't trained my bots right with the fastfix...? So I went back to the fastfix for more with the wip#8 exp & map files... trained the bots... added bots... stuck... then I thought, may be a compatibility issue... deleted exp & map files, and re-trained bots... still stuck... so now I leave this post, rolling back, once again ...to wip#8
PS still getting random crashes but i dont even know if it is related to realbot at all... No more problems with map change... yet... Really need to clean up my server (dirty plug-inz)...
good luck everyone!

botmeister 04-02-2004 06:31

Re: Work In progress (WIP) #8
 
Quote:

Originally Posted by A$$A$$IN
That's the difference between theory and practice. I nuked the rbx/rbn files too, and that didn't solve the problem. I think metamod stores some setting in the registry somewhere (not in the config files) that refresh resets somehow. My fix consistently solves the problem, but I don't claim to know exactly why.

"That's the difference between theory and practice."

LOL well I have to agree with that. I'm not saying the refresh does not solve the problem, I just don't see how it does it. I doubt metamod uses the registry because it is was first designed to operate under Linux which does not use a registry. I did do a search through the registery for the keyword "metamod" but nothing came up. This one is very strange.

Terran 04-02-2004 11:41

Re: Work In progress (WIP) #8
 
I rolled back the fastfix to WIP#8 and the bots move after some rounds.
But they allmost always choose the same route - how boring...

Deathwish 04-02-2004 12:01

Re: Work In progress (WIP) #8
 
Just thought I'd add this here :
http://forums.bots-united.com/showthread.php?t=609

Is it possible to get hold of WIP#7 ? If anyone has it can they email me it? dave@fwib(removethiscarp)ble.org

Thanks. o_O

stefanhendriks 04-02-2004 17:25

Re: Work In progress (WIP) #8
 
I checked my source and ran a test server, and i also saw those 'stuck bots'. I don't know how that could be. I grabbed my backup of the source and compiled a 'normal WIP #8' version from it, and that one worked okay.

So, i suggest to try out WIP #8 if you have any trouble with the fastfix. I will now try to add 'fixes' (some messed it up as it seems) slowly and see when this bug appears again.

Oss133 05-02-2004 00:14

Re: Work In progress (WIP) #8
 
I don't see any evidence of the bots learning that certain connections are not usable and ignoring them. How long should it take them to learn?

Also, they don't seem to try ducking under obstacles. Should they?


All times are GMT +2. The time now is 06:34.

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