Jump to content
  • 0

Change Players Names When Inside Of Pvp Zone?


Question

Posted (edited)

Chronicle: Freya
l2jdp - revision="7968"
l2j - revision="4601"

I have a PVP Zone (players get insta Flagged when inside), and i would like players names change like xxx when they enter on this Zone, someone can put some light on what i need to modify? thx.

Edited by Chakl22

7 answers to this question

Recommended Posts

  • 0
Posted

if (_activeChar.isInsideZone(ZoneId.x))
writeS("x");
else
writeS(_activeChar.getName());

 

on enter setcolor
on exit setcolor
not hard..
for color code look at enterworld clientpacket

 

players names change like xxx when they enter on this Zone

  • 0
Posted (edited)

οh i understood wrong then you have to make a temp name with the original name and store it for every player that pass the if (contition)

and then call it back when he gets out of the contition

it will help if you look the clan leader change name admin command handler and change name admin command handler also

then send packet to casted in all players inside the if(contition) that are inside the zone

Edited by Nightw0lf
  • 0
Posted

Chronicle: Freya

l2jdp - revision="7968"

l2j - revision="4601"

 

I have a PVP Zone (players get insta Flagged when inside), and i would like players names change like xxx when they enter on this Zone, someone can put some light on what i need to modify? thx.

find the code of olympiad hided names protection and take some parts from that code step by step. if characters have changed names you must disable the chat too. and if the player of you hit is clan member you must use ctrl. so you must disable this too inside this zone. and you must edit when player hit other player in chat he show her name. so the better idea is that of i say you.  find that code is shared here and take the parts of you need and make it like if (_activeChar.isInsideZone(ZoneId.x)) etc.

  • 0
Posted (edited)

everybody trolling everywhere i see i do it 1 time and i get in the corner... look at your own job sweety

Then your trolling skills are not good enough, you have to practice a lil bit :troll:

Edited by SweeTs

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
Answer this question...

×   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...