Typo in Readme

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

TheNewGuy
a snow griffon
a snow griffon
Posts: 307
Joined: Sat Jul 10, 2004 9:33 am
Contact:

Typo in Readme

Post by TheNewGuy » Wed Jul 14, 2004 7:26 am

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!
[quote="dont_know_at_all"][quote="sybarite"]Um.. search works fine for me (used spell_routines.inc)... Try scrolling down you lazy fuck.

http://www.macroquest2.com/phpBB2/viewtopic.php?t=8964&highlight=spellroutines+inc[/quote]

That's great but he's looking for move.inc, you fucking spastic colon.[/quote]

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 » Thu Jul 15, 2004 4:23 pm

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.

TheNewGuy
a snow griffon
a snow griffon
Posts: 307
Joined: Sat Jul 10, 2004 9:33 am
Contact:

Post by TheNewGuy » Fri Jul 16, 2004 7:13 am

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.
[quote="dont_know_at_all"][quote="sybarite"]Um.. search works fine for me (used spell_routines.inc)... Try scrolling down you lazy fuck.

http://www.macroquest2.com/phpBB2/viewtopic.php?t=8964&highlight=spellroutines+inc[/quote]

That's great but he's looking for move.inc, you fucking spastic colon.[/quote]

dok
a ghoul
a ghoul
Posts: 127
Joined: Mon Mar 15, 2004 3:38 pm

Post by dok » Fri Jul 16, 2004 1:15 pm

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)