wc3edit.net

United Warcraft 3 map hacking!
It is currently March 29th, 2024, 7:29 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: February 25th, 2017, 10:49 am 
Offline
Newcomer

Joined: February 24th, 2017, 11:18 am
Posts: 11
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.


Top
 Profile  
 
PostPosted: February 25th, 2017, 11:03 am 
Offline
Forum Staff
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 3236
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.


Top
 Profile  
 
PostPosted: February 25th, 2017, 11:06 am 
Offline
Senior Member

Joined: November 22nd, 2016, 3:48 pm
Posts: 117
Title: KappaPride
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


Top
 Profile  
 
PostPosted: February 25th, 2017, 11:08 am 
Offline
Forum Staff
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 3236
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.


Top
 Profile  
 
PostPosted: February 25th, 2017, 11:58 am 
Offline
Newcomer

Joined: February 24th, 2017, 11:18 am
Posts: 11
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


Top
 Profile  
 
PostPosted: February 25th, 2017, 1:54 pm 
Offline
Forum Staff
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 3236
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:
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:
call ExecuteFunc("waifu")


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 guests


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® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)