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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..