ID:2259238
 
BYOND Version:511
Operating System:Windows 10 Home
Web Browser:Firefox
Applies to:Webclient
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:

I think this screenshot is a good view of all the remaining bugs:


(I marked my browser as Firefox, but I tried both Firefox and Chrome and they look the same because I have the font installed)

The lighting still doesn't work even with your changes. I'll post the code below to make sure maybe I'm not messing up somehow.

The maptext was accidentally left on a lower layer on the version of the source you have. The maptext is displaying but it seems like the br tag makes the size reset. Adding a new font size tag after every br does not reset the size. I believe that the buttons aren't displaying because the maptext is overtop of them, but I'm not sure.

The maptext just plain doesn't show up on the scores. I don't know why. They're also off center for seemingly no reason. I will post their default positioning code.

Numbered Steps to Reproduce Problem:

Run the game in the webclient.

Code Snippet (if applicable) to Reproduce Problem:
Lighting Plane, Lighting.dm (first definition):
obj/lighting_plane
screen_loc = "CENTER"
plane = 99
blend_mode = BLEND_MULTIPLY
appearance_flags = PLANE_MASTER | NO_CLIENT_COLOR
// use 20% ambient lighting; be sure to add full alpha
color = list(null,null,null,230,"#333f")
mouse_opacity = 0 // nothing on this plane is mouse-visible'
New()
var/obj/O = new()
O.icon = 'icons/blackness.dmi'
O.plane = 99
O.layer = BACKGROUND_LAYER
O.appearance_flags = RESET_COLOR | NO_CLIENT_COLOR
O.blend_mode = BLEND_OVERLAY
O.transform = matrix(25,MATRIX_SCALE)
overlays += O


Default definitions for Player1Score, UI.dm, line 14:
    Player1Score
screen_loc = "CENTER-5,NORTH"
maptext_width = 352
maptext_height = 32


Expected Results:

It works.

Actual Results:

It still doesn't.

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

When does the problem NOT occur?

Never.

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.)

Mostly the same problems as before.

Workarounds:

Use DS.

Edit: Just realized that the score UI thing is probably my fault for brainfarting and offsetting screen_loc instead of using maptext_x. I don't have time to change it right now, but I'll report back hopefully tomorrow with the results of that.

Edit 2: Had time to test. Fixes the positioning of the boxes themselves but the text still doesn't show up. Maybe something to do with the way the webclient renders text differently than DS.