Thread: [PI] Adding crowns to my yell

Results 1 to 10 of 10
  1. #1 [PI] Adding crowns to my yell 
    Registered Member
    Join Date
    Dec 2013
    Posts
    183
    Thanks given
    6
    Thanks received
    13
    Rep Power
    33
    Hey all, I've done some googling and looking around, and cannot seem to find out how to add my crowns into the yell when I yell. This is what I see when I yell as a developer.



    I have custom crowns inside my client, I use @cr0@ through @cr11@.

    This is my yell command atm.

    Code:
    if (playerCommand.startsWith("yell")) {
    			for (int j = 0; j < Server.playerHandler.players.length; j++) {
    				if (Server.playerHandler.players[j] != null) {
    					Client all = (Client) Server.playerHandler.players[j];
    					String userTitle = "";
    					switch (c.playerRights) {
    					case 0:
    						c.sendMessage("You have to be a Staff to use this feature...");
    						return;
    					case 1:
    						userTitle = "@red@Regular@bla@";
    						break;
    					case 2:
    						userTitle = "@spd@Supreme@bla@";
    						break;					
    					case 3:
    						userTitle = "@vip@VIP@bla@";
    						break;					
    					case 4:
    						userTitle = "@gfx@GFX Artist@bla@";
    						break;					
    					case 5:
    						userTitle = "@vet@Veteran@bla@";
    						break;					
    					case 6:
    						userTitle = "@sup@Server Support@bla@";
    						break;					
    					case 7:
    						userTitle = "@inm@In-Game Mod@bla@";
    						break;					
    					case 8:
    						userTitle = "@glm@Global Mod@bla@";
    						break;					
    					case 9:
    						userTitle = "@ina@In-Game Admin@bla@";
    						break;					
    					case 10:
    						userTitle = "@gla@Global Admin@bla@";
    						break;
    					case 11:
    						userTitle = "@dev@Developer@bla@";
    						break;
    					}
    				}
    			}
    		}
    Reply With Quote  
     

  2. #2  
    « Pokémon Master »
    Ash Ketchum's Avatar
    Join Date
    Jun 2011
    Age
    29
    Posts
    1,423
    Thanks given
    275
    Thanks received
    153
    Rep Power
    39
    its a bit of work, but your best bet would be http://www.rune-server.org/runescape...k-galkons.html
    Attached image
    Spoiler for Galkon:

    Spoiler for Great Quotes:
    Quote Originally Posted by i am prod View Post
    **** YOU this just erased everyones passwords and no one can log in!!!
    Quote Originally Posted by blade2 View Post
    did i ****ing say it was a ****ing virus u dip shit i said virus scan dont scan java files i didn't say its a virus... l2****ingreadkid
    Spoiler for (╯°□°)╯︵┻━┻:
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2013
    Posts
    183
    Thanks given
    6
    Thanks received
    13
    Rep Power
    33
    Quote Originally Posted by Ash Ketchum View Post
    its a bit of work, but your best bet would be http://www.rune-server.org/runescape...k-galkons.html
    After going through hell adding crowns, I am not adding a new text engine.


    Any other ideas?
    Reply With Quote  
     

  4. #4  
    Retired From RSPS

    iGarrett's Avatar
    Join Date
    Dec 2013
    Posts
    461
    Thanks given
    144
    Thanks received
    110
    Rep Power
    187
    Quote Originally Posted by Merp View Post
    After going through hell adding crowns, I am not adding a new text engine.


    Any other ideas?
    If your Client doesn't support crowns to be called from the server-side either using the IMG or @cr@ tags then why not base the tags from the client side.

    If you don't want to go through that i'd suggest using the new text engine. Which will allow you to use all different colour combinations to bring out the rank colours + Calling images.

    (also bear in mind the text engine does not affect the crowns you added)
    Quote Originally Posted by i am here View Post
    I have never messed with Eclipse. Is it a whole new revision or type of code?
    Quote Originally Posted by bibl View Post
    hahaha, good one m9. "deob" is short for "deobfuscated" which is not the same as decompiled.
    I'm GEEGIN' OUT
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2013
    Posts
    183
    Thanks given
    6
    Thanks received
    13
    Rep Power
    33
    Quote Originally Posted by Radram View Post
    If your Client doesn't support crowns to be called from the server-side either using the IMG or @cr@ tags then why not base the tags from the client side.

    If you don't want to go through that i'd suggest using the new text engine. Which will allow you to use all different colour combinations to bring out the rank colours + Calling images.
    I already have all the colors in the world, not hard to add another @###@. My issue is I don't quite know how to add a crown in my yell.
    Reply With Quote  
     

  6. #6  
    Retired From RSPS

    iGarrett's Avatar
    Join Date
    Dec 2013
    Posts
    461
    Thanks given
    144
    Thanks received
    110
    Rep Power
    187
    Quote Originally Posted by Merp View Post
    I already have all the colors in the world, not hard to add another @###@. My issue is I don't quite know how to add a crown in my yell.
    Your best bet is to add the engine, if you want crowns called from the client ~ server.

    But im pretty sure there's a packet or so which controls using @cr#@ from the server.
    Or maybe im dumb. I haven't done client work in weeks.
    Quote Originally Posted by i am here View Post
    I have never messed with Eclipse. Is it a whole new revision or type of code?
    Quote Originally Posted by bibl View Post
    hahaha, good one m9. "deob" is short for "deobfuscated" which is not the same as decompiled.
    I'm GEEGIN' OUT
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jun 2013
    Posts
    429
    Thanks given
    81
    Thanks received
    69
    Rep Power
    69
    Quote Originally Posted by Radram View Post
    Your best bet is to add the engine, if you want crowns called from the client ~ server.

    But im pretty sure there's a packet or so which controls using @cr#@ from the server.
    Or maybe im dumb. I haven't done client work in weeks.
    Not sure if it would work, but couldn't i add like @cr3@ in TextDrawingArea.java and make it show a crown or no
    (obviously with more shit other than just @cr3@ but im just saying. I suck with java tbh
    Reply With Quote  
     

  8. #8  
    Retired From RSPS

    iGarrett's Avatar
    Join Date
    Dec 2013
    Posts
    461
    Thanks given
    144
    Thanks received
    110
    Rep Power
    187
    Quote Originally Posted by Austynnnnn View Post
    Not sure if it would work, but couldn't i add like @cr3@ in TextDrawingArea.java and make it show a crown or no

    Theory is if you call @cr#@ from anywhere in the client when showing pushmessage or so it would work no matter where you put it.
    But thanks to the client gods the Client class holds much of the code for using the crowns.
    Quote Originally Posted by i am here View Post
    I have never messed with Eclipse. Is it a whole new revision or type of code?
    Quote Originally Posted by bibl View Post
    hahaha, good one m9. "deob" is short for "deobfuscated" which is not the same as decompiled.
    I'm GEEGIN' OUT
    Reply With Quote  
     

  9. #9  
    Rune-Server Affiliate

    Join Date
    Apr 2014
    Posts
    1,761
    Thanks given
    75
    Thanks received
    714
    Rep Power
    1073
    usually it's <img=1></img>

    so it'll draw the moderator image
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Dec 2013
    Posts
    183
    Thanks given
    6
    Thanks received
    13
    Rep Power
    33
    Quote Originally Posted by Xionn View Post
    usually it's <img=1></img>

    so it'll draw the moderator image
    Already tried dude.
    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. [PI]Adding crowns to yell command
    By tylur in forum Help
    Replies: 29
    Last Post: 07-29-2016, 02:12 AM
  2. [PI] Adding music to my RSPS? Help.
    By riesenbeck1296 in forum Help
    Replies: 0
    Last Post: 10-01-2013, 02:45 AM
  3. [PI] - Adding Crowns/Ranks to my Client [HOT]
    By james-lol in forum Buying
    Replies: 1
    Last Post: 07-21-2013, 12:25 AM
  4. Paying For Adding Items To My Server [PI]
    By Bright in forum Buying
    Replies: 6
    Last Post: 12-16-2011, 04:28 PM
  5. [PI] Adding Crowns to Public Chat [PI]
    By Sillhouette in forum Help
    Replies: 11
    Last Post: 04-28-2011, 04:34 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
  •