Jump to content

Question

Posted

Greetings Mxc,

 

A friend of mine created a Thug Zone for me but i am facing a problem..
A Thug Zone has the following features:
Autoflagged players

Player's Names are changed to Disguised
Their Titles are changed to Disguised

Item Restriction

Healers are not allowed to join

 

But the problem is that since noone has to understand who his opponent is it should hide also  the clan/ally crest's of the players

Can someone help my by providing a code that would do so?

3 answers to this question

Recommended Posts

  • 0
Posted

Add zone checks on UserInfo (for player) and CharInfo (for others)

writeD(_activeChar.getClanId());
writeD(_activeChar.getClanCrestId());
writeD(_activeChar.getAllyId());
writeD(_activeChar.getAllyCrestId()); // ally crest id

>

if (_activeChar.isInsideZone(ZoneId.THUG))
{
writeD(0);
writeD(0);
writeD(0);
writeD(0); // ally crest id
}
else
{
writeD(_activeChar.getClanId());
writeD(_activeChar.getClanCrestId());
writeD(_activeChar.getAllyId());
writeD(_activeChar.getAllyCrestId()); // ally crest id
}

You must edit both packets.

Guest
This topic is now closed to further replies.


×
×
  • Create New...