Jump to content
  • 0

Teleport bypass error


Question

Posted (edited)

Hello, anyone can help me, when i try to teleport with npc Teleporter i'll get error in GS console:

 

WARN  Bad RequestBypassToServer:
java.lang.IndexOutOfBoundsException: index: -1
        at javolution.util.FastList.get(FastList.java:196)
        at com.l2jfrozen.gameserver.managers.TownManager.townHasCastleInSiege(To
wnManager.java:228)
        at com.l2jfrozen.gameserver.model.actor.instance.L2TeleporterInstance.do
Teleport(L2TeleporterInstance.java:247)
        at com.l2jfrozen.gameserver.model.actor.instance.L2TeleporterInstance.on
BypassFeedback(L2TeleporterInstance.java:145)
        at com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer.
runImpl(RequestBypassToServer.java:243)
        at com.l2jfrozen.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:77)
        at com.l2jfrozen.gameserver.network.L2GameClient.run(L2GameClient.java:1
213)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

// FROM JAVA
        at com.l2jfrozen.gameserver.managers.TownManager.townHasCastleInSiege(To
wnManager.java:228)

228 Line:
			final Castle castle = CastleManager.getInstance().getCastles().get(CastleManager.getInstance().getCastleIndex(castleIndex));

        at com.l2jfrozen.gameserver.model.actor.instance.L2TeleporterInstance.do
Teleport(L2TeleporterInstance.java:247)

247 Line: 

			else if (!SiegeManager.getInstance().is_teleport_to_siege_town_allowed() && TownManager.getInstance().townHasCastleInSiege(list.getLocX(), list.getLocY()) && !player.isNoble())

in class doTeleport

        at com.l2jfrozen.gameserver.model.actor.instance.L2TeleporterInstance.on
BypassFeedback(L2TeleporterInstance.java:145)

Line 145:
				doTeleport(player, whereTo);

In class public void onBypassFeedback

 

 

This error will show when i deleted others castles from sql just leave Giran. 

Siege not started

Pack: l2jfrozen

Edited by l2fire

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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