-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fixes Cameras views on clients 515.1615 or greater #80818
Conversation
Yogstation sends its regards |
Fixes #79954 |
good first PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some reviews and a few questions
Easy ones Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com>
Make sure to add this to your PR body |
/// Due to a Byond bug where secondary maps have improperly offset render targets, we will need to override this to "LEFT,TOP" for clients >515.1614 | ||
var/relay_loc = "CENTER" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to document what this DOES rather then why it's here, since why it's here might change given time
If it doesn't and none finds another use for this we can just rip it out when we deprecate the older client versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think i better explained
…ter (#9359) Original PR: tgstation/tgstation#80818 ----- ## About The Pull Request Fixes tgstation/tgstation#79954 Turns out the cause of cameras breaking was something weird with how Byond determined the CENTER location for screen_locs on secondary popup maps like cameras and the spyglass. This can be remedied by manually using the LEFT,TOP position for the plane relays. However LEFT,TOP breaks the views for clients 1614 and below so I included a jank solution that should allow any client up to this point have the screen displayed correctly ### 515.1609 views working  ### 515.1623 views working  ## Why It's Good For The Game Cameras working passed 1614 means you can update the server. At some point I suspect Lummox will fix the CENTER position on secondary maps and when that happens it will likely break the current fix. ## Changelog :cl: fix: popup screen locs will work on clients >1614. Security cameras and Spyglass will work /:cl: Co-authored-by: Chubbygummibear <46236974+Chubbygummibear@users.noreply.github.com> Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
## About The Pull Request Fixes tgstation/tgstation#79954 Turns out the cause of cameras breaking was something weird with how Byond determined the CENTER location for screen_locs on secondary popup maps like cameras and the spyglass. This can be remedied by manually using the LEFT,TOP position for the plane relays. However LEFT,TOP breaks the views for clients 1614 and below so I included a jank solution that should allow any client up to this point have the screen displayed correctly ### 515.1609 views working  ### 515.1623 views working  ## Why It's Good For The Game Cameras working passed 1614 means you can update the server. At some point I suspect Lummox will fix the CENTER position on secondary maps and when that happens it will likely break the current fix. ## Changelog :cl: fix: popup screen locs will work on clients >1614. Security cameras and Spyglass will work /:cl: --------- Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
## About The Pull Request Closes: #89330 Replaced old hacky workaround #80818 with brand new hacky workaround. ## Why It's Good For The Game It is ## Changelog :cl: fix: fixed camera consoles, spyglasses etc. client crush on 516 /:cl: --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
## About The Pull Request Closes: tgstation/tgstation#89330 Replaced old hacky workaround tgstation/tgstation#80818 with brand new hacky workaround. ## Why It's Good For The Game It is ## Changelog :cl: fix: fixed camera consoles, spyglasses etc. client crush on 516 /:cl: --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
## About The Pull Request Closes: tgstation/tgstation#89330 Replaced old hacky workaround tgstation/tgstation#80818 with brand new hacky workaround. ## Why It's Good For The Game It is ## Changelog :cl: fix: fixed camera consoles, spyglasses etc. client crush on 516 /:cl: --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
## About The Pull Request Closes: tgstation/tgstation#89330 Replaced old hacky workaround tgstation/tgstation#80818 with brand new hacky workaround. ## Why It's Good For The Game It is ## Changelog :cl: fix: fixed camera consoles, spyglasses etc. client crush on 516 /:cl: --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
## About The Pull Request Closes: tgstation/tgstation#89330 Replaced old hacky workaround tgstation/tgstation#80818 with brand new hacky workaround. ## Why It's Good For The Game It is ## Changelog :cl: fix: fixed camera consoles, spyglasses etc. client crush on 516 /:cl: --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
## About The Pull Request Closes: tgstation/tgstation#89330 Replaced old hacky workaround tgstation/tgstation#80818 with brand new hacky workaround. ## Why It's Good For The Game It is ## Changelog :cl: fix: fixed camera consoles, spyglasses etc. client crush on 516 /:cl: --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
About The Pull Request
Fixes #79954
Turns out the cause of cameras breaking was something weird with how Byond determined the CENTER location for screen_locs on secondary popup maps like cameras and the spyglass. This can be remedied by manually using the LEFT,TOP position for the plane relays. However LEFT,TOP breaks the views for clients 1614 and below so I included a jank solution that should allow any client up to this point have the screen displayed correctly
515.1609 views working
515.1623 views working
Why It's Good For The Game
Cameras working passed 1614 means you can update the server. At some point I suspect Lummox will fix the CENTER position on secondary maps and when that happens it will likely break the current fix.
Changelog
🆑
fix: popup screen locs will work on clients >1614. Security cameras and Spyglass will work
/:cl: