Server Help

Bot Questions - Cannot load plugin..

Solid_Fire - Sun Feb 20, 2005 1:25 pm
Post subject: Cannot load plugin..
Solid_Fire> !load rankbot.dll
BB-Bot> I was unable to load the plugin you requested
Solid_Fire> !load rankbot
BB-Bot> I was unable to load the plugin you requested
Solid_Fire> !load rank.dll
BB-Bot> I was unable to load the plugin you requested
Solid_Fire> !load rank
BB-Bot> I was unable to load the plugin you requested

Anyone know why it does that when i try to load the plugin for my bot? I dont understand why it does this...
CypherJF - Sun Feb 20, 2005 1:47 pm
Post subject:
Well, it seems that you don't have the file in the same folder as your mervbot.exe

Don't use .dll on the end of the plugin when !loading - it's simply:

!load plugin-name

!load 8ball
!load rampage

etc.
Solid_Fire - Sun Feb 20, 2005 2:44 pm
Post subject:
it still doesnt work. is in the mervbot folder.. the folder is called BB-Bots..do i have to rename it or something?
CypherJF - Sun Feb 20, 2005 2:51 pm
Post subject:
CypherJF wrote:
Well, it seems that you don't have the file in the same folder as your mervbot.exe


i.e.: Put the .DLL in the same folder as MervBot.exe.
Solid_Fire - Sun Feb 20, 2005 2:56 pm
Post subject:
it is in there, still wont load it.
D1st0rt - Sun Feb 20, 2005 7:30 pm
Post subject:
Are you using the MERVBot_Debug.exe? If so, does that say anything additional?
Solid_Fire - Mon Feb 21, 2005 3:12 am
Post subject:
nope.. just says unable to load plugin... its gettin frustating lol
Gravitron - Mon Feb 21, 2005 4:43 am
Post subject:
There's a "bot questions" forum, you know...

(stupid poster, even stupidier staff)
Solid_Fire - Mon Feb 21, 2005 5:52 am
Post subject:
you know that this is a general question right? thats what i asked, i didnt think it was somethin so serious it had to be in bot questions....
Doggeti - Mon Feb 21, 2005 6:47 am
Post subject:
You have problems loading a dll into MERVBot.

Who else can see a reason to put it in 'Bot Questions'? tongue.gif
Solo Ace - Mon Feb 21, 2005 1:23 pm
Post subject:
If you are sure that the .dll file is in the same directory as the MERVBot's active path and you're still experiencing these problems I'd think the .dll is an invalid file type, but most likely an outdated plugin.

This is from the default source of MERVBot plugins, spawn.cpp:

Code: Show/Hide
if (major > CORE_MAJOR_VERSION)
{
   tell(makeEcho("DLL plugin cannot connect.  This plugin is out of date."));

   CONNECTION_DENIED = true;

   return;
}
else if ((major < CORE_MAJOR_VERSION) || (minor < CORE_MINOR_VERSION))
{
   tell(makeEcho("DLL plugin cannot connect.  This plugin requires the latest version of MERVBot."));

   CONNECTION_DENIED = true;

   return;
}
else
   tell(makeEcho("DLL plugin connected."));


In the MERVBot terminal you might be able to see one of these messages.
Notice: You need Misc:NoTerminal=0 in MERVBOT.INI to be able to see these debug messages.

I'm expecting you'll get one of those two error messages.

Please say so if this is what's happening, there might be a way to fix it by downgrading your MERVBot's core version.
Which core version are you currently using and what's the exact URL to the plugin archive (.zip)?
Solid_Fire - Mon Feb 21, 2005 2:35 pm
Post subject:
well i got all the plugins i needed except rank, i dont know why that specific one wont work...
Solo Ace - Mon Feb 21, 2005 2:42 pm
Post subject:
I can see you really used the information I posted, good job.
Solid_Fire - Mon Feb 21, 2005 3:10 pm
Post subject:
im using the latest mervbot. i'v given up on loading the other plugins i need.
Mr Ekted - Mon Feb 21, 2005 3:31 pm
Post subject:
Newb.
Solid_Fire - Mon Feb 21, 2005 3:37 pm
Post subject:
No, just not enough time to do that.
Solo Ace - Mon Feb 21, 2005 3:58 pm
Post subject:
Yes.

Stop being impatient then.
As if it takes hours to open MERVBOT.INI with a text editor, turn the console on, save the file and restart the bot.
Check if you see any error message while trying to load, if so, take appropriate measurements.

I gave you a good, and most likely the actual, reason for why it didn't work.
I even included a way for you to fix it.

Hm, if you keep giving up this quickly, you won't get much other things to work either.
Gravitron - Mon Feb 21, 2005 4:04 pm
Post subject:
Haha Ekted.
Rock on. icon_twisted.gif
Solid_Fire - Mon Feb 21, 2005 4:14 pm
Post subject:
actualy, what if i was busy with something else that doesnt have anythjing to do wih the game? did that ever come to your head?

