Cant edit war3map.j

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Cedvan
Newcomer
Posts: 8
Joined: March 26th, 2009, 3:15 pm
Location: Belgium

Cant edit war3map.j

Post by Cedvan »

Hi all.
I'm trying to edit "ffforever r1c" and i got problems with the war3map.j
each time i modify this file even with an easy action like "+1" and i replace it in the map(with MPQMAster), i'm not longer able to lauchn the map in warcraft 3 :S
when i open the map in the editor i got scripts problem, and if i modify war3map.j with jass i got the same problem.

But if i dont modify at all the war3map.j the map works great ...

Can anyone say me how must i proceed to modify correctly the war3map.j ? plzzzz
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1733
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Re: Cant edit war3map.j

Post by Vegas »

possibly delete the attributes file.
Cedvan
Newcomer
Posts: 8
Joined: March 26th, 2009, 3:15 pm
Location: Belgium

Re: Cant edit war3map.j

Post by Cedvan »

Well there was no attributes files on the deprotected version that i works on. I tried to put in the attributes from de protected one but nothing changes. i still cant modify the war3map.j.
User avatar
Bushido
Not an Admin, and Not Unique
Posts: 1880
Joined: March 1st, 2009, 12:30 pm
Title: Der Boss :D
Location: Germany

Re: Cant edit war3map.j

Post by Bushido »

You don't need to deprotect a Map to edit it.
If u work with jass, there's no need.
If u want to open the map in WE, you have to.
Download Senethior's tool package here!
[spoiler=Funny shit]
Kryptonyte wrote:Pew-pew, together, 2pac and I can take over the world. Muhahahahahaha.

Kryptonyte wrote:@2Pac, You're a G. Keep your pimp hand strong.

Kryptonyte wrote:anyways i gtg, PEACE, MR. ZOMG O SO PRO U RAWKZ0RZ SUM BoXZ()RZ


Code: Select all

(23:22:14) FatherSpace: BWAHAHA
(23:22:21) FatherSpace: I am 1337, you must fear my coolness.
(23:22:51) FatherSpace: I got bored, so I made a Python script so now whenever I open Terminal, I get a random haiku from here: http://www.smalltime.com/Haiku
(23:24:12) FatherSpace: afk... Killing myself. :(

Code: Select all

(03:52:56) ChatBot: (673237) logs into the Chat.
 (03:53:08) (673237): plzplzplz, im sorry about before.
 (03:53:26) FatherSpace: I'm sorry you were born.
(03:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(21:39:14) GeorgeMots: Jen are you there?
(21:39:44) 2Pac: ...lol?
(21:39:49) 2Pac: (21:22:22) ChatBot: UndeadxAssassin has been logged out (Timeout).
(21:39:52) GeorgeMots: w00t
(21:39:54) GeorgeMots: rofl
(21:39:58) GeorgeMots: *facepalm*
(21:39:59) 2Pac: you definetly fail
[/spoiler]
Get to know Bushido alias 2Pac alias King-Bushido!
Cedvan
Newcomer
Posts: 8
Joined: March 26th, 2009, 3:15 pm
Location: Belgium

Re: Cant edit war3map.j

Post by Cedvan »

Ok sorry i'm noob in this.
Well i reworked on the original version but still same problem even when i delete the attributes file. There is a little difference, deprotected version see the maps with no players, protected version make crash war3.exe.
User avatar
Bushido
Not an Admin, and Not Unique
Posts: 1880
Joined: March 1st, 2009, 12:30 pm
Title: Der Boss :D
Location: Germany

Re: Cant edit war3map.j

Post by Bushido »

You could also upload the .j file so we could take a look?
Download Senethior's tool package here!
[spoiler=Funny shit]
Kryptonyte wrote:Pew-pew, together, 2pac and I can take over the world. Muhahahahahaha.

Kryptonyte wrote:@2Pac, You're a G. Keep your pimp hand strong.

Kryptonyte wrote:anyways i gtg, PEACE, MR. ZOMG O SO PRO U RAWKZ0RZ SUM BoXZ()RZ


Code: Select all

(23:22:14) FatherSpace: BWAHAHA
(23:22:21) FatherSpace: I am 1337, you must fear my coolness.
(23:22:51) FatherSpace: I got bored, so I made a Python script so now whenever I open Terminal, I get a random haiku from here: http://www.smalltime.com/Haiku
(23:24:12) FatherSpace: afk... Killing myself. :(

Code: Select all

(03:52:56) ChatBot: (673237) logs into the Chat.
 (03:53:08) (673237): plzplzplz, im sorry about before.
 (03:53:26) FatherSpace: I'm sorry you were born.
(03:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(21:39:14) GeorgeMots: Jen are you there?
(21:39:44) 2Pac: ...lol?
(21:39:49) 2Pac: (21:22:22) ChatBot: UndeadxAssassin has been logged out (Timeout).
(21:39:52) GeorgeMots: w00t
(21:39:54) GeorgeMots: rofl
(21:39:58) GeorgeMots: *facepalm*
(21:39:59) 2Pac: you definetly fail
[/spoiler]
Get to know Bushido alias 2Pac alias King-Bushido!
Cedvan
Newcomer
Posts: 8
Joined: March 26th, 2009, 3:15 pm
Location: Belgium

Re: Cant edit war3map.j

Post by Cedvan »

Sure, here he is.
IT's about 23000 lines :S good reading xD
You do not have the required permissions to view the files attached to this post.
Cedvan
Newcomer
Posts: 8
Joined: March 26th, 2009, 3:15 pm
Location: Belgium

Re: Cant edit war3map.j

Post by Cedvan »

hi back.
Did you find something interressant in this file ?
User avatar
Senethior459
Forum Staff
Posts: 2619
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Cant edit war3map.j

Post by Senethior459 »

There's an error in function BattleSystem. There's two locals named the same thing:
local integer Dump = 0
local item Dump

So, it keeps trying to use integer Dump, when it should be using item Dump. If you renamed the item Dump in each place it's used to something else (there's only 3 occurrences of this (4 including the local declaration, which would need to be changed as well), and JassCraft tells you where), the error should go away.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
Cedvan
Newcomer
Posts: 8
Joined: March 26th, 2009, 3:15 pm
Location: Belgium

Re: Cant edit war3map.j

Post by Cedvan »

You're right. That solves my problem. Thank you a lot.