Jump to content

Recommended Posts

Posted

Dosent need support at RequestBypassToServer too?...Or the change_namecolor command is declared already for the admin commands? :)

Posted

yes u have .. i dunno how to fix that .. i am not pro .. if someone knows a better code reply :)

Posted

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!

Posted

what to say .. big thanks ! it works ! you dont need to move now .. 1rst post edited ! Big thanks .!!

Posted

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 ^^

Posted

the Name Color Is permanent ? or will be deleted/come back into "white" after a Player/Server Restart ?

Posted

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 ^^

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock