Vago Posted July 11, 2008 Posted July 11, 2008 Dosent need support at RequestBypassToServer too?...Or the change_namecolor command is declared already for the admin commands? :)
zunix Posted July 11, 2008 Posted July 11, 2008 but its not saved against l2phax user they can change the color what they want
xKenji Posted July 11, 2008 Posted July 11, 2008 but do you need to move every time you change it? or not?? it may be a stupid question but it would be very annoying :/
fdLP. Posted July 11, 2008 Author Posted July 11, 2008 yes u have .. i dunno how to fix that .. i am not pro .. if someone knows a better code reply :)
Vago Posted July 11, 2008 Posted July 11, 2008 Import this... import net.sf.l2j.gameserver.serverpackets.UserInfo; and use this code else if (command.startsWith("change_namecolor")) { player.getAppearance().setNameColor(Integer.decode("0x"+command.substring(16, 22).trim())); player.broadcastUserInfo(); } I have no idea if this works! Havent tested...Give it a try and let us know if it works!
fdLP. Posted July 11, 2008 Author Posted July 11, 2008 what to say .. big thanks ! it works ! you dont need to move now .. 1rst post edited ! Big thanks .!!
Vago Posted July 11, 2008 Posted July 11, 2008 youre welcome pal ^^ I see some cool real java shares from you last days...No more npcs, changed items stat and other shit...some cool shares at least ^^
eKoIce Posted July 11, 2008 Posted July 11, 2008 the Name Color Is permanent ? or will be deleted/come back into "white" after a Player/Server Restart ?
fdLP. Posted July 11, 2008 Author Posted July 11, 2008 deleted after restart :D and back to normal color
Mpx Posted July 11, 2008 Posted July 11, 2008 Lawl this would be in all servers tahts cool xD all servers should have this option =P
Vago Posted July 11, 2008 Posted July 11, 2008 the Name Color Is permanent ? or will be deleted/come back into "white" after a Player/Server Restart ? Could be made permanent too but need more java knowledge and more changes. When you set the color name, it should update in the database. Add a code to reset your name color to the one in database in EnterWorld and youre done! You got permanent too xD...But as I said it needs more code and one more column in the character table in the database ^^
Recommended Posts