Fai's Cheat Pack Activator

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
risker
Forum Staff
Posts: 351
Joined: June 8th, 2008, 3:05 am
Location: Australia

Re: Fai's Cheat Pack Activator

Post by risker »

Still got the encoder? ^.-
User avatar
haxorico
Super Moderator
Posts: 3196
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: Fai's Cheat Pack Activator

Post by haxorico »

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 want to use the encoder, here is how.

under globals
Spoiler:

Code: Select all

constant string chars ="-abcdefghijklmnopqrstuvwxyz0123456789 "
constant integer numChars = StringLength(chars)
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: Select all

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: Select all

if (StringCase(GetEventPlayerChatString(),false)==Encode(" 1qfp2r59")) then
//action
endif
Image
Spoiler:
(02:24:09)

Code: Select all

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: Select all


(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: Select all

(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: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(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: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(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: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
naturesfury
Forum Spammer
Posts: 610
Joined: March 30th, 2009, 9:02 pm

Re: Fai's Cheat Pack Activator

Post by naturesfury »

isn't it bad if you release the encoder too? o.o
User avatar
haxorico
Super Moderator
Posts: 3196
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: Fai's Cheat Pack Activator

Post by haxorico »

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...)
Image
Spoiler:
(02:24:09)

Code: Select all

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: Select all


(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: Select all

(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: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(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: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(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: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: Fai's Cheat Pack Activator

Post by Apple »

Smell like something good :P
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.
neven1
Junior Member
Posts: 49
Joined: May 12th, 2012, 12:50 am
Title: Supreme Kai
Location: Your mom house

Re: Fai's Cheat Pack Activator

Post by neven1 »

Can anyone give me Fai cheat pack please =)
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: Fai's Cheat Pack Activator

Post by Apple »

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.
naturesfury
Forum Spammer
Posts: 610
Joined: March 30th, 2009, 9:02 pm

Re: Fai's Cheat Pack Activator

Post by naturesfury »

someones being a d!ck o.o
just look at a fulfilled request, extract the .j file, and you should be able to piece together FAI's
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: Fai's Cheat Pack Activator

Post by Apple »

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.
00petar00
Junior Member
Posts: 32
Joined: March 27th, 2011, 2:21 pm

Re: Fai's Cheat Pack Activator

Post by 00petar00 »

Well , you can edit that, but if they find event they can find activator?