You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a string encoded by MDT, we need to decode it so we can properly parse it and know what to import. For how MDT does it, to quote /u/BlackFayah: In case they don't want to collaborate, this is where the magic happens: https://github.com/nnogga/MethodDungeonTools/blob/master/Transmission.lua. They serialize > compress > encode.
The text was updated successfully, but these errors were encountered:
…#96
I initially tried to convert the LUA implementation to PHP but found out that that wasn't going to work. The Huffman encoding library didn't seem to produce the output I was expecting (or perhaps the decoding), then even if it did I'd ran into the issue of the deserializing. In the end I probably could have done it, but going the LUA route also made sure the code wasn't going to be maintained by me, which always helps.
I added some hints and pointers to docs/lua.md for when I ever decide to reinstall the current server where Keystone.guru is running on (bless me when that happens) so I can get LUA working there.
Kept the PHP implementation of what I have for the time being, perhaps it'll come in useful later on.
From a string encoded by MDT, we need to decode it so we can properly parse it and know what to import. For how MDT does it, to quote /u/BlackFayah:
In case they don't want to collaborate, this is where the magic happens: https://github.com/nnogga/MethodDungeonTools/blob/master/Transmission.lua. They serialize > compress > encode.
The text was updated successfully, but these errors were encountered: