This is a simple include file that will allow your macro to obtain useable information for your character's total XP, and current level, beyond 126.

At present, it is slightly inaccurate as ACTool doesn't (yet) poll the secondary character attributes (Health, Stamina, Mana) when LoadDecalCharStats is called, but I am hoping this will be corrected soon. This code shouldn't need revising to accomodate that fix when (if) it gets effected. In the meantime, it is still generally usable.

To use it, simply Include it in your macro, then replace every instance of "_mylevel" with "$126XPLevel" and every instance of "_xptotal" with "$126XPTotal".

That's all there is to it. The two functions handle obtaining all the information they need and doing their job. For levels < 126, this means simply spitting back the values of _mylevel and _xptotal, for 126 and beyond it performs the necessary calculations. By using only the functions in your macro, you automatically accomodate both characters less than 126, and those 126 or higher without any additional code.

Enjoy!

-Triane

(version 1.0):