wc3edit.net

United Warcraft 3 map hacking!
It is currently December 18th, 2017, 3:18 am

All times are UTC




Post new topic Reply to topic  [ 460 posts ]  Go to page 1, 2, 3, 4, 5 ... 46  Next
Author Message
PostPosted: March 19th, 2009, 10:26 pm 
Offline
Forum Staff
User avatar

Joined: January 1st, 2008, 12:58 am
Posts: 862
Note: I haven't played / cheated any wc3 maps in a long while, thus I probably won't reply to a "Oh mah gahd, I need halp!" PM. I might make a cheating guide for SC2, depending on how SC2 generally is.

Due to all of the requests I've seen from here, I've decided to create a little guide to teach you how to either deprotect, insert a cheatpack, or enable singleplayer.

First off, we'll need these things:

MPQMaster
JassCraft
x-Dep
RMPQEx

For versions 1.24 and above, use the codes found here: deprotection-cheating-f64/jjcp-1-24b-e-t13526.html

The first guide is deprotection. I'll go ahead and split the three parts into spoilers for better view.
P.S.: You don't have to deprotect to do enable singleplayer or insert a cheatpack. You can completely skip this if you don't plan to completely change your map.

Spoiler:
I'm using Battlestadium DON as an example, since it's right here in my maps folder and it has plenty of files. First off, go ahead and open the map with RMPQEx: Make sure you "auto search", and "add listfile". (find the listfile that came with x-Dep and use it.) We need to get a complete listfile; listfiles are lists of the filenames, and without a listfile the filenames would be "file00001.xxx" or something similar.

Image

Pictures help you see where you are and where you're supposed to be, so I made a bunch of screenshots.
Next, save the listfile, and put it in the x-Dep folder as well as your map.

Image

To save a little time, open up the x-Dep configuration settings and change your first line to what mine is:

Image

After you've done that, rename your map name to mymap.w3x so that x-Dep will use it. Also, make sure your listfile is named "listfile.txt". Run x-Dep after you've ensured both of these things.

Image
Since Battlestadium is primarily a Chinese map, SILK Object Console has problems dealing with it. So for now, my Battlestadium DON isn't deprotected completely, but most maps don't use the Widgetiser tool, so most of the time you won't need to worry about it.

(P.S.: Any map that MPQMaster won't open has their MPQ header damaged. Extract all of the files, and then try to use MPQEditor to generate a new .w3x archive with all of the files.)


Second guide, adding a cheatpack.

Spoiler:
I'll be using Twilight ORPG v1.11 as an example, and since it's played rather frequently and easy to crack, it's a good example. Go ahead and run MPQMaster, open your map, select your listfile, and your map should be opened.

If you see a file called "Attributes", DELETE IT, as it'll crash your game after editing the .j file. Now, we'll be looking for the war3map.j, and it'll be either at the bottom of the page, or in a folder called scripts at the top.

Image

I'll go ahead and open up scripts, and here's my war3map.j file.

Image

The war3map.j file is basically the triggers, and a few other things are stored in it, too. You should hopefully know that. Next, we'll go ahead and extract it to desktop.

Image

When you get it on desktop, open JASSCraft and open up that .j file.

Image

As you see, I highlighted "globals": that's where all the variables and triggers are set. Our key places for the cheatpack are "globals", "endglobals" and "function main".

You should already have JJ's CP open in notepad. Next, I copied the "globals" part of the CP and pasted it under globals in the .j file.

Image

After you've done that, use CTRL+F and search for "endglobals". Look here:

Image

Now, find the "endglobals" part of JJ's CP and copy it. Paste it under endglobals like I've done.

Image

Now, Search for "function main". Once you've found it, copy JJ's "function main" part of his CP, and paste it. NOTE: If you see "locals" under the function main, paste JJ's part AFTER them.

Code:
function main takes nothing returns nothing
local something
local weathereffect e
local rawr
local blah
[JJ's CP]
endfunction


Image

After you've done that, do a syntax check to make sure you didn't make any mistakes.

Image

After that, save.

Image

Close JassCraft, go to desktop, open MPQMaster and find the war3map.j again. Right click it and use "add files".

Image

Add your *new* war3map.j.
After you've done that, you'll need to flush the map:
"--> Operation --> Compact(Flush)"

Image

Walah! You've successfully inserted a cheatpack.


Third guide: Enabling SinglePlayer.

Spoiler:
Open your war3map.j in JassCraft, CTRL+F, and search for "singleplayer".

Image

Why search for singleplayer? Most anticheat functions use "bj_isSinglePlayer" to detect if you're in a singleplayer game. If it is a singleplayer game, it kicks you, disables the save/load functions, or some other horrible thing that prevents you from playing.

Anyways, you should come across something like this:

Image

Copy what I did here:

Image

Make sure you don't delete the function itself, but delete the functions that relate to "bj_isSinglePlayer".

Image

Image

After you're done, do a syntax check, and you should know the rest. Reinsert the *new* .j file into your map.

Image

Have fun cheating!


If you have any questions, feel free to ask, and me or another staff member will add them to the Q&A.

- Q&A -
Spoiler:
Q 1.)Do I need to deprotect my map to add a cheatpack or enable singleplayer?

A.) Nope, you can do either of the three without needing to do the other.


You do not have the required permissions to view the files attached to this post.


Last edited by Bartimaeus on June 6th, 2013, 7:50 pm, edited 17 times in total.

Top
 Profile  
 
PostPosted: March 20th, 2009, 12:54 am 
Offline
Forum Staff
User avatar

Joined: June 2nd, 2007, 6:53 pm
Posts: 2725
Title: I Just Lost the Game
Very nice. Hopefully, the number of requests will drop somewhat, as people will learn to do it on their own from this.

Oh, and I have one question. Would you like to play a game, professor?
Seriously, whatever font JassCraft is using looks a lot like the ones they used in War Games.


Top
 Profile  
 
PostPosted: March 20th, 2009, 1:04 am 
Offline
Forum Staff
User avatar

Joined: January 1st, 2008, 12:58 am
Posts: 862
Senethior459 wrote:
Very nice. Hopefully, the number of requests will drop somewhat, as people will learn to do it on their own from this.

Yeah, I noticed there's a shitload of requests.

Senethior459 wrote:
Oh, and I have one question. Would you like to play a game, professor?

What's that supposed to mean? o.O...
Senethior459 wrote:
whatever font JassCraft is using looks a lot like the ones they used in War Games.

Lol, I customized my JassCraft a little bit, Including adding vJass hotkey templates =), The text is 'Letter Gothic Std'


Top
 Profile  
 
PostPosted: March 20th, 2009, 6:59 pm 
Offline
Junior Member
User avatar

Joined: March 10th, 2009, 2:27 am
Posts: 47
Location: SOme part of hell
THANK YOU VERY MUCH......^^

this Guide really helps me thank you ...^^


Top
 Profile  
 
PostPosted: March 20th, 2009, 8:59 pm 
Offline
Forum Staff
User avatar

Joined: January 1st, 2008, 12:58 am
Posts: 862
Woot, No problem mate.


Top
 Profile  
 
PostPosted: March 20th, 2009, 9:07 pm 
Offline
Forum Staff
User avatar

Joined: March 17th, 2008, 12:07 am
Posts: 1488
You guys do know that we already have a guide for all these...
actually, we have two for deprotecting... a guide for each CP...
and JJ's guide for enabling SP... We could have just put all those
into one post...? Also, you only showed JJ's CP.

Anyways, it's pretty nice I guess. Though if you wanted to make
it better, I'd suggest reducing the size of the pictures... they're a
little big... you could crop out most of the picture and just show
you what need.


Top
 Profile  
 
PostPosted: March 20th, 2009, 9:20 pm 
Offline
Forum Staff
User avatar

Joined: January 1st, 2008, 12:58 am
Posts: 862
Most of the guides are outdated and bad format.
And err.. I'm a little too lazy to recrop/reduce size =)


Top
 Profile  
 
PostPosted: March 25th, 2009, 4:46 pm 
Offline
Newcomer

Joined: March 25th, 2009, 4:35 pm
Posts: 10
Thanks for the detailed guide, it is really good enough for dummies like me too, especially with screenshot, I was so delighted when I saw the deprotected map, but still can't open it.

I attempted on Castle Fight v1.13b.

Please help me? :(


Top
 Profile  
 
PostPosted: March 26th, 2009, 9:55 am 
Offline
Junior Member
User avatar

Joined: March 10th, 2009, 2:27 am
Posts: 47
Location: SOme part of hell
what do you mean you cant open it ? in world editor?


Top
 Profile  
 
PostPosted: March 26th, 2009, 3:33 pm 
Offline
Newcomer

Joined: March 25th, 2009, 4:35 pm
Posts: 10
gudluck01 wrote:
what do you mean you cant open it ? in world editor?




yes.. I cannot open Castle Fight in world editor. the map after deprotect is called "deprotected".

http://gex.eeve.org/index.php Castle Fight v1.13b - very fun game



my error is as follows when i attempt to open:

This application has encountered a critical error:
Not enough storage is available to process this command.
Program: f:\program files\warcraft iii\worldedit.exe
Object: WERandomGroupSet(.?AUWERandomGroupSet@@}



Please help me unlock it. Greatly appreciated!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 460 posts ]  Go to page 1, 2, 3, 4, 5 ... 46  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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)