ID:1708027
 
Keywords: debugging, map
(See the best response by PolskiPolakPL.)
Problem description:
A colleague sent me a map complete with icons and turf coding, I then added this to to my source (including folder organising for all of these files). I then started up Dream Maker and tried to compile my source but it gives me two errors and a message:
Map.dmm:426:error: cannot find file
Map.dmm:426:error: expected )
Failed to load map file C:\Users\Leon\Dropbox\NNA\Map.dmm.

Any ideas on why I'm getting this error? My colleague can view it fine, but whenever it's sent to someone else we can't view it. I've tried clean compiling, renaming the file, having all the related files on a single folder level.. Nothing seems to help.
open the map.dmm in a text editor and post what is on line 426.
"aik" = (/turf/konoha/roof9,/turf/konoha/roof8,/turf/Shadows/LightDark,/turf/TurfEditors/Density,/area)


All of these turfs exist?
Best response
Try remove all turfs from this line,like this.
"aik" = (/turf,/area)

and add this all turfs in map editor again.
I had to remove a lot of the turfs etc from about 60 lines but at least I can open the map now..

Any idea why this happened?
Because the code didn't have what it should have.
But the paths were correct and the items did exist.

Regardless, doesn't the compiler usually give us an interface to remove/correct these errors anyway?