Enabling Single Player

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

zayasowhoa
Senior Member
Posts: 112
Joined: September 21st, 2008, 2:40 pm

Enabling Single Player

Post by zayasowhoa »

I'm new and beginning and trying to cheat maps. I've cheated 2-5 maps, learned from JJ's tutorial and if i couldn't understand i got help from Glica. So I've been seeing requests of single player enabling which i still cannot figure to do and spent hours on trying without giving up. I've followed the tutorial of JJ and Risen but still cannot figure it out. If anyone can help I'd appreciate it.
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Enabling Single Player

Post by Senethior459 »

Basically, open the war3map.j in JassCraft and search for "singleplayer". If you find it, look at the function it's in. If it calls CustomDefeatBJ, then delete that part. Not the entire function, but just that part of it. If it doesn't call it, it's just conditions, then search for the function, to find one that calls it, and hopefully also calls CustomDefeatBJ, in which case you should neuter that function.
It's hard to really explain. It's really helpful to know a bit about jass, so you can figure out what the function is doing, and how you can disable it.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
User avatar
matchai
Forum Staff
Posts: 1009
Joined: July 14th, 2007, 2:51 pm

Re: Enabling Single Player

Post by matchai »

1st step: Look for -save with Find (Ctrl + F) or for whatever the save command is...

2nd step: You will find a line that looks similar to this:

call TriggerRegisterPlayerChatEvent(gg_trg_save,Player(1),"-save",true)

Ignore everything but what is written in the brackets before the player

so...

call TriggerRegisterPlayerChatEvent(gg_trg_save,Player(1),"-save",true)

BLUE = Player
so before that is:

call TriggerRegisterPlayerChatEvent(gg_trg_save,Player(1),"-save",true)

RED = Save Trigger

(Save Trigger may vary)

Now that you have the save trigger look for something that says

DisableTrigger(Save Trigger)

So in this case it is:

DisableTrigger(gg_trg_save)

and delete it :D

That will let you use the save option in singleplayer!

Have Fun! ;-)
zayasowhoa
Senior Member
Posts: 112
Joined: September 21st, 2008, 2:40 pm

Re: Enabling Single Player

Post by zayasowhoa »

So I would delete this?
call DisableTrigger(gg_trg_SaveLoad_Save_All)
I think I have tried it just now and it said the game was not found.
K now I just tried again, the map was found but single player is still disabled
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Enabling Single Player

Post by Senethior459 »

After you do it, hit F9 to run the syntax checker, as you might have messed something up.

Try searching for more. Don't stop when you find one, because mapmakers will sometimes put in several checks.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
User avatar
Risen
Forum Staff
Posts: 811
Joined: January 1st, 2008, 12:58 am

Re: Enabling Single Player

Post by Risen »

Image
Wanna learn to hack maps? --> Guide
zayasowhoa
Senior Member
Posts: 112
Joined: September 21st, 2008, 2:40 pm

Re: Enabling Single Player

Post by zayasowhoa »

I'm not sure if im deleting the right things, but i followed everything matchai said, and Risen, I said that I couldn't use your guide too well because the game i was tring to add single player in didnt have the singleplayer in find.
User avatar
Bushido
Not an Admin, and Not Unique
Posts: 1880
Joined: March 1st, 2009, 12:30 pm
Title: Der Boss :D
Location: Germany

Re: Enabling Single Player

Post by Bushido »

Maybe JJ's Guide can help you: http://forum.wc3edit.net/map-deprotecti ... t5725.html

Or, u upload the jass file and I (or someone else) can take a look :)
Download Senethior's tool package here!
Spoiler for Funny shit:
Kryptonyte wrote:Pew-pew, together, 2pac and I can take over the world. Muhahahahahaha.
Kryptonyte wrote:@2Pac, You're a G. Keep your pimp hand strong.
Kryptonyte wrote:anyways i gtg, PEACE, MR. ZOMG O SO PRO U RAWKZ0RZ SUM BoXZ()RZ

Code: Select all

(23:22:14) FatherSpace: BWAHAHA
(23:22:21) FatherSpace: I am 1337, you must fear my coolness.
(23:22:51) FatherSpace: I got bored, so I made a Python script so now whenever I open Terminal, I get a random haiku from here: http://www.smalltime.com/Haiku
(23:24:12) FatherSpace: afk... Killing myself. :(

Code: Select all

(03:52:56) ChatBot: (673237) logs into the Chat.
 (03:53:08) (673237): plzplzplz, im sorry about before.
 (03:53:26) FatherSpace: I'm sorry you were born.
(03:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(21:39:14) GeorgeMots: Jen are you there?
(21:39:44) 2Pac: ...lol?
(21:39:49) 2Pac: (21:22:22) ChatBot: UndeadxAssassin has been logged out (Timeout).
(21:39:52) GeorgeMots: w00t
(21:39:54) GeorgeMots: rofl
(21:39:58) GeorgeMots: *facepalm*
(21:39:59) 2Pac: you definetly fail
Get to know Bushido alias 2Pac alias King-Bushido!
zayasowhoa
Senior Member
Posts: 112
Joined: September 21st, 2008, 2:40 pm

Re: Enabling Single Player

Post by zayasowhoa »

No no, I looked at JJ's and Risens :(, but I want to learn myself to earn the title Cheater :P. After running syntax what do i do?
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Enabling Single Player

Post by Senethior459 »

If there are any errors, go to the line they occurred in, and figure out what's wrong. It gives you a hint, but sometimes you need to figure it out for yourself.
If you upload the jass, we can look through it, and show you what to look for. Right now, we can only give you the basic, general idea of how you do it on a bunch of maps. If we can look at the jass, we can give you specific examples of what you're looking for; triggers, search terms, what to replace it with, etc.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle