Having trouble reading and understanding the code? Your worries will soon be over with my latest GPL OSI compliant open source mod that magically transforms your open source lua code to crystal clarity. Imagine the possibilities! :)

Licenses : GPL

Depends : default

Download: https://github.com/ac-minetest/obfuscat ... master.zip

--------------------------------------

Inspired by recent comments on anticheat forum topic i realised the error of my ways of hiding the code inside compiled binary, which is very unfair to the community since it blocks off the ability to read/edit/share code. Not to mention i could be hiding potentially bad stuff in binary .. which is just outrageous!

I now know that the only true way is to provide FULL OPEN SOURCE code, so i wrote this little mod, which is fully open source too.

Why write such a wonderful thing you ask? because we want to be FREE to use names like v_______ for our variables! FREEEEEEEEDOM :)

If you want challenge you can rewrite this mod into "normal" form so you can see how "exactly" it works - the main program was used to obfuscate itself.

Very very short example:

- Code: Select all
`-- BEFORE: ---`

local i,n

factors = function( n )

local f = {}

for i = 1, n/2 do -- here we try all the possible factors of n

if n % i == 0 then -- here we check if n is divisible by i

f[#f+1] = i -- we found factor, add it to the list

end

end

f[#f+1] = n

print("factors of " .. n .. " are : " .. table.concat(f,","))

end

factors(25)

-- AFTER : ---

v____ = function( v___ ) local v__ = {} for v_ = 1, v___/2 do if v___ % v_ == 0 then v__[#v__+1] = v_ end end v__[#v__+1] = v___ print("factors of " .. v___ .. " are : " .. table.concat(v__,",")) end v____(25)