Jump to content
  • 0

[Help] Teleport Emerald Zone Crash


philou755

Question

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.

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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

Link to comment
Share on other sites

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.



  • Posts

    • Hello if anyone is looking for interlude server with free bot, no P2W and uniques features I can recommend freshly opened https://l2romans.com/features/, great server for chilling and having fun with friends casually. Everyone is welcomed
    • So excited to announce 3x Telegram Premium (6 months)   Join our official TG and participate to win!   Asocks.com - trusted proxy service providing mobile and residential proxies with a single price of $3 per 1GB   A huge locations pool and high speed will help complete all tasks    
    • Well, sorry not sorry for resurrecting old topic, but I believe it's ultimately stupid to implement license checks like Vilmis did 🙂   private static String url = "jdbc:mysql://185.80.128.233/" + getData("Zm9ydW1fZGI="); private static String username = getData("bXJjb3B5cmlnaHQ="); private static String password = getData("Y29weXJpZ2h0XzEyMw=="); con = GlobalDB.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT field_6 from core_pfields_content WHERE member_id = ?"); statement.setInt(1, Config.FORUM_USER_ID); ResultSet rset = statement.executeQuery();   This awesome way of coding things leaves us with base64-encoded credentials and DB exposed and accessible globally 😉 Btw he checks his licensing data from some plugin generated table his forum uses. Vilmis took action and ensured that mrcopyright user would have only needed accesses and rights for this operation. But he forgot to ensure that his INFORMATION_SCHEMA database would not be exposed and readable... That leads us to fully readable server variables like version used (10.1.26-MariaDB-0+deb9u1 - pretty ancient DB and OS, I'd assume). From here you can go south and do some kinky stuff, if you want and have knowledge for that. But who cares, right?   Ooh, table core_pfields_content field_6 is IP address which is checked by FORUM_USER_ID. Yep, you can query all IP addresses there (124 of them right now) and also do whatever you want with them! 🙂  The most fun part? Files source has been shared what, more than 2 years ago?  Vilmis still uses very same credentials and never changed it after sources exposure - who cares. Although, "sources" may be way too strong word here. If anyone still use paid Orion versions, I'd suggest packing your shit and leaving immediately, or at least fix this incompetent fool caused problems. It's obvious Vilmis don't care or maybe doesn't even know from the first place how to solve this problem (hint hint - tiny PHP Rest API microservice which would do absolutely the same but without exposing sensitive data?). By doing that, he exposes his infrastructure and YOUR data, and he does that for more than 2 years now 🙂 Developer of century!    
  • Topics

×
×
  • Create New...