Thread: Mithril bar in smithing interface

Results 1 to 2 of 2
  1. #1 Mithril bar in smithing interface 
    Donator
    hugandrob's Avatar
    Join Date
    Jan 2013
    Posts
    86
    Thanks given
    8
    Thanks received
    17
    Rep Power
    34
    In the smithing interface, you can see the number 83 above the mithril bar. Does anyone know how to fix? Im using PI source BTW.


     

  2. #2  
    Registered Member
    Join Date
    Jul 2011
    Posts
    90
    Thanks given
    3
    Thanks received
    7
    Rep Power
    11
    I can see you've been waiting a while for this...


    Quote Originally Posted by Red Bull, 12-22-2012, 05:50 AM View Post
    Well after some investigation i discovered that the sendframe for xp for runecrafting on skilltab was wrong. It is not 4158 rather it is 4159 replace your case 20 in your refresh skill method in playerassistant with:
    Code:
    case 20:
    			sendFrame126("" + c.playerLevel[20] + "", 4152);
    			sendFrame126("" + getLevelForXP(c.playerXP[20]) + "", 4153);
    			sendFrame126("" + c.playerXP[20] + "", 4157);
    			sendFrame126("" + getXPForLevel(getLevelForXP(c.playerXP[20]) + 1) + "", 4159);
    			break;
    You're welcome.

    Proof that it works: [Only registered and activated users can see links. ]

    1) Open up PlayerAssistant.java
    2) Search for "4158"
    3) Change it to 4159
    4) Save and compile
    5) Completely close and reload your client


    (In all seriousness I don't ever program seriously, but once or twice a year I come back to Rune-Server to mess about with an original PI source and I always forget how to solve all the errors - so I thought I'd post this so I can solve it a bit quicker when I come back in 6 months time #GraveDig)
     


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. Replies: 2
    Last Post: 09-21-2012, 11:26 PM
  2. bar smith interface & jewlry interface
    By Bando in forum Requests
    Replies: 1
    Last Post: 10-18-2009, 02:44 AM
  3. Sending bars in interfaces?
    By w::v::d in forum Help
    Replies: 20
    Last Post: 06-09-2009, 11:12 PM
  4. Replies: 56
    Last Post: 06-06-2008, 09:12 AM
  5. My Log-In and Interface
    By sam0507 in forum Graphics
    Replies: 6
    Last Post: 05-04-2008, 07:48 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
  •