ID:102165
 
Not a bug
BYOND Version:476
Operating System:Windows Vista Home Basic
Web Browser:Firefox 3.6.10
Applies to:Dream Maker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary: Whenever I start the game up from DM, this bug appears.

http://i595.photobucket.com/albums/tt38/DylanC2k8/ ScreenShotBug.png

While on the map in DM the trees appear normally, in ones, but once I compile and run, this bug starts and all the trees triple. I have tried a lot of things, but nothing will change.

Numbered Steps to Reproduce Problem:

1.Compile and Run DM

2.All the trees appear but have duplicated and overlayed each other.

Code Snippet (if applicable) to Reproduce Problem:
obj
tree
density=0
icon='tree.dmi'
layer=MOB_LAYER+99
a
icon_state="0,0"
b
icon_state="0,1"
c
icon_state="0,2"
d
icon_state="0,3"
e
density=1
layer=TURF_LAYER+99
icon_state="1,0"
f
icon_state="1,1"
g
icon_state="1,2"
h
icon_state="1,3"
i
icon_state="2,0"
j
icon_state="2,1"
k
icon_state="2,2"
l
icon_state="2,3"


Expected Results: For the tree objects to appear normally.

Actual Results: The trees duplicate and overlay each other

Does the problem occur: In Just this situation

When does the problem NOT occur? It repeatedly occurs but with just this Object.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Well I haven't tried other versions but I'll gie it a shot.

Workarounds: None short of removing the objects.

Have you set
world/map_format = TILED_ICON_MAP
for compatibility with an older map?

See: http://www.byond.com/ members/?command=reference&path=world%2Fvar%2Fmap_format

Note: the new default format (TOPDOWN_MAP) is generally easier to work with, so the best solution is to rework your icons using native sizes (instead of splitting into states), but if that is difficult the above suggestion should work. Let us know if it fixes the problem.
That solved the issue, thank you. :)