• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

Help with lua string Obfuscator

Status
Not open for further replies.
Level 13
Joined
Mar 24, 2010
Messages
950
Hi does anyone know of any lua string Obfuscator that can do this to the map script?
I've seen another map have it like this, where all the strings become f(-some#)
Lua:
        MultiboardSetItemValueBJ(statsMultiBoard, 2, TempPlayerId1[Z], f(-12463))
        MultiboardSetItemValueBJ(statsMultiBoard, 3, TempPlayerId1[Z], f(-12463))
        MultiboardSetItemValueBJ(statsMultiBoard, 4, TempPlayerId1[Z], f(-12463))
        MultiboardSetItemValueBJ(statsMultiBoard, 5, TempPlayerId1[Z], f(-12463))

I want to make a save code alphabet encrypted to make it a little harder to cheat the map.
let me know thanks!
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,266
I have doubts about this making your map any more safe or difficult to cheat in. Most cheaters compromise the save system using the maps's own script so all those lookup functions return exactly the same values as they do in legitimate use.

The main use of such obfuscation is to obscure human readable text from humans reading the script. For example secret chat command strings, player names with special powers or story spoilers.
 
Status
Not open for further replies.
Top