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 ...
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.
Hello. You may encounter the Push item fail error when trying to pick up an item dropped on the ground by a mob.
or
You can throw something out of your inventory and pick it up again, several times.
Probably this is a quantum dependency) I don't understand at what point this happens, sometimes two items one after another experience push item errors, and sometimes I don't have enough thousands of attempts to repeat this trick)
In any case, this is just a visual error and after the relog, the item appears in the inventory. I think first i need to disconnect the extender and check it on a bare server. I still need time to check this, maybe it's not even about the autoloot function.
https://youtu.be/6mcfmdImofE
-----------
In general, I would like to thank our wonderful Emca Eressea for her deep knowledge in programming and reverse engineering. And for the fact that her work is open to everyone, this is very amazing, and incredibly valuable.
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
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.