Thread: Matrix Client Rune-Eco 718/742 source how to add crowns?

Results 1 to 3 of 3
  1. #1 Matrix Client Rune-Eco 718/742 source how to add crowns? 
    Fission
    Kidoncoke's Avatar
    Join Date
    Nov 2013
    Posts
    80
    Thanks given
    16
    Thanks received
    5
    Rep Power
    12
    Well you see on the source for rune-evo there is no actual admin rank, the admin rank is the owner rank, so I tried making an owner rank, I made it but i cant change the sign next to the players name with owner, I used to be able to using floatbuffer.java in the client files, but this matrix client doesnt have that, can anyone tell me how to do that?

    And also can someone give me an example of what i need to write in the custom titles part to get a custom title? Thanks.
    Reply With Quote  
     

  2. #2  
    Registered Member Storm Powner's Avatar
    Join Date
    Apr 2012
    Age
    26
    Posts
    503
    Thanks given
    29
    Thanks received
    34
    Rep Power
    19
    just use a sprite/cache edtior to add crowns, no point for float buffer because the crown are assigned to ranks, rank 1 will have crown id 0 etc..

    for custom titles look @this tut: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Fission
    Kidoncoke's Avatar
    Join Date
    Nov 2013
    Posts
    80
    Thanks given
    16
    Thanks received
    5
    Rep Power
    12
    Erm mate i followed what it says but the part with this:

    Add these codes in worldpacketsdecoder
    Code:
    else if (player.getTemporaryAttributtes().get("titlecolor" ) == Boolean.TRUE) {
    if(value.length() != 6) {
    player.getDialogueManager().startDialogue("SimpleM essage", "The HEX yell color you wanted to pick cannot be longer and shorter then 6.");
    } else if(Utils.containsInvalidCharacter(value) || value.contains("_")) {
    player.getDialogueManager().startDialogue("SimpleM essage", "The requested title color can only contain numeric and regular characters.");
    } else {
    player.settitlecolor(value);
    player.getAppearence().setTitle(900);
    player.getDialogueManager().startDialogue("SimpleM essage", "Your title color has been changed to <col="+player.getTitleColor()+">"+player.getTitleC olor()+"</col>.");
    }
    player.getTemporaryAttributtes().put("titlecolor", Boolean.FALSE);
    }
    else if (player.getTemporaryAttributtes().get("customtitle ") == Boolean.TRUE) {
    if(value.length() > 8) {
    player.getDialogueManager().startDialogue("SimpleM essage", "Titles are limted to eight characters due to spam.");
    } else if(Utils.containsInvalidCharacter(value) || value.contains("_") ||
    value.contains("0") ||
    value.contains("1") ||
    value.contains("2") ||
    value.contains("3") ||
    value.contains("4") ||
    value.contains("5") ||
    value.contains("6") ||
    value.contains("7") ||
    value.contains("8") ||
    value.contains("9") ||
    value.contains("9") ||
    value.toLowerCase().contains("owner") ||
    value.toLowerCase().contains("admin") ||
    value.toLowerCase().contains("mod") ||
    value.contains("10")) {
    player.getDialogueManager().startDialogue("SimpleM essage", "You have entered invaild characters or word.");
    player.getAppearence().setTitle(0);
    } else {
    player.setTitle(value);
    player.getAppearence().setTitle(900);
    player.getDialogueManager().startDialogue("SimpleM essage", "Your title has been changed to " + player.getTitle() + ".");
    }
    player.getTemporaryAttributtes().put("customTitle" , Boolean.FALSE);
    }


    Add this title in appearance.java
    Code:
    title == 900 ? "<col="+ player.getTitleColor()+">" + player.getTitle() + " </col>" :

    doesnt work... Is there a specific place to put them? and do i put anything before or after them to make them work?
    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. Matrix 718 - How to add crowns?
    By Tomcat99 in forum Help
    Replies: 5
    Last Post: 03-23-2013, 02:30 PM
  2. Replies: 2
    Last Post: 08-08-2012, 02:01 PM
  3. How to add crowns on vBulletin 4.2.0
    By Jack G in forum Application Development
    Replies: 1
    Last Post: 08-06-2012, 06:02 AM
  4. Phpbb How to add Crowns to groups
    By Icon in forum Application Development
    Replies: 2
    Last Post: 05-27-2012, 10:20 AM
  5. How to add crowns to vB [Tutorial]
    By Hephaestus in forum Application Development
    Replies: 5
    Last Post: 08-30-2011, 05:43 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
  •