[GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

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

Moderator: Cheaters

User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by nuzamacuxe »

Function collision, it's common some maps use functions or variables with the same name as JJ's CP. Check this guide to learn how to bypass it:
http://forum.wc3edit.net/deprotection-c ... 34923.html

Also, try to put the endglobals part above the function main as said at step 6.
6. Copy the text from endglobals.txt and paste it before the first function that ends with "takes nothing, returns nothing".
Additional note: There are some maps that bug depending on exactly where you put it, so if it bugs I'd recommend you to put in the end of endglobals (check step 7 and put above that function).
twrpgshdrmap
Newcomer
Posts: 9
Joined: July 23rd, 2018, 12:39 pm

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by twrpgshdrmap »

Thanks will give it another shot!

edit: managed to do it with your advice, thanks alot! shall try adding fukki cp next :)
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by nuzamacuxe »

You're welcome.
DarkFlameMaster
Senior Member
Posts: 181
Joined: January 27th, 2013, 10:30 am
Title: Retired Forum Sadist

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by DarkFlameMaster »

Wow, its been a long time since I gone to this website.
I didn't know the tutorial would be updated, as the other higher ups/experts had said.
Hearing the "Flushing" topic remembered me with using the Optimizer(if I remembered it correctly...).

I remembered cheating a map with JJCP and using Optimizer (I forgot which Optimizer it is),
there's no topic about it being discussed in this new thread which should have.

I will be looking forward for a more advanced topic of using the programs (Jasscraft/MPQ Editors/etc.) and its entire properties, if you do, maybe 70-80% of the Requester would finally be able to cheat their own maps in a advanced way of thinking.

I forgot to mention this, using Optimizer when your map has JJCP on it-JJCP's sometimes functions/codes is pretty much mixed-in to the map, in short, they became "Trash" and the map may still be playable but the cheats may not be able to function properly. (Because I didn't have knowledge to use it, and there's no advance way of doing/using it, I found it in the Dota Optimization Topic)

P.S. I like the old thread/tutorial/pics much better than the GIFs. I get dizzy looking at them, you should at least slow them down like 50%, if its really for beginners.
User avatar
devoltz
Co-Admin
Posts: 3127
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 9 times
Been thanked: 53 times

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by devoltz »

DarkFlameMaster wrote:Wow, its been a long time since I gone to this website.
I didn't know the tutorial would be updated, as the other higher ups/experts had said.
Hearing the "Flushing" topic remembered me with using the Optimizer(if I remembered it correctly...).
Never use flush or compact archive, it can break map.
DarkFlameMaster wrote:I remembered cheating a map with JJCP and using Optimizer (I forgot which Optimizer it is),
there's no topic about it being discussed in this new thread which should have.
Same as flushing, can break map.
DarkFlameMaster wrote:I forgot to mention this, using Optimizer when your map has JJCP on it-JJCP's sometimes functions/codes is pretty much mixed-in to the map, in short, they became "Trash" and the map may still be playable but the cheats may not be able to function properly. (Because I didn't have knowledge to use it, and there's no advance way of doing/using it, I found it in the Dota Optimization Topic)
Just use a deobfuscated cheatpack, u can do it with RMPQEx.
DropB34R
Newcomer
Posts: 1
Joined: July 8th, 2017, 1:54 am

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by DropB34R »

Hello everyone, so i've been trying to use this guide to give the map a CP. When i double click the map to select it in game, it will show a black box with the red error sign, no text. Just wondering if you can see what i've messed up?
You do not have the required permissions to view the files attached to this post.
User avatar
devoltz
Co-Admin
Posts: 3127
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 9 times
Been thanked: 53 times

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by devoltz »

I noticed a thing about the singlepalyer part nuza, you forgot to add the cache one, i will give a example.

Code: Select all

function singleplayer_example takes nothing returns nothing
if ReloadGameCachesFromDisk () // If that statment equal true, it means the game is on singleplayer.
call DoNothing()
else
call ExecuteFunc("map_triggers")
endif
endfunction
That "ReloadGameCachesFromDisk" is a different way to write "bj_isSinglePlayer" and it's used on some maps that want to confuse not experienced cheaters like Sunken City and The World.
raidevil
Newcomer
Posts: 2
Joined: December 9th, 2018, 11:16 am

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by raidevil »

When i get the item list, what i do next to use it in game like ( -spawn XXX )
It's mean like make a cheatpack for the map??
Can you tell me pls
User avatar
devoltz
Co-Admin
Posts: 3127
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 9 times
Been thanked: 53 times

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by devoltz »

raidevil wrote:When i get the item list, what i do next to use it in game like ( -spawn XXX )
It's mean like make a cheatpack for the map??
Can you tell me pls
You need a cheatpack with the "-spawn ####" command, JJCP have it.
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: [GUIDE] Insert a CP / CC / Enable SP / Deprotect / RC

Post by nuzamacuxe »

raidevil wrote:When i get the item list, what i do next to use it in game like ( -spawn XXX )
It's mean like make a cheatpack for the map??
Can you tell me pls
+1 for devoltz and:

announces/are-you-new-at-cheating-read-this-t35804.html