Sign in to follow this  
WhiteFang

(Dragonia) Portal Fix

Recommended Posts

For an extended period of time a bug has been bugging the portal in Dragonia where sometimes people would be force recalled to town.

 

I'm bringing up the topic because after this long period I've been able find the cause of this bug AND managed to fix it!

 

The issue occurred because the map contains a teleportation spot beneath the location of the portal.

Because of that a request is sent to the server to teleport, but there is no actual teleport but there is a portal instead.

Due to the nature of portals, the teleportation only handles normal teleports and not portals. And because there is no actual teleport, the server will force recall you.

What I've done is adjust the code so it checks if there should be a portal, and if there is one, you won't for force recalled (and another piece of code will handle your actual teleportation).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this