hellman2741 0 #1 Posted November 15, 2011 (edited) Following other threads, you will end up getting just "Lord" or the other ones unless you edit the client. Not with mine :D You can customize it to whatever you would like. Classes Modified: Player.java (Source), Player.java (Client), PlayerUpdate.java, CommandPacketHandler.java Difficulty: 1/10 Base: RS2HD (Can be converted for RuneEscape easily) First, we'll be doing everything required in the source. Btw, sorry for no spacing, cba writing in notepad then copy/pasting and I'm just doing this from memory. Head into Player.java, and declare: [CODE]public String title;[/CODE] Done. :p Now head into PlayerUpdate.java and look for appendAppearanceUpdate. Underneath: [CODE]playerProps.addByte((byte) p.getHeadIcons().getPrayerIcon(p));[/CODE] add: [CODE]playerProps.addString(player.getTitle != null ? player.getTitle() : ""); [/CODE] Done. Now we need a way of changing that don't we... Head into CommandPacketHandler.java and add this command: [CODE]if(cmd[0].equals("ctitle")) { String title = command.substring((command.indexOf(" ") + 1)); player.title = title; player.sm("Your new title is: "+title); player.sm("Don't forget to add a space at the end and close any colours/shades"); player.getUpdateFlags().setAppearanceUpdateRequired(true); }[/CODE] Done in the source, now go into the client and open up Player.java Declare this: [CODE]public String title;[/CODE] Now search for: [CODE]anInt6509 = arg0.readSignedByte();[/CODE] and directly underneath it, put: [CODE]title = arg0.readString();[/CODE] Now search for: [CODE]method363[/CODE] and replace it with this: [CODE]public String method363(boolean arg0, boolean arg1) { try { if (arg1 != true) aString6491 = null; anInt6493++; String string = ""; if (Class155.aStringArray2066 != null) string += Class155.aStringArray2066[aByte6507]; if (Class104.anIntArray1357 != null && Class104.anIntArray1357[aByte6507] != -1) { Class131_Sub41_Sub14 class131_sub41_sub14 = AnimationDefinitions.method2396(256, Class104.anIntArray1357[aByte6507]); if (class131_sub41_sub14.aChar6345 != 's') { Class45.method563("gdn1", new Throwable(), 0); Class104.anIntArray1357[aByte6507] = -1; } else string += class131_sub41_sub14.method2028((byte) -49, aByte6497 & 0xff); } if (!arg0) string += ""+title+""+aString6491+""; else string += ""+title+""+aString6531+""; if (Class175.aStringArray2506 != null) string += Class175.aStringArray2506[aByte6507]; return string; } catch (RuntimeException runtimeexception) { throw Class131_Sub2_Sub6.method1495(runtimeexception, ("vp.QA(" + arg0 + ',' + arg1 + ')')); } }[/CODE] Now logon :D To change it, simply do "ctitle CustomTitleHere" To delete it, just do "ctitle " (Space after ctitle, but nothing afterward) Edited March 10, 2012 by hellman2741 Share this post Link to post Share on other sites
apache ah64 0 #2 Posted November 15, 2011 I already released it but this is with a String, a awsome copy of Emily's work. Share this post Link to post Share on other sites
hellman2741 0 #3 Posted November 15, 2011 As I recall from experience, Emily's version fucked people's character's appearance. This one, doesn't. I did not "copy" anyone's work, seeing as I didn't even have internet when I made this, so I couldn't even if I wanted to. Share this post Link to post Share on other sites
Arrogance 0 #4 Posted November 15, 2011 [quote name='hellman2741']As I recall from experience, Emily's version fucked people's character's appearance. This one, doesn't. I did not "copy" anyone's work, seeing as I didn't even have internet when I made this, so I couldn't even if I wanted to.[/QUOTE] His old one did, his newer one doesn't. Share this post Link to post Share on other sites
hellman2741 0 #5 Posted November 15, 2011 [quote name='Arrogance']His old one did, his newer one doesn't.[/QUOTE] Well, I have not seen this newer one. Last time I tried to add it, it did. Share this post Link to post Share on other sites
apache ah64 0 #6 Posted November 15, 2011 [quote name='hellman2741']Well, I have not seen this newer one. Last time I tried to add it, it did.[/QUOTE] The only part that glitches is the + string. Make it include in the final return statement... Share this post Link to post Share on other sites
hellman2741 0 #7 Posted November 15, 2011 Edit - Comp glitched, didn't mean to post. Share this post Link to post Share on other sites
Lord Vexia 0 #8 Posted January 4, 2012 Would you ever consider converting this into 637/639? It will be appreciated, or would you take cash and convert it for me? Share this post Link to post Share on other sites
Unlimitedz 0 #9 Posted January 13, 2012 Hey Guys... Client deosn't have player.java Share this post Link to post Share on other sites
hellman2741 0 #10 Posted January 14, 2012 What client are you using, this only works for 562 clients Sent from my iPhone using Tapatalk Share this post Link to post Share on other sites