• 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

Aura's and targeting

This is not a huge deal, but like to know if anyone knows a way around having aura's show up in the /npc named list or, something that really bugs me cause I use it alot, /tar named to target the nearest named to me. If anyone knows a way to avoid aura's being targeted or showing up without blocking out ALL untargetable mobs from list or /target, i would greatly appreciate your help.
 
in MQ2Utilities.cpp,

add:
Rich (BB code):
(!strnicmp(szTemp,"Aura",4))

Rich (BB code):
BOOL IsNamed(PSPAWNINFO pSpawn)
{
    CHAR szTemp[MAX_STRING]={0};
   
    if (pSpawn->Type != SPAWN_NPC)
		return false;

	if (pSpawn->Class >= 20 && pSpawn->Class <= 35 ) // NPC GMs
		return false;
	if (pSpawn->Class == 41 )  // NPC merchants
		return false;
	if (pSpawn->Class == 60 || pSpawn->Class == 61 )  //Ldon Merchants/Recruiters
		return false;
	if (pSpawn->Class == 63 ) // Tribute Master
		return false;

	strcpy(szTemp,pSpawn->Name);
	strtok(szTemp," ");

	// Checking for mobs that have 'A' or 'An' as their first name
	if (szTemp[0] == 'A')
	{
		if (szTemp[1] == '_')
			return false;
		else if (szTemp[1] == 'n')
			if (szTemp[2] == '_')
				return false;
	}

    if ( (!strnicmp(szTemp,"Guard",5))			||
		(!strnicmp(szTemp,"Defender",8))		||
		(!strnicmp(szTemp,"Soulbinder",10))		||
		(!strnicmp(szTemp,"Aura",4))			||
		(!strnicmp(szTemp,"Diaku",5)) )
		return false;

    if (isupper(szTemp[0]))
		return true;
	if (szTemp[0] == '#' )
		return true;

	
	return false;
}
 
Thanks RG, will recompile it tonight when i get home and give it a go. I figured it wasn't too much I would have to do. But I really didn't know where to start. Was just an annoyance I was getting sick of :) Thanks again.
 
Aura's and targeting

Users who are viewing this thread

Back
Top
Cart