i know its possible to add a password you must type within x minutes and if you dont type it the game kicks you
who can give me lines i must add in a normal JJCP activated by name to add that password
thanks in advice
Re: [JASS]Password to counter spoofers
Posted: August 22nd, 2013, 11:23 pm
by haxorico
It is possible. But it the password can be found. The question is, how good can you hide it? I made an encoder back in the day, still if you follow the process it can be found and used.
But a simple example for JJ's CP as you asked is a rather easy thing to do.
trigger PASSWORD_TRIGGER=CreateTrigger() boolean PASSWORD_CHECK=false constant string PASSWORD="Code" constant real TIME_TO_KICK=30.0
Replace the data in the variables. PASSWORD contains the code and TIME_TO_KICK is the time you have to write the code until you are kicked.
Re: [JASS]Password to counter spoofers
Posted: December 20th, 2013, 3:10 pm
by eddydu555
Thanks alot bro you're the best
EDIT: After testing it i found out that the game crashs as soon as you click on the cheated map i used basic JJCP and added your globals and replaced "function StringRaw2 takes nothing returns nothing" with the password functions and the new stringraw2
EDIT2:I though about something,is it possible to make the guy who doesnt type the pass in time crash instead of disconected ?
Re: [JASS]Password to counter spoofers
Posted: February 24th, 2016, 3:51 pm
by p94444270
help me ! I can't add password if add it can't kick player.
Fix : function checkSpoofer takes integer spooferId returns nothing call TriggerSleepAction(TIME_TO_KICK) if PASSWORD_CHECK then