Rationale behind ScheduleMoveToWorld
#1
ScheduleMoveToWorld is currently broken and I am planning to fix this.

Why were the MoveToWorld API functions marked obsolete and why was ScheduleMoveToWorld introduced?
Reply
Thanks given by:
#2
MoveToWorld originally operated synchronously - it would not return until the player was moved. And it was a big source of deadlocks because of trying to synchronize two tick threads and possibly other threads waiting for the plugin.
Reply
Thanks given by:
#3
Is it safe to say that we can remove ScheduleMoveToWorld, now that MoveToWorld is not synchronous?
Reply
Thanks given by:
#4
Usually when we remove a method that was exported in the LuaAPI, we still provide a manual binding for it that logs a warning that the method is obsoleted, what method should be used instead and a Lua stacktrace, then redirect to the new API. This way, the plugins still work and the plugin authors have a clear indication of what's wrong and how to fix it.
Reply
Thanks given by:




Users browsing this thread: 4 Guest(s)