wc3edit.net

United Warcraft 3 map hacking!
It is currently March 28th, 2024, 3:36 pm

All times are UTC




Post new topic Reply to topic  [ 98 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next
Author Message
PostPosted: May 17th, 2012, 5:03 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
@Bart

I don't know if we were referring to same point. But let me demonstrate.

Some one made a map - For example - DotA
The map has alot of variables and function names etc...
The optimizer is going through the map, and does the following.

Before Optimization
Spoiler:
Code:
globals
constant integer AMOUNT_OF_PLAYERS_PLAYING=12
trigger Test_Trigger=CreateTrigger()
constant string ALL_PICK_COMMAND="ap"
constant string OPERATOR="-"
endglobals

function test takes nothing returns nothing
// stuff
endfunction

function main takes nothing returns nothing
local integer index=0
loop
exitwhen index>=AMOUNT_OF_PLAYERS
// do stuff
set index=index+1
endloop
endfunction


After you optimize it, it will look like this.

Spoiler:
Code:
globals
constant integer A=12
trigger B=CreateTrigger()
constant string C="ap"
constant string D="-"
endglobals

function a takes nothing returns nothing
//stuff
endfunction

function main takes nothing returns nothing
local integer i=0
loop
exitwhen i>=A
//stuff
set i=i+1
endloop
endfunction

Now, what happens if it runs through all the alpha bet? It makes 0A 0B.... ZZ
Whe if it runs out of 2 character combination? Go to 3 etc..
It will take a massive amount of variables and function to make it actually go to lets say..
local integer zzz=0

O wait, that loops so familiar..
Isn't that the code from JJ CP? (Check the function main part)
If you notice, JJ2197 used only 3 characters or more for the variables and function names..

Code:
local player p
wouldn't work on a map that is optimized. but
Code:
local player p2p
will, and now you have a method of remembring, instead of p or i or s or w/e you use. just use
i2i - p2p - s2s etc.. and see how easy it becomes. That is how JJ's CP is build
local unit u2u
local group g2g
local string s2s

and it goes on and on.
This way, optimized maps won't counter this.
That is also why, the way to delete dota anti-cheats is to optimize the map. As DotA has the same variable and function names as Fai and JJ's CPs.

_________________
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 17th, 2012, 6:30 pm 
Offline
Forum Spammer

Joined: March 30th, 2009, 9:02 pm
Posts: 682
thought it doesnt matter if you repeat locals o.o

ex:
function blank takes nothing returns nothing
local integer x=0
endfunction
function blank2 takes nothing returns nothing
local integer x=1
endfunction

would the two x's conflict? O.o


Top
 Profile  
 
PostPosted: May 17th, 2012, 7:07 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
No, that is the thing about a local variable.
But if its on the same function it will conflict. That is why the function-main part of JJ2197's CP, has local integer zzz=0
You will need a shitload of stuff to get a variable that is zzz!
But if you have the following.

globals
string s2s="test"
endglobals

function test takes nothing returns nothing
local string s2s
endfunction

it will crash.

_________________
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, 7:51 am 
Offline
Forum Staff
User avatar

Joined: October 18th, 2010, 8:43 am
Posts: 626
haxorico wrote:
And then it won't work because almost every map is optimzed and will have the same function and variable names.

>Use a custom charset. Problem solved

_________________


Top
 Profile  
 
PostPosted: May 18th, 2012, 8:14 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
Nuuby wrote:
haxorico wrote:
And then it won't work because almost every map is optimzed and will have the same function and variable names.

>Use a custom charset. Problem solved


Wasn't that my whole point? Don't use stuff that are less than 3 characters long.

easiest way to do so is have some kind of definition.
On the CP I'm working on I have the following

string haxActivator

or you can use

string cpActivator.

Just make sure you have your definition word at the beginning of every function/variable and it will be easy to understand and remember.

_________________
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: August 13th, 2012, 4:53 am 
Offline
Member
User avatar

Joined: March 18th, 2011, 1:05 pm
Posts: 65
Title: so sad
SgGuy's Cheat Menu, not to be download. please someone sends me a SgGuy's Cheat Menu, thanks in advance for anyone to do this


Top
 Profile  
 
PostPosted: August 13th, 2012, 7:49 pm 
Offline
Tyrannical Drama Queen
User avatar

Joined: November 19th, 2007, 5:05 am
Posts: 5014
anhMCP wrote:
SgGuy's Cheat Menu, not to be download. please someone sends me a SgGuy's Cheat Menu, thanks in advance for anyone to do this


Please check the main post again. It's been edited to reflect a...policy change.


Top
 Profile  
 
PostPosted: August 14th, 2012, 7:39 am 
Offline
Member
User avatar

Joined: March 18th, 2011, 1:05 pm
Posts: 65
Title: so sad
Bartimaeus wrote:
anhMCP wrote:
SgGuy's Cheat Menu, not to be download. please someone sends me a SgGuy's Cheat Menu, thanks in advance for anyone to do this


Please check the main post again. It's been edited to reflect a...policy change.


sorry a few days ago I saw "SgGuy's Cheat Menu" not download anymore, so I asked for help, but i thank you for answering me quickly


Top
 Profile  
 
PostPosted: November 11th, 2012, 2:46 am 
Offline
Newcomer

Joined: October 3rd, 2012, 7:39 am
Posts: 11
mods, I've make a new cheatpack and I requested to add it here.

My cheatpack: deprotection-cheating-f64/kelvin-s-cheatpack-v1-3-1-t26611.html


Top
 Profile  
 
PostPosted: November 11th, 2012, 8:34 am 
Offline
Forum Staff

Joined: November 3rd, 2010, 10:48 am
Posts: 1850
Location: Singapore
Title: Best Player
kelvin5989 wrote:
mods, I've make a new cheatpack and I requested to add it here.

My cheatpack: deprotection-cheating-f64/kelvin-s-cheatpack-v1-3-1-t26611.html


Request rejected.
Reason: Firstly everyone can make that. Furthermore, it has no new features to original cp. Instead, you copyrighted, shouldn't even have your name for the work. And finally, it is useless and no one except you will use it.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 98 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)