Warcraft III resources & community, 2003–2006 · archived

NEED HELP FAST

11 posts
#1

NEED HELP FAST

I was just saving my map and a screen popped up saying that there is 27 compile errors. It says invalid number of arguments for every line. What should i do?? i tried start the map in warcraft but i couldnt. and this is the only coppy of the map i have! i worked on it for a loooooong time. I still have the world editor open with the map, how do i fix this??
#2
call SetDayNightModels( "Environment\\DNC\\DNCFelwood\\DNCFelwoodTerrain\\DNCFelwoodTerrain.mdl", "Environment\\DNC\\DNCFelwood\\DNCFelwoodUnit\\DNCFelwoodUnit.mdl" )

that line is 1 of the errors, the rest is everything that is placed on the map, locations, units etc.
#3
Look up your maps-folder. WE should have created a backup-file!
#4
isnt there a way to fix this?
#5
Hm, it's hard to find the reason for your prob. Undo all the changes you made/remove triggers that were disabled after compiling
#6
THANKG GOD or something, i finally after 2 hours took the courage to close down WE. When i opened it again and saved the map all the error were gone :D
#7
Oops, forgot to say that :) . WE usually doesn't save a map after getting compile errors. So if you simply close it, next time it should always open an error-free-map. The map won't be damaged.
#8
the map was damaged, i couldnt run it in war3. But after i closed we, opened we, opened the map and saved it, it worked again.
#9
That's what I wanted to say, the map doesn't take damage that can't be fixed again.
#10
What has happended is that a line (or more) Jass2 script is invalid. This couses all the compile errors. I don't really know how you couse compile errors by using the GUI. But if you have any custom script you can try to delete those lines until you find the problem. Try to check the lines which contains the compile error (kinda tricky if you don't know how to find lines) - and delete them. Lucky you only had 27, ended up with 17000 yesterday :D.

(Even if the solution is there I wrote this. Thought you wanted to know.)
#11
17000? Ha, beat this one: 28347 compile errors (around two months ago, WE/WEU and other problems) :lol: