Jump to content
  • 0

Problem with teleporter.


Question

Posted

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 .

15 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

Maybe because i deleted instance ?

 

Your fix doesn't works . Any other ideas ?

Then you should explain how did u do that.

  • 0
Posted

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.

  • 0
Posted

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

  • 0
Posted

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

  • 0
Posted

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.

  • 0
Posted

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 .

  • 0
Posted

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.

  • 0
Posted

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

  • 0
Posted

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.


×
×
  • Create New...