$Char(aa, points) FIXED

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

Moderator: MacroQuest Developers

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

$Char(aa, points) FIXED

Post by Amadeus » Mon Oct 27, 2003 8:38 pm

I know we've been looking for this one for a while ..hehe.

The end of the CHARINFO struct should look like this:

Code: Select all

/*0x134c*/    BYTE        Unknown0x134c[0x8];
/*0x1354*/    DWORD       UnknownData0x1354; 
/*0x1358*/    BYTE        Unknown0x1358[0x19c];
/*0x14f4*/    DWORD       AAExp; //confirmed: AAExp/330 = %
/*0x14f8*/    BYTE        Unknown0x14f8[0x1ac];  
[color=red]/*0x16a4*/	 DWORD		 AAPoints; [/color]
/*0x16a8*/	 BYTE		  Unknown0x16a8[0x9b8];
/*0x2060*/    CHAR        Server[0x28];
/*0x2088*/    BYTE        Unknown0x2088[0x7b9c]; /*0x276C*/  // abilities there...
/*0x9c24*/    struct      _CONTENTS*   Bank[NUM_BANK_SLOTS]; // NUM_BANK_SLOTS=18
/*0x9c6c*/    BYTE        Unknown0x9c6c[0x0b0];
/*0x9d1c*/
} CHARINFO, *PCHARINFO;

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Mon Oct 27, 2003 8:45 pm

in cvs and zip
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Mon Oct 27, 2003 9:05 pm

Nice Amadeus!

Is there a way to add a switch to return saved points versus spent or total points?

This returns the AA points you have saved.

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

Post by Amadeus » Mon Oct 27, 2003 9:31 pm

I don't know if total points spent are stored anywhere... If I find it, I'll let you know though.