• 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

Shutdown a plugin?

headedtomexico

New member
Joined
Dec 9, 2008
RedCents
I've tried several ways to do this, but all result in a crash.
I'm looking to have a plugin shut itself down, preferably in the initialize event.
I've tried sorting through pPlugins in the initialize event to do a Shutdown call, but the plugin isn't in the list yet. Invoking the same method from the pulse event causes a crash.

I've tried to call UnloadMQ2Plugin from pulse, and initialize and that also results in a crash. I'd rather not use DoCommand.

Does anyone else have any bright ideas?
 
I'm speaking about from within the plugin, in the code. I don't want to use docommand either which would rule out any use of /plugin
 
Do a call to the UnloadMQ2Plugin(szName) function from another command. So in your main function do the call. I'd give it an actual argument like /myplugin exit. Is there a reason why you don't want to do a DoCommand()?

-alatyami
 
Shutdown a plugin?

Users who are viewing this thread

Back
Top
Cart