/loadspells

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

/loadspells

Post by A_Druid_00 » Sat Nov 06, 2004 8:18 pm

Just tried using this to handle memming spell sets in a macro tonight and noticed that it wasn't memming my 9th spell slot. No big deal since EQ's /memspellset works just fine in its place. Just figured I'd point it out so it could be fixed/removed/wtfever.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Sat Nov 06, 2004 10:28 pm

Does the code in your MQ2Commands.cpp for loadspells look like this near the bottom?

Code: Select all

	DoIndex = IsNumber(szArg1)?atoi(szArg1):FindSpellListByName(szArg1);
	if (DoIndex >= 0 && DoIndex <=9) {
		pSpellBookWnd->MemorizeSet((int*)&pSpellSets[DoIndex],9);
	} else {
		sprintf(szBuffer,"Unable to find favorite list '%s'",szArg1);
		WriteChatColor(szBuffer,USERCOLOR_DEFAULT);
	}
I was pretty sure that made it into the most recent zip along with some other tweaks I made to this function, and I'm certain that it works with the 9th gem. (Or at least it did 20 minutes ago when I died and had to remem)