wc3edit.net

United Warcraft 3 map hacking!
It is currently January 6th, 2009, 11:19 am

 

All times are UTC




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

Did this help you?
Yes 43%  43%  [ 19 ]
No 27%  27%  [ 12 ]
Kinda 29%  29%  [ 13 ]
Total votes : 44
Author Message
 Post subject: [Guide] How to enable single player (By: JJ2197)
PostPosted: June 19th, 2008, 1:55 pm 
Offline
Co-Admin
User avatar

Joined: August 8th, 2007, 8:10 am
Posts: 1290
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. This is what I did. Or, if there's a runtrigger, then follow the name of the trigger that's being run, and just go from them. You'll find it eventually.

_________________
Want to send me a personal request? Go here
Got a really stupid question to ask? Well don't bother me...


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 7th, 2008, 5:11 pm 
Offline
Newcomer

Joined: August 1st, 2008, 12:40 pm
Posts: 6
When I do this, it works. Then, I come back in and use a cheat before saving, then I save and the save code stops working. It's either too big or too small. Help?


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 7th, 2008, 8:10 pm 
Offline
Newcomer

Joined: August 7th, 2008, 8:54 am
Posts: 1
man i dont find call TriggerRegisterPlayerChatEvent(SaveTrigger,Player(0),"-save",true) i find only this call TriggerRegisterPlayerChatEvent(Wq,Player(0),"-save",true)......are the same?


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 8th, 2008, 12:43 am 
Offline
Co-Admin
User avatar

Joined: August 8th, 2007, 8:10 am
Posts: 1290
Location: St. George Utah
Title: Legendary Genius
The "SaveTrigger" was just an example... It could be any name really...

_________________
Want to send me a personal request? Go here
Got a really stupid question to ask? Well don't bother me...


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 8th, 2008, 5:04 am 
Offline
Newcomer

Joined: April 12th, 2007, 2:43 am
Posts: 8
Location: STALKER!!!
JJ2197 wrote:
The "SaveTrigger" was just an example... It could be any name really...

Some people are just..... dumb :/ (No offense)

_________________
"Sticks and stones may break my bones, but words will never hurt me!" Ouch! MY ARM!! YOU BROKE MY ARM!!


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 8th, 2008, 6:23 pm 
Offline
Super Moderator
User avatar

Joined: June 8th, 2007, 5:08 am
Posts: 996
Location: Malaysia
Title: Not a Hacker
Thanks for the info...
it would be better if you have an example for the "save" trigger.

_________________
ImageImageImage


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 10th, 2008, 3:25 pm 
Offline
Member
User avatar

Joined: August 6th, 2008, 11:00 am
Posts: 33
thank :lol:
i know how to enable single player. :lol:

_________________
Image


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 15th, 2008, 1:40 am 
Offline
Member

Joined: March 2nd, 2008, 4:11 am
Posts: 91
Maybe u should make a vidoe how to do it

_________________
rawr


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 15th, 2008, 5:38 am 
Offline
Co-Admin
User avatar

Joined: August 8th, 2007, 8:10 am
Posts: 1290
Location: St. George Utah
Title: Legendary Genius
Well the thing is almost every map is differnt, so making a video won't help alot...

_________________
Want to send me a personal request? Go here
Got a really stupid question to ask? Well don't bother me...


Top
 Profile  
 
 Post subject: Re: [Guide] How to enable single player (By: JJ2197)
PostPosted: August 18th, 2008, 11:20 pm 
Offline
Old Wrinkly Member
User avatar

Joined: May 28th, 2008, 10:18 am
Posts: 275
Location: Ukraine
Title: Maphacker
I often meet in maps CustomVictoryBJ 8)

_________________
Image
My cp Adder
P.S.I communicate through PROMT 8.0 GIANT
My account on europe Fire-Shot,4PiXeL
I expect blue colour


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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 © 2000, 2002, 2005, 2007 phpBB Group

Privacy Policy Statement
Impressum (German)