[HELP] Inserting JJ's CP to DotA v6.83d

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

lushisop
Newcomer
Posts: 9
Joined: February 24th, 2017, 11:18 am

[HELP] Inserting JJ's CP to DotA v6.83d

Post by lushisop »

I've been trying to insert JJ's cp for the past 3 hours, but I just can't get it to work. It's just everytime I extract its war3map.j, it gets this random errors even tho I haven't done anything yet. I uploaded the cheated war3map.j for you guys to check what's the problem. Also does JJ's CP still even works for patch 1.24+?
You do not have the required permissions to view the files attached to this post.
User avatar
devoltz
Co-Admin
Posts: 3126
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 9 times
Been thanked: 52 times

Re: [HELP] Inserting JJ's CP to DotA v6.83d

Post by devoltz »

I just changed little things on your war3map.j (function main part)
and it's working normally
Image
You maybe get confused because none script activated message, but it seens you erased it
Image
So it's working.
You do not have the required permissions to view the files attached to this post.
new_33_88
Senior Member
Posts: 105
Joined: November 22nd, 2016, 3:48 pm
Title: KappaPride

Re: [HELP] Inserting JJ's CP to DotA v6.83d

Post by new_33_88 »

The reason is partly because that in singleplayer dota , theres commands that is used in JJCP like -gold. this will create a error.

edit: didnt read the code propely
User avatar
devoltz
Co-Admin
Posts: 3126
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 9 times
Been thanked: 52 times

Re: [HELP] Inserting JJ's CP to DotA v6.83d

Post by devoltz »

new_33_88 wrote:The reason is partly because that in singleplayer dota , theres commands that is used in JJCP like -gold. this will create a error.

edit: didnt read the code propely
These commands only work with ''-test" mode.
But yeah, it's a reason to not work.
lushisop
Newcomer
Posts: 9
Joined: February 24th, 2017, 11:18 am

Re: [HELP] Inserting JJ's CP to DotA v6.83d

Post by lushisop »

devoltz wrote:I just changed little things on your war3map.j (function main part)
and it's working normally
Image
You maybe get confused because none script activated message, but it seens you erased it
Image
So it's working.
The message is actually on purpose. And you helped me again :p thanks. Btw, if it's fine for you, can you make a guide on how you did it? Like a guide would really be helpful
User avatar
devoltz
Co-Admin
Posts: 3126
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 9 times
Been thanked: 52 times

Re: [HELP] Inserting JJ's CP to DotA v6.83d

Post by devoltz »

Some maps like dota bug the function main part when it have new locals, so you have to remove the local from JJCP and put in a function like
(this in endglobals)

Code: Select all

function waifu takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
set zzz=zzz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddCondition(CHEATS,Condition(function Cheatz0r))
call TriggerAddAction(CHEATS,function DirectCheat)
call UnitId2Stringz()
call InitS2RAW()
endfunction
Then you go on function main and put this

Code: Select all

call ExecuteFunc("waifu")