Commit Graph

375 Commits

Author SHA1 Message Date
Cameron!
86ee8d0917 Fixes Medical Doctors and Quartermasters spawning with the wrong uniforms (#45640)
Fixes Medical Doctors and Quartermasters spawning with the wrong uniforms
2019-07-31 18:45:11 -07:00
Rob Bailey
6a26744d83 Clothing /under repath (#45548)
About The Pull Request

repaths clothing/under to be more sane
Also fixed a couple of bugs relating to pathing being incorrect, and modified a couple of bad descriptions and names
Also adds a map path updating script, which also helps show the full repath.
Why It's Good For The Game

improves maintainability, makes mapping easier, stages for a clothing dmi split
Changelog

cl
refactor: repathed all under clothing, keep an eye out for errors
/cl
2019-07-30 19:20:21 +12:00
Tad Hardesty
c1e274e97e Generate documentation, deploy to gh-pages via Travis 2019-07-07 16:30:10 -07:00
Tad Hardesty
1467b76e96 Split build_tools into cl/php/json steps 2019-07-05 00:30:08 -07:00
Tad Hardesty
519d255c0c Announce dreamchecker version 2019-07-05 00:17:38 -07:00
Tad Hardesty
8b7e8c7154 Rename lint_grep to check_grep 2019-07-03 14:26:42 -07:00
Tad Hardesty
f9178b6029 Reduce verbosity of 'not mapmerged' check 2019-07-03 14:17:46 -07:00
Tad Hardesty
8a6d13a861 Add dreamchecker 2019-07-03 14:04:16 -07:00
Tad Hardesty
997a84410f Create .byond/bin before saving there 2019-07-03 13:02:08 -07:00
Tad Hardesty
f9735cdbb4 Split tgui into its own .sh file 2019-07-03 02:09:28 -07:00
Tad Hardesty
b57eff9ecc Improve json_verifier script 2019-07-03 02:09:28 -07:00
Tad Hardesty
504b5e61ed Download rust_g release rather than building it 2019-07-03 02:09:28 -07:00
Tad Hardesty
8a365096bd Convert icons to RGBA in the icon merger (#44890)
* Mark dmi.merge and pre-commit.hook executable

* Convert icons to RGBA when merging
2019-07-03 19:38:09 +12:00
Tad Hardesty
e5ccafd0b0 Split Travis shell scripts by job (#44845)
Part one of some needful Travis cleanup.

    Split the different tasks into their own .sh files rather than doing many things per .sh file
    Use .travis.yml jobs list to select which tasks are run rather than setting environment variables which the shell scripts then check
    Moves the grep lints from running in both "Maps" and "Tests" jobs, and runs them in "Lints" job (formerly "Tools") instead
    Makes the check_filedirs.sh lint only run in the "Lints" job rather than in all three jobs.
    Removes the check that dependencies.sh matches Dockerfile since the former now pulls from the latter
    Uncache node_modules - npm ci is expected to trash this every time and warns when it already exists
    Uncache and remove the unnecessary fake MariaDB folder used when building BSQL, give it the real path instead
    Attempt to cache the BYOND-provided libmariadb (not sure if this works, will re-examine it in part two)

For part two I hope to switch to using rust_g and BSQL binaries from GitHub releases, and add SpacemanDMM's dreamchecker to the Lints job.
2019-07-03 19:37:06 +12:00
Tad Hardesty
1a327f8e2c Remove Java DMI tool 2019-06-23 13:41:41 -07:00
spookydonut
5af4f0c117 Remove unneeded import from travis python script (#44594)
Don't need this import because os already imports everything.
2019-06-18 00:14:03 -07:00
vuonojenmustaturska
5c6e7a5845 PR to make travis use xenial and to make it work (#44079)
* this?

* test

* setuptools

* Update ss13_genchangelog.py

* let's try this

* wtf

* that's no good at all

* Update build_dependencies.sh

* 4 AM

* Update build_dependencies.sh

* Update build_dependencies.sh

* Update .travis.yml

* can we remove nvm install? 

it should come on the image

* Update install_build_tools.sh
2019-05-23 12:24:55 +02:00
Tad Hardesty
48b42a9247 Fix mapmerge misreading maps with two columns per block 2019-04-14 18:18:52 -07:00
Tad Hardesty
1569642728 Fix incorrect APC pixel offsets in maps (#43539)
* Add additional functionality and logging to update paths script

* Fix incorrect APC pixel offsets
2019-04-11 10:47:30 +02:00
Kyle Spier-Swenson
abe58568c1 Fix game pr announcer
I forgot a step when I converted this to a proper function.
2019-03-06 21:35:57 -08:00
Kyle Spier-Swenson
1ca637d124 [ready] Adds discord webhook support to the github webhook processor. (#42537)
* Adds discord webhook support to the github webhook processor.

* Fix odd bug

* Add discordwebhook config to secrets with example urls

* Forgot a semicolon

* Remove debug lines

* Hide html comments inside pr bodies.

* Add a bunch of configs to announcement endpoints

include_repos
exclude_repos
exclude_events
announce_secret
announce_unvalidated
embed
no_text

* Add support for those configs.

* Fix minor bug

* Fix no embed messages not working

* Adds spoiler support to discord_sanitize
2019-02-02 02:26:16 -05:00
Tad Hardesty
bda114a536 Update pygit2 version to 0.27.2 2019-01-10 13:46:35 -08:00
WJohn
c3ad5fbd24 Fix shuttle rotation of decal corners (#42261)
Had to touch a lot of maps because their directions were wrong in the icons
file, so when I changed those every map that had these needed updating. I've
added a script called cornersfix to mapmerge2/map_scripts for downstream
servers.
2019-01-09 12:55:15 -08:00
nicbn
c4213f13ab New() -> Initialize() (#41876) 2019-01-03 18:56:15 -08:00
Jordan Brown
85c97791d2 Change to mkdir -p to prevent errors 2018-12-20 17:24:05 -05:00
Jordan Brown
ff3f32f0e9 Remove git clean commands from PostCompile.sh 2018-12-20 09:41:55 -05:00
ShizCalev
ca8260d311 travis test (#41464) 2018-11-14 12:53:19 -05:00
Jordan Brown
9fbd09b3a4 Change post compile script shell executor to bash (#41173) 2018-11-02 19:21:31 +01:00
Jordan Brown
2b6aa4bc04 Ensure deploy.sh is +x before running it in PostCompile.sh 2018-10-18 22:00:44 -04:00
Jordan Brown
bdd9d86287 Fix PostCompile.sh (#40976)
* Fix PostCompile.sh

* shell is hard

* How am I this bad at shell
2018-10-18 19:26:24 -04:00
Tad Hardesty
6a83eddc47 Ignore carriage returns in map files when mapmerging 2018-10-04 14:58:27 -07:00
Jordan Brown
9f6267a730 Remove Windows TGS4 PostCompile scripts (#40677) 2018-10-04 17:55:13 -04:00
oranges
f1fd861ddb Merge pull request #40325 from Cyberboss/PostComScriptUpdate
Add BSQL and rust-g deployment to Linux TGS4 PostCompile script
2018-09-25 13:28:32 +12:00
Jordan Brown
100404e4d9 Add TGS4 PreSynchronize (Changelog compile) scripts (#40356)
TGS4 does not have changelog shitcode
TGS4 does not have changelog shitcode
TGS4 does not have changelog shitcode
TGS4 does not have changelog shitcode
TGS4 does not have changelog shitcode
TGS4 does not have changelog shitcode
2018-09-23 19:23:09 +12:00
Jordan Brown
62601a3215 Add BSQL and rust-g deployment to Linux TGS4 PostCompile script 2018-09-17 15:16:20 -04:00
Tad Hardesty
9dd442ccd1 Use npm ci instead of npm install 2018-09-15 12:19:21 -07:00
Tad Hardesty
be834f317b Bump Node version to 8, tidy tgui build scripts 2018-09-15 11:26:18 -07:00
WJohn
e54f1d5342 The great floor tile purge (#40065)
* Converts all colored plasteel tiles to turf decals.

* Removes now deprecated floor icons and paths.

* Hotfixes on three maps.

* Moves script to its own folder.

* Fixes wild west.

* Fixes holodeck

* Fixes eye rape bug.

* Fixes meta and lavaland biodome ruin having some missing textures.
2018-09-05 22:14:31 +03:00
Tad Hardesty
00f61ac0aa Remove SSminimap (#39459)
Return of #37112.

@Carbonhell from Hippie reported an SSminimap crash on 512.1440 due to accidentally leaving the config on.

Nothing uses this subsystem, its maps look terrible, and it still after all this time is prone to crashes. If someone actually wants to start using these maps again they can just add the SS back in when they do that.
2018-09-05 23:15:29 +12:00
Tad Hardesty
93186dc3ce Allow duplicate outputs in the path updater (#40072) 2018-09-04 15:26:34 -04:00
Tad Hardesty
df1098f6d9 Re-add script for updating map paths (#39907)
* Re-add script for updating map paths

* Handle duplicate values
2018-09-02 22:45:55 +02:00
Tad Hardesty
141f558102 Fix atom ordering problem in map files (#39889)
Fixes a major mapping error introduced in #39816 and adds handling to the map merger to prevent it from happening again.

Keys need to be ordered movables, then turf(s), then area, otherwise our map reader acts weird. In-game this manifests as floor being placed in the dirt's underlays, such that after floor is crowbarred to plating the floor is still visually present (this is how I noticed the problem).

Fixes #39888.

Some map files still have stacked turfs. Our map reader supports this but it tends to cause other problems (e.g. atmos) so I'll try to look at those in the future.

X=$(find _maps -name '*.dmm'); tools/hooks/python.sh -m convert $X
2018-08-25 17:48:24 +12:00
Jordan Brown
33ffd92596 Add TGS4 post compile scripts (#39629)
Literally just does deploy.sh on the output
2018-08-12 13:32:19 -07:00
Tad Hardesty
5e20350374 Skip the map merger on merge commits (#39495) 2018-07-31 19:35:10 -04:00
Tad Hardesty
f71a1f1ed5 Check that rust_g's API file matches the in-tree copy 2018-07-28 17:15:59 -07:00
Jordan Brown
929942a826 Fix deploy.sh on linux (#39203) 2018-07-18 14:53:56 -07:00
Jordan Brown
c20be496a8 Adds deploy script. CI artifacts. Dependencies file (#39040)
Adds a simple file to create a work tree with only what's needed to RUN the
game.

.dmb/.rsc, _maps, strings, and some icons and sounds.

Makes the Dockerfile use it.

Also adds dependencies.sh which can serve as a single version source used by
all CI and utils.

Enables appveyor and artifacts, you can now download a .dmb deployment straight
from a PR or master commit.
2018-07-17 20:49:39 -07:00
Jordan Brown
d210adbf1a Adds BSQL (#38323)
* Add BSQL library v1.1.1.0

* Modify dbcore to use BSQL

* Add missing QDEL_NULL for connectOperation

* Moves BSQL_Shutdown() call to dbcore shutdown

* Fix passing the wrong argument to DBQuery/New()

* Darn it @Jordie0608. Fixes db calls without Connect check

No seriously please make sure I'm not breaking anything

* Queries with a null connection won't runtime

* Fix quoting

* Fix mistake

* Update BSQL to v1.1.2.0

* Update BSQL DMAPI to v1.0.1.0

* Fix connection instatiation

* Does the smart thing in regards to quoting

* Fix braces

* Update BSQL to 1.2.0.0. DMAPI to 1.1.0.0

* Execute/NextRow/MassInsert now have async parameter

* Build BSQL for tests

* Add missing apt source

* Def still need gcc-multilib

* Wut

* Revert "Wut"

This reverts commit d7c98a9a6b27f6db03e9f5cc534650d59d018048.

* Try this then

* Could it really be that simple?

* Literally running out of ideas here

* Update BSQL to v1.2.1.0 DMAPI to v1.1.1.0

* Update BSQL travis version

* Nothing about this makes sense tbqhwyfam

* Whoo boy

* No idea why this isn't working tbh

* Absolute madness

* Ahhhhhhhhhhhhh

* *deep breath*

* "though yet again i was frustrated by failure"

* Add BSQL to Dockerfile

* Pass through MassInsert async param

* BSQL to v1.3.0.0 DMAPI to 1.2.0.0

* Add timeout support

* Wait, something's fucky

* Wtf is this meme?

* Just get good lmao

* Just stop being shit lol

* Stupid verbose logging

* Remove verbosity

* Good god

* BSQL to v1.3.0.1 DMAPI to v1.2.0.1

* BSQL to v1.3.0.2

* Update BSQL travis version

* Update BSQL docker version

* Didn't mean to change that

* Strip connection information from debug logs and make it configgable

* Move this to where CONFIG_GET is defined
2018-07-16 17:05:41 +03:00
Kyle Spier-Swenson
4d3343459f Make travis use -verbose to get all the runtimes without limit (#38816) 2018-06-30 19:14:04 -07:00
Jordan Brown
a38ef372a1 Adds SQL to travis. Other travis optimizations (#38325)
* Adds SQL to travis

* See if we can get this working

* :dab:

* Try dis

* wew

* Try this?

* Should do it

* DL the biatch

* oof

* bruh

* json in 10.2

* Fix schemas

* Actually separate tools and byond builds

* Dedent the ting

* Needs more include

* Fix script logic

* Caching and fixups

* Jesus neer

* Fix this

* And this

* Fix things

* Oh that's why she did it here

* Fuck a duck

* yadayadayada

* Cache cargo in the right build

* Idiot.commit

* *sighs*

* Tools build doesn't need BYOND cache

* Create a database with the prefixed schema as well

* Fix prefixed trigger names
2018-06-11 20:08:55 +03:00