• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

C++ question, how to shutdown a plugin internally

headedtomexico

New member
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?
 
C++ question, how to shutdown a plugin internally

Users who are viewing this thread

Back
Top
Cart