ID:69423
 
This issue has been marked as a duplicate of id:65441
BYOND Version:440
Operating System:Windows Vista Home Premium
Web Browser:Firefox 3.0.10
Status: Duplicate

This issue has been marked as a duplicate of id:65441
Descriptive Problem Summary:
When an icon is selected to loop 1 or more times rather than indefinitely, it works correctly the first time its used, but used again in the same direction (that part is important), it skips (for a majority of the objects with that particular icon) to the very last icon state, while ignoring the rest, creating a sloppy and choppy looking effect.

Numbered Steps to Reproduce Problem:
Ok well I attempted to make a projectile that creates a trail and slowly fades out using icon states. The only way I was able to produce this effect was making each icon state less and less and then selecting the loop 1 time in the icon preferences, and then the last icon state is a blank icon for 60 ticks so its not visible if for some reason its not immediately deleted, though I tried to time it right.

Upon testing, I noticed the number of loops wasn't significant, just that it worked correctly the first time (using loop indefinately rarely let the trails show up, and if they did they'd all be the same icon state which was not what I was going for.) I thought, well maybe its that last icon state, so I removed that, and thats when I discovered the object trails and the icons were definitely there, but were skipping to the very last icon state in the list, while about 15-20% on average were preforming correctly.

Code Snippet (if applicable) to Reproduce Problem:
Posted this on the forums a while ago thinking I made a mistake, later realized it was an icon bug. Go to this link if you'd like to see exactly what this bug is for yourself. I'd recommend downloading the zip file which contains the rsc and dmb so you can run it and see exactly what I mean.

http://www.byond.com/developer/forum/?id=699379



Expected Results:
Expected to get the first time results, a fading effect of object cycling through the icon states at each its own pace rather than all together.
Actual Results:
Works perfectly the first time (in a direction. Meaning fire the projectile east, it works, fire it north, it works, fire it north again, it doesn't work properly) but fire it in that direction again and it fails to produce the same results and 80% of the time the obj falls on the last icon state in the 'movie'.
Does the problem occur:
Every time? Or how often? Every time after the first.
In other games? N/A
In other user accounts? Yes.
On other computers? Yes.

When does the problem NOT occur?
The first time its used in a particular direction, though I'm sure by now I've made that perfectly clear.
Workarounds:
No workarounds yet but I'm still trying.

EDIT: May as well ignore this, this is essentially a copy of a bug already reported.

http://www.byond.com/members/ BYONDHelp?command=view_tracker_issue&tracker_issue=51 <-- Though you may still want to check out my example to confirm it or try it yourself.