did it ever concern you that i have a diabetic sister that needed something so she woulndt go into a coma?

think about it.
Solo Ace - Mon Feb 21, 2005 4:18 pm
Post subject:
That all has nothing to do with a simple thing taking less time than making the post you just made.

I'm not asking for excuses, I did my job: trying to help you fixing your problem.
Gravitron - Mon Feb 21, 2005 4:29 pm
Post subject:
I don't think Solid want or need our help anymore.
Dump this thread.

Purge - Mon Feb 21, 2005 5:06 pm
Post subject:
Um...is it in your Spawns.txt? You haven't posted about that.
Solid_Fire - Mon Feb 21, 2005 5:15 pm
Post subject:
its in there, i also did !load <plugin> ingame while in spec, and it said unable to load. i re downloaded the plugin, and still wouldnt load. i loaded invbot, alias, rampage and tried rankbot but it wouldnt load. so i think its the file.
Solo Ace - Mon Feb 21, 2005 5:17 pm
Post subject:
Wtf I just told you what may be wrong, re-read my posts, and now pay attention to the text. icon_confused.gif
Solid_Fire - Mon Feb 21, 2005 5:18 pm
Post subject:
..*reads it for the 7th time...*
Solid_Fire - Mon Feb 21, 2005 5:22 pm
Post subject:
sorry for double post but..

where do i see

Code:
Code: Show/Hide

f (major > CORE_MAJOR_VERSION)
{
   tell(makeEcho("DLL plugin cannot connect.  This plugin is out of date."));

   CONNECTION_DENIED = true;

   return;
}
else if ((major < CORE_MAJOR_VERSION) || (minor < CORE_MINOR_VERSION))
{
   tell(makeEcho("DLL plugin cannot connect.  This plugin requires the latest version of MERVBot."));

   CONNECTION_DENIED = true;

   return;
}
else
   tell(makeEcho("DLL plugin connected."));

Purge - Mon Feb 21, 2005 5:42 pm
Post subject:
Solid_Fire wrote:
sorry for double post but..


Triple post. sa_tongue.gif
Solid_Fire - Mon Feb 21, 2005 5:56 pm
Post subject:
true..lol
Gravitron - Mon Feb 21, 2005 6:05 pm
Post subject:
Solid_Fire wrote:
where do i see

Code:


Solo Ace wrote:
This is from the default source of MERVBot plugins, spawn.cpp:


Gravitron>
Gravitron> And off jumping a bridge I go...
Solo Ace - Mon Feb 21, 2005 6:07 pm
Post subject:
You'd see that in the source of a plugin, which is a little irrelevant.

It's about the error messages:
"DLL plugin cannot connect. This plugin is out of date." and
"DLL plugin cannot connect. This plugin requires the latest version of MERVBot.".
One of these messages might show up in the console, after trying to load a plugin.

---

Just follow these steps before running the MERVBot:

1. Open MERVBOT.INI in a text editor.

2. Go to the [Misc] section in that file and see if
"NoTerminal=0".
If it isn't, make sure it is.

3. Save and close the .INI file.

4. Start the MERVBot.exe, a black window shows up. This is what we'll call the "console".

5. Try to load your plugin, and see if any of these messages shows up in the "console":
"DLL plugin cannot connect. This plugin is out of date.",
"DLL plugin cannot connect. This plugin requires the latest version of MERVBot." or
"DLL plugin connected.".

6. Tell us here which of those messages showed up in the console.

---

By doing this you'd be able to determine what's going wrong when you're trying to load the plugin.
Mr Ekted - Mon Feb 21, 2005 6:54 pm
Post subject:
Other reasons LoadLibrary() would fail:

- dll does not exist, misspelled filename
- dll is not a valid dll

Other reasons MERV wouldn't like the module:

- missing export(s)
- improper registration/protocol (just guessing here)
Anonymous - Tue Feb 22, 2005 3:49 am
Post subject:
Format and reinstall windows.
Gravitron - Tue Feb 22, 2005 7:54 am
Post subject:
^ Give the man a cookie. sa_tongue.gif
Solo Ace - Tue Feb 22, 2005 2:01 pm
Post subject:
When I had my first own computer, that was the way to fix all problems. icon_smile.gif

Yeah Ekted, but this must be a version conflict. sa_tongue.gif
Cyan~Fire - Tue Feb 22, 2005 6:31 pm
Post subject:
^^^^ *Takes no action on it for the 7th time*

Grav wrote:
even stupidier staff

That was kinda funny. icon_razz.gif

Edit: Oops, guess I didn't see this page. icon_redface.gif
Phyran - Tue Feb 22, 2005 7:19 pm
Post subject:
Anonymous wrote:
Format and reinstall windows.



"Format HDD, win the war"
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group