wc3edit.net

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

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

Did this help you?
Yes 52%  52%  [ 47 ]
No 22%  22%  [ 20 ]
Kinda 26%  26%  [ 23 ]
Total votes : 90
Author Message
PostPosted: June 19th, 2008, 1:55 pm 
Offline
Legendary Genius
User avatar

Joined: August 8th, 2007, 8:10 am
Posts: 1318
Location: St. George Utah
Title: Legendary GeniusĀ²
Well I am going to start out with the easy way...

First search (Ctrl + F) for "-save" you'll end up seeing something probably
like this:
call TriggerRegisterPlayerChatEvent(SaveTrigger,Player(0),"-save",true)

The part in red is the name of the Saving Trigger.
Now search for DisableTrigger(SaveTrigger) and delete them.
Next look for CustomDefeatBJ and delete all of them.
That's the easy way to do it...

This is the harder way to do it, should do this if easy way doesn't work.
First search for PLAYER_SLOT_STATE_PLAYING, there may be more than one.
Now it will most likly either be one that is looped or one for each player.
If there is one for each player most likly you'll see right under them functions
that add to a variable, like set X = X + 1. This variable is how it tells how many
people are in the game. What you want to do is search X (Make sure to check
Match whole words and Match case). Then click Find next till you see something
like X=<1,X=1,X<2 or something that makes it only work if it's one. Now just change
the number to 0. There may be more then one checker, so make sure to get them all.
As for the looped one, there will be more than one X = X + 1 the one that won't be it
will be the one that is with exitwhen X>11. Here is an example:

loop
if GetPlayerSlotState(Player(A))==PLAYER_SLOT_STATE_PLAYING then
set X = X + 1
endif
set A = A + 1
exitwhen A>11
endloop

A is what you want to ignore and X is what you want to look for.

Well that's pretty much it... if you have any questions just post...

(edit by Bartimaeus) I'm just going to add this to the tutorial, since I see no reason why not.

First of all, if there's a special message that displays, or a defeat message, when you play single player, keep it in mind. Next, open the .j file in the map. If it's not STVN, (shortest trigger/variable names), then you should probably just search for save, or single player, delete the defeats, or enable the disabletriggers.

If it IS STVN, then you search for that special message I mentioned earlier. If it's not there, look in the .wts file in the map, and search for that instead. Find out the number of string, and search for it in JassCraft. If it's a defeat, just delete the defeat, and you're done. If there's no defeat, but you see a destroy/disable trigger, then you should enable them, instead. Or, if there's another trigger being run as a result, then follow the name of the trigger that's being run, and just go from them.

_________________
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC


Who is online

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