${Me.AAExp} Reporting wrong number

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

mercdev
a lesser mummy
a lesser mummy
Posts: 52
Joined: Thu Jul 29, 2004 7:22 pm

${Me.AAExp} Reporting wrong number

Post by mercdev » Wed Oct 20, 2004 12:18 am

The value returned when /echo'ing ${ME.AAExp} isn't reporting the correct number.

${Me.AAPoints} is still correct.

This is from the MQ2-20041014b build.
1. [url=http://macroquest2.com/includes/manual.php]RTFM[/url]
2. [url=http://macroquest2.com/phpBB2/search.php]Search is your friend[/url]
3. [url=http://www.macroquest2.com/main.php?p=download]Download MQ2[/url]

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

Post by Amadeus » Wed Oct 20, 2004 12:49 am

It's correct....

I think what you're wanting is ${Me.PctAAExp}

'AAExp' is the actual number that's stored in memory, which...if you take that value and divide by 330, you'll get the % value. Either way, I think what you want is ${Me.PctAAExp}

mercdev
a lesser mummy
a lesser mummy
Posts: 52
Joined: Thu Jul 29, 2004 7:22 pm

Post by mercdev » Wed Oct 20, 2004 1:34 am

Amadeus wrote:It's correct....

I think what you're wanting is ${Me.PctAAExp}

'AAExp' is the actual number that's stored in memory, which...if you take that value and divide by 330, you'll get the % value. Either way, I think what you want is ${Me.PctAAExp}
No, the Actual number of AA's I have spent as well as un-spent is what I want, not the PctAAExp.

int AAExp , and int AAPoints are exactly what I want to use, AAExp is just incorrect.
1. [url=http://macroquest2.com/includes/manual.php]RTFM[/url]
2. [url=http://macroquest2.com/phpBB2/search.php]Search is your friend[/url]
3. [url=http://www.macroquest2.com/main.php?p=download]Download MQ2[/url]

User avatar
blueninja
a grimling bloodguard
a grimling bloodguard
Posts: 541
Joined: Thu Aug 28, 2003 7:03 am
Location: Göteborg, Sweden

Post by blueninja » Wed Oct 20, 2004 1:55 am

mercdev wrote:No, the Actual number of AA's I have spent as well as un-spent is what I want, not the PctAAExp.
Well then you shouldn't be using Me.AAExp.. I don't think the value you are asking for is availiable to MQ atm.

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

Post by Amadeus » Wed Oct 20, 2004 2:47 am

AAExp has never been what you described. It has always been the raw data for PctAAExp. I know this very well because I've been working with those structs for years.

What you are wanting has never been in the MQ code because it has never been found in memory.

mercdev
a lesser mummy
a lesser mummy
Posts: 52
Joined: Thu Jul 29, 2004 7:22 pm

Post by mercdev » Wed Oct 20, 2004 3:20 am

Code: Select all

int AAExp                  AA exp 
 
int AAPoints              Unused AA points 
 
Ok cool. Thanks for clearing that up Amadeus.

The readme could benefit from this clarification too. The above is the only thing mentioned, which lead me to believe otherwise.
1. [url=http://macroquest2.com/includes/manual.php]RTFM[/url]
2. [url=http://macroquest2.com/phpBB2/search.php]Search is your friend[/url]
3. [url=http://www.macroquest2.com/main.php?p=download]Download MQ2[/url]

User avatar
blueninja
a grimling bloodguard
a grimling bloodguard
Posts: 541
Joined: Thu Aug 28, 2003 7:03 am
Location: Göteborg, Sweden

Post by blueninja » Wed Oct 20, 2004 5:39 am

mercdev wrote:The readme could benefit from this clarification too. The above is the only thing mentioned, which lead me to believe otherwise.
Indeed it could hehe. You could send a PM to Wassup regarding this and I'm sure he'll change it..

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

Post by Cr4zyb4rd » Fri Oct 29, 2004 4:34 pm

Am I the only one that doesn't see anything the least bit unclear here? AAExp shows your experience and AAPoints shows your unspent points, just as the manual says. What's not clear?

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 » Fri Oct 29, 2004 5:59 pm

The state of the educational system apparently.

I added a few words to the description, even though I didn't think it needed any more.

mercdev
a lesser mummy
a lesser mummy
Posts: 52
Joined: Thu Jul 29, 2004 7:22 pm

Post by mercdev » Sat Nov 06, 2004 8:11 pm

Cr4zyb4rd wrote:Am I the only one that doesn't see anything the least bit unclear here? AAExp shows your experience and AAPoints shows your unspent points, just as the manual says. What's not clear?
Maybe you are if you can't determine what was unclear by reading the whole thread.
1. [url=http://macroquest2.com/includes/manual.php]RTFM[/url]
2. [url=http://macroquest2.com/phpBB2/search.php]Search is your friend[/url]
3. [url=http://www.macroquest2.com/main.php?p=download]Download MQ2[/url]

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

Re: ${Me.AAExp} Reporting wrong number

Post by wassup » Sat Nov 06, 2004 8:35 pm

mercdev wrote:The value returned when /echo'ing ${ME.AAExp} isn't reporting the correct number.

${Me.AAPoints} is still correct.

This is from the MQ2-20041014b build.
Still don't know what you mean by not reporting the correct number.

Seems to be fine to me even with just AA Exp as the description.

Maybe you are thinking it is supposed to return something else?

mercdev
a lesser mummy
a lesser mummy
Posts: 52
Joined: Thu Jul 29, 2004 7:22 pm

Post by mercdev » Sun Nov 07, 2004 12:25 am

Amadeus wrote:What you are wanting has never been in the MQ code because it has never been found in memory.
Wassup: I was reading the ${Me.AAExp} to mean "the number of AA points I have spent", since the entry directly following (AAPoints) said "Unused AA points". Yes, I know this is incorrect now as Amadeus seems to have understood exactly what I wanted.
1. [url=http://macroquest2.com/includes/manual.php]RTFM[/url]
2. [url=http://macroquest2.com/phpBB2/search.php]Search is your friend[/url]
3. [url=http://www.macroquest2.com/main.php?p=download]Download MQ2[/url]

ColdFusion
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Nov 01, 2004 10:30 am
Location: Emarr

Post by ColdFusion » Wed Nov 17, 2004 1:36 pm

couldn't you find total AA and unspent via UI?

i don't have clue -- just thought :?:
/shrug