[GUIDE] Deprotecting / Inserting a CP / Enabling SP

Cheatpacks and learning how to use them, as well as other guides for manipulating maps.

Moderator: Cheaters

User avatar
UndeadxAssassin
Grammar King
Posts: 2116
Joined: June 22nd, 2008, 10:11 pm
Title: Worst human for 4eva
Location: Mostly USEast

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by UndeadxAssassin »

I meant to say H2I wasn't supported =S
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.
(23:44:12) Bartimaeus: I was in pubic school until middle school...
Learn how to extract and read RAW Codes here!

Need help? Click here and ask your question!
Darkness568
Member
Posts: 97
Joined: June 18th, 2007, 12:45 am

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Darkness568 »

Hi again. Ive tried my hand at deprotecting the map now and it is obviously of course unopenable in the world editor. I opened up the war3map.j and its giving me now alot of hashtable and h2i errors i can post it here as i am not too sure on how to fix it and it would be glad if maybe you could give me a example or 2 of what you did.

Here is the link of the map incase you just want that. Thanks again

Edit: Ok i got it working by reading xantans guide, but now when i add a hero to the main selecting structure the selector gets removed from the game.

Edit:2 i found out that just before i get booted that this trigger is ran TRIGSTR_8025 but i cannot find it in the war3map.j is there another file that i have to look at and if so how i open it.

Edit:3 Turns out its not a triggering issue at all. I still cant figure out how to get it working though. What happens is that when the map loads the selector and buildings are around me but then they are all removed.

The only thing i did just to make sure it wasnt triggering was to deprotect it and change one thing which i changed the map by copying the Werewolf under the Orc heros section and renamed the copy Wolverine and then saved and tested. If someone could tell me why it does this and how to fix it that would be great.
You do not have the required permissions to view the files attached to this post.
Image
Please pm if this sig is annoying as i will replace with old one.
Flavouredlube
Newcomer
Posts: 1
Joined: September 4th, 2009, 11:57 pm

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Flavouredlube »

Thanks for writing this awesome guide!

Didn't know it was so easy to insert a cp.. even though it took me 3 hours to see I was supposed to delete the attributes file.... =\
User avatar
boiled_vodka
Member
Posts: 83
Joined: May 18th, 2009, 1:36 am

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by boiled_vodka »

This tut was amazing until i get stucked mid of tut :S
I'm on tut pg2. doing syntax check and I see this from war3map.j that i extracted from the map.
I got bunch of $ error
'Unrecognized character:$
Line 2094: syntax error
Unrecognized character:$
Unrecognized character:$
Unrecognized character:$
Line 2097: syntax error
Unrecognized character:$
Unrecognized character:$
Unrecognized character:$
and so on...' I see bunch of $ symbol from whole triggers..
And its saying there are undeclared variables...
Line 2056: Undeclared variable: BD6
Unrecognized character:$
Unrecognized character:$
Unrecognized character:$
Line 2060: Undeclared variable: FC8
etc...
Is this mean I can't inject cp to this map..?
And there is another map which don't allow me to open it with MPQMaster...
What do I do in this case???
Edit: attached $ symbol's .j file for solution..
You do not have the required permissions to view the files attached to this post.
Last edited by boiled_vodka on September 8th, 2009, 1:36 am, edited 1 time in total.
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Ken »

Those symbols, I think, just are alternatives for "0x", used to denote that the number is being represented in hexadecimal instead of decimal.

JassCraft just doesn't seem to know that, so it thinks it's a syntax error.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
User avatar
boiled_vodka
Member
Posts: 83
Joined: May 18th, 2009, 1:36 am

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by boiled_vodka »

What should I do then :s
change all the $s into 0x??
Please have look on .j file I attached and if can, tell me whether can cheated or not..
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Ken »

No, just leave it. WC3 will read it fine.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
User avatar
boiled_vodka
Member
Posts: 83
Joined: May 18th, 2009, 1:36 am

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by boiled_vodka »

Oh, Thanx!
It seems like my 1st CPed map working well :O
thenebrae
Newcomer
Posts: 22
Joined: May 3rd, 2009, 2:58 pm

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by thenebrae »

Hi, i am having trouble on 1 map... i Added the jjcp like the tutorial , all is okay , but when write the code the cheat dont work

can someone say what is the problem to me ?

here my .j

http://ifile.it/nbmjfvr

tx
Image
Spoiler:
Image
Image
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Senethior459 »

Can you upload it to the forum, instead? That site requires an account to download.

I can't help you very much until I can see the war3map.j, but the two most common problems are forgetting to delete the (attributes) file or putting the third part of the cheats directly under "function main takes nothing returns nothing", instead of below any local declarations ("local integer x=0", etc.). Check on both of those. If it isn't either one, run the syntax checker in JassCraft (F9). If nothing appears... Upload it here, let us check it out. If an error does appear, try to fix it. It tells you where the error occurs and what it is, and it's usually not too hard to figure out.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle