2589 Commits
Author SHA1 Message Date
Mosley 24c0a1314f some fixes
I have no idea if these works, this just allows the server to compile
2025-04-24 17:18:02 -05:00
Mosley 0d9eebd20c Merge remote-tracking branch 'upstream/master' 2025-04-24 17:03:15 -05:00
SandPoot 2d87780147 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 2025-02-13 18:06:56 -03:00
SandPoot 56d972eb0b all sorts of fixes and updates, may break stuff 2025-02-09 02:09:28 -03:00
Mosley a44046076a Merge remote-tracking branch 'upstream/master' 2024-11-21 22:44:41 -05:00
SandPoot 1d6008397a Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 2024-11-19 23:22:26 -03:00
Metis f6af059a06 job titles 2024-11-02 03:16:16 -04:00
Mosley cd03ca1151 Merge branch 'master' into content-stuff 2024-10-24 15:21:03 -05:00
Mosley 518fea2b1a Merge remote-tracking branch 'upstream/master' 2024-10-24 01:00:56 -05:00
b478367fd9 Saves on average 10 seconds from roundstart times (#71730)
## About The Pull Request

When runlevels change mid work, subsystems running behind have their
next_fire updated.
It's offset by a sum of random numbers, so things don't bunch up,
especially KEEPTIME SSs

The trouble is we have so many subsystems that get added at roundstart
that this offset gets LARGE, like 10 seconds on average.

So instead of randomly offsetting, why not "fill" a set of time slots?
Only 1 keeptime subsystem a tick, and 4 others. Then we just fill up
those buckets and get to it (also don't offset things that are already
processing)

I've talked to mso a bit about this. What he reccomended was sampling a
random time withing a 2 second window.
I'm not totally sure why, kinda waiting for him to tell me off, if he
does I'll fix things up.

This pattern takes the max possible delay from 16 (76 * 5 / 20)) seconds
to 0.7 (56 / 4 / 20)
It obviously scales with subsystem count, but I like this scaling a bit
better

I've applied the same pattern to the offsetting we do at the start of
Loop(), for ticker subsystems. I am less confident in this, it does take
last fire times from at worst 3.75 seconds (15 * 5 / 20) to a static
0.75 (15 / 20)
As stated I'm less sure of this, hoping to get mso'd so I can clean
things up

## Why It's Good For The Game

Makes roundstart snappier

## Changelog
🆑
code: Roundstart "starting" should be much snappier now
/🆑

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2024-10-21 00:30:59 -04:00
SandPoot e2cc28d21d Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 2024-10-20 18:05:53 -03:00
80e7c0db0a [MIRROR] Sends a toast notification when initializations complete. [MDB IGNORE] (#18623)
* Sends a toast notification when initializations complete. (#72465)

Initialization is significantly slowed down by the presence of clients,
though when testing features, you need to join the server. I've been
told that some devs (particularly Mothblocks) are alt-tabbed out of
Dream Daemon while doing dev work, meaning that they are liable to miss
initializations completing, causing an effective slowdown in the dev
cycle. Mothblocks said it would be nice if there was a way to produce a
desktop notification when initialization completes.

I originally intended to add a function to rust_g that would produce a
Windows toast notification with a button allowing you to immediately
launch Dream Seeker. However, I couldn't find a reliable way to detect
if the OS version was Windows 7 or earlier, so running this function on
such an OS would cause a rust panic (which I was told is only a problem
because MSO probably still uses Windows 7).

Fortunately, PowerShell scripts can access the necessary .NET APIs to
produce toast notifications on Windows 10, while also failing more
gracefully than crashing the host process. So I recreated the
functionality I intended in PowerShell.

Toast notifications will only be sent on Windows, if the
TOAST_NOTIFICATION_ON_INIT config flag is enabled, AND there are no
clients on the server.

**Note for downstreams:** If you want the toast notification to have
your downstream's icon, copy it, scale the copy down to 16x16, and
either rename it "tg_16.png" or change that path in the call to
`world.shelleo` to the name of the new file.

Video Demo:

https://user-images.githubusercontent.com/12720844/210492033-963923d7-a1de-4326-9c9f-4f0c0b71d1a5.mp4

This isn't really a line item in the Dev Cycles Initiative, but even if
Mothblocks was exaggerating the benefits, it would still be a
significant speedup in the dev cycles.

No player-facing changes.

* Sends a toast notification when initializations complete.

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
2024-10-15 00:25:48 -04:00
Mosley 928b4c62b0 Merge remote-tracking branch 'venus/master' into content-stuff 2024-10-11 03:47:54 -05:00
Sim 3e4f8da97c [Port] The Ocky Icky Phobia from tgstation/tgstation#57450 & tgstation/tgstation#80247 2024-10-08 15:06:28 -03:00
Sim 6e57a237a9 [MIRROR] Popup Notice tgstation/tgstation#61010
Ports the admin popup notice from tgstation.
2024-10-07 23:27:22 -03:00
Mosley 5f2ef6327a Revert "Vote result"
This reverts commit 09bce1bc0d.
2024-09-20 12:11:39 -05:00
Mosley 8c06e5984c how about another joke murray? 2024-09-20 02:49:07 -05:00
Mosley f8c0405d06 Merge remote-tracking branch 'venus/master' into content-stuff
Gallifrey stands!
2024-09-20 01:37:56 -05:00
Mosley 3a8024db6d undoes removals 2024-09-20 01:13:14 -05:00
ariaworld 3964cc1101 Some useful things (I hope title.dm will work, praying) 2024-09-19 01:44:56 +02:00
Mosley 9f8b2ca870 Revert "Let's get rid of this"
This reverts commit f01dc9293d.
2024-09-18 18:14:33 -05:00
ariaworld 66ecccc919 BEE RD CONSOLE 2024-09-16 01:24:51 +02:00
ariaworld e0083a5fb4 TGS doesn't need this 2024-09-12 21:29:25 +02:00
ariaworld f01dc9293d Let's get rid of this 2024-09-12 15:21:51 +02:00
Tiviandariaworld a4e67ccf36 Those messages shouldn't be important for admin chat. 2024-09-11 23:29:17 +02:00
ariaworld 5176ca425e Fix: tries to fix lobby + forced song 2024-09-11 13:56:16 +02:00
ariaworld aef9e98b9c Grahh 2024-09-09 15:36:26 +02:00
ariaworld ea2e59b39b Freaky freaky 2024-09-07 03:53:10 +02:00
ariaworld fef887eb77 Exclude songs in {} from random pick (for specialized picking) 2024-09-06 19:11:52 +02:00
ariaworld c971cfaead Linking specific titles + sounds, perhaps? 2024-09-06 18:39:37 +02:00
ariaworld 09bce1bc0d Vote result 2024-09-02 22:44:23 +02:00
ariaworld d42c7a4f2a Merge remote-tracking branch 2024-08-29 14:42:55 +02:00
SandPoot a1905591f7 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 2024-08-24 23:49:10 -03:00
SandPoot c07e94be66 push 2024-08-24 21:28:55 -03:00
ariaworld d2422de379 Removes N.2 unholy ERP verbs. Add: new textures for doors and floors. 2024-08-05 20:46:52 +02:00
BongaTheProto 652a380d02 Merge remote-tracking branch 'upstream/master' 2024-05-20 18:15:04 -05:00
SandPoot e31747dc08 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 2024-05-20 18:55:33 -03:00
BongaTheProto 3a44ff3fda Merge remote-tracking branch 'upstream/master' 2024-05-20 16:55:07 -05:00
deathride58andGitHub 2e5e548369 Merge pull request #16089 from SandPoot/borg-buttons
Borg movement intent buttons
2024-05-20 17:40:38 -04:00
SandPoot 7832dbdba4 push 2024-05-20 18:25:24 -03:00
SandPoot 6083aeb1e3 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 2024-05-17 21:49:16 -03:00
0a074ecb63 Purpose found
Co-authored-by: deathride58 <deathride58@users.noreply.github.com>
2024-05-17 21:38:45 -03:00
SandPoot 8d4b317800 poosh 2024-05-17 15:12:55 -03:00
ariaworld 8efbd2dd26 Quirk removal admin log + allow hermit to load custom character 2024-05-02 16:37:45 +02:00
BongaTheProto e0d2191e7d Update overlays.dm
comments out the icons test because upstream hasn't bothered to fix the runtimes it finds yet
2024-04-19 18:17:01 -05:00
BongaTheProto 1e1fc329f8 Merge remote-tracking branch 'upstream/master' into upstream-merge 2024-04-13 14:12:39 -05:00
SandPoot 2e2528ee56 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 2024-04-13 00:36:29 -03:00
deathride58andGitHub dd8c641520 Merge pull request #15486 from SandPoot/kills-cache
Solves issues with overlays by updating the whole subsystem
2024-04-12 23:31:54 -04:00
SandPoot e40960a3a2 sadly necessary 2024-04-12 22:18:43 -03:00
SandPoot 002a4c31c1 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 2024-04-12 22:06:15 -03:00