tigris-mt / elevator

An entity-based elevator allowing fast realtime travel in Minetest.
https://forum.minetest.net/viewtopic.php?f=9&t=17079
Other
4 stars 14 forks source link

Refactoring and adding fail safe on disconnect #9

Open S-S-X opened 4 years ago

S-S-X commented 4 years ago

Original issue

https://github.com/pandorabox-io/pandorabox.io/issues/233

If player disconnects and reconnects while riding elevator he will be detached from elevator, fall down the shaft, possibly die and no bones will be placed (items and bones drop to ground).

What is already done?

Started refactoring elevator code by adding namespace and nearly 1000 loc init.lua into separate files: https://github.com/S-S-X/elevator/projects/1

Current progress in refactor branch: https://github.com/S-S-X/elevator/tree/refactor

Refactor should not contain significant modifications to original code.

What will be done?

Refactoring code to provide usable API, it might or might not be useful for other mods but will be useful for keeping internal stuff in good shape.

Any updates on this?

Check mentioned project / subscribe for notification if you want to get more updates on this.

shacknetisp commented 3 years ago

The original issue (falling to death) has been addressed by making shafts climbable.