Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disco ball runtime #11483

Open
PowerfulBacon opened this issue Sep 12, 2024 · 5 comments
Open

Disco ball runtime #11483

PowerfulBacon opened this issue Sep 12, 2024 · 5 comments
Labels
Priority: High Triaged Issues that are exempt from the stale action

Comments

@PowerfulBacon
Copy link
Member

[21:53:19] Runtime in code/modules/lighting/lighting_atom.dm, line 44: update_light() for the disco light with following light_system value: 2
proc name: update light (/atom/proc/update_light)
usr: [Redacted]
usr.loc: (Cargo Bay (108, 97, 2))
src: the disco light (/obj/item/flashlight/spotlight)
src.loc: the floor (109,94,2) (/turf/open/floor/iron)
call stack:
the disco light (/obj/item/flashlight/spotlight): update light()
Cargonian Dance Machine (/obj/machinery/jukebox/disco/indestructible): lights spin()
Cargonian Dance Machine (/obj/machinery/jukebox/disco/indestructible): activate music()
Cargonian Dance Machine (/obj/machinery/jukebox/disco/indestructible): ui act("toggle", /list (/list), /datum/tgui (/datum/tgui), /datum/ui_state/default (/datum/ui_state/default))
/datum/tgui (/datum/tgui): on message("act/toggle", /list (/list), /list (/list))
/datum/tgui_window (/datum/tgui_window): on message("act/toggle", /list (/list), /list (/list))
tgui Topic(/list (/list))
[Redacted] (/client): Topic("type=act%2Ftoggle&payload=%7B%...", /list (/list), null, null)
@PowerfulBacon PowerfulBacon added Priority: High Triaged Issues that are exempt from the stale action labels Sep 12, 2024
@PowerfulBacon
Copy link
Member Author

Posted over 20k runtimes

@HowToLoLu
Copy link
Contributor

Quickly blaming the code, looks like this has probably happened many times over the past 3 years? The relevant jukebox and light code was last touched that long ago; right after some revert for a thing being unstable as well.

I think the fix may just be to remove update_light() from the jukebox code, but there also could be more to it.

@Tsar-Salat
Copy link
Contributor

Tsar-Salat commented Sep 12, 2024

Is it just something we failed to account for when we re-ported overlay lighting?

Cause the last person to touch it was a revert of overlay lighting

@Rukofamicom
Copy link
Contributor

This is such a massive pain to debug locally because you can't turn the machine on locally without first having a config directory set up with songs that aren't part of our codebase here on github by default.

There's no easy way to turn this device on in a testing environment right now.

@PowerfulBacon
Copy link
Member Author

The fix can be thrown in with #11279

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Triaged Issues that are exempt from the stale action
Projects
None yet
Development

No branches or pull requests

4 participants