Me.SpellReady

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Sym
Macro Author
Macro Author
Posts: 107
Joined: Mon Jul 05, 2004 2:45 am
Contact:

Me.SpellReady

Post by Sym » Sun May 15, 2005 8:38 pm

This seems to be always returning TRUE as of the 5/15 update.

/mem 1 gate
/echo ${Me.SpellReady[Gate]}

Shows gate is ready when the gem is still greyed out.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Sun May 15, 2005 8:48 pm

Try this. Haven't checked to see if it's 100% accurate, but it fixes the recast thing.

EQUIStructs.h @ line 813

Code: Select all

typedef struct _EQCASTSPELLGEM {
/*0x000*/ struct _CSIDLWND Wnd;
/*0x148*/ BYTE Unknown0x148[0x08];
/*0x000*/         BYTE   Unknown0x144[0x20];
[color=#33FFFF]/*0x164*/         BYTE   Unknown0x164[0x4];[/color]
/*0x168*/         DWORD   spellicon;//if this is equal to FFFFFFFF there is no spell memmed in this slot...
/*0x16C*/         DWORD   spellstate;// 1 = cast in progress or refreshtime not met 2 means we ducked or aborted cast, 0 means its ok to cast
/*0x170*/
} EQCASTSPELLGEM, *PEQCASTSPELLGEM;

Sym
Macro Author
Macro Author
Posts: 107
Joined: Mon Jul 05, 2004 2:45 am
Contact:

Post by Sym » Sun May 15, 2005 8:56 pm

Thanks, that took care of it. I'll post again if I notice anything else.

Frank25
a ghoul
a ghoul
Posts: 136
Joined: Thu Aug 12, 2004 6:38 am

Post by Frank25 » Sat May 21, 2005 11:17 pm

it seems this change didn't go in with the new zip

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Wed May 25, 2005 6:42 pm

Ok..I added the following to the current zip. I'm trusting you guys :)

Let me know if there are bugs.

Code: Select all

typedef struct _EQCASTSPELLGEM { 
/*0x000*/ struct	_CSIDLWND Wnd; 
/*0x148*/ BYTE		Unknown0x148[0x08]; 
/*0x054*/ BYTE		Unknown0x154[0x20]; 
/*0x174*/ BYTE		Unknown0x174[0x4]; 
/*0x178*/ DWORD		spellicon;//if this is equal to FFFFFFFF there is no spell memmed in this slot... 
/*0x17C*/ DWORD		spellstate;// 1 = cast in progress or refreshtime not met 2 means we ducked or aborted cast, 0 means its ok to cast 
/*0x180*/ 
} EQCASTSPELLGEM, *PEQCASTSPELLGEM;