Thread: Stat Menu Hover Boxes and 99 Achievment Messages

Results 1 to 7 of 7
  1. #1 Stat Menu Hover Boxes and 99 Achievment Messages 
    Registered Member Dds legend's Avatar
    Join Date
    Nov 2011
    Posts
    101
    Thanks given
    6
    Thanks received
    8
    Rep Power
    11
    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!
    Reply With Quote  
     

  2. #2  
    Donator

    ProFiles's Avatar
    Join Date
    May 2011
    Posts
    1,673
    Thanks given
    4
    Thanks received
    240
    Rep Power
    118
    Thnx
    Reply With Quote  
     

  3. #3  
    Fuckin PRO Derek's Avatar
    Join Date
    May 2008
    Posts
    1,257
    Thanks given
    38
    Thanks received
    86
    Rep Power
    67
    Thanks, going to use this, its bringing rs2 into rsc.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2013
    Posts
    22
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Great post, but too bad u stole it without giving credits to YONG MIN which is the author of that nice tutorial. Please give credits to tutorial owner when u "steal" again.
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Jul 2012
    Posts
    1,084
    Thanks given
    136
    Thanks received
    123
    Rep Power
    192
    Quote Originally Posted by printz View Post
    Great post, but too bad u stole it without giving credits to YONG MIN which is the author of that nice tutorial. Please give credits to tutorial owner when u "steal" again.
    stop grave digging
    python
    Reply With Quote  
     

  6. #6  
    #Yuuuuuuup! DerekGoodrow's Avatar
    Join Date
    Dec 2010
    Age
    26
    Posts
    161
    Thanks given
    14
    Thanks received
    15
    Rep Power
    49
    Dopey you actually did it too...

    If you're going to rage 'bout my username, send me a PM and we're going to share our opinions. Yes I'm going to change it once I can, don't worry I just didn't think before clicking 'Edit Profile', so calm down boys!

    Reply With Quote  
     

  7. #7  
    Registered Member
    Pkbobby_'s Avatar
    Join Date
    Mar 2014
    Posts
    898
    Thanks given
    243
    Thanks received
    102
    Rep Power
    83
    Thanks
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [546]Quest-Achievment Interfaces
    By Inspired Dreams in forum Tutorials
    Replies: 12
    Last Post: 05-31-2009, 02:57 PM
  2. Best achievment for halo?
    By Bree in forum Console
    Replies: 20
    Last Post: 04-21-2008, 06:32 PM
  3. Replies: 6
    Last Post: 08-27-2007, 08:58 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •