Thread: elvarg loyalty titles

Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11  
    Registered Member
    Join Date
    Oct 2017
    Posts
    15
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    Well.. idk maybe try to replace this line
    Code:
    properties.put(target.getRights().ordinal());
    with this line
    Code:
    properties.put(loyaltyRank);
    And if that doesn't work maybe try to add the new line under and not replace it. And ofcourse don't forget to add the
    Code:
    public int loyaltyRank;
    And aswell save it in the player files or something so if it does work you'll acutally see something.

    Edit: I really think this should work because i checked it in my delta client and server and it works there, only thing is that i dont have the player rights line in that 'updateAppearance' method, I have it in the 'appendPlayerChatText' which is equal to your 'updateChat' method in client.java. The weird thing is that this 'appendPlayerChatText' method in your client.java already has the line:
    Code:
    builder.put(target.getRights().ordinal());
    So I have no idea why put it there and also in the update appearance.

    Anyways just check it out and tell me and ofcourse don't forget to compile because we don't want that to be our mistake.
    Reply With Quote  
     

  2. #12  
    Donator

    Join Date
    Jul 2012
    Posts
    218
    Thanks given
    19
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by ofek123411 View Post
    Well.. idk maybe try to replace this line
    Code:
    properties.put(target.getRights().ordinal());
    with this line
    Code:
    properties.put(loyaltyRank);
    And if that doesn't work maybe try to add the new line under and not replace it. And ofcourse don't forget to add the
    Code:
    public int loyaltyRank;
    And aswell save it in the player files or something so if it does work you'll acutally see something.

    Edit: I really think this should work because i checked it in my delta client and server and it works there, only thing is that i dont have the player rights line in that 'updateAppearance' method, I have it in the 'appendPlayerChatText' which is equal to your 'updateChat' method in client.java. The weird thing is that this 'appendPlayerChatText' method in your client.java already has the line:
    Code:
    builder.put(target.getRights().ordinal());
    So I have no idea why put it there and also in the update appearance.

    Anyways just check it out and tell me and ofcourse don't forget to compile because we don't want that to be our mistake.
    tried everything nothing works i guess this system doesnt work with elvarg
    Reply With Quote  
     

  3. #13  
    Registered Member
    Join Date
    Oct 2017
    Posts
    15
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    Can you send me link to download the client I want to check it myself?
    Reply With Quote  
     

  4. #14  
    Donator

    Join Date
    Jul 2012
    Posts
    218
    Thanks given
    19
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by ofek123411 View Post
    Can you send me link to download the client I want to check it myself?

    the client sided for titles is like any other and i added at 100%

    but the server sided is the problem
    Reply With Quote  
     

  5. #15  
    Extreme Donator


    Join Date
    Oct 2010
    Posts
    2,853
    Thanks given
    1,213
    Thanks received
    1,622
    Rep Power
    5000
    Under:
    Code:
    properties.put(target.getRights().ordinal());
    Just put:
    Code:
    properties.putShort(target.loyaltyRank);
    ?

    Show your client's player.java too
    Reply With Quote  
     

  6. #16  
    Registered Member
    Join Date
    Oct 2017
    Posts
    15
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by sleman View Post
    the client sided for titles is like any other and i added at 100%

    but the server sided is the problem
    What..
    Reply With Quote  
     

  7. #17  
    Donator

    Join Date
    Jul 2012
    Posts
    218
    Thanks given
    19
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by ofek123411 View Post
    What..

    you dont need my client the problem is in the source
    Reply With Quote  
     

  8. #18  
    Extreme Donator


    Join Date
    Oct 2010
    Posts
    2,853
    Thanks given
    1,213
    Thanks received
    1,622
    Rep Power
    5000
    Don't recommend anyone wasting time helping this guy with anything. He's really ungrateful and also scams, did a few services a while back for him and woke up to all of them being disputed today.
    Reply With Quote  
     

  9. Thankful user:


Page 2 of 2 FirstFirst 12

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. Adding all Loyalty Titles
    By Roboyto in forum Snippets
    Replies: 275
    Last Post: 10-13-2013, 11:49 PM
  2. Replies: 20
    Last Post: 10-23-2011, 04:09 PM
  3. [PI] NPC that gives loyalty title
    By Trek in forum Help
    Replies: 2
    Last Post: 10-23-2011, 03:08 PM
  4. loyalty title [317 pi]
    By chrish146 in forum Help
    Replies: 3
    Last Post: 10-18-2011, 08:20 AM
  5. Help With Loyalty Titles! Please!
    By Melvin in forum Help
    Replies: 0
    Last Post: 10-13-2011, 12:05 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
  •