Thread: Another Quest tab Question

Results 1 to 6 of 6
  1. #1 Another Quest tab Question 
    Registered Member
    Join Date
    May 2012
    Posts
    518
    Thanks given
    43
    Thanks received
    13
    Rep Power
    14
    Im my quest tab i want it to show the player's loyalty title. Here is what i have.


    sendFrame126("@whi@>@red@Game Mode:"+ c.playerTitle + " ", 16028);

    This shows the case number of the player title though. For example, case 4: return "Master";
    It is displaying the case number instead of the actual words "Master". How do i fix this?
    btw here are the titles.

    Spoiler for public final String loyaltyRank(final int i) {
    switch (i) {
    case 1: return "Sir";
    case 2: return "Lord";
    case 3: return "Legend";
    case 4: return "Master";
    case 5: return "Duderino";
    case 6: return "Dudette";
    case 7: return "Lionheart";
    case 8: return "Crusader";
    case 9: return "Hellraiser";
    case 10: return "Desperado";
    case 11: return "Baron";
    case 12: return "Baroness";
    case 13: return "Count";
    case 14: return "Countess";
    case 15: return "Overlord";
    case 16: return "Overlordess";
    case 17: return "Bandito";
    case 18: return "Duke";
    case 19: return "Duchess";
    case 20: return "Big Cheese";
    case 21: return "Bigwig";
    case 22: return "King";
    case 23: return "Queen";
    case 24: return "Wunderkind";
    default: return "";
    }
    }
    :

    OFFERING GOOD SERVICES!
    http://www.rune-server.org/market/vi...aces-more.html
    Spoiler for My Vouches:
    Quote Originally Posted by Collin2234 View Post
    Vouch! He did my webclient, great work and a nice guy! Thanks.
    Quote Originally Posted by Clevv View Post
    Vouch for this guy. He went first. Well trusted and a nice guy.
    Quote Originally Posted by x25xquinton View Post
    VOUCH- He basically made my summoning interface for me, summoning tab witchever. Payed and went smooth.
    Reply With Quote  
     

  2. #2  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    You call that a spoiler?

    THIS IS A SPOILER!

    [spoil]Hodor becomes king.[/spoil]
    Btw, you need code tags instead of spoiler tags.

    OT: sendFrame126("@whi@>@red@Game Mode:"+ loyaltyRank(c.playerTitle) + " ", 16028);
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2012
    Posts
    518
    Thanks given
    43
    Thanks received
    13
    Rep Power
    14
    Quote Originally Posted by TheChosenOne View Post
    You call that a spoiler?

    THIS IS A SPOILER!

    [spoil]Hodor becomes king.[/spoil]
    Btw, you need code tags instead of spoiler tags.

    OT: sendFrame126("@whi@>@red@Game Mode:"+ loyaltyRank(c.playerTitle) + " ", 16028);
    Bump. Didn't work. I don't have a void loyaltyRank. I have a string. So it can't find loyaltyRank. help? Thanks for your help though TheChosenOne
    OFFERING GOOD SERVICES!
    http://www.rune-server.org/market/vi...aces-more.html
    Spoiler for My Vouches:
    Quote Originally Posted by Collin2234 View Post
    Vouch! He did my webclient, great work and a nice guy! Thanks.
    Quote Originally Posted by Clevv View Post
    Vouch for this guy. He went first. Well trusted and a nice guy.
    Quote Originally Posted by x25xquinton View Post
    VOUCH- He basically made my summoning interface for me, summoning tab witchever. Payed and went smooth.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by Extrocity View Post
    Bump. Didn't work. I don't have a void loyaltyRank. I have a string. So it can't find loyaltyRank. help? Thanks for your help though TheChosenOne
    What are the cases under? Like, what method
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    May 2012
    Posts
    518
    Thanks given
    43
    Thanks received
    13
    Rep Power
    14
    Quote Originally Posted by Karma_K View Post
    What are the cases under? Like, what method
    final String loyaltyRank. It's up there in my first post.
    OFFERING GOOD SERVICES!
    http://www.rune-server.org/market/vi...aces-more.html
    Spoiler for My Vouches:
    Quote Originally Posted by Collin2234 View Post
    Vouch! He did my webclient, great work and a nice guy! Thanks.
    Quote Originally Posted by Clevv View Post
    Vouch for this guy. He went first. Well trusted and a nice guy.
    Quote Originally Posted by x25xquinton View Post
    VOUCH- He basically made my summoning interface for me, summoning tab witchever. Payed and went smooth.
    Reply With Quote  
     

  6. #6  
    Extreme Donator


    Join Date
    Dec 2007
    Posts
    649
    Thanks given
    117
    Thanks received
    61
    Rep Power
    105
    All fixed up.
    Reply With Quote  
     

  7. Thankful user:



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. Quest tab question
    By sk8rdude461 in forum Help
    Replies: 6
    Last Post: 02-05-2013, 11:06 PM
  2. Quest tab Questions (rep and thank)
    By Audax in forum Help
    Replies: 1
    Last Post: 12-22-2012, 11:51 AM
  3. Deception Quest Tab Help [NOOB QUESTION]
    By TurtlezFtw in forum Help
    Replies: 5
    Last Post: 07-18-2012, 05:43 AM
  4. [PI]Quest Tab Question
    By PeaceTea in forum Help
    Replies: 8
    Last Post: 06-15-2011, 06:53 PM
  5. Quest Tab Question
    By haxifix in forum Help
    Replies: 0
    Last Post: 09-22-2009, 12:40 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
  •