Page 1 of 2

PVP RP Tracking Macro

PostPosted: Sun Sep 27, 2015 6:29 pm
by Martock
I have seen many people asking about this macro, and have seen a couple of varied responses, and short forms of it, so I thought I would toss out some help for those that want to keep tabs on how much RP they need to rank up. My solution was to just make my own addon using already available script code. Here are the steps I have setup to make this easy for people.

1) Create a new addon folder in your wow addon directory, and call it MorunoRank

2) Download both of these files, and save them to said directory:
https://github.com/Martock/MorunoRank

3) On your character screen, open the addons, and make sure MorunoRank is checked.

4) In game, create this macro: /script MorunoRank();

This should let you run the script without any issues.

Re: PVP RP Tracking Macro

PostPosted: Sun Sep 27, 2015 6:53 pm
by Arev
You should upload this to Github instead. This way people can see if changes are made, as well as being able to see the specific code changes that were made.

Just downloading a file from any hosting website makes it easy for the author to edit the post (or link) and temporarily have users download a malicious version, then switch the link back to the normal version so people won't catch on as fast.

Given the history with malicious addons on this server, nobody should trust a mediafire link from an OP with 1 previous post.

Re: PVP RP Tracking Macro

PostPosted: Sun Sep 27, 2015 9:25 pm
by Martock
I'm not going to lie. Learning to use GitHub has been a pain in the ass. A large part of me wants to bitch at you about it, but the rational part of me understands what you are trying to say. To that end, I did learn (kind of) how to make a repository, and uploaded said files to it. I have changed the links in the main post to the GitHub URL. The files can be downloaded from there.

Re: PVP RP Tracking Macro

PostPosted: Sun Oct 04, 2015 5:57 pm
by EliteZwei
Some help here?

[string 'MorunoRank();"]:1: attempt to call global 'MorunoRank' (a nil value)

Re: PVP RP Tracking Macro

PostPosted: Wed Oct 07, 2015 1:06 pm
by Martock
EliteZwei wrote:Some help here?

[string 'MorunoRank();"]:1: attempt to call global 'MorunoRank' (a nil value)


Check for typos in the folder you made. The steps are rather clear, and nobody else seems to have an issue with getting it to work.

Re: PVP RP Tracking Macro

PostPosted: Wed Oct 21, 2015 12:20 pm
by Blastitute
I used to have this same thing as a macro, it "worked" while giving false data for weeks, but then suddenly I get this error with the addon aswell:
Interface/AddOns/MorunoRank/core.lua:80:attempt to perform arithmetic on global `CPIo' (a nil value)

Re: PVP RP Tracking Macro

PostPosted: Wed Oct 21, 2015 12:41 pm
by LYQ
Blastitute wrote:I used to have this same thing as a macro, it "worked" while giving false data for weeks, but then suddenly I get this error with the addon aswell:
Interface/AddOns/MorunoRank/core.lua:80:attempt to perform arithmetic on global `CPIo' (a nil value)


this error will occur when CPLast >= 431492 (whatever that is)
the variable CPlo will not be initialized in this case, the author has to include default values for CPup, CPlo, RPup, RPlo in this case - else every one of these variables will cause this error if CPLast is above the mentioned value.

btw: if - elseif structure would be better instead of using tons of if cases.

Re: PVP RP Tracking Macro

PostPosted: Wed Oct 21, 2015 2:50 pm
by Blastitute
Yyyeah I just got above that amount of honor when it started doing that... Think the macro is bad for Nost anyway, since it estimates rankup probly on 2.5k playerbase or something. As in before it started bugging, it was estimating me rank 10+6%... while I was already rank 10+37% and I had gotten there from rank9+87% with 260k honor... and now I have over 450k :D

Re: PVP RP Tracking Macro

PostPosted: Wed Oct 21, 2015 3:00 pm
by LYQ
that would explain what caused the bug :D it seems that the addon is only built to "calculate" your progress up to 431k honor/week ^^

Re: PVP RP Tracking Macro

PostPosted: Wed Oct 21, 2015 3:13 pm
by Blastitute
I think the RP itself is reliable in the macro as in what you have now and how much you need(as it is in the smaller macro that goes around), but the rank estimate and RP gained this week is so far off :P