wc3edit.net

United Warcraft 3 map hacking!
It is currently April 27th, 2024, 10:48 am

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: April 24th, 2012, 5:08 am 
Offline
Forum Staff
User avatar

Joined: June 8th, 2008, 3:05 am
Posts: 370
Location: Australia
Still got the encoder? ^.-

_________________
www.missingninja.com


Top
 Profile  
 
PostPosted: April 24th, 2012, 5:34 am 
Offline
Super Moderator
User avatar

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

under globals
Spoiler:
Code:
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:
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

_________________
Image
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?


Top
 Profile  
 
PostPosted: April 24th, 2012, 9:25 am 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
isn't it bad if you release the encoder too? o.o


Top
 Profile  
 
PostPosted: April 24th, 2012, 1:37 pm 
Offline
Super Moderator
User avatar

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...)

_________________
Image
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?


Top
 Profile  
 
PostPosted: May 18th, 2012, 1:41 pm 
Offline
Forum Staff

Joined: November 3rd, 2010, 10:48 am
Posts: 1850
Location: Singapore
Title: Best Player
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.


Top
 Profile  
 
PostPosted: May 28th, 2012, 7:53 pm 
Offline
Member
User avatar

Joined: May 12th, 2012, 12:50 am
Posts: 77
Location: Your mom house
Title: Supreme Kai
Can anyone give me Fai cheat pack please =)


Top
 Profile  
 
PostPosted: May 29th, 2012, 1:01 am 
Offline
Forum Staff

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.


Top
 Profile  
 
PostPosted: May 29th, 2012, 1:12 am 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
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


Top
 Profile  
 
PostPosted: May 29th, 2012, 2:10 pm 
Offline
Forum Staff

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.


Top
 Profile  
 
PostPosted: May 30th, 2012, 4:21 pm 
Offline
Junior Member

Joined: March 27th, 2011, 2:21 pm
Posts: 36
Well , you can edit that, but if they find event they can find activator?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 22 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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)