wc3edit.net
https://forum.wc3edit.net/

[Help] Get error "Cannot load map data." after insert JJCP
http://forum.wc3edit.net/deprotection-cheating-f64/get-error-cannot-load-map-data-after-insert-jjcp-t34425.html
Page 1 of 1

Author:  lolisrcute [ November 7th, 2017, 8:37 am ]
Post subject:  [Help] Get error "Cannot load map data." after insert JJCP

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.
Attachment:
SARO Eng Trans 0.02.w3x


This is the map not inserted JJCP yet and is able to play normally.
Attachment:
SARO Eng Trans 0.02.w3x

Author:  devoltz [ November 7th, 2017, 2:07 pm ]
Post subject:  Re: [Help] Get error "Cannot load map data." after insert JJ

U probably fucked up with map script, because i didn't found a cheatpack there.

Author:  lolisrcute [ November 7th, 2017, 5:17 pm ]
Post subject:  Re: [Help] Get error "Cannot load map data." after insert JJ

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.

Author:  devoltz [ November 7th, 2017, 9:41 pm ]
Post subject:  Re: [Help] Get error "Cannot load map data." after insert JJ

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

Author:  lolisrcute [ November 8th, 2017, 2:59 am ]
Post subject:  Re: [Help] Get error "Cannot load map data." after insert JJ

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

I attached the files below.

Attachment:
SARO Eng Trans 0.02.w3x


Attachment:
War3map.j


Attachment:
war3map.j

Author:  devoltz [ November 10th, 2017, 10:25 pm ]
Post subject:  Re: [Help] Get error "Cannot load map data." after insert JJ

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

Image

Author:  lolisrcute [ November 11th, 2017, 4:50 am ]
Post subject:  Re: [Help] Get error "Cannot load map data." after insert JJ

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?

Author:  lolisrcute [ November 30th, 2017, 7:33 pm ]
Post subject:  Re: [Help] Get error "Cannot load map data." after insert JJ

I found out what my mistake was.

Thank you Aero for your guide and to devoltz for the hints.

Author:  haxorico [ December 1st, 2017, 4:45 am ]
Post subject:  Re: [Help] Get error "Cannot load map data." after insert JJ

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...

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/