Commit Graph
646 Commits
Author SHA1 Message Date
69bd5ad19b Adds more QoL logs for admins (#20468)
* More logs

* why is this not ignored

* you never know if someone has busted DNA

* Update code/controllers/subsystem/jobs.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

---------

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
2023-03-13 22:24:22 +00:00
S34NandGitHub 010f8dd55b fixes wonky cinematics (#20511) 2023-03-13 22:21:22 +00:00
AffectedArc07andGitHub a63ed1cf67 The attempts to diagnose asay/msay dropouts (#20389)
* The attempts to diagnose asay/msay dropouts

* Yeet

* Tweak that

* Try bumping RUSTG

* Revert "Try bumping RUSTG"

This reverts commit c6bc8e8bd0.

* The return of pain

* welp
2023-03-07 18:51:25 +00:00
GDNandGitHub a49aa46dbe https runtime fix (#20405) 2023-02-16 21:02:08 +01:00
Vi3triceandGitHub 1035603dff Add SSair Recover (#20297)
* prob

* Update air.dm

* Update air.dm
2023-02-14 20:53:08 +01:00
Henri215andGitHub 42d1758b2e Fixing common spelling mistakes part 2 (#20360)
* Fixing common spelling mistakes part 2

* "supressed"
2023-02-08 21:20:35 +01:00
82ebc13847 [READY] Server dev toasts (#20147)
* Server init toast

* New libraries

* GC ref notification

* Update code/_compile_options.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

---------

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2023-02-04 15:11:00 -06:00
7c3cd86f14 APC & Machinery Refactor + Local Powernets (#19991)
* local powernet and machine power refactor

* some fixes

* more tweaks + powerchange() refactor

* fixes var edited apcs on meatpackers.dmm

* fixes issue with power channels

* Reviews

* delta fix

* Update code/game/machinery/portable_turret.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* removed area power change proc

* damn morgues

* requested changes

* request changes

* deconfliction

* mapping fixes

* some fixes from TM

---------

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
2023-01-30 22:28:10 +00:00
Vi3triceandGitHub caee0ec975 [TM] Verb Queue - Port of TG SSverb subsystem (#19863)
* Some verbs queue up now

* Damn you 515

* Screw you Topic

* Update client_procs.dm

* Fixes for unit testing

* Update MC.dm

* verb

* Update callback.dm

* Tweaks

* Linters might not have liked that,

* More tweaks, and fix

* Update verb_manager.dm
2023-01-29 15:05:38 +01:00
png103andGitHub fa83a85f73 Makes ghosts visible after round end (#20215) 2023-01-23 23:41:16 +01:00
GDNandGitHub f03b79b456 fixes a broken check in the job controller (#20264) 2023-01-23 23:28:36 +01:00
AffectedArc07andGitHub 946fb4dff6 Small MC refactor (#20017)
* Small MC refactor

* Order fix

* Nabs tgstation/tgstation#27324

* Oops

* gnarg
2023-01-18 12:06:24 -06:00
AffectedArc07andGitHub 0db3259f47 A lot of perf micro-optimisations (#20188)
* Refactors Investigate Log

* Speedup character loading

* Optimise SSinstancing

* Removes both path images

* Optimises SSdebugview

* CRLF --> LF

* Update config/example/config.toml
2023-01-14 20:01:16 +00:00
QwertytofortyandGitHub b864c95dcf You can no longer redirect the mining / labour shuttle when it is moving (#20083)
* You can no longer redirect the mining / labour shuttle when it is moving

* Sirryans changes

* done
2023-01-13 16:32:23 -05:00
Henri215andGitHub e711cd5921 Fixes lots of common spelling mistakes (#20086)
* Fixes common spelling errors: "atleast", "infront", "succesfully", "alot"

* recieve -> receive

* spelling mistakes: percieve, wierd, posession, seperate, succesful

* Spelling mistakes: noticable, concious, enviroment, existance, foward, interupted, independant

* tgui rebuild

* lets make this run

* "succeded" mispelling

* reverting money spam change
2023-01-08 20:12:31 -05:00
AffectedArc07andGitHub 1feb9fbd38 [READY] Atmos Refactor Part 7 (I think) - Kills signals + TGUIs stuff (#19867)
* I AM NOT A KING. I AM NOT A GOD. I AM LUNACY.

* THE SCOPE CREEP

* This was done in vi. No langserver. Send help.

* Progress

* Some issues fixed

* The code builds, but the maps dont

* CC builds, I doubt anything else does

* Do this now

* Safety

* The map compiles

* THE MAPPING HELL

* Airlock controllers dont work

* Fixed bombs

* AND THATS FIXED

* Phantom edit

* Restores LL I think

* The mapmerge hooks are actually retarded

* Fixes spawners

* Half working air control

* Picky

* Hyper efficient tank monitor

* Sanity

* Laying the framework

* Improved alert console

* Dont think this is actually done anywhere

* Metering

* ONE HUNDRED AND ~~EIGHTY~~ TWENTY SEVEN

* WE ARE READY FOR BOX TO BUILD

* One map done

* Well that was easy

* Another one

* I think this is done

* I should have removed this

* I would make a russian joke but <current event>

* Delta WIP

* Makes delta work

* Early review

* TM safeguard

* oops

* METAAAAAAAAAAAAAAAAAAAAAAAAA

* Fix #4213

* Trailing

* oh for piss sake

* Shutter fix

* Roundstart ATs can go away

* Review pass 1

* What could go wrong

* BOOM BOOM BOOM

* Not needed

* Fix seed vault

* Oops

* Review changes
2023-01-03 20:59:35 +00:00
Sirryan2002andGitHub 7be765d5ef Cargo Techs now have the same power as the Quartermaster to approve crates at the supply console (#19793)
* change qm -> ct

* rebuild TGUI

* rebuilds TGUI

* qm -> ct

* fixes comments and other var names
2022-12-29 17:05:11 +00:00
AffectedArc07andGitHub e91b6c94f7 Renames QDEL_LIST to QDEL_LIST_CONTENTS (#20006)
* Renames QDEL_LIST to QDEL_LIST_CONTENTS

* derp
2022-12-29 14:28:40 +00:00
warriorstar-orionandGitHub 066bd06e8d Whitespace cleanup part 3. (#19897)
* Whitespace cleanup part 3.

* clean up mecha a lot, other review fixes
2022-12-27 11:00:39 -05:00
Sirryan2002andGitHub c21a050c74 Adds an Economy Manager to the Admin Event Panel (#19785)
* Economy Event Panel

* fixin' stuff

* request changes

* oops
2022-12-24 17:47:49 +01:00
warriorstar-orionandGitHub 77f576a5ca Recategorize in-game announcements by priority. (#19639) 2022-12-19 17:02:22 +00:00
c96d14cea2 Fixes a runtime with ERTs and Money Accounts (#19802)
* runtime fix

* Update code/controllers/subsystem/jobs.dm

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2022-12-17 17:10:46 +00:00
Sirryan2002andGitHub e36351f538 gc fixes (#19781) 2022-12-01 21:36:39 +01:00
AffectedArc07andGitHub b1ba9ed47d Logs tickets to the DB (#19679)
* Logs tickets to the DB

* Awho tracking

* This aint needed
2022-12-01 14:03:03 -06:00
61145a02f8 [TGUI] Space Credit Economy Overhaul + Supply Point -> Space Cash (#19209)
* initial edits

* initial edits

* converting shit over to machinery/economy

* vending and mapping fixes

* vending fix pt.2

* Converts Supply Economy to Use Space Credits instead of Supply Points

* Job Payment, NanoBank, and Paychecks

* clothing type path fixes (damn merge conflicts)

* fixes map typepath issues

* adjusts supply prices

* Vendor Price Adjustments

* account uplink terminal tweaks

* please pass tests

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* reviews and bug fixes

* Review Suggestions/Fixes and Request Console Rewrite

* edits

* vending changes for merge

* typepath fix

* final tweaks

* proc ref fixes

* Fixes and Tweaks from 2nd TM

* rebuild TGUI

* final tweaks

* Apply suggestions from code review

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* requested reviews

* tweaks

* updates slot machine winnings

* fixes

* GC fixes

* fixes

* oops. still need to deconflict this

* Apply suggestions from code review

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* requested changes and bug fixes

* atm runtime fix

* requested reviews

* vend act stuff

* attempt to pass tests

* supply packs fix

* user tochat -> debug log

* FINAL FIXES

* removes CC db stuff

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: Farie82 <farie82@users.noreply.github.com>
Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2022-11-21 23:30:50 +00:00
S34NandGitHub b66fb2448c 515 compat 2, ./proc/ boogaloo (#19688)
* 515 compat 2, ./proc/ boogaloo

* ASYNC

* further CI checks

* aa

* lol escape this / pls

* more of them

* no idea why but this is scuffed so
2022-11-15 22:06:30 +01:00
S34NandGitHub aaf7d3b6e3 CI check for old style procrefs, tidies some that slipped in (#19649)
* CI_procref

* tidy these

* exclude the one place we will permit this
2022-11-09 21:13:08 +01:00
S34NandGitHub 667dd5d4ac 515 Compatibility (#19636)
* 515 compat

* double spaces

* Callback documentation, aa review

* spacing

* NAMEOF_STATIC

* big beta
2022-11-08 23:08:40 +00:00
AffectedArc07andGitHub 7300560177 Fixes multibuild - It appears I cant do CI properly (#19637)
* It appears I cant do CI properly

* AAAAAAA

* ugh

* Its clear I am out of fucks to give
2022-11-08 22:41:48 +00:00
AffectedArc07andGitHub ad0cbe4b1d Different day? Different map rotation rules. (#19159)
* Different day? Different rotation rules.

* Make this mergeable

* Tweaks

* Styling
2022-11-06 19:52:19 +00:00
warriorstar-orionandGitHub 4ace2d6c2b Implement map tests for catching common errors. (#19204)
* Implement map tests for catching common errors.

- Adds test runner:
	- to make it easier to track things across test types
	- for example to ensure a fully specified log can be emitted

- Adds map tile test type:
	- when writing a test, coders implement CheckTile, which is
	  handed a single turf
	- when the test runner runs these tests, it iterates over
	  all turfs in the specified z-level, and runs each test's
	  CheckTile on each turf in turn.

- Adds two sample map tile tests:
	- check to see if a pipe exists on the same tile as a scrubber
	  or vent
	- check to see if a tile contains two cables, each with a center
	  node

* Review #1:

- Replace nested loops over map tiles with `block`
- Remove check for valid turf in individual tests, I think it's safe to
  assume `block` will always return legit turfs
- Added proper duration tracking for old tests
- Gave log file an appropriate extension
- Actually use `Fail` for tests

* whoops

* add more tests suggested by @Vi3trice

* Add some more tests courtesy @Bm0n and @Vi3trice

* windows are okay in space as long as it's nearspace

* Add failure threshold to prevent excessive logging.

Once this threshold is reached, a test will stop being processed for
every tile.

Note that this applies to `log_world` and `text2file` equally when
logging large amounts of failures.

* Document each test.

* Remove unnecessary reboot

* Let all map tests run to completion in CI matrix.

* I know what alphabetical means
2022-11-05 15:32:17 +00:00
LemonInTheDarkandGitHub 963516769c Changes how the garbage subsystem queue stores and processes info (#19608)
The way """we""" currently do it, each time you want to walk the queue
you're forced to make a copy in memory of the whole thing

There's no real reason to want this, so it seems best to just avoid it
entirely. It creates a TON of usage for no reason, and also risks a lot
of overtime since you can't really batch a list copy like that.

So instead let's just iterate over the length of the queue, constant
rather then O(N) time.

Similarly, rather then using an associated list in the form queue[ref] = gc time,
we could store queue entries in what amounts to a tuple.

This means no associated list stuff, so the operation of queuing becomes
cheaper, and pulling gc time similarly goes from O(log n) to constant time

I stole this work from myself and mso, tg pr 55595
I'm pring it here because I keep seeing affected complain about the
garbage subsystem and he refuses to do it himself. No I don't have an
ego problem I swear
2022-11-05 11:19:27 +00:00
AffectedArc07andGitHub 21109f3be2 Improved antag fishing busting (#19542) 2022-11-03 18:05:43 +00:00
warriorstar-orionandGitHub 85f4503d33 Refactor announcements. (#19459)
* Refactor announcements.

* Actually make this a unit test

* Dumb

* Remove unnecessary 'as text'

* Reviews:

- Make CSS class a recognizable word
- Flip the defaults for logging

Also:

- Style fixes (default null in fields)
- Fix emergency/crew-transfer shuttle announcement titles
2022-11-02 20:31:37 +01:00
Vi3triceandGitHub 05d93f665a [TM] Port TG Jump Point Search and SSpathfinder (#18984)
* move along move along

* Update bot.dm

* Diagonals are now more expensive

* Update path.dm

* Update parrot.dm

* Update path.dm

* Tweaks

* Fix cleanbot, add path safety

* Tweaked, added a safety, removed the previous one

* Update medbot.dm

* path.len isn't very safe as a whole, floorbots also had order of operations wrong

* Update medbot.dm

* clings not even once

* Back to the drawing board

* Update path.dm

* Make mules actually clear the drawn path.

* Make bots use step_towards unconditionally instead of flipping between step_to and Move

* Making extra sure the path is cleared. Somehow path was left over.

* Check for length as get_path_to is always true

* This and that
2022-10-30 15:54:51 +00:00
Vi3triceandGitHub 03ce2920e1 Defining Part 4 - Code cleanup toward defines (... and the rest) (#19388)
* I wasn't done

* nits
2022-10-28 19:28:23 +02:00
Vi3triceandGitHub 59dfdba201 Everything else through the door (#19358) 2022-10-13 21:56:58 +02:00
Vi3triceandGitHub 9e90c81282 Defining Part 1 - Code cleanup toward defines (#19262)
* This is only the beginning

* Update stack.dm
2022-10-10 20:50:29 +02:00
Vi3triceandGitHub 9fb53a96c8 teeny tiny (#19249) 2022-10-10 20:27:21 +02:00
AffectedArc07andGitHub 279ee1dc12 Fixes a ton of security issues (#19005) 2022-09-10 14:12:16 +01:00
AffectedArc07andGitHub d39a6e4906 True map rotation (#18865) 2022-08-23 21:34:46 +01:00
afbae8af1b Makes anomalies deadlier (#18836)
* Makes anomalies deadlier

* Apply suggestions from code review

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

* undodgeable to dodgeable

* requested changes

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
2022-08-21 16:32:12 +01:00
AffectedArc07andGitHub c4a3843da4 Maptick profiling (#18799)
* Maptick profiling

* oops
2022-08-16 14:11:51 +01:00
AffectedArc07andGitHub a1f296f2d8 Timer Type Tracking (#18803)
* Timer Type Tracking

* Active bucket checking
2022-08-14 14:54:57 +01:00
AffectedArc07andGitHub 4ef0c1c84c Some more stats logging (#18700) 2022-08-09 18:45:57 +01:00
LucandGitHub b565e29cc6 Fixes radiation hud (#18703) 2022-08-04 10:50:17 +01:00
AffectedArc07andGitHub 2da68e9b64 Atmospherics refactor (#18460)
* Atmospherics refactor

* META(GAMING)

* Cleanup

* RPD hotfix

* Fox review

* Do this

* Well that escalated

* Repath these

* Ah yes, scope creep

* Remove this comment

* Regression #1
2022-08-01 16:27:35 -04:00
AffectedArc07andGitHub f0b36ddc59 Changelog improvements (#18498)
* Changelog improvements

* Farie tweaks

* Fix

* Improvements
2022-07-30 16:15:05 +01:00
Farie82andGitHub 935432dd31 Stops thrown things finalizing twice after hitting something (#18623) 2022-07-28 20:56:19 +01:00
CharlieandGitHub 6ab9a133ba Reworks bolas. (#18383)
* bola rework

* energy bolas aint reusable

* re-adds sprites

* SPRITES

* fix bola bag

* range fix
2022-07-24 16:11:41 +02:00