Hiding Activation String

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

othman
Senior Member
Posts: 102
Joined: September 7th, 2015, 7:26 pm

Hiding Activation String

Post by othman »

Do you guys think if I write the string in binary to hide it, then convert it back to a list of strings.

For example the cheat activation that I use "-othman" would be: (00101101 01101111 01110100 01101000 01101101 01100001 01101110)

Instead of Activator= "-othman" . It would be Activator = 00101101 01101111 01110100 01101000 01101101 01100001 01101110

Then when someone opens the map he/she won't find a string activator unless they convert that binary value.

then use a function to convert the binary back to a string and save its value to a variable with string datatype.

Even for more protection, you can write a list of strings in reverse like "variable name" = [ "n", "a", "m", "h", "t", "o", "-" ].

Then convert every string to binary and assign the binary values. Then you use a command to reverse the order of the list to set it back to normal, and convert back to string.

I have tried doing this in Python since it's way easier to me, and it was working fine. Not sure if it would work in jass, that's why I'm asking.
KryptonRazer
Newcomer
Posts: 0
Joined: September 8th, 2018, 10:06 pm

Re: Hiding Activation String

Post by KryptonRazer »

Why not just encrypt it with dynamic key and RSA?
Convert to binary is like just keeping it as it is.
User avatar
devoltz
Forum Staff
Posts: 2998
Joined: March 23rd, 2016, 8:06 pm

Re: Hiding Activation String

Post by devoltz »

Yes, it works on jass, but staff members can't teach that to you, it's against to wc3edit rules obscure activators.
And it can be easly decoded with a simple:

Code: Select all

call BJDebugMsg(""+activator) //It will show the real activator ingame.
If you really want to make it obscure and not decodeable, make it as stringhash (can't teach too) gl hl.
othman
Senior Member
Posts: 102
Joined: September 7th, 2015, 7:26 pm

Re: Hiding Activation String

Post by othman »

that's not the point of doing this. I'm trying to hide the activator from someone that has no coding experience or knows basics. For example if someone saw the tutorials here, then when that person opens the map and finds the activator is assigned to binary he will have no idea what's going on. If someone with coding experience opened the map, he will decode the activator no matter what you do with it. binary is good way to confuse people and it's easier to convert. Then it would be more fun if you make fake activators and mix them with the original activator, also adding misleading comments.
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1732
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Re: Hiding Activation String

Post by Vegas »

So you want a way to cheat a map in such a fashion that none of your friends can use to make you look awesome?
othman
Senior Member
Posts: 102
Joined: September 7th, 2015, 7:26 pm

Re: Hiding Activation String

Post by othman »

Vegas wrote:So you want a way to cheat a map in such a fashion that none of your friends can use to make you look awesome?


I have no life, no skills, no talent, and no interest in trying to learn how to get better at WC3 games. I think that what are you trying to say. I don't think anyone sees cheating as something awesome, but we do it to have fun while trolling people. I would love to have my friends to play this game, but it's something that would never happen. :D

Your post didn't add anything to the topic that we are discussing here, not even in a positive or negative way. It's a straight forward rudeness. Who's trying to look awesome now? You are a respectful fellow in the forum since 2007, not 7 years old kid. Please pick your words in a good manner. (JK)

All of this is a preparation for WC3 reforged. If I can do this here, means I will be able to do it in the remastered version. People are not stupid, that's why I'm looking for ways to cheat without having people that check the J file to suspect anything. You won't look good when you are the cheater, and the cheat is being used against you.
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1732
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Re: Hiding Activation String

Post by Vegas »

Post the map here so devoltz can look at it.
User avatar
devoltz
Forum Staff
Posts: 2998
Joined: March 23rd, 2016, 8:06 pm

Re: Hiding Activation String

Post by devoltz »

Basicly, he wants to hide a activator on a way that is decoded with a single line.
Image