.:: 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
@Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#1)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default @Stefan: realbot plugin not reloading after mapchange FIX - 13-03-2004

Our flying Dutchman might be interested in knowing that I happened to discover the fix to the many times reported problem of metamods plugin not reloading after a mapchange.

As usuals, it's one of these fixes you discover the day you aren't searching for it.

@Stefan: your RealBot plugin info structure must look somewhat like this:
Code:
plugin_info_t Plugin_info = {
   META_INTERFACE_VERSION, // interface version
   "RealBot", // plugin name
   "2.0", // plugin version
   __DATE__, // date of creation
   "Stefan Hendriks", // plugin author
   "http://realbot.bots-united.com/", // plugin URL
   "REALBOT", // plugin logtag
   PT_STARTUP, // when loadable
   PT_ANYTIME, // when unloadable
};
change it to something like this:
Code:
plugin_info_t Plugin_info = {
   META_INTERFACE_VERSION, // interface version
   "RealBot", // plugin name
   "2.0", // plugin version
   __DATE__, // date of creation
   "Stefan Hendriks", // plugin author
   "http://realbot.bots-united.com/", // plugin URL
   "REALBOT", // plugin logtag
   PT_CHANGELEVEL, // when loadable <-- FIX
   PT_ANYTIME, // when unloadable
};
The weird thing is that PT_STARTUP is still supposed to let the plugin reload after a map change. PT_CHANGELEVEL will work, only thing is that it could allow a user to hot-load the RealBot DLL without rebooting the server, that which I'm not sure it can happen without failure. But for normal usage, it's fine. The fault is metamod's isn't it, I wonder if I should send Will Day a bug report.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#2)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 13-03-2004

Maybe a "knowledge base" forum would be a good place to store such information until the wiki is available...
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#3)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 25-03-2004

Thx! I will apply this patch as soon as i am at home (i am at school now).


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#4)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 25-03-2004

I've put this in the wiki:
http://server.bots-united.com/wiki/i...lePluginReload
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#5)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 31-03-2004

cant load tha tpage?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#6)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 31-03-2004

just click refresh
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#7)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 01-04-2004

lol, i am not stupid. It gives me an XML error.



The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://server.bots-united.com/wiki/index.php/BotCodeSamplePluginReload'. Line 4, Position 11

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"----------^






even more 'lol' is that when i HIT refresh, it works. This is nuts8D


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#8)
Onno Kreuzinger
aka: memed / Server Admin
 
Onno Kreuzinger's Avatar
 
Status: Offline
Posts: 705
Join Date: Jan 2004
Location: germany
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 01-04-2004

no its stupid software, both thew wiki and the IE are nuts, they are just unpractical.

use mozilla and cgi *g*


sunny morning view from my balcony:

see our WIKI!
see our filebase!
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#9)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 01-04-2004

Someone should send a PR to these wiki guys... maybe this can be fixed in an upcoming release.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: @Stefan: realbot plugin not reloading after mapchange FIX
Old
  (#10)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: @Stefan: realbot plugin not reloading after mapchange FIX - 02-04-2004

using mozilla, nah... tried it before. I am to spoiled with IE already.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
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 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com