Getting many script errors when try to edit deprotected map

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Salazam
Newcomer
Posts: 3
Joined: October 29th, 2013, 4:32 pm

Getting many script errors when try to edit deprotected map

Post by Salazam »

So ive been trying to deprotect a map and im using Xdep to do that.
but after i change one value in units editor, i get 8000 script errors and the map wont run.
how can i solve this?
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Getting many script errors when try to edit deprotected

Post by Bartimaeus »

Edit the map with JassNewGen instead of regular World Editor.
JustANewbie
Forum Spammer
Posts: 510
Joined: August 18th, 2012, 2:32 am

Re: Getting many script errors when try to edit deprotected

Post by JustANewbie »

Obviously he's new to deprotecting, and he has problem with hexdecimals, so script errors occur, i guess the map is Twilight's Eve ORPG.

By the way, here's the tool to fix it: http://forum.wc3edit.net/useful-tools-f ... 26236.html

Use it before deprotect
Salazam
Newcomer
Posts: 3
Joined: October 29th, 2013, 4:32 pm

Re: Getting many script errors when try to edit deprotected

Post by Salazam »

Thank you for replies.
However, before deprotection, war3map.j is nowhere to be found when I am using MPQmaster on the untouched protected map.
When i open MPQmaster this shows up:

BEFORE XDEP
Image

AFTER XDEP
Image

So I did what came naturally i tried to extract the war3map.j from the BEFORE Xdep which was in file0000003 since the AFTER xdep war3map.j had the same size of 364,377. but the problem is that i couldnt read file000003. It was blank.
User avatar
KangTooJee
Old Wrinkly Member
Posts: 202
Joined: September 15th, 2010, 5:09 am
Title: Legenda

Re: Getting many script errors when try to edit deprotected

Post by KangTooJee »

add Scripts\war3map.j at ur listfile
Salazam
Newcomer
Posts: 3
Joined: October 29th, 2013, 4:32 pm

Re: Getting many script errors when try to edit deprotected

Post by Salazam »

KangTooJee wrote:add Scripts\war3map.j at ur listfile
Not sure what u mean by that. can u explain more in detail pls?
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Getting many script errors when try to edit deprotected

Post by Bartimaeus »

http://forum.wc3edit.net/useful-tools-f ... ml#p173878

Open the map with the listfile there. The listfile is basically just that: a list of files. Without the files named, your MPQ editor(s) and deprotectors/optimizers can't really properly manipulate/detect the files in question. (I think MPQ Master keeps its listfiles in a folder simply called "listfiles"? If so, just extract the .txt from the linked post into there and select it when opening the MPQ.)