Moderator: MacroQuest Developers
-
litewave
- orc pawn

- Posts: 27
- Joined: Fri Mar 11, 2005 3:03 pm
Post
by litewave » Wed Nov 21, 2007 6:49 pm
I get this compile error, i am assuming the 3e offset was being used for debugging purposes since its not in the mq2 code either. I commented it out in my copy.
Error 1 error C2039: 'Byte_3e' : is not a member of 'EQData::_SPELLFAVORITE'
...\MQ2Main\ISXEQ\ISXEQCommands.cpp 630
-
SwiftyMUSE
- Developer

- Posts: 1205
- Joined: Tue Sep 23, 2003 10:52 pm
Post
by SwiftyMUSE » Wed Nov 21, 2007 11:08 pm
Wrong... check MQ2Commands for the changes to it... (inuse).
-
litewave
- orc pawn

- Posts: 27
- Joined: Fri Mar 11, 2005 3:03 pm
Post
by litewave » Thu Nov 22, 2007 1:18 am
no reference to Byte_3e or even just a 3e in the mq side of code (unless binary files count *chuckle*). at least not in the MQ2-20071120b.zip
isxeq:
MemSpellFavorite.Byte_3e=1;
vs mq2 code:
MemSpellFavorite.inuse=1;
which is /*0x041*/ BYTE inuse;
which of course makes me curious about the offset difference lol.
#2
another thing i noticed is isxeq is limited to 9 gems in that routine.
Gem = atoi(argv[1]);
if (Gem<1 || Gem>9) return -1;
Gem--;
where as MQ2 uses:
if (Gem<1 || Gem>NUM_SPELL_GEMS) return;
-
TMS
- a hill giant

- Posts: 151
- Joined: Sun Nov 07, 2004 6:55 am
Post
by TMS » Thu Nov 22, 2007 4:02 am
isxeq:
MemSpellFavorite.Byte_3e=1;
vs mq2 code:
MemSpellFavorite.inuse=1;
Byte_3e was changed to inuse in the last patch.
Gem = atoi(argv[1]);
if (Gem<1 || Gem>9) return -1;
Gem--;
Just an guess.
Should fix it.
-
masterj
- decaying skeleton

- Posts: 4
- Joined: Thu Jun 21, 2007 7:49 pm
Post
by masterj » Wed Nov 28, 2007 11:20 pm
But adding in Byte_3e into the byte definitions helps. It makes it so that at least this part of the program compiles. BTW, I have no idea what byte 3Ex does so don't ask me to explain it later.
MasterJ
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Thu Nov 29, 2007 12:03 am
masterj wrote:But adding in Byte_3e into the byte definitions helps. It makes it so that at least this part of the program compiles. BTW, I have no idea what byte 3Ex does so don't ask me to explain it later.
MasterJ
How does that help when it doesn't work?
Change MQ2Main\ISXEQ\ISXEQCommands.cpp line 630 to inuse.
-
masterj
- decaying skeleton

- Posts: 4
- Joined: Thu Jun 21, 2007 7:49 pm
Post
by masterj » Thu Nov 29, 2007 1:39 am
Nope, that didn't work. If it would be helpful, I can copy and paste the error messages that I am receiving.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Thu Nov 29, 2007 2:05 am
Of course not. That would be useful and we don't like that around here.
New zip posted, btw, with this fix in it.
-
masterj
- decaying skeleton

- Posts: 4
- Joined: Thu Jun 21, 2007 7:49 pm
Post
by masterj » Thu Nov 29, 2007 8:10 am
Now if I could only get the rest of ISXEQ to build..... /sigh something for another thread I guess.