User-uploaded custom sprites will display properly in the web client, but will not display in Dream Seeker excepting for the person that uploaded the sprite.
Numbered Steps to Reproduce Problem:
1. Create a new sprite .DMI file
2. Connect to game using both DS and web client
3. Upload the sprite and switch to it when prompted.
4. Compare views between web client and DS.
Code Snippet (if applicable) to Reproduce Problem:
changeicon(i as icon)
set name = "Upload Custom Sprite"
set category = "Character Options"
var/d="[i]"
if(findtext(d,".dmi"))
switch(alert("Do you want to change your icon?","Confirm","Yes","No"))
if("Yes")
var/icon/arg = icon(i)
var/w = arg.Width()
var/h = arg.Height()
if(w>=33||h>=65)
arg.Scale(32,64)
usr.icon = arg
alert("You have successfully set your new icon.")
else
usr.icon = i
alert("You have successfully set your new icon.")
else
return
else
alert("You can only set a .dmi file as your icon.")
return
Expected Results:
DS and Web clients should see the new uploaded sprite.
Actual Results:
Only the sprite uploader and connected web clients receive the new sprite on-screen. All DS users (excepting the uploader if they are using DS) will not see the new sprite, instead they see the old sprite until they move, and then the sprite itself completely disappears.
Does the problem occur:
Every time, in my game only, across every account/username, across every computer I have.
When does the problem NOT occur?
When people are using the webclient to connect instead of DS.
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.)
This issue was also present in 509, unknown if it persists in older versions.
Workarounds:
Unknown
Is there perhaps any weird setting of preload_rsc affecting this?