Skip to content

Commit

Permalink
Merge branch 'master' into movphysics
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun-Soaked authored May 18, 2024
2 parents a553467 + 9e629b3 commit 703eced
Show file tree
Hide file tree
Showing 518 changed files with 12,201 additions and 48,909 deletions.
31 changes: 17 additions & 14 deletions .github/RUNNING_A_SERVER.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ First-time installation should be fairly straightforward. First, you'll need
BYOND installed. You can get it from https://www.byond.com/download. Once you've done
that, extract the game files to wherever you want to keep them. This is a
sourcecode-only release, so the next step is to compile the server files.
Open shiptest.dme by double-clicking it, open the Build menu, and click
compile. This'll take a little while, and if everything's done right you'll get
a message like this:

Double-click `BUILD.bat` in the root directory of the source code. This'll take
a little while, and if everything's done right you'll get a message like this:

```
saving shiptest.dmb (DEBUG mode)
Expand All @@ -17,14 +17,6 @@ If you see any errors or warnings, something has gone wrong - possibly a corrupt
download or the files extracted wrong. If problems persist, ask for assistance
in [the discord](https://shiptest.net/discord)

Once that's done, open up the config folder. You'll want to edit config.txt to
set the probabilities for different gamemodes in Secret and to set your server
location so that all your players don't get disconnected at the end of each
round. It's recommended you don't turn on the gamemodes with probability 0,
except Extended, as they have various issues and aren't currently being tested,
so they may have unknown and bizarre bugs. Extended is essentially no mode, and
isn't in the Secret rotation by default as it's just not very fun.

You'll also want to edit config/admins.txt to remove the default admins and add
your own. "Game Master" is the highest level of access, and probably the one
you'll want to use for now. You can set up your own ranks and find out more in
Expand All @@ -43,9 +35,15 @@ Windows DLL is included in this repository, but Linux users will need to build
and install it themselves. Directions can be found at the [rust-g
repo](https://github.com/tgstation/rust-g).

**Unlike other servers,** Shiptest also uses an external library called Auxmos, which
needs to be compiled on linux systems. Like with rust-g, Windows hosts should be fine, as the DLL
it needs is shipped with the repository. Please download and install [auxmos](https://github.com/Putnam3145/auxmos)
using the instructions provided if you're running a linux system.
`tools/ci/build_auxmos.sh` can also be used if you're in a rush.

Finally, to start the server, run Dream Daemon and enter the path to your
compiled shiptest.dmb file. Make sure to set the port to the one you
specified in the config.txt, and set the Security box to 'Safe'. Then press GO
specified in the config.txt, and set the Security box to 'Trusted'. Then press GO
and the server should start up and be ready to join. It is also recommended that
you set up the SQL backend (see below).

Expand All @@ -68,9 +66,14 @@ https://github.com/tgstation/tgstation-server

## SQL SETUP

The SQL backend requires a Mariadb server running 10.2 or later. Mysql is not supported but Mariadb is a drop in replacement for mysql. SQL is required for the library, stats tracking, admin notes, and job-only bans, among other features, mostly related to server administration. Your server details go in /config/dbconfig.txt, and the SQL schema is in /SQL/tgstation_schema.sql and /SQL/tgstation_schema_prefix.sql depending on if you want table prefixes. More detailed setup instructions are located here: https://shiptest.net/wiki/Downloading_the_source_code#Setting_up_the_database
The SQL backend requires a Mariadb server running 10.2 or later. Mysql is not
supported, but Mariadb is a drop in replacement for mysql. SQL is required for the
library, stats tracking, admin notes, and job-only bans, among other features,
mostly related to server administration. Your server details go in /config/dbconfig.txt,
and the SQL schema is in /SQL/tgstation_schema.sql and /SQL/tgstation_schema_prefix.sql
depending on if you want table prefixes.

If you are hosting a testing server on windows you can use a standalone version of MariaDB pre load with a blank (but initialized) tgdb database. Find them here: https://tgstation13.download/database/ Just unzip and run for a working (but insecure) database server. Includes a zipped copy of the data folder for easy resetting back to square one.
More detailed setup instructions are located here: https://shiptest.net/wiki/Downloading_the_source_code#Setting_up_the_database

## WEB/CDN RESOURCE DELIVERY

Expand Down
5 changes: 1 addition & 4 deletions _maps/RandomRuins/BeachRuins/beach_ancient_ruin.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -374,11 +374,8 @@
},
/obj/item/gun/energy/lasercannon{
pixel_y = 5;
pin = /obj/item/firing_pin
},
/obj/item/gun/energy/lasercannon{
pin = /obj/item/firing_pin
},
/obj/item/gun/energy/lasercannon,
/obj/effect/turf_decal/industrial/hatch,
/turf/open/floor/plasteel/mono,
/area/ruin/beach/complex)
Expand Down
53 changes: 14 additions & 39 deletions _maps/RandomRuins/BeachRuins/beach_crashed_starwalker.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,8 @@
dir = 4;
color = "#808080"
},
/obj/structure/closet/wall/red{
dir = 8;
/obj/structure/closet/wall/red/directional/east{
name = "armory locker";
pixel_x = 28;
req_one_access_txt = "1"
},
/obj/item/storage/box/slugshot,
Expand Down Expand Up @@ -1151,18 +1149,13 @@
"sw" = (
/obj/effect/turf_decal/siding/wood/end,
/obj/effect/decal/cleanable/dirt/dust,
/obj/structure/closet/wall{
dir = 8;
icon_door = "grey_wall";
pixel_x = 28
/obj/structure/closet/wall/directional/east{
icon_door = "grey_wall"
},
/obj/item/flashlight/lantern{
pixel_x = 8
},
/obj/item/radio{
desc = "An old handheld radio. You could use it, if you really wanted to.";
icon_state = "radio";
name = "old radio";
/obj/item/radio/old{
pixel_x = -5;
pixel_y = -2
},
Expand Down Expand Up @@ -1474,10 +1467,7 @@
"wx" = (
/obj/structure/catwalk/over,
/obj/effect/decal/cleanable/dirt,
/obj/structure/closet/emcloset/wall{
dir = 4;
pixel_x = -28
},
/obj/structure/closet/emcloset/wall/directional/west,
/obj/machinery/atmospherics/pipe/simple/orange/hidden,
/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2,
/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden/layer4{
Expand Down Expand Up @@ -2015,10 +2005,7 @@
dir = 1
},
/obj/machinery/atmospherics/pipe/simple/supply/hidden/layer2,
/obj/structure/closet/emcloset/wall{
dir = 4;
pixel_x = -28
},
/obj/structure/closet/emcloset/wall/directional/west,
/obj/item/skub{
pixel_x = -5;
pixel_y = 6
Expand Down Expand Up @@ -2124,10 +2111,8 @@
dir = 8;
color = "#808080"
},
/obj/structure/closet/wall/red{
dir = 4;
/obj/structure/closet/wall/red/directional/west{
name = "armory locker";
pixel_x = -28;
req_one_access_txt = "1"
},
/obj/item/storage/belt/military,
Expand Down Expand Up @@ -2428,10 +2413,7 @@
/area/overmap_encounter/planetoid/beachplanet/explored)
"KC" = (
/obj/structure/catwalk/over,
/obj/structure/closet/firecloset/wall{
dir = 4;
pixel_x = -28
},
/obj/structure/closet/firecloset/wall/directional/west,
/obj/effect/decal/cleanable/dirt/dust,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable/yellow{
Expand Down Expand Up @@ -2769,7 +2751,7 @@
/obj/effect/decal/cleanable/blood/old{
icon_state = "gib2-old"
},
/obj/structure/chair/comfy/black{
/obj/structure/chair/comfy/grey/directional/south{
desc = "It looks incredibly comfy, and expensive. Theres a little note on the side, explaining how its made of %100 real cow skin.";
name = "Cowskin chair"
},
Expand Down Expand Up @@ -2844,10 +2826,8 @@
dir = 4;
color = "#A47449"
},
/obj/structure/closet/wall{
name = "uniform closet";
dir = 4;
pixel_x = -28
/obj/structure/closet/wall/directional/west{
name = "uniform closet"
},
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable/yellow{
Expand Down Expand Up @@ -2950,10 +2930,7 @@
/turf/open/floor/plasteel/tech/grid,
/area/ruin/beach/starwalker)
"SS" = (
/obj/structure/closet/emcloset/wall{
dir = 8;
pixel_x = 32
},
/obj/structure/closet/emcloset/wall/directional/east,
/obj/item/stack/sticky_tape,
/obj/effect/decal/cleanable/dirt,
/turf/open/floor/pod,
Expand Down Expand Up @@ -3103,7 +3080,7 @@
/obj/structure/cable/blue{
icon_state = "2-8"
},
/obj/item/radio/off{
/obj/item/radio{
pixel_x = -7
},
/turf/open/floor/plating{
Expand Down Expand Up @@ -3363,10 +3340,8 @@
dir = 6;
color = "#808080"
},
/obj/structure/closet/wall/red{
dir = 8;
/obj/structure/closet/wall/red/directional/east{
name = "armory locker";
pixel_x = 28;
req_one_access_txt = "1"
},
/obj/structure/railing,
Expand Down
10 changes: 4 additions & 6 deletions _maps/RandomRuins/BeachRuins/beach_fishing_hut.dmm
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
"ae" = (
/obj/structure/chair/sofa/left{
dir = 8
},
/obj/structure/chair/sofa/brown/left/directional/west,
/obj/effect/decal/cleanable/dirt,
/turf/open/floor/carpet,
/area/ruin/beach)
Expand Down Expand Up @@ -483,7 +481,7 @@
/turf/open/water/beach,
/area/overmap_encounter/planetoid/beachplanet/explored)
"sN" = (
/obj/structure/chair/sofa,
/obj/structure/chair/sofa/brown/directional/south,
/obj/machinery/light/small/directional/north{
light_color = "#694c12"
},
Expand Down Expand Up @@ -853,7 +851,7 @@
/turf/open/floor/plastic,
/area/ruin/beach)
"GP" = (
/obj/structure/chair/sofa/right,
/obj/structure/chair/sofa/brown/right/directional/south,
/obj/effect/decal/cleanable/cobweb,
/mob/living/simple_animal/hostile/pirate/melee{
faction = list("beach","pirate")
Expand Down Expand Up @@ -1136,7 +1134,7 @@
/turf/open/floor/wood,
/area/ruin/beach)
"Rh" = (
/obj/structure/chair/sofa/corner,
/obj/structure/chair/sofa/brown/corner/directional/south,
/mob/living/simple_animal/hostile/pirate/melee{
faction = list("beach","pirate")
},
Expand Down
24 changes: 5 additions & 19 deletions _maps/RandomRuins/BeachRuins/beach_float_resort.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@
},
/area/ruin/beach/float_resort)
"dZ" = (
/obj/structure/chair/comfy/black{
dir = 1
},
/obj/structure/chair/comfy/grey/directional/north,
/turf/open/floor/wood{
light_range = 2
},
Expand Down Expand Up @@ -239,14 +237,6 @@
light_range = 2
},
/area/ruin/beach/float_resort/villa)
"gr" = (
/obj/structure/table/wood,
/obj/structure/curtain/cloth,
/obj/item/nullrod/tribal_knife,
/turf/open/floor/wood{
light_range = 2
},
/area/ruin/beach/float_resort/villa)
"gQ" = (
/obj/structure/flora/ausbushes/genericbush,
/turf/open/floor/plating/grass/beach,
Expand Down Expand Up @@ -824,7 +814,7 @@
/turf/open/floor/plating,
/area/overmap_encounter/planetoid/beachplanet/explored)
"wn" = (
/obj/structure/chair/comfy/black,
/obj/structure/chair/comfy/grey/directional/south,
/turf/open/floor/wood{
light_range = 2
},
Expand Down Expand Up @@ -1178,9 +1168,7 @@
},
/area/overmap_encounter/planetoid/beachplanet/explored)
"Fk" = (
/obj/structure/chair/sofa/right{
dir = 4
},
/obj/structure/chair/sofa/brown/right/directional/east,
/obj/machinery/light/small/directional/west,
/turf/open/floor/wood{
light_range = 2
Expand Down Expand Up @@ -1313,9 +1301,7 @@
},
/area/ruin/beach/float_resort)
"Io" = (
/obj/structure/chair/sofa/left{
dir = 4
},
/obj/structure/chair/sofa/brown/left/directional/east,
/turf/open/floor/wood{
light_range = 2
},
Expand Down Expand Up @@ -2508,7 +2494,7 @@ kp
kp
kp
kp
gr
ar
OH
OH
OH
Expand Down
4 changes: 2 additions & 2 deletions _maps/RandomRuins/BeachRuins/beach_knights_rest.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
/area/overmap_encounter/planetoid/beachplanet/explored)
"dF" = (
/obj/structure/mineral_door/iron,
/turf/open/floor/plasteel/stairs/medium{
/turf/open/floor/plasteel/stairs/mid{
dir = 4
},
/area/ruin/beachplanet/knight)
Expand Down Expand Up @@ -940,7 +940,7 @@
/area/overmap_encounter/planetoid/beachplanet/explored)
"ZS" = (
/obj/structure/mineral_door/iron,
/turf/open/floor/plasteel/stairs/medium{
/turf/open/floor/plasteel/stairs/mid{
dir = 8
},
/area/ruin/beachplanet/knight)
Expand Down
Loading

0 comments on commit 703eced

Please sign in to comment.