ID:144521
 
I am having problems with turf kinda, When I make a Map file it tells me it cannot be used due to some sort of tree glitch or somthing when I have no trees on my Tilesets, anybody have any idea what is the problem?
MadroxTheOne wrote:
I am having problems with turf kinda, When I make a Map file it tells me it cannot be used due to some sort of tree glitch or somthing when I have no trees on my Tilesets, anybody have any idea what is the problem?

It's a different type of tree.

mob
monsters
bug


That is a tree, a OBJECT tree.
Your game didn't compile correctly the last time you tried.
See that little text box at the bottom of the Dream Maker window? If compilation is successful it should say something along the lines of;
loading Quest.dme
loading demo\RPG.dmp
saving Quest.dmb (DEBUG mode)

Quest.dmb - 0 errors, 0 warnings



However if compilation fails this box will tell you what errors it encountered, like so;
loading Quest.dme
Quest.dm:193:error: expected expression

Quest.dmb - 1 error, 0 warnings (double-click on an error to jump to it)


Double clicking on the lines with :error: or :warning: will take you to the line of code producing the error. The :error: and :warning: messages will be followed by the type of error that occurred. In time you'll understand what each one of them means, but that's a lesson for another day.
You don't have to worry about warnings as much as errors because your game will still compile properly with warnings in it. That said Dream Maker doesn't give out warnings for nothing. If it's complaining then you've probably done something wrong and it's worth investigating.

One thing that's important to remember when you're getting errors is that one error can confuse the compiler so much that it gives you incorrect errors further down the error list. So always start from the top of the list of errors and work your way down.
In response to King of Slimes
maybe you made a turf, placed it on the map, then changed its name or something like:

before:
obj
tree
icon = 'w/e.dmi'

after:
obj
mappletree
icon = 'w/e.dmi'


since you placed it on the map then changed the obj name and/or deleted it, it gives error
maybe thats the problem?
In response to Ruben7
If he changed the name, it'd give him a different error. He just coded it wrong..
In response to Xion171
:o