Server Help

Bot Questions - Plugin won't load for other people (Merv)

Samapico - Mon Sep 17, 2007 9:45 pm
Post subject: Plugin won't load for other people (Merv)
I made this realllly simple plugin... works fine on my bot

But the guy I made it for, and other people, aren't able to !load it... It says something like 'Unable to load requested plugin'

Is there anything I could have done? Like compiling options or something?

Using Visual Studio 2005 if that can help

Here's the plugin
Maverick - Tue Sep 18, 2007 2:29 am
Post subject:
What version of Mervbot sources are you compiling against?
I've had lots of problems when I was compiling against old sources (build 38) while people were trying to load it on build 46.

On the other hand, have you tryed simply rebuilding the plugin? I've also had a case with a corrupt plugin which made it impossible to get it loaded.
Samapico - Tue Sep 18, 2007 8:04 am
Post subject:
It did the same thing for 2 versions of the same plugin... so yeah I rebuilt

He had merv .45, I had .46, didn't work;
He got .46, still didn't work;
I copied significant files in my mervbot folder (the exe and plugins and needed txt's) to another folder. Worked for me. Sent him that folder, still didnt work for him
Dr Brain - Tue Sep 18, 2007 8:07 am
Post subject:
I've had some problems with VS 2005 needing a ton of external dependencies that don't ship with windows. Look at what MSDN says to ship with a product, and try sending them to your bot host along with your plugin.
Samapico - Tue Sep 18, 2007 10:41 am
Post subject:
i sent him the visual studio runtime library dll's... (msvcm80.dll, msvcp80.dll, msvcr80.dll)
we'll see if it works... the Dependency Walker (depends.exe) shows some references to msvcr80.dll so...
Samapico - Tue Sep 18, 2007 4:34 pm
Post subject:
Didn't work


But even if it was dependency-related, wouldn't it !load anyway, but just crash or don't do much?

Did any of you try it?
Jonus - Tue Sep 18, 2007 5:08 pm
Post subject:
I was asked last night by the guy you made it for to try it.
I didnt have any luck, merv wouldn't load it.

merv 46 and xp sp2
Jmunky85 - Thu Sep 20, 2007 4:33 pm
Post subject:
i have windows vista if that matters...
Blocks - Tue Sep 25, 2007 4:51 pm
Post subject: Silly M$
I had this same problem with Visual Studio 2005. I never fixed it, I just compiled with Visual Studio 6.0 and it worked fine for the other person.
Samapico - Tue Sep 25, 2007 5:28 pm
Post subject:
yeah I guess I'll do that... VS2005 was good for the learning phase of merv/c++, cause the intellisense works so much better... But I'm confortable enough now so...

thanks
Samapico - Tue Sep 25, 2007 5:36 pm
Post subject:
WTF whenever I want to 'add files to project' in VC++ 6, it just crashes... wtf
Jmunky85 - Mon Oct 22, 2007 4:42 pm
Post subject:
any luck with this yet? :X
Deathonline - Sat Dec 27, 2008 5:29 pm
Post subject:
Old topic, but I'll reply anyway in case someone runs into the same problem.

You can use VS 2005 / 2008 if you import a project created with VC++ 6. This makes VS compile the projects with msvcrt.dll instead of the newer dlls.

Using STL (maps, strings, vectors, etc) doesn't seem to work though.
liito-orava - Sun Jan 25, 2009 5:38 am
Post subject:
In VS 2005 this worked for me:

In project -> *plugin name* properties

Configuration properties ->

Use of ATL: Static link to ATL
Minimize CRT use Use in ATL: Yes


The size of .dll should usually increase when going to those options.
Maverick - Sun Jan 25, 2009 7:32 am
Post subject:
Stop bumping this age-old topic icon_mad.gif
liito-orava - Sun Jan 25, 2009 11:14 am
Post subject:
I wouldn't call replying to the topic that is on top of the page "bumping". And anyway, two latest post before yours did actually provide solutions to the unsolved problem, which shouldn't be a bad thing usually.

Sorry for trying to help icon_wink.gif
Samapico - Sun Jan 25, 2009 3:05 pm
Post subject:
Yeah, it was a useful solution tongue.gif
Cheese - Sun Jan 25, 2009 5:04 pm
Post subject:
Deathonline wrote:
Old topic, but I'll reply anyway


in case you missed it
Samapico - Sun Jan 25, 2009 5:39 pm
Post subject:
Cheese wrote:
[..]



in case you missed it
That was bump #1, over a year old, mav was talking about liito's bump, which was only like a month old tongue.gif
Cheese - Sun Jan 25, 2009 11:25 pm
Post subject:
last time i checked, december 08 is the month before jan 09
Samapico - Mon Jan 26, 2009 11:49 am
Post subject:
Bump #1 was from October 2007 to December 2008. See Deathonline's post compared to the one before

Quote:
december 08 is the month before jan 09

Quote:
liito's bump, which was only like a month old


This is going nowhere sa_tongue.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group