Jump to content

Recommended Posts

Posted
Where you can change PvP Flag Color's so you'r enemy can have other color when pvping

 

Now go to L2Character.java

Search startPvPFlag

And get to be like this

 

public void startPvPFlag()

{

updatePvPFlag(1);

                L2PcInstance player = (L2PcInstance)this;

                player.getApparance.setNameColor(0xCode);

 

_PvPRegTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new PvPFlag(), 1000, 1000);

}

 

Now go to L2Character.java again

Search stopPvPFlag

And get to be like this

 

public void stopPvPFlag()

{

stopPvpRegTask();

 

updatePvPFlag(0);

                L2PcInstance player = (L2PcInstance)this;

                player.getApparance.setNameColor(0xFFFFFF);

_PvPRegTask = null;

}

 

Where to write blacks have to put up there html color from here maybe

http://www.computerhope.com/htmcolor.htm

 

Ideea its by me

And code it's by xAddytzu

 

Posted

Great idea!

I'll use black color!

Thanks for posting this "guide"!

Cheers!

Thx a lot , so where it's write " code " with black you need put 000000

like this

 

                player.getApparance.setNameColor(0x000000);

Posted

Thx a lot , so where it's write " code " with black you need put 000000

like this

 

                player.getApparance.setNameColor(0x000000);

i know mate!

i am not that low level of deving to dont know it!

XD

Posted

I alwayas disliked the pink color, i'll use Green.

fap fap fap

 

Anyway cool code try making it in a config.. so the integer get parsed & decoded right =) and it to be more accessible :P

Posted

Gracia epilogue shows an error but i will fix it and put for config thx good job

you can do it on ur own! and if u got a error that means its cus of you doing smth wrong, a simple code like this cant have errors!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...