• 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

MQ2GMNotify

TeachersPet

Well-known member
Joined
Jul 27, 2005
RedCents
71¢
I've posted this in a few forms before but I figure it belongs in plugin form at some point. Essentially this is just a nice addition if you're like me and hide your MQ2 window. It displays on your screen when a GM zones in and out of your zone.

Rich (BB code):
// MQ2GMNotify by TeachersPet
// Just load it up and read your screen when a GM zones in or out

#include "../MQ2Plugin.h"

PreSetup("MQ2GMNotify");

PLUGIN_API VOID OnAddSpawn(PSPAWNINFO pNewSpawn)
{
	CHAR szMsg[MAX_STRING];
	if (pNewSpawn->GM) {
		sprintf(szMsg,"GM %s is in the zone!",pNewSpawn->Name);
		DisplayOverlayText(szMsg, CONCOLOR_RED, 100, 500,500,3000);
	}
}

PLUGIN_API VOID OnRemoveSpawn(PSPAWNINFO pSpawn)
{
	CHAR szMsg[MAX_STRING];
	if (pSpawn->GM) {
		sprintf(szMsg,"GM %s has LEFT the building!",pSpawn->Name);
		DisplayOverlayText(szMsg, CONCOLOR_LIGHTBLUE, 100, 500,500,3000);
	}
}
 
When a GM or guide goes /anon the name turn blue from green and doesnt show up when you do /who all gm. Does this break that?
 
Well, assuming they would show up on /who gm with MQ2, it will show a message when they enter or exit your zone.
 
Even if a GM zones in anon they blink on your data for a second. Long as you were in the zone first
 
Anyone care to post a dll for this? I'm away from home and my compiling box
 
i loaded it up and nothing seemed to happen with me in the same zone as a gm..do i have to be in the zone first for it to work?
 
It should make a popup (the colored text across the screen) the moment you zone into a zone where's a GM that's not hiding, or the moment a GM zones in the zone you're in.

Also should popup the moment the GM dissapears from the zone spawnlist (goes to another zone or goes anon)
 
MQ2GMNotify

Users who are viewing this thread

Back
Top
Cart