ID:145989
 
Code:
//////////////////////////////////////
/////Code for the turf files//////////
//////////////////////////////////////

turf
woodenfloor
icon = 'turfs.dmi'
icon_state ="wooden"











//Soul hall Walls etc

//red wall


llamp
icon = 'red wall.dmi'
icon_state ="llamp"
llampa
icon = 'red wall.dmi'
icon_state ="llampa"
rlamp
icon = 'red wall.dmi'
icon_state ="rlamp"
rlampa
icon = 'red wall.dmi'
icon_state ="rlampa"

wall1
icon = 'red wall.dmi'
icon_state ="wall1"
wall2
icon = 'red wall.dmi'
icon_state = "wall2"
wall3
icon = 'red wall.dmi'
icon_state ="wall3"
wall4
icon = 'red wall.dmi'
icon_state ="wall4"
wall5
icon = 'red wall.dmi'
icon_state ="wall5"

corner1
icon = 'red wall.dmi'
icon_state = "corner1"
corner2
icon = 'red wall.dmi'
icon_state = "corner2"
corner3
icon = 'red wall.dmi'
icon_state ="corner3"
corner4
icon = 'red wall.dmi'
icon_state ="corner4"



//white wall


scrolltop
icon = 'whitewall.dmi'
icon_state = "top"
scrollmiddle
icon = 'whitewall.dmi'
icon_state = "middle"
scrollbottom
icon = 'whitewall.dmi'
icon_state = "bottom"

wall1
icon = 'whitewall.dmi'
icon_state = "wall1"
wall2
icon = 'whitewall.dmi'
icon_state = "wall2"
wall3
icon = 'whitewall.dmi'
icon_state = "wall3"
wall4
icon = 'whitewall.dmi'
icon_state = "wall4"
wall5
icon = 'whitewall.dmi'
icon_state = "wall5"

corner1
icon = 'whitewall.dmi'
icon_state = "corner1"
corner2
icon = 'whitewall.dmi'
icon_state = "corner2"
corner3
icon = 'whitewall.dmi'
icon_state = "corner3"
corner4
icon = 'whitewall.dmi'
icon_state = "corner4"


Problem description:I dont know why im getting these errors. The code was working fine till i tried giving unique names to the items. Now I get all these errors

loading BleachDensetsuTaichous.dme
loading Soul Society.dmp
Soul Society.dmp:7:error: undefined type: /turf/wal5
Soul Society.dmp:7:error: unknown type
Soul Society.dmp:8:error: undefined type: /turf/wal5
Soul Society.dmp:8:error: unknown type
Soul Society.dmp:11:error: undefined type: /turf/wal5
Soul Society.dmp:11:error: unknown type
Soul Society.dmp:12:error: undefined type: /turf/wal5
Soul Society.dmp:12:error: unknown type

BleachDensetsuTaichous.dmb - 8 errors, 0 warnings (double-click on an error to jump to it)
did you rename the turfs after you done had a map made with the old names if so thats why or did you delete thoose turfs from your code that can be another reason
Its looking for the old path to that icon name ON your map. Your map is the problem .. when you changed the name ... On the map its looking for it and doesn't find it ... either change the code back THEN delete what you are changing to add on later or ... delete entire map and make a new one :(

In short, your icons on your map have old path ways. you need to delete them
In response to Louthin
Or he could simply change the type path of the old turf name into the type path of the new path name by double clicking the error which would bring up a window that would show him an option to.
He also doesn't need to waste a line of space by putting icon='whitewall.dmi' or whatever for each section. He could simply do;
turf/whitewalls
icon='whitewall.dmi'
whitewall1 icon_state="blarh"
Good news: You can ignore everyone telling you to delete your entire map. They have no idea what they're talking about.

You don't have to delete your map file. Instead, first make sure you do not have the .dmp file open in Dream Maker. Load up the .dmp file in a text editor like Notepad, or better yet one that doesn't suck. Look for every instance of /turf/wal5 that appears in the file, and replace it with the path for the wall type you want to use, like /turf/wall5. Save the .dmp file, then try to compile your game again.

Lummox JR
In response to Lummox JR
As I said, it's much easier to double click the error which will bring up the instances of the broken path types which he could replace with the new path types.
To fix that problem, just click on your map and box called "Pending Map Errors" should appear. If you look closely you will be something like /turf/Icon.

All you have to do is change the name so it picks it up. Thats all.