Thread: [667] Full Custom Titles

Page 4 of 4 FirstFirst ... 234
Results 31 to 40 of 40
  1. #31  
    Registered Member Trey C's Avatar
    Join Date
    Aug 2014
    Posts
    36
    Thanks given
    1
    Thanks received
    4
    Rep Power
    2
    Quote Originally Posted by Joris View Post
    You forgot to add the boolean which will determine whether the title is in front of your name or behind it.

    Code:
     writeTitle(stream, ClientScriptMap.getMap(male ? 1093 :
    3872).getStringValue(title), true);
    Would make it behind your name (suffix)

    EDIT: Fixed in OP.
    Why wouldn't you just write a new string to the streams for a title instead of editing the current titles???????? then the player can have ANY title they want..
    Reply With Quote  
     

  2. #32  
    Donator


    Join Date
    Jan 2014
    Posts
    1,652
    Thanks given
    428
    Thanks received
    501
    Rep Power
    221
    Quote Originally Posted by Cloud 9 View Post
    Why wouldn't you just write a new string to the streams for a title instead of editing the current titles???????? then the player can have ANY title they want..
    Then do
    Code:
    if(player.getCustomTitle() != null)
         writeTitle(stream, player.getCustomTitle().getText(), player.getCustomTitle().isSuffix());
    ??
    Reply With Quote  
     

  3. #33  
    Registered Member
    Join Date
    Sep 2015
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Screenshot by Lightshot
    So When I added this to my Server it doesn't pop up the title next to my name in game but simply does this.
    Reply With Quote  
     

  4. #34  
    Owner of Ghreborn new and old.


    Join Date
    Nov 2009
    Posts
    916
    Thanks given
    47
    Thanks received
    155
    Rep Power
    273
    theres 2 codes like in player.java u need to change them both.
    Im back and working on reborn,
    Reply With Quote  
     

  5. Thankful user:


  6. #35  
    Registered Member
    Join Date
    Sep 2013
    Posts
    25
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by john lenon View Post
    this line: String nameToDisplay = bool_79_ ? displayName : playerName;

    When I compile client, it says that PlayerName is not known : unrecognizable PlayerName. Any idea on how to fix this?

    I answered my own question guys, if this can help anyone (Yes I know it's obvious but didn't see at first). I just had to replace playerName for aString11142 because it was the client name for playerName!

    Quote Originally Posted by Joris View Post
    [CENTER]
    You can add titles and modify them by editing the above.

    Above:
    Code:
    generateAppearenceData OR loadAppearenceBlock
    Can you please elaborate? I don't know how this command works, please
    Reply With Quote  
     

  7. #36  
    Banned
    Join Date
    Oct 2016
    Posts
    65
    Thanks given
    42
    Thanks received
    17
    Rep Power
    0
    is this even worth a release? i guess next you'll release a tutorial on how to create Booleans.
    Reply With Quote  
     

  8. #37  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by Shean View Post
    is this even worth a release? i guess next you'll release a tutorial on how to create Booleans.
    Judging strictly based on the previous replies above, the answer is a huge yes.
    PS: The guy above you just dug a year deep. Musta been a difficult error to fix.
    Reply With Quote  
     

  9. #38  
    Banned
    Join Date
    Oct 2016
    Posts
    65
    Thanks given
    42
    Thanks received
    17
    Rep Power
    0
    Quote Originally Posted by Eldritch View Post
    Judging strictly based on the previous replies above, the answer is a huge yes.
    PS: The guy above you just dug a year deep. Musta been a difficult error to fix.
    yeah I bet syntax errors are hard for him as well.
    Reply With Quote  
     

  10. #39  
    Registered Member
    Join Date
    Dec 2014
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    "stream.writeByte(title);" don't seem to have this code in my appearance.java file, however I do have "stream.writeByte(flag);"

    Any solution?
    Reply With Quote  
     

  11. #40  
    Donator


    Join Date
    Jan 2014
    Posts
    1,652
    Thanks given
    428
    Thanks received
    501
    Rep Power
    221
    Quote Originally Posted by purple pking View Post
    "stream.writeByte(title);" don't seem to have this code in my appearance.java file, however I do have "stream.writeByte(flag);"

    Any solution?
    Could you send what you have?
    Reply With Quote  
     

Page 4 of 4 FirstFirst ... 234

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. [667]Custom Titles?
    By TaterMater in forum Help
    Replies: 11
    Last Post: 08-05-2013, 11:18 AM
  2. 667 Custom titles
    By 13lack drag in forum Help
    Replies: 7
    Last Post: 06-01-2013, 07:35 AM
  3. 667 custom title ?
    By Exos in forum Help
    Replies: 4
    Last Post: 06-05-2012, 07:36 PM
  4. 667 custom titles
    By Beta in forum Requests
    Replies: 2
    Last Post: 05-03-2012, 03:56 PM
  5. 667/704 Custom Title's?
    By Derrezed in forum Help
    Replies: 1
    Last Post: 03-31-2012, 07:03 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
  •