I was using Skywyre Primitive Edition and noticed that sometimes you get a RTE9 when going into another map (usually a map that is smaller than your current one).
Here’s the fix for this bug.
Thanks @BeNjO for helping me figure out this issue!
Client Side ONLY!
Go to your CheckDirection function and under
' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler CheckDirection = False
' check directional blocking If GetPlayerX(MyIndex) > Map.MaxX Then Exit Function If GetPlayerY(MyIndex) > Map.MaxY Then Exit Function
That’s it! It’s fixed.
Your welcome :)