Skip to content

[Help] Teleport Emerald Zone Crash

Featured Replies

L2J Revision 5114:

L2JDP Revision 8604:

 

Hello i have a problem when i try to teleport in Emerald Square's Zone from anywhere...

I get a NPE:

    [Character: Erathorn[268484829] - Account: philou755 - IP: 82.225.145.115] sent bad RequestBypassToServer: "npc_268481204_goto 60014"
    java.lang.NullPointerException
        at com.l2jserver.gameserver.instancemanager.TownManager.townHasCastleInSiege(TownManager.java:67)
        at com.l2jserver.gameserver.model.actor.instance.L2TeleporterInstance.doTeleport(L2TeleporterInstance.java:231)
        at com.l2jserver.gameserver.model.actor.instance.L2TeleporterInstance.onBypassFeedback(L2TeleporterInstance.java:101)
        at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:139)
        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)
        at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1095)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
     

I tried to comment line about Emerald Square in this file: custom_script_zones.xml, but nothings change..

<?xml version="1.0" encoding="UTF-8"?>
<list enabled="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="zones.xsd">
    <!-- Custom Script Zones -->
    <!-- <zone name="Emerald Square 1st Secret Room" id="20105" type="ScriptZone" shape="Cuboid" minZ="-11900" maxZ="-11800">
        <node X="144175" Y="142396" />
        <node X="144251" Y="142588" />
    </zone>
    <zone name="Emerald Square 2nd Secret Room" id="20106" type="ScriptZone" shape="Cuboid" minZ="-12250" maxZ="-12150">
        <node X="147400" Y="143631" />
        <node X="147484" Y="143828" />
    </zone>
    <zone name="Emerald Square 3rd Secret Room" id="20107" type="ScriptZone" shape="Cuboid" minZ="-12150" maxZ="-12000">
        <node X="149396" Y="143473" />
        <node X="149559" Y="143584" />
    </zone> -->
    <zone name="Pailaka (Forgotten Temple)" id="20108" type="ScriptZone" shape="NPoly" minZ="-5050" maxZ="-3900">
        <node X="-62840" Y="178808" />
        <node X="-62840" Y="184568" />
        <node X="-60792" Y="184568" />
        <node X="-60792" Y="188792" />
        <node X="-57976" Y="191224" />
        <node X="-53000" Y="190840" />
        <node X="-52360" Y="190200" />
        <node X="-52360" Y="178808" />
    </zone>
    <zone name="Pailaka (Devil's Isle)" id="20109" type="ScriptZone" shape="NPoly" minZ="-3770" maxZ="-3700">
        <node X="76650" Y="-221310" />
        <node X="76630" Y="-221880" />
        <node X="75490" Y="-221480" />
        <node X="75630" Y="-221140" />
    </zone>
    <zone name="Nornil's Garden Warrior's Gate" id="20110" type="ScriptZone" shape="Cuboid" minZ="-12650" maxZ="-12600">
        <node X="-109864" Y="76184" />
        <node X="-109544" Y="76392" />
    </zone>
    <zone name="Nornil's Garden Midway Gate" id="20111" type="ScriptZone" shape="Cuboid" minZ="-12930" maxZ="-12900">
        <node X="-107560" Y="80488" />
        <node X="-107240" Y="80808" />
    </zone>
    <zone name="Nornil's Garden Gate" id="20112" type="ScriptZone" shape="Cuboid" minZ="-12990" maxZ="-12960">
        <node X="-111016" Y="83944" />
        <node X="-110696" Y="84264" />
    </zone>
    <zone name="Pagans mark" id="30100" type="ScriptZone" shape="NPoly" minZ="-10735" maxZ="-10720">
        <node X="-16100" Y="-36620" />
        <node X="-16600" Y="-36620" />
        <node X="-16600" Y="-36925" />
        <node X="-16100" Y="-36925" />
    </zone>
    <zone name="Hellbound" id="40101" type="ScriptZone" shape="NPoly" minZ="-30000" maxZ="30000">
        <node X="-32768" Y="229376" />
        <node X="32768" Y="229376" />
        <node X="32768" Y="262143" />
        <node X="-32768" Y="262143" />
    </zone>
    <zone name="Hellbound Dolmen" id="40107" type="ScriptZone" shape="Cuboid" minZ="-3200" maxZ="-3000">
        <node X="-6230" Y="249000" />
        <node X="-5230" Y="249880" />
    </zone>

I tried to comment this line in Script.cfg but nothing the problem stay the same:

# instances/CrystalCaverns/CrystalCaverns.java

 

Have you an idea?

Thx for your help.

 

npc_268481204_goto 60014

 

What is zone 60014 ? You show nothing about it. A NPE occurs if something is missing, that area infos is probably missing or isn't a townZone and so townHasCastleInSiege( can't be correctly used.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.