ID:1986730
 
Resolved
Objects removed from client.screen sometimes didn't disappear.
BYOND Version:509.1314
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 46.0.2490.86
Applies to:Webclient
Status: Resolved (509.1315)

This issue has been resolved.
Demo Project: http://files.byondhome.com/DarkerEmerald/BYOND%20Debug.zip

Descriptive Problem Summary:
- Weird client.screen glitch where the objs hang even if u remove them from client.screen. Usually happens outside on black areas that are not in view of mob. Will go away if you move.


Numbered Steps to Reproduce Problem:
- Add objs to the client.screen and remove them while those obj are out of bounds of the map.

Code Snippet (if applicable) to Reproduce Problem:
mob
var/tmp
is_hud = 1
verb
Toggle_HUD()
if(src.is_hud)
src.is_hud = 0
src.client.screen = list()
src << "HUD: Off"
else
src.is_hud = 1
src.HUD_UPDATE()
src << "HUD: On"

proc/HUD_UPDATE()
if(src.is_hud)
src.client.screen = list()
var/count = 1
for(var/obj/S in src.contents)
S.screen_loc = "[1],[(13 - count++)]"
src.client.screen += S


Expected Results:
- Obj should always be removed from the client.screen regardless if there screen_loc is out of bounds of the map or not.

Actual Results:
- Obj hang on the web clients screen even if there removed from the client.screen if the obj are out of bounds.

Does the problem occur:
Every time? Or how often?
- Every time.
In other games?
- Yes
In other user accounts?
- Yes
On other computers?
- Unsure.

When does the problem NOT occur?
Does not occur in Dream Seeker.

Workarounds:
- No work around as of yet but it does disappear if you move once if it hangs.
This demo didn't include the required code either, like the right-click one. Worse, because I copied over the code as I unzipped it, it erased the code I'd added for the stick.
All the project demos I supplied are different for each bug report.
Lummox JR resolved issue with message:
Objects removed from client.screen sometimes didn't disappear.
This bug still persists.
I tested this out myself on your demo. Do you have a new demo that still shows it?