.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > RealBot > General Forum
General Forum Follow progress, give suggestions, reply to bug report threads here.

Reply
 
Thread Tools
Re: Work In progress (WIP) #8
Old
  (#51)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Work In progress (WIP) #8 - 04-02-2004

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.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#52)
A$$A$$IN
Guest
 
Status:
Posts: n/a
Default Re: Work In progress (WIP) #8 - 04-02-2004

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.

Last edited by A$$A$$IN; 04-02-2004 at 02:43..
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#53)
A$$A$$IN
Guest
 
Status:
Posts: n/a
Default Re: Work In progress (WIP) #8 - 04-02-2004

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.
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#54)
Jeffrccar
Member
 
Jeffrccar's Avatar
 
Status: Offline
Posts: 20
Join Date: Jan 2004
Location: New Jersey USA
Default Re: Work In progress (WIP) #8 - 04-02-2004

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.
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#55)
dead bwoy
Member
 
dead bwoy's Avatar
 
Status: Offline
Posts: 512
Join Date: Feb 2004
Location: STL MO USA
Default Re: Work In progress (WIP) #8 - 04-02-2004

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!

Last edited by dead bwoy; 04-02-2004 at 04:55..
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#56)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Work In progress (WIP) #8 - 04-02-2004

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.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#57)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: Work In progress (WIP) #8 - 04-02-2004

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...
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#58)
Deathwish
Guest
 
Status:
Posts: n/a
Default Re: Work In progress (WIP) #8 - 04-02-2004

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

Last edited by Deathwish; 04-02-2004 at 13:03..
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#59)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Work In progress (WIP) #8 - 04-02-2004

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.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Work In progress (WIP) #8
Old
  (#60)
Oss133
Guest
 
Status:
Posts: n/a
Default Re: Work In progress (WIP) #8 - 05-02-2004

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?
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com