
Tools you'll need:
Sure a cheatpack

Global
Endglobal
Function main after local
*Note: The Global/Endglobal/Function main after local is JJ's pack. I separate into 3 part so can be easily understand.
Jasscraft
MPQMaster
Or another MPQEditor aka Ladik's MPQEditor : http://forum.wc3edit.net/download/file.php?id=2906
---------------------------------------------------------------------------
Download all of them so we can start.
Well, if you downloaded the Global/Endglobal/Function main after local that 3 things, make sure its a .txt files.
---------------------------------------------------------------------------
1st.Find a map you want to cheat. I'll use X_hero_siege 3.28 as example.
Now, open up MPQMaster and press "Open".
Spoiler:
2nd.Find your map. I'll use xherosiege for example, and then click open. After you clicked open, you'll be bring to another popup.
Spoiler:
---------------------------------------------------------------------------
3rd.You has successfully open up your map on MPQMaster. Now, you need to do is find "war3map.j" this file. Sometime its stored at "Script" folder BUT sometime not! After you found your war3map.j, right click it and then extract it.
Spoiler:
4th.War3map.j has been extracted yea? Now open up jasscraft, and then use Jasscraft open the war3map.j.
Click the thing as image show.
Spoiler:
5th.Ok, the fun begin. After you open up your war3map.j @ jasscraft, the first thing you see on first line is "globals" right? Exactly, put the first part aka "Globals.txt" under/below it!
Spoiler:
6th.After that, do control+f aka ctrl+f and then search "endglobals" without " ", click "Find Next".
Spoiler:
7th.Put the second part aka "Endglobals.txt" under/below endglobals.
Spoiler:
8th.Again, after you put the second part under endglobals. Do control+F aka ctrl+F again, now search for function main.
Spoiler:

---------------------------------------------------------------------------
9th.Found "function main takes nothing returns nothing" and make sure its not "function main2 takes nothing returns nothing"? Ok, put the last part aka "Function main.txt" after ALL OF THE LOCALS!
Spoiler:
10th.Whats next???? No more, done!

File ---> Save all OR do control+shift+S
Spoiler:
11th.Now, go back to MPQMaster and then find the UN-edited war3map.j. Right click the UN-edited war3map.j and choose "Add File(s)". After you clicked that, another window will popup. At that window, look for your edited war3map.j and then replace it!
Spoiler:
12th.It'll ask you replace or not, choose YES! and your done!
Spoiler:
13.th(*Optional)*NOTE : IF YOU FOUND ANY (attributes) FILE, DELETE IT IMMEDIATELY FROM MPQMASTER. ELSE THE MAP WILL CRASHES AND NO LONGER WORK.
If you have any questions, feel free to ask me


Other helpful guides:
http://forum.wc3edit.net/deprotection-c ... 15335.html
http://forum.wc3edit.net/map-deprotecti ... 10059.html
http://forum.wc3edit.net/map-deprotecti ... t2913.html
http://forum.wc3edit.net/map-deprotecti ... t5725.html
Cheatpacks available at our site:
http://forum.wc3edit.net/map-deprotecti ... t5134.html
Credits:
Me for making this guide.
Dekar for the site (http://wc3edit.net)
JJ2197 for JJ's CP.
FatherSpace for fixing JJ's CP work on 1.24b
Senethior and UndeadxAssasin for the MAJOR step.