can anyone help me on putting codes at map..dont understand

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

meau2121
Newcomer
Posts: 4
Joined: November 4th, 2008, 5:20 pm

can anyone help me on putting codes at map..dont understand

Post by meau2121 »

can anyone pls help me out? add me at my messenger [email protected] kinda confused dont know wht to do with global englobal and something like that..can anyone?plss!
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: can anyone help me on putting codes at map..dont understand

Post by Senethior459 »

It's simple. Open the map you want to cheat in MPQMaster. Then, find the file called war3map.j. It will either be in the root folder, or in a folder named scripts (case doesn't matter). Right click on it, and choose extract. Put it on your desktop, and now open it in Jasscraft. The first line should say globals. Add a new line under it, and paste all the stuff from the globals section of the cheatpack. Then hit Ctrl+F, input endglobals, and skip down to it. Add a new line under the line with endglobals in it, and paste in the endglobals part of the cheatpack. Then, hit Ctrl+F once more, input function main, and skip down to it. Under the function main takes nothing returns nothing, you may or may not see some lines beginning with local. If there are no lines beginning with local, then add a new line below the function main line, and paste in the function main parts of the cheatpack. If there are some lines beginning with local, find the last one, add a new line under it, and paste in the function main parts of the cheatpack. Now, press F9 to do a quick syntax check. If no errors are reported, then hit Ctrl+S to save, and exit out of Jasscraft. Open up the map in MPQMaster again and find the war3map.j again. Delete it, and add the saved one from your desktop into the map. Then, hit the Options menu in the bar up top, and choose Compact (Flush). Once it finishes, go ahead and exit. The map is cheated.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
meau2121
Newcomer
Posts: 4
Joined: November 4th, 2008, 5:20 pm

Re: can anyone help me on putting codes at map..dont understand

Post by meau2121 »

where should i get the thing to paste on the global??? this is the part that im confused...eheh.
Kirby999
Member
Posts: 81
Joined: October 24th, 2008, 9:14 pm

Re: can anyone help me on putting codes at map..dont understand

Post by Kirby999 »

Did u even look at the guides lol?
Image
meau2121
Newcomer
Posts: 4
Joined: November 4th, 2008, 5:20 pm

Re: can anyone help me on putting codes at map..dont understand

Post by meau2121 »

ive look at it..just seeing print screen...can anyone plss add me at my YM...so i can understand it.
User avatar
BlueBean
Forum Staff
Posts: 237
Joined: October 24th, 2008, 8:37 am
Title: 87

Re: can anyone help me on putting codes at map..dont understand

Post by BlueBean »

Kirby999 wrote:Did u even look at the guides lol?
If you don't want to help just shhh....

Whats your YM, pm me. I'll help you.
meau2121
Newcomer
Posts: 4
Joined: November 4th, 2008, 5:20 pm

Re: can anyone help me on putting codes at map..dont understand

Post by meau2121 »

here is my YM [email protected]
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: can anyone help me on putting codes at map..dont understand

Post by Senethior459 »

Uhh... Well, for JJ2197's cheatpack, you can get the jass to paste in at this link: http://forum.wc3edit.net/map-deprotecti ... t2913.html
Just scroll down a bit, and you'll see some spoilers under some sections. The spoiler under the word Globals contains the part that should be pasted under the globals, the spoiler under the word Endglobals contains the part that should be pasted under the endglobals, the spoiler under the phrase Function Main contains the part that should be pasted where I said for the function main part. Why the hell do I keep typing contrains instead of contrains? Dammit, CONTAINS! Uhh, so my apparent dyslexia aside, that's where you can get the codes to paste them in. Oh, if you don't know what a spoiler is:
Spoiler:
The stuff would be contrained (OMFG I CANT STOP IT!!!) in these.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle