Im not sure whether is it correct to post this topic there, since it's not very related to TPT
So, for those who know Lua as a programming language, and not as a-thing-to-make-tpt-mods:
Recently ive invented new encoding system which turns binary data into text, which can be sent without any worry that binarity will be lost, like any other text, like. many protocols dont like the \0 character and etc
This is very similar to Ascii85, but is more compact, it stores 9 bytes in 11, with a 22% data expansion, while Ascii85 does 25%
If you didnt stop reading this at paragraph 2 (:P) , you know what to do to it str2a94 takes a binary string and returns textual a942str takes a textual string and returns binary
This is also a very cool way of encrypting messages: }-4VC5`nL1G3'P1(!
@coolcat99(View Post) 1. Create file "ascii94.lua" 2. Open Lua console either in-game or separately in your computer 3. dofile("ascii94.lua") 4. tpt.log(str2a94("Hello world")) 5. => 7HIu#5Zq(3HOv#!