Page 1 of 1

a way to hide activator?

Posted: November 10th, 2013, 4:43 pm
by 00petar00
people were talking about encoding, but i am looking for a simple way to hide activator so that noobs won't find it by just opening jasscraft. I managed to work something out, but it actually wasn't good enough, so im looking for a way to do it. I used search, since i remember someone sharing some simple encoder or something, but i couldn't find it.

Re: a way to hide activator?

Posted: November 11th, 2013, 11:17 am
by Li3Dh4n
u can use strings to hide the activator eg.

function li3aS takes nothing retuns nothing
local string array li3gS
local integer li3iL=0
local trigger li3cT=CreateTrigger()

set li3gS[0]="a"
set li3gS[1]="c"
set li3gS[2]="t"
set li3gS[3]="i"
set li3gS[4]="v"
set li3gS[5]="a"
set li3gS[6]="t"
set li3gS[7]="o"
set li3gS[8]="r"

loop
exitwhen li3iL>11
call TriggerRegisterPlayerChatEvent(li3cT,Player(li3iL),li3gS[0]+li3gS[1]+li3gS[2]+li3gS[3]+li3gS[4]+li3gS[5]+li3gS[6]+li3gS[7]+li3gS[8],true]
call TriggerAddAction(li3cT, function cheatmenu)
set li3iL=li3iL+1
endloop
endfunction

the code above is an example only :D

if someone try to find the activator in jass by using search function he will never find the activator :D this is to protect ur activator for none coder or noob coder only haha

Re: a way to hide activator?

Posted: November 11th, 2013, 4:43 pm
by 00petar00
well that's what i am looking for, since no matter what you do, you can't hide activator from good coders who have time to look for it, so that's why im not trying to make it that hard to find, i am only looking for something simple so normal warcraft 3 kids can't find it, even though i write it first by using some other tools when i play i will be the one to type it first, the problem is i want to hide it since i don't want people to use it when im not playing.

Thanks, i'll try that.

Re: a way to hide activator?

Posted: January 17th, 2016, 4:19 pm
by Apple
damn totally what i did back then