ID:76209
 
Resolved
Resolved by user
BYOND Version:443
Operating System:Windows XP Home
Web Browser:Firefox 3.0.11
Status: Resolved

This issue has been resolved.
Descriptive Problem Summary:Tags I set to turfs are vanishing after compile. It's not every tag I set, but at least half of them.

Numbered Steps to Reproduce Problem:Set a few tags to some turfs, compile or save then compile and then check to see if the tags remain.

Code Snippet (if applicable) to Reproduce Problem:


Expected Results:That the turf has a tag set

Actual Results:Compile resets the tag to blank

Does the problem occur:
Every time? Or how often?Everytime for the same turfs, but doesnt effect every turf
In other games?In DM mapper only
In other user accounts?Does not apply
On other computers?Only one to use

When does the problem NOT occur?When it chooses not too

Workarounds:Use another system that doesnt need tags

Ok, I tried doing other things like setting the suffix and etc. They too revert. It is like no changes made to the turf via the map are saving.
I don't think you can tag atoms during compile, you're suppose to set them at runtime.
Shanomakey wrote:
I don't think you can tag atoms during compile, you're suppose to set them at runtime.

You can edit the tile in map and set it's tags or whatever var you want to change. The vars I change remain until I compile the project then they reset.
Dpheonix7 wrote:
Shanomakey wrote:
I don't think you can tag atoms during compile, you're suppose to set them at runtime.

You can edit the tile in map and set it's tags or whatever var you want to change. The vars I change remain until I compile the project then they reset.

Of course you can change almost whatever you want at runtime, but for it to appear afterwards a savefile is required.
Shanomakey wrote:
Dpheonix7 wrote:
Shanomakey wrote:
I don't think you can tag atoms during compile, you're suppose to set them at runtime.

You can edit the tile in map and set it's tags or whatever var you want to change. The vars I change remain until I compile the project then they reset.

Of course you can change almost whatever you want at runtime, but for it to appear afterwards a savefile is required.

You might not be understanding. Im not doing this in game, Im doing this in Dream Maker. Im just editing a turf while in a map file and when I compile it is reseting the turfs I edited back to default.
Inuyashaisbest wrote:
The tag set worked for me.

http://img196.imageshack.us/img196/4015/71545390.png

I have 2 turfs layed on top of eachother, I tried tagging both and the tags wont stick. I am not having this problem with single turfs. Seems to be stacked turfs now.
Turfs in BYOND are atomic; each represents a single map location, and is unique for that location. So technically speaking you don't have two turfs on top of each other. You have one turf, with underlays. The map editor makes it easy to set this up, but you'll notice if you stack a totally opaque turf on top of existing turfs then all the others in that spot will disappear--because the underlays are no longer needed. You can't tag the underlay because it's not a real object.

Another important thing to know about tags is that they must be unique.

If your tags are not unique, or you are trying to apply tags to underlays, this is why you're seeing some problems. Please let me know if there's anything more to this though. If not, then I can mark the issue resolved.
Lummox JR wrote:
Turfs in BYOND are atomic; each represents a single map location, and is unique for that location. So technically speaking you don't have two turfs on top of each other. You have one turf, with underlays. The map editor makes it easy to set this up, but you'll notice if you stack a totally opaque turf on top of existing turfs then all the others in that spot will disappear--because the underlays are no longer needed. You can't tag the underlay because it's not a real object.

Another important thing to know about tags is that they must be unique.

If your tags are not unique, or you are trying to apply tags to underlays, this is why you're seeing some problems. Please let me know if there's anything more to this though. If not, then I can mark the issue resolved.

Wish it was that easy. Im tagging the top layer. I been doing this ever since I been coding in byond and it has alawys work till 443. I have made sure the tag is unique. Also this isnt with just tags. It's with all vars I change on the map. I tried changing top, bottom, both. No matter what I do, I get the same results. All turfs go back to default after I compile.
I ran a test of this using normal and layered turfs, but found no unusual behavior. If you can provide a demo project of your issue I can retest.
I went back to 442 and no longer have this issue. in 443 and up I was getting this every time I would stack 2 turfs and try to edit the top one (bottom too, but that doesn't matter). I would make a demo, but all it would be is 2 turfs stacked on each other. They revert when compile happens. This does not apply to single turfs, only stacked turfs.

Yes I do know a compiled game treats stacked turfs as a single layer turf, but this is before the game is even ran.
Tested again in 447. Seems what was causing it was fixed by now. I can only recreate this issue in 443. 444,445,446 not tested as I do not have the installers for those versions.