Skip to content

Problem with teleporter.

Featured Replies

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 .

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;
}

  • Author

I'm not sure why that happens to you...

 

Maybe because i deleted instance ?

 

Your fix doesn't works . Any other ideas ?

Maybe because i deleted instance ?

 

Your fix doesn't works . Any other ideas ?

Then you should explain how did u do that.

  • Author

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

 

 

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.

  • Author

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

 

Same thing ...

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?:

  • Author

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

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.

  • Author

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 .

So it doesn't work even without deleting the instances?

 

Try doing the same with another zone..

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.

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

Guest
This topic is now closed to further replies.

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.