hi people I have a problem with the teleport of nobles, the following happens ... when such is in Giran Castle siege and esoy in Goddart if I am not noble teleported to Giran Castle siege by, well that's fine but if I am Noble does not ... neither common nor teleport teleport DataPack nobles then I opened it and went to the l2jteon L2TeleporterInstance.java this on (net.sf.l2j.gameserver.model.actor.instance) and there modify the code as follows
private void doTeleport(L2PcInstance player, int val)
{
L2TeleportLocation list = TeleportLocationTable.getInstance().getTemplate(val);
if (list != null && !player.isNoble())
{
// you cannot teleport to village that is in siege
if (SiegeManager.getInstance().getSiege(list.getLocX(), list.getLocY(), list.getLocZ()) != null && !player.isNoble())
the part that is red to add me to let me teleport but he does not like, please tell me if this well but what I did and that is the way to solve thanks ...
Hello everyone, this is ADENA L2REBORN / LU4 / MASTERWORK
We also have items, epics, etc.
discord - adver745645
Our prices are reasonable, so have a nice shopping and a nice day.
Vesper Noble heavy set (RAR) 1800 att - 150e
Eternal Core Dualsword +6 300 att 130e
Ring of Baium 130e
AQ ring 100e
Antharas Earring 200e
Paypal payments only DM in discord narttu123
Hello,
Skill Activation: The activation options from the Alt+K window work perfectly. However, when activating them from the skill bar, there is still a delay of approximately 1 second.
I need to remove that delay
Question
tatania
hi people I have a problem with the teleport of nobles, the following happens ... when such is in Giran Castle siege and esoy in Goddart if I am not noble teleported to Giran Castle siege by, well that's fine but if I am Noble does not ... neither common nor teleport teleport DataPack nobles then I opened it and went to the l2jteon L2TeleporterInstance.java this on (net.sf.l2j.gameserver.model.actor.instance) and there modify the code as follows
private void doTeleport(L2PcInstance player, int val)
{
L2TeleportLocation list = TeleportLocationTable.getInstance().getTemplate(val);
if (list != null && !player.isNoble())
{
// you cannot teleport to village that is in siege
if (SiegeManager.getInstance().getSiege(list.getLocX(), list.getLocY(), list.getLocZ()) != null && !player.isNoble())
{
player.sendPacket(new SystemMessage(SystemMessageId.NO_PORT_THAT_IS_IN_SIGE));
return;
}
else if (TownManager.getInstance().townHasCastleInSiege(list.getLocX(), list.getLocY()))
{
player.sendPacket(new SystemMessage(SystemMessageId.NO_PORT_THAT_IS_IN_SIGE));
the part that is red to add me to let me teleport but he does not like, please tell me if this well but what I did and that is the way to solve thanks ...
chronicle is DataPack l2jteon interlude./color]
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now