Thread: Couple of Bugs with Loyalty Titles

Results 1 to 7 of 7
  1. #1 Couple of Bugs with Loyalty Titles 
    Banned

    Join Date
    Jun 2012
    Posts
    652
    Thanks given
    233
    Thanks received
    128
    Rep Power
    0
    Ok. The bugs are:
    1. No name when right clicking in chatbox for add friend or add ignore.
    2. When name has color it moves the qc symbol and stuff over.

    I can provide any and all code needed to fix this but someone please help.
    EDIT: Also ignore the fucked up tabs on my client going to be fixing those next.



    Code:
    if(myPlayer != null && myPlayer.name != null)
    					s = getRank(myPlayer.skill)+ myPlayer.name;
    				else
    					s = TextClass.fixName(capitalize(myUsername));
    Code:
    qc.drawSprite(textDrawingArea.getTextWidth(s) + 11, 123);
    					newRegularFont.drawBasicString(s, 11, 133, 0, -1);
    					newRegularFont.drawBasicString(":", (25 + textDrawingArea.getTextWidth(s)), 133, 0, -1);
    					newRegularFont.drawBasicString(inputString + ((loopCycle % 40 < 20) ? "<col=0>|" : ""), 23 + textDrawingArea.getTextWidth(s + ": "), 133 ,255 , -1);
    					DrawingArea.method339(121, 0x807660, 506, 7);
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Mar 2010
    Posts
    1,092
    Thanks given
    214
    Thanks received
    117
    Rep Power
    0
    Link me to the base of this where you got it from
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jun 2012
    Posts
    652
    Thanks given
    233
    Thanks received
    128
    Rep Power
    0
    It's the Rune-Design Test Source and Client. However the one I'm using has been extremely edited by me.
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jun 2012
    Posts
    652
    Thanks given
    233
    Thanks received
    128
    Rep Power
    0
    Anyone please?
    Reply With Quote  
     

  5. #5  
    ಠ_ಠ

    Joshua's Avatar
    Join Date
    May 2010
    Posts
    1,903
    Thanks given
    397
    Thanks received
    708
    Rep Power
    803
    for the second issue, your getWidth method isn't accounting for the invisible characters in the name that give it the style (ex <col=f0f0f0></col>)

    change textDrawingArea.getTextWidth(String s) { }
    to not read those characters within < >.
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Jun 2012
    Posts
    652
    Thanks given
    233
    Thanks received
    128
    Rep Power
    0
    How do I do that?
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jun 2012
    Posts
    652
    Thanks given
    233
    Thanks received
    128
    Rep Power
    0
    How do i do that?
    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. Loyalty Titles
    By I Am Chris in forum Help
    Replies: 3
    Last Post: 11-01-2012, 09:45 PM
  2. Replies: 9
    Last Post: 03-28-2012, 07:50 AM
  3. Replies: 7
    Last Post: 03-27-2012, 07:51 AM
  4. Replies: 2
    Last Post: 11-30-2011, 11:23 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
  •