Joined: February 24th, 2009, 1:31 pm Posts: 3815 Location: JEW LAND
Yes, but the encoder aint the problem, the problem is the DECODER (or is it the other way around?) I made my own tool that will generate that code for me, and making it public just seems dumb as it can read and write those codes (plus it had a few changes since then xD)
If you are using any other letters (I only use lower case letters so I removed all the capitals) or characters or w/e. Just add them to the line. It doesn't matter where. You can add + / . or w/e you like to use. Notice that the "-" key is in there along with the space.
Under endglobals
Spoiler:
Code:
function C2I takes string s returns integer local integer i=0 loop exitwhen i>=numChars if s==SubString(chars,i,i+1) then return i endif set i=i+1 endloop return -1 endfunction function Encode takes string s returns string local string ret="" local integer m=1 local integer c local integer n=StringLength(s) local integer i=0 loop exitwhen i>=n set m = m*5 set m = ModuloInteger(m,numChars) set c = m * C2I(SubString(s,i,i+1)) set c = ModuloInteger(c,numChars) set ret = ret + SubString(chars,c,c+1) set i=i+1 endloop return ret endfunction
Now, the activator will be - " 1qfp2r59" but the game will read it as "-cheats<space><space>" So all you gotta do is.
Code:
if (StringCase(GetEventPlayerChatString(),false)==Encode(" 1qfp2r59")) then //action endif
_________________
Spoiler:
(02:24:09)
Code:
ChatBot: FatherSpace logs into the Chat. (02:24:28) Lanaya: Gtfo ken. (02:24:33) ChatBot: FatherSpace logs out of the Chat. (02:24:40) Lanaya: Thought so. bitch. (02:24:44) ChatBot: FatherSpace logs into the Chat. (02:24:48) FatherSpace: Can I come back yet? (02:24:51) Lanaya: What'd i say earlier. (02:24:51) Lanaya: No. (02:24:58) FatherSpace: Let's try this... (02:25:01) ChatBot: Lanaya has been logged out (Kicked).
Code:
(14:33:51) 2Pac: Do you know what'S so funny? (14:34:01) Lanaya: No, please show me. (14:34:07) 2Pac: This. (14:34:09) ChatBot: Lanaya has been logged out (Kicked). (14:34:10) 2Pac:
Code:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^ (14:36:02) Lanaya: lolz. (14:36:16) 2Pac: I AIN'T DEAD FFS. (14:36:26) 2Pac: I'm a living legend, y'now. (14:37:17) haxorico: why is 2Pac a legend? (14:37:28) Lanaya: He's the worse rapper evar.
Code:
(15:42:51) Lanaya: can i suck , . . .
Code:
(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1. (13:55:21) ChatBot: haxorico rolls 1d2 and gets 2. (13:55:27) haxorico: owned?
Code:
GeorgeMots: xplain what happens in SP. Why cant you save? dast.-:i need play with 2 players
Code:
(21:53:08) (673237): plzplzplz, im sorry about before. (21:53:26) FatherSpace: I'm sorry you were born. (21:53:31) ChatBot: (673237) has been logged out (Kicked).
Code:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Joined: February 24th, 2009, 1:31 pm Posts: 3815 Location: JEW LAND
Not really, its a part of my encoder. My encoder has a lot more mathematical equations to do, its just random it doesn't matter. The only thing you can do with the encoder is follow the processes to find out the activator, but that will take you some time...
If you know coding, you can make a code-generator for that, to make up your own codes. This is a real simple one, and its only reason of use is to make it un-readable by first-looking-humans that check the activator for a map. If they want to edit the activator. They only need to change this:
if (StringCase(GetEventPlayerChatString(),false)==Encode(" 1qfp2r59")) then //action endif
to this
if GetEventPlayerChatString()=="newActivator" then // action
The encoder just wont be used... Not to mention I can change my encoder at every map by just changing 1 little thing, like adding another character to the string mix. This will change the word that was generated and will change the way the encoder is reading the name... This is a simple example of an encoder, and even if its public, mine isn't and you can always change it to make any-one not understand it if they already made a tool that reads it. (I made a generator and a Reader for mine...)
_________________
Spoiler:
(02:24:09)
Code:
ChatBot: FatherSpace logs into the Chat. (02:24:28) Lanaya: Gtfo ken. (02:24:33) ChatBot: FatherSpace logs out of the Chat. (02:24:40) Lanaya: Thought so. bitch. (02:24:44) ChatBot: FatherSpace logs into the Chat. (02:24:48) FatherSpace: Can I come back yet? (02:24:51) Lanaya: What'd i say earlier. (02:24:51) Lanaya: No. (02:24:58) FatherSpace: Let's try this... (02:25:01) ChatBot: Lanaya has been logged out (Kicked).
Code:
(14:33:51) 2Pac: Do you know what'S so funny? (14:34:01) Lanaya: No, please show me. (14:34:07) 2Pac: This. (14:34:09) ChatBot: Lanaya has been logged out (Kicked). (14:34:10) 2Pac:
Code:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^ (14:36:02) Lanaya: lolz. (14:36:16) 2Pac: I AIN'T DEAD FFS. (14:36:26) 2Pac: I'm a living legend, y'now. (14:37:17) haxorico: why is 2Pac a legend? (14:37:28) Lanaya: He's the worse rapper evar.
Code:
(15:42:51) Lanaya: can i suck , . . .
Code:
(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1. (13:55:21) ChatBot: haxorico rolls 1d2 and gets 2. (13:55:27) haxorico: owned?
Code:
GeorgeMots: xplain what happens in SP. Why cant you save? dast.-:i need play with 2 players
Code:
(21:53:08) (673237): plzplzplz, im sorry about before. (21:53:26) FatherSpace: I'm sorry you were born. (21:53:31) ChatBot: (673237) has been logged out (Kicked).
Code:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Joined: November 3rd, 2010, 10:48 am Posts: 1850 Location: Singapore
Title: Best Player
Smell like something good
_________________ Request a map? Follow the rulesHERE Request templateHERE Please, do not PM me. On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
Joined: November 3rd, 2010, 10:48 am Posts: 1850 Location: Singapore
Title: Best Player
Here's your Fai cheat pack
Spoiler:
This page is removed by an admin due to FaiCP is no longer available on wc3edit.
_________________ Request a map? Follow the rulesHERE Request templateHERE Please, do not PM me. On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
Joined: November 3rd, 2010, 10:48 am Posts: 1850 Location: Singapore
Title: Best Player
I'm sorry I can't give it to you because I'm overseas at the moment.
_________________ Request a map? Follow the rulesHERE Request templateHERE Please, do not PM me. On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
Users browsing this forum: No registered users and 25 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum