Thread: Quick fix for command

Results 1 to 2 of 2
  1. #1 Quick fix for command 
    Registered Member
    Join Date
    Apr 2012
    Posts
    21
    Thanks given
    4
    Thanks received
    1
    Rep Power
    11
    I know this is probably very simple to do, but I've not touched java for years, and I'm only playing with friends anyway lol

    Code:
    player.getPackets().sendIComponentText(275, +13+number,"("+p5.getIndex()+") "+ p5.getDisplayName() + " - " + titles + "  - " + gameMode + " Mode - " + p5.getSkills().getCombatLevelWithSummoning()+" Combat");
    I just wanna replace the combat level readout with a total xp readout, can't really work out how to do it though lol
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2019
    Posts
    3
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Code:
    player.getPackets().sendIComponentText(275, +13+number,"("+p5.getIndex()+") "+ p5.getDisplayName() + " - " + titles + "  - " + gameMode + " Mode - Overall XP: " + NumberFormat.getInstance().format(p5.getSkills().getTotalExperience()));
    I obviously cannot see your source code, so do not know what your method of returning a player's total experience is, if you have one at all, so I just guessed
    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. Quick Fix for Rs2-Server
    By kill you704 in forum Help
    Replies: 12
    Last Post: 06-05-2012, 12:22 AM
  2. Small fix for commands
    By OFF YOUR TITS in forum Snippets
    Replies: 1
    Last Post: 05-27-2011, 02:25 PM
  3. [iClarity]Quick Fix for Invisable Glitch
    By GwasDdos in forum Snippets
    Replies: 7
    Last Post: 11-27-2009, 02:51 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •