Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MemeSnorfer committed Feb 19, 2024
2 parents dccc823 + ee18f1f commit 9d6991f
Show file tree
Hide file tree
Showing 267 changed files with 18,434 additions and 20,749 deletions.
36 changes: 36 additions & 0 deletions .github/MC_tab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
The MC tab hold information on how the game is performing. Here's a crash course on what the most important of those numbers mean.

If you already know what these numbers mean and you want to see them update faster than the default refresh rate of once every 2 seconds, you can enable the admin pref to make the MC tab refresh every 4 deciseconds. Please don't do this unless you actually need that information at a faster refresh rate since updating every subsystems information is expensive.

# Main Entries:

* CPU: What percentage of a tick the game is using before starting the next tick. If this is above 100 it means we are over budget.

* TickCount: How many ticks should have elapsed since the start of the game if no ticks were ever delayed from starting.

* TickDrift: How many ticks since the game started that have been delayed. Essentially this is how many ticks the game is running behind. If this is increasing then the game is currently not able to keep up with demand.

* Internal Tick Usage: You might have heard of this referred to as "maptick". It's how much of the tick that an internal byond function called SendMaps() has taken recently. The higher this is the less time our code has to run. SendMaps() deals with sending players updates of their view of the game world so it has to run every tick but it's expensive so ideally this is optimized as much as possible. You can see a more detailed breakdown of the cost of SendMaps by looking at the profiler in the debug tab -> "Send Maps Profile".

# Master Controller Entry:

* TickRate: How many Byond ticks go between each master controller iteration. By default this is 1 meaning the MC runs once every byond tick. But certain configurations can increase this slightly.

* Iteration: How many times the MC has ran since starting.

* TickLimit: This SHOULD be what percentage of the tick the MC can use when it starts a run, however currently it just represents how much of the tick the MC can use by the time that SSstatpanels fires. Someone should fix that.

# Subsystem Entries:

Subsystems will typically have a base stat entry of the form:
[ ] Name 12ms|28%(2%)|3

The brackets hold a letter if the subsystem is in a state other than idle.

The first numbered entry is the cost of the subsystem, which is a running average of how many milliseconds the subsystem takes to complete a full run. This is increased every time the subsystem resumes an uncompleted run or starts a new run and decays when runs take less time. If this balloons to huge values then it means that the amount of work the subsystem needs to complete in a run is far greater than the amount of time it actually has to execute in whenever it is its turn to fire.

The second numbered entry is like cost, but in percentage of an ideal tick this subsystem takes to complete a run. They both represent the same data.

The third entry (2%) is how much time this subsystem spent executing beyond the time it was allocated by the MC. This is bad, it means that this subsystem doesn't yield when it's taking too much time and makes the job of the MC harder. The MC will attempt to account for this but it is better for all subsystems to be able to correctly yield when their turn is done.

The fourth entry represents how many times this subsystem fires before it completes a run.
Empty file added 2024-02-11 19
Empty file.
6 changes: 3 additions & 3 deletions _maps/RandomRuins/BeachRuins/beach_crashed_engineer.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
/turf/open/floor/plating,
/area/ruin/unpowered)
"kH" = (
/obj/item/book/manual/wiki/engineering_construction,
/obj/item/book/manual/wiki/construction,
/turf/open/floor/plating/beach/sand{
light_range = 2
},
Expand Down Expand Up @@ -453,7 +453,7 @@
/turf/open/floor/plasteel/tech,
/area/ruin/unpowered)
"sB" = (
/obj/item/book/manual/wiki/engineering_guide,
/obj/item/book/manual/wiki/engineering,
/turf/open/floor/plating/beach/sand{
light_range = 2
},
Expand Down Expand Up @@ -858,7 +858,7 @@
/area/overmap_encounter/planetoid/beachplanet/explored)
"Kl" = (
/obj/effect/radiation,
/obj/item/book/manual/wiki/engineering_singulo_tesla,
/obj/item/book/manual/wiki/engineering,
/turf/open/water/beach/deep,
/area/overmap_encounter/planetoid/beachplanet/explored)
"Ko" = (
Expand Down
4 changes: 2 additions & 2 deletions _maps/RandomRuins/BeachRuins/beach_ocean_town.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -3308,7 +3308,7 @@
/area/overmap_encounter/planetoid/beachplanet/explored)
"MY" = (
/obj/structure/table,
/obj/item/book/manual/wiki/barman_recipes,
/obj/item/book/manual/wiki/drinks,
/turf/open/floor/wood{
light_range = 2
},
Expand All @@ -3321,7 +3321,7 @@
/area/overmap_encounter/planetoid/beachplanet/explored)
"Ni" = (
/obj/structure/table/wood,
/obj/item/book/manual/wiki/medical_cloning,
/obj/item/book/manual/wiki/medicine,
/obj/machinery/light/small/directional/west,
/turf/open/floor/wood,
/area/ruin/beach/oceantown)
Expand Down
4 changes: 2 additions & 2 deletions _maps/RandomRuins/IceRuins/icemoon_surface_engioutpost.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@
/obj/effect/turf_decal/industrial/warning{
dir = 8
},
/obj/item/book/manual/wiki/engineering_singulo_tesla,
/obj/item/book/manual/wiki/engineering,
/turf/open/floor/plasteel/icemoon,
/area/ruin)
"bE" = (
Expand Down Expand Up @@ -828,7 +828,7 @@
/turf/open/floor/plasteel/icemoon,
/area/ruin)
"cc" = (
/obj/item/book/manual/wiki/atmospherics,
/obj/item/book/manual/wiki/engineering,
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4{
dir = 4
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,6 @@
"ex" = (
/obj/effect/decal/cleanable/dirt,
/obj/structure/table,
/obj/item/book/manual/wiki/security_space_law,
/obj/effect/turf_decal/corner/opaque/red{
dir = 1
},
Expand Down
16 changes: 8 additions & 8 deletions _maps/RandomRuins/JungleRuins/jungle_abandoned_library.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@
/obj/effect/turf_decal/siding/wood{
dir = 4
},
/obj/item/book/manual/wiki/medical_cloning{
/obj/item/book/manual/wiki/medicine{
pixel_x = 14
},
/obj/structure/fluff/paper/stack{
Expand Down Expand Up @@ -1305,7 +1305,7 @@
/obj/effect/turf_decal/siding/wood{
dir = 4
},
/obj/item/book/manual/wiki/engineering_guide{
/obj/item/book/manual/wiki/engineering{
pixel_x = -6;
pixel_y = 9
},
Expand Down Expand Up @@ -1581,7 +1581,7 @@
/obj/effect/turf_decal/siding/wood{
dir = 4
},
/obj/item/book/manual/wiki/plumbing{
/obj/item/book/manual/wiki/piloting{
pixel_y = 7;
pixel_x = 5
},
Expand Down Expand Up @@ -2058,7 +2058,7 @@
/obj/effect/turf_decal/siding/wood{
dir = 4
},
/obj/item/book/manual/wiki/telescience{
/obj/item/book/manual/wiki/surgery{
pixel_y = 11;
pixel_x = -4
},
Expand Down Expand Up @@ -2760,7 +2760,7 @@
/obj/effect/turf_decal/siding/wood{
dir = 4
},
/obj/item/book/manual/wiki/robotics_cyborgs{
/obj/item/book/manual/wiki/robotics{
pixel_x = -5;
pixel_y = 4
},
Expand Down Expand Up @@ -2929,7 +2929,7 @@
/turf/open/floor/wood,
/area/ruin/jungle)
"SN" = (
/obj/item/book/manual/wiki/research_and_development{
/obj/item/book/manual/wiki/command{
pixel_y = 5;
pixel_x = -5
},
Expand Down Expand Up @@ -2980,7 +2980,7 @@
/turf/closed/mineral/random/jungle,
/area/ruin/jungle)
"TE" = (
/obj/structure/bookcase/manuals/research_and_development,
/obj/structure/bookcase/manuals/chemistry,
/turf/open/floor/wood,
/area/ruin/jungle)
"TH" = (
Expand Down Expand Up @@ -3254,7 +3254,7 @@
/obj/effect/turf_decal/siding/wood{
dir = 4
},
/obj/item/book/manual/wiki/infections{
/obj/item/book/manual/wiki/piloting{
pixel_x = 2;
pixel_y = 10
},
Expand Down
22 changes: 11 additions & 11 deletions _maps/RandomRuins/JungleRuins/jungle_bombed_starport.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@
/area/overmap_encounter/planetoid/jungle/explored)
"dZ" = (
/obj/structure/table/wood,
/obj/item/book/manual/wiki/engineering_guide,
/obj/item/book/manual/wiki/engineering,
/obj/machinery/light/small/broken/directional/west,
/turf/open/floor/wood,
/area/ruin/jungle/starport)
Expand Down Expand Up @@ -1939,7 +1939,7 @@
/area/overmap_encounter/planetoid/jungle/explored)
"nI" = (
/obj/structure/table/wood,
/obj/item/book/manual/wiki/toxins,
/obj/item/book/manual/wiki/chemistry,
/obj/machinery/light/small/broken/directional/east,
/turf/open/floor/wood{
icon_state = "wood-broken3"
Expand Down Expand Up @@ -4117,10 +4117,10 @@
/area/overmap_encounter/planetoid/jungle/explored)
"Co" = (
/obj/structure/closet,
/obj/item/clothing/under/syndicate/aclfgrunt,
/obj/item/clothing/under/syndicate/aclfgrunt,
/obj/item/clothing/under/syndicate/aclfgrunt,
/obj/item/clothing/under/syndicate/aclfgrunt,
/obj/item/clothing/under/syndicate/ngr,
/obj/item/clothing/under/syndicate/ngr,
/obj/item/clothing/under/syndicate/ngr,
/obj/item/clothing/under/syndicate/ngr,
/turf/open/floor/plating{
icon_state = "platingdmg2"
},
Expand Down Expand Up @@ -5382,7 +5382,7 @@
},
/area/overmap_encounter/planetoid/jungle/explored)
"Kx" = (
/obj/item/clothing/under/syndicate/aclfgrunt,
/obj/item/clothing/under/syndicate/ngr,
/turf/open/floor/plating{
icon_state = "platingdmg3"
},
Expand Down Expand Up @@ -5611,8 +5611,8 @@
/area/overmap_encounter/planetoid/jungle/explored)
"LM" = (
/obj/structure/closet,
/obj/item/clothing/suit/gorlex,
/obj/item/clothing/under/syndicate/officer,
/obj/item/clothing/suit/armor/vest/capcarapace/ngr_captain,
/obj/item/clothing/under/syndicate/ngr/officer,
/obj/item/gun/ballistic/automatic/pistol,
/obj/item/ammo_box/magazine/m10mm,
/obj/item/ammo_box/magazine/m10mm,
Expand Down Expand Up @@ -7295,8 +7295,8 @@
"XC" = (
/obj/effect/decal/remains/human,
/obj/effect/decal/cleanable/vomit/old,
/obj/item/clothing/under/syndicate/officer,
/obj/item/clothing/suit/gorlex,
/obj/item/clothing/under/syndicate/ngr/officer,
/obj/item/clothing/suit/armor/vest/capcarapace/ngr_captain,
/obj/item/clothing/shoes/combat,
/turf/open/floor/mineral/plastitanium,
/area/ruin/jungle/starport/tower)
Expand Down
12 changes: 4 additions & 8 deletions _maps/RandomRuins/JungleRuins/jungle_cavecrew.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2331,14 +2331,10 @@
dir = 1
},
/obj/effect/turf_decal/siding/wood/corner,
/obj/item/book/manual/wiki/engineering_guide{
/obj/item/book/manual/wiki/engineering{
pixel_x = 5;
pixel_y = -7
},
/obj/item/book/manual/wiki/grenades{
pixel_x = -3;
pixel_y = 1
},
/obj/effect/decal/cleanable/dirt/dust,
/obj/effect/decal/cleanable/wrapping,
/turf/open/floor/wood,
Expand Down Expand Up @@ -2817,11 +2813,11 @@
dir = 1
},
/obj/effect/turf_decal/siding/wood,
/obj/item/book/manual/wiki/engineering_hacking{
/obj/item/book/manual/wiki/hacking{
pixel_x = -8;
pixel_y = 6
},
/obj/item/book/manual/wiki/cooking_to_serve_man{
/obj/item/book/manual/wiki/cooking{
pixel_x = 5;
pixel_y = -6
},
Expand Down Expand Up @@ -3781,7 +3777,7 @@
color = "#66b266";
dir = 4
},
/obj/item/book/manual/wiki/experimentor{
/obj/item/book/manual/wiki/surgery{
pixel_x = 10;
pixel_y = -5
},
Expand Down
6 changes: 1 addition & 5 deletions _maps/RandomRuins/JungleRuins/jungle_paradise.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -5802,7 +5802,7 @@
/area/overmap_encounter/planetoid/cave/explored)
"Lv" = (
/obj/structure/table/reinforced,
/obj/item/book/manual/wiki/tcomms{
/obj/item/book/manual/wiki/construction{
pixel_x = -7;
pixel_y = 4
},
Expand Down Expand Up @@ -6376,10 +6376,6 @@
/obj/item/radio/intercom/directional/south{
name = "Station Intercom (General)"
},
/obj/item/book/manual/wiki/security_space_law{
pixel_x = -4;
pixel_y = 4
},
/turf/open/floor/mineral/plastitanium/red/brig,
/area/overmap_encounter/planetoid/cave/explored)
"OC" = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,6 @@
/area/overmap_encounter/planetoid/jungle/explored)
"wK" = (
/obj/structure/table/wood,
/obj/item/book/manual/wiki/grenades{
desc = "Some kind of manual about making hellish grenades and explosives. Completely unreadable, but you feel as though you've gained a level in explosives.";
name = "Pete's Lesson";
pixel_y = 3
},
/turf/open/floor/wood{
icon_state = "wood-broken5"
},
Expand Down
2 changes: 1 addition & 1 deletion _maps/RandomRuins/LavaRuins/lavaland_surface_codelab.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
/turf/open/floor/plasteel/white,
/area/ruin/unpowered/codelab/storage)
"gz" = (
/obj/structure/bookcase/manuals/research_and_development,
/obj/structure/bookcase/manuals/chemistry,
/turf/open/floor/plasteel/white,
/area/ruin/unpowered/codelab/reception)
"gC" = (
Expand Down
4 changes: 0 additions & 4 deletions _maps/RandomRuins/RockRuins/rockplanet_budgetcuts.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1608,10 +1608,6 @@
/area/ruin/powered)
"AY" = (
/obj/structure/table/wood,
/obj/item/book/manual/wiki/security_space_law{
pixel_x = 12;
pixel_y = 2
},
/obj/item/flashlight/lamp{
pixel_y = 4
},
Expand Down
2 changes: 1 addition & 1 deletion _maps/RandomRuins/RockRuins/rockplanet_saloon.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
/area/overmap_encounter/planetoid/rockplanet/explored)
"hj" = (
/obj/structure/table/wood,
/obj/item/book/manual/wiki/barman_recipes{
/obj/item/book/manual/wiki/drinks{
pixel_x = -2;
pixel_y = 12
},
Expand Down
Loading

0 comments on commit 9d6991f

Please sign in to comment.