Hey, This quick update will add in Stat Menu Hover Boxes and 99 Achievement Messages:
Stat Menu Hover Boxes
Screenshot:
Open your Mudclient class, and find:
Code:
gameGraphics.drawString("Total xp: " + playerStatExperience[k1], i + 5, i1, 1, 0xffffff);
Above that, add:
Code:
gameGraphics.drawBox(super.mouseX - 24, super.mouseY + 16, 112, 52, 0);
gameGraphics.drawBoxEdge(super.mouseX - 24, super.mouseY + 16, 112, 52, 16777215);
gameGraphics.drawString(skillArrayLong[k1] + " Skill", super.mouseX - 20, super.mouseY + 28, 0, 16777215);
gameGraphics.drawString("Total XP: " + playerStatExperience[k1], super.mouseX - 20, super.mouseY + 40, 0, 16777215);
gameGraphics.drawString("Next level: " + k2, super.mouseX - 20, super.mouseY + 52, 0, 16777215);
gameGraphics.drawString("Required XP: " + (k2 - playerStatExperience[k1]), super.mouseX - 20, super.mouseY + 64, 0, 16777215);
Level 99 Global Achievement Messages
Screenshot:
^ ^ It wont say 120, Thats my edit...
First go into Player.java and find:
Code:
int comb = Formulae.getCombatlevel(maxStat);
Under that add:
Code:
if(maxStat[i] == 99) {
world.sendToAll(getUsername() + "@gre@ has just achieved level 99 in " + Formulae.statArray[i]);
}
If your Max stat is higher just change both the 99s. You can change it from green to whatever colour by changing the @gre@. @ran@ is good, its rainbow, you use the first three letters of a colour.
Thanks for reading!