wovencode / OpenMMO

OpenMMO - Groundwork
http://open-mmo.net
Other
179 stars 30 forks source link

[zones] Warp portal warp in location causing issues #35

Closed francy51 closed 4 years ago

francy51 commented 4 years ago

currently the warp portal is the arrival point of Network zoning.. when you arrive, actually in the warp portal.. you can warp again immediately.. it overrides the dirty timer

wovencode commented 4 years ago

this should not happen anymore as no teleporter leads to a warp portal anymore

it can still happen though, but thats up to the scene designer

can be closed if everybody is OK with this implementation

DX4D commented 4 years ago

We should test this issue a little more...

The first thing that comes to mind is cross linked portals that lead back and forth (like a doorway). One concern...will it crash the server if a portal goes to a portal that goes back to the first portal? Another concern is whether a blocked portal can be cheated past by logging out and back in while inside that portal.

wovencode commented 4 years ago

wont crash it but francy is right, it skips the dirty timer in that special case

wovencode commented 4 years ago

added another check + cooldown timer is now set a bit earlier

wovencode commented 4 years ago

should be fixed ?

francy51 commented 4 years ago

fixed. Player no longer zones inside warp portal. Plus the timer seems to be working properly.