ID:1736328
 
Resolved
Negative coordinates in screen_loc did not work.
BYOND Version:507
Operating System:Windows 8
Web Browser:Firefox 34.0
Applies to:Webclient
Status: Resolved (507.1270)

This issue has been resolved.
Descriptive Problem Summary:
When you set screen_loc to a negative number it will place the object to the left side of the map when you display it on the screen. I tried to do this and it worked fine in DreamSeeker but in the webclient the HUD on the left doesn't show up and the one on the right does (should be live right now).

Numbered Steps to Reproduce Problem:
1. Make an object with a random icon.
2. Set screen_loc to "-2,5"
3. Add the object to the client's screen.
4. ???
5. Profit.

Code Snippet (if applicable) to Reproduce Problem:
obj/Lol
icon = 'lol.dmi'
screen_loc = "-2,5"

mob/New()
..()
client.screen += new/obj/Lol


Expected Results:
Object will appear to the left of the map.

Actual Results:
Nothing shows up.

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

When does the problem NOT occur?
When using DreamSeeker.

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.)
N/A

Workarounds:
Don't know.
I'll take a look. I know we can create border objects with 0 but I don't think I tested a -1 case.
Thanks for the quick reply! This bug makes the game completely unplayable without at least one person using the DreamSeeker client and I really wanted to test with the webclient.
Usually what I have done is set it negative but used pixel offsets to make it to 0. like if an icon is 32x32 you could use "-1:32,5" and it should work. I haven't tested it myself in the webclient but in DS it works.
Thanks MDC, but it already works in DS. It only doesn't work in the webclient.
Lummox JR resolved issue with message:
Negative coordinates in screen_loc did not work.