• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

C++ question, how to shutdown a plugin internally

headedtomexico

New member
Joined
Dec 9, 2008
RedCents
I posted this in the wrong forum originally, my appoligies. Im trying to find a way to make a plugin shut itself down. Much in the way /plugin blahblah unload does, but I want to plugin to do it to itself. For instance plugins that have another required plugin to run. Like netbots and eqbc. I have a plugin idea that requires the plugin to shut itself off in certain circumstances.

I've tried calling UnloadMQ2Plugin() with the plugin name, and It just crashes the session. I've also tried sorting through pPlugins till the plugin finds itself, andinvoking the Shutdown() call from there, and I get the same results, a crash. This is no suprise since its basically what UnloadMQ2Plugin() does.

I think it would be sloppy to do a DoCommand with /plugin, but I'm all outa ideas.

Anyone know how to pull this off?
 
I know this is an old topic, but...

Have you tried calling PluginCommand() with the proper parameters?
 
I was thinking the same. I asked dkaa about it, he said he thinks the only way is through DoCommand().
 
C++ question, how to shutdown a plugin internally

Users who are viewing this thread

Back
Top
Cart