Page 1 of 1

Typo in Readme

Posted: Wed Jul 14, 2004 7:26 am
by TheNewGuy
Hope this is the right place to post this - it's not a bug, but rather a typo in the readme.

I was trying to get my Leadership EXP to be shown MQ sytle (With 2 decimal places) and the readme tells me to use:

Code: Select all

${Me.GroupLeader}
which returned False (This is actually telling me if I am the leader of a group.)

According to http://macroquest2.com/phpBB2/viewtopic ... roupleader it should be

Code: Select all

${Me.GroupLeaderExp}
Which I am unable to test because the servers are down.

So I guess I'm reporting a Typo, and also asking if the second code is correct. Thanks!

Posted: Thu Jul 15, 2004 4:23 pm
by wassup
Thank you for reporting the typo. It is fixed for the next time I send to Lax.

As far as reporting it as a value with 2 decimal places...

${Me.GroupLeaderExp} returns an integer value.

${Me.GroupLeaderExp.Float.Centi} would give you a number with 2 decimal places, but I am not sure if it will actually use the decimal part of a value.

Posted: Fri Jul 16, 2004 7:13 am
by TheNewGuy

Code: Select all

${Math.Calc[${Me.GroupLeaderExp}/3.3]}
Should do the trick nicely. I'm not sure at all why I divide by 3.3, but this calc works to regular exp and aa exp just fine. Hopefully GroupLeaderExp is no different.

Posted: Fri Jul 16, 2004 1:15 pm
by dok
you divided by 3.3 because sony breaks the exp into 330 parts and sends that number that to the client. (I assume thats what ${Me.GroupLeaderExp} returns as I haven't used it myself)