Jump to content
  • 0

Problem with teleporter.


Joκκєrino

Question

Hello guys . I just started develop my lineage server ( after a long break time ) .

 

Today i tryed make a teleport zone in Crystal Caverns ( Emerald Square ).

 

The problem is that , after i deleted the instance , when i try teleport to Emerald Square ( using my custom teleport , of course i added teleports in sql ) it says that :

 

h0uq.png

 

Hope you guys can help me , I'm sure is something that server can't check if there is any of castle in range and if it's inSiege but ... i don't really know how to fix it .

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

I don't really know which pack and rev are u using but try adding a dumb nullcheck...

I'm not sure why that happens to you... long time ago since I don't open eclipse, ugly notepad...

 

/java/com/l2jserver/gameserver/instancemanager/TownManager.java

-if (temp.getTownId() == townId)
+if (temp != null && temp.getTownId() == townId)
{
return temp;
}

Link to comment
Share on other sites

  • 0

I deleted all instance files, teleported to the zone, took coordinates, put them in teleports and used the teleport in gatekeeper's html .

I suggest you to simply go to the zone.xml and remove the zone from there, instead of removing instances.

Link to comment
Share on other sites

  • 0

Same thing ...

But did u undo all you did and just removed the zone? O.o

I think i did that thousand of times in the past and never had a single error like that  :y u no?:

Link to comment
Share on other sites

  • 0

But did u undo all you did and just removed the zone? O.o

I think i did that thousand of times in the past and never had a single error like that  :y u no?:

Sure i did . I did that a lot of times too, both interlude and hi5, and never had a error too. Add my skype : jokk3rino and we'll speak more ( maybe some remote programs ) .

Link to comment
Share on other sites

  • 0

Sure i did . I did that a lot of times too, both interlude and hi5, and never had a error too. Add my skype : jokk3rino and we'll speak more ( maybe some remote programs ) .

I already have u... btw try to undo ALL about that instance and try to teleport there... if u get an error while teleporting there without editing anything maybe the problem is in your teleporter.

And I'm at the beach, my inet sucks, dunno if I'll be able to use teamviewer, but we can talk there, brb in 2-3h.

Link to comment
Share on other sites

  • 0

I already have u... btw try to undo ALL about that instance and try to teleport there... if u get an error while teleporting there without editing anything maybe the problem is in your teleporter.

And I'm at the beach, my inet sucks, dunno if I'll be able to use teamviewer, but we can talk there, brb in 2-3h.

Sure i'll try now. Thanks so much , see ya. Any other ideas ?

 

Edit :

 

No , it doesn't works .

Link to comment
Share on other sites

  • 0

I deleted all instance files, teleported to the zone, took coordinates, put them in teleports and used the teleport in gatekeeper's html .

 

 

 

Did the instance file had any script that may still try to load in? Btw i dont know what pack you use copy paste here your townmanager.

Link to comment
Share on other sites

  • 0

The interesting thing is that he said that removing the changes he did in the instance and leaving it normal, still gets the error, if I didn't get lost :p

 

The interesting thing, is that ever single teleport returns a townId in order for the siege time teleport to work even a 0 in case of such teleports. Yet hes errors if im correct and its an untouched l2j high5 townmanager doesnt seem to do that.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • 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!    
    • rename the l2.bin into l2.exe
  • Topics

×
×
  • Create New...