Spell gem 8 possible bug.

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Spell gem 8 possible bug.

Post by grimjack » Thu Nov 06, 2003 10:19 am

It may just be mine but spell gem 8 always returns -2 for $char(gem,"spellname"). All of the other spell gems seem to work fine.

Thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Thu Nov 06, 2003 10:23 am

Gem 8 is screwed up. I use the gem states in a macro to determine when I can cast again and they all work except for 8.

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Post by grimjack » Thu Nov 06, 2003 12:44 pm

Also I noticed when you use /memspell to mem a spell it comes back as usable before it's ungreyed when it shouldn't on all of them. When you cast a spell they come back with -2 like they should though.

Nothing big but causes some spam with genbot when it has to mem a spell.

Thanks
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack

User avatar
pooz
a lesser mummy
a lesser mummy
Posts: 44
Joined: Fri Jun 27, 2003 1:01 pm

Post by pooz » Thu Nov 06, 2003 1:04 pm

Struct may be off by one, there was a similar issue before. In fact GJ was the one who posted it before...

http://macroquest2.com/phpBB2/viewtopic.php?p=21153
trees do not need much money

weapon
a ghoul
a ghoul
Posts: 101
Joined: Tue Oct 01, 2002 7:20 pm

Not just em 8

Post by weapon » Fri Nov 07, 2003 9:31 am

I am having trouble with gems as well. It seems that all but gem slot 2 return -2. If in game and I /echo $char(gem,"Two Words") it returns -2 on all but gem slot 2. This seems the case for all spells that are over 1 word in length since the (single word eg. Clarity) spell returns correctly no matter where it is.

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Fix

Post by grimjack » Sat Nov 08, 2003 2:12 am

From DKAA:
In EqUiStructs.h

Code: Select all

// onetimehero 09-17-03
// Spell Window
typedef struct _EQCASTSPELLWINDOW {
/*0x000*/ struct _CSIDLWND Wnd;
[color=red]/*0x138*/ BYTE Unknown0x134[0x08];[/color]
Thanks
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack