[Help] Get error "Cannot load map data." after insert JJCP

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Post Reply
lolisrcute
Newcomer
Posts: 14
Joined: October 19th, 2008, 8:06 pm

[Help] Get error "Cannot load map data." after insert JJCP

Post by lolisrcute »

I used tool Ladik's MPQ Editor 32-bit version 3.5.1.832 uses StormLib v 9.21.
ListFiles obtained from their homepage http://zezula.net/en/mpq/download.html
When open MPQ used additional ListFile "Warcraft III Maps.txt", no other additional options selected.

JJCP used from deprotection-cheating-f64/jjcp-1-24b-e-t13526.html

There are 2 war3map.j inside the map, one inside the root and another inside "Scripts", I only added JJCP into the root's war3map.j and left the war3map.j in "Scripts" untouched.

Getting error "Cannot load map data." after inserting JJCP, I don't know what is the next step to take on how to resolve the error, please advice, thank you.
SARO Eng Trans 0.02.w3x


This is the map not inserted JJCP yet and is able to play normally.
SARO Eng Trans 0.02.w3x
You do not have the required permissions to view the files attached to this post.
Last edited by lolisrcute on November 7th, 2017, 5:25 pm, edited 1 time in total.
User avatar
devoltz
Forum Staff
Posts: 2997
Joined: March 23rd, 2016, 8:06 pm

Re: [Help] Get error "Cannot load map data." after insert JJ

Post by devoltz »

U probably fucked up with map script, because i didn't found a cheatpack there.
lolisrcute
Newcomer
Posts: 14
Joined: October 19th, 2008, 8:06 pm

Re: [Help] Get error "Cannot load map data." after insert JJ

Post by lolisrcute »

There are 2 war3map.j inside the map, one inside the root and another inside "Scripts", I only added JJCP into the root's war3map.j and left the war3map.j in "Scripts" untouched.

I will edit my first post to tell there are 2 war3map.j inside the map.
User avatar
devoltz
Forum Staff
Posts: 2997
Joined: March 23rd, 2016, 8:06 pm

Re: [Help] Get error "Cannot load map data." after insert JJ

Post by devoltz »

lolisrcute wrote:There are 2 war3map.j inside the map, one inside the root and another inside "Scripts", I only added JJCP into the root's war3map.j and left the war3map.j in "Scripts" untouched.

I will edit my first post to tell there are 2 war3map.j inside the map.

So add the cheats to both scripts
lolisrcute
Newcomer
Posts: 14
Joined: October 19th, 2008, 8:06 pm

Re: [Help] Get error "Cannot load map data." after insert JJ

Post by lolisrcute »

Still get error "Cannot load map data." after inserting JJCP into root's war3map.j and "Scripts" war3map.j.

I attached the files below.

SARO Eng Trans 0.02.w3x


War3map.j


war3map.j
You do not have the required permissions to view the files attached to this post.
User avatar
devoltz
Forum Staff
Posts: 2997
Joined: March 23rd, 2016, 8:06 pm

Re: [Help] Get error "Cannot load map data." after insert JJ

Post by devoltz »

Deleted one of the script.j and normally inserted the cheated, working fine.

Image
You do not have the required permissions to view the files attached to this post.
lolisrcute
Newcomer
Posts: 14
Joined: October 19th, 2008, 8:06 pm

Re: [Help] Get error "Cannot load map data." after insert JJ

Post by lolisrcute »

Yes, I don't get any error and CP is working fine in your map version, but I don't understand where my error is, because I only extract war3map.j and inserted JJCP, CP globals below globals, CP endglobals below endglobals and CP function main below function main below last local, can you attach your war3map.j without inserting CP so I can compare with my war3map.j to check if the code in war3map.j was mess up during war3map.j extraction from the map?
lolisrcute
Newcomer
Posts: 14
Joined: October 19th, 2008, 8:06 pm

Re: [Help] Get error "Cannot load map data." after insert JJ

Post by lolisrcute »

I found out what my mistake was.

Thank you Aero for your guide and to devoltz for the hints.
You do not have the required permissions to view the files attached to this post.
User avatar
haxorico
Super Moderator
Posts: 3188
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Contact:

Re: [Help] Get error "Cannot load map data." after insert JJ

Post by haxorico »

devoltz wrote:
lolisrcute wrote:There are 2 war3map.j inside the map, one inside the root and another inside "Scripts", I only added JJCP into the root's war3map.j and left the war3map.j in "Scripts" untouched.

I will edit my first post to tell there are 2 war3map.j inside the map.

So add the cheats to both scripts

IIRC the script at the maid header takes prefrence over the script at the scripts folder.
As in it looks for war3map.j
if it doesn't find it, it will look for scripts\war3map.j.
You can test it by deleting the scripts folder and see how it goes...
Post Reply