MQ2 Custom plugins not loading

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Draekz
a hill giant
a hill giant
Posts: 263
Joined: Thu Aug 01, 2002 6:07 pm
Location: Winnipeg, Manitoba, Canada

MQ2 Custom plugins not loading

Post by Draekz » Fri Mar 19, 2004 2:55 am

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

Easar
orc pawn
orc pawn
Posts: 27
Joined: Thu Oct 10, 2002 6:30 pm

Post by Easar » Fri Mar 19, 2004 3:22 am

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
Feh... that's not a monkey.... THIS is a monkey!

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Mar 19, 2004 2:05 pm

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.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

bonehand
a lesser mummy
a lesser mummy
Posts: 48
Joined: Tue Feb 17, 2004 5:16 pm

Post by bonehand » Fri Mar 19, 2004 2:27 pm

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.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Fri Mar 19, 2004 6:35 pm

Oh.. I wouldnt expect you to load the workspace instead of the project file anyway so it really is just you being a tard :)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat Mar 20, 2004 11:42 am

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 --
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0