Page 1 of 1

Odd bugs.

Posted: Thu Sep 18, 2003 2:58 pm
by grimjack
Just a few things I have noticed that I'm not sure anyone knows about yet.

/memspell 2 spellname

This works from the commandline but from a macro it's regestering as /memspellset and EQ gives a message about the set not exsisting. I was able to get this working by changing the name of the command to something else other than /memspell. I couldn't figure out why it was passing the command to EQ from a macro though.

/memspell 1 Evacuate
or
/memspell 1 "Evacuate"

This seems to always load "Evacuate: North" for me. I'm not sure if it always matched this way or not. I have not had a chance ot use it with another spell with similar names(such as translocates). I'll try that later.

Thanks
GrimJack

fix...

Posted: Thu Sep 18, 2003 9:11 pm
by EqMule
this fixes it, in dev cvs now... with alot of other minor fixes that im doing at the same time...

Code: Select all

PSPELLLIST GetSpellByName(PCHAR szName)
{
	PSPELLLIST pSpell = NULL;
	if (EQADDR_SPELLS == NULL) return NULL;
   	for (DWORD dwSpellID = 0; dwSpellID < TOTAL_SPELL_COUNT; dwSpellID++) {
		pSpell = &(*(*EQADDR_SPELLS)->Spells[dwSpellID]);
		if ((pSpell->ID > 0) && (pSpell->ID < TOTAL_SPELL_COUNT)) {
			if (pSpell->Name != NULL) {
				if (!_stricmp(szName, pSpell->Name)) {
					return pSpell;
				}
			}
		}
	}
	return NULL;
}

Top Rated Interior Design Blog

Posted: Thu Aug 10, 2023 11:04 pm
by FrankJScott
Why don't you Google it! before you post

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:13 pm
by xyilla

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:14 pm
by xyilla

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:15 pm
by xyilla

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:17 pm
by xyilla

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:18 pm
by xyilla

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:20 pm
by xyilla

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:21 pm
by xyilla

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:22 pm
by xyilla

Re: Odd bugs.

Posted: Sat Jan 24, 2026 6:23 pm
by xyilla