Page 1 of 1

MQ2 Custom plugins not loading

Posted: Fri Mar 19, 2004 2:55 am
by Draekz
Heyo, quick question!

Ever since the latest release (12 and 16th i think both). I've not been able to install my own custom plugins?? anytime i try to load the plugin using /plugin <pluginname> it gives me an error (well not really an error) but it gives me the message "Plugin 'mq2dps' could not be loaded.

Or anything of that nature, used mq2dps as my example as its one of the few that wont load for me! I've compiled it together with mq2, but didnt batch build it with everything else..should i do that maybe? Not sure what else i could do and was wondering if anyone knew what the problem with this was?

In any case, if anyone knows whats going on could use the help :) thanks!

Draekz

Posted: Fri Mar 19, 2004 3:22 am
by Easar
First thing I'd do is double check the DLL exists in the same directory as the macroquest2.exe that you're running...

I have issues a lot because I have like 10billion MQ2 directories... all with applicable .exe's And I recompile my plugin from that dir and it obviously isn't where it needs to be. That error message could use some verbosity

Posted: Fri Mar 19, 2004 2:05 pm
by Lax
Your directory structure either a) needs to be the same as ours, or b) you need to make sure to put your dlls in the right place. That's all there is to it really. If you use mkplugin to make your plugin it makes it in the place it's expected to be, and it makes it compile to the place it's expected to be. If you change where it is or modify your directory structure, it's not going to be where it's expected to be... and then the universe will explode.

Posted: Fri Mar 19, 2004 2:27 pm
by bonehand
I was having issues with mkplugin not inserting the new plugin in the .dsw file for vc6, and the plugin was never getting compiled last time I used it. It was inserting into the .sln though.

I took the older .dsw and pasted from the last successful compile and then it included the plugins in the build. I just thought it was me being a tard and forgetting something so I never took too much notice.

Posted: Fri Mar 19, 2004 6:35 pm
by Lax
Oh.. I wouldnt expect you to load the workspace instead of the project file anyway so it really is just you being a tard :)

Posted: Sat Mar 20, 2004 11:42 am
by Lax
Hah. it doesnt make a .sln either.

Code: Select all

-- Creating plugin MQ2ParseProto --
Creating directory MQ2ParseProto...Success
Creating file MQ2ParseProto\MQ2ParseProto.vcproj from MQ2Template\MQ2Template.vcproj...Success
Creating file MQ2ParseProto\MQ2ParseProto.dsp from MQ2Template\MQ2Template.dsp...Success
Creating file MQ2ParseProto\MQ2ParseProto.mak from MQ2Template\MQ2Template.mak...Success
Creating file MQ2ParseProto\MQ2ParseProto.dep from MQ2Template\MQ2Template.dep...Success
Creating file MQ2ParseProto\makefile from MQ2Template\makefile...Success
Creating file MQ2ParseProto\MQ2ParseProto.cpp from MQ2Template\MQ2Template.cpp...Success
-- Plugin MQ2ParseProto successfully created --