HOWTO: Copy/Paste new plugin code from forums

General announcements relating to the modularized MacroQuest2 system.

Moderator: MacroQuest Developers

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

HOWTO: Copy/Paste new plugin code from forums

Post by Lax » Mon Feb 16, 2004 5:24 pm

Step 1. Create the plugin. To do this, you need to use "mkplugin", which is a command line program:
mkplugin <plugin name>
example:
mkplugin myplugin
This will create a plugin named "MQ2Myplugin"

If you don't know how to use DOS, you should do this:
Start->Run: c:\mq2\mkplugin myplugin
But of course replace c:\mq2\ with wherever you have macroquest.

Step 2. Add the new plugin to your visual studio workspace (for retarded people, visual c++ is a part of visual studio, so this is the same thing as adding it to your visual c++ workspace). In VS .NET, go to File->Add Project->Existing project, and select the MQ2Myplugin.vcproj. In VS 6, ... I forget exactly, but its something equally easy, add project and select MQ2Myplugin.dsp.

Step 3. Open the MQ2Myplugin.cpp file. Select all of it, and replace it with the code you're copying

Step 4. Compile the plugin. If you cant figure this step out then you need to seek help elsewhere

Step 5. Load the plugin. Example: /plugin mq2myplugin

Enjoy
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0