ID:2077043
 
Resolved
Maptext on an animated icon could be replaced with gibberish in some cases.
BYOND Version:510
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 49.0.2623.112
Applies to:Dream Seeker
Status: Resolved (510.1341)

This issue has been resolved.
Random symbols are getting outputted when animating an object with maptext

Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
obj/Dmg
plane=1
maptext_width=100
mob
proc
ShowDNum(var/amount,var/colorShown)
var/obj/Dmg/D=new()
D.loc=src.loc
D.step_y=src.bound_height
D.maptext="<b><font size=3><font color='[colorShown]'>[amount]</font></font><b>"
animate(D,pixel_y=40,alpha=0,time=20)
spawn(20)D.loc=null
Test()
while(src)
src.ShowDNum(rand(0,300),"red")
sleep(5)

demo: http://www.filedropper.com/maptextissue

Expected Results:Inputted numbers to be outputted properly

Actual Results:Sometimes random symbols are outputted and sometimes the output flickers

Does the problem occur:
Every time? Or how often? Randomly but often
In other games? yes
In other user accounts? yes
On other computers?yes


Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)


Which exact 510 build is this? And have you tried any earlier builds?

What happens if you switch to software rendering mode?
it started acting strange since the build 510.328, worked in all the builds before that

software rendering mode does nothing
i took out the html crap and noticed it outputs the name of the object randomly whenever u animate its pixel x or y along with the random symbols

the stuttering/flickering is from the maptext constantly changing randomly
This was an awesome find; thanks for posting this with a demo that made the problem crystal clear.
Lummox JR resolved issue with message:
Maptext on an animated icon could be replaced with gibberish in some cases.
Awesome