Commit Graph

1761 Commits

Author SHA1 Message Date
JJRcop
5b761072cb [READY] Roundstart spawning without job landmark puts you on shuttle (#48821)
About The Pull Request

Discovered via paramedics missing their start landmarks, jobs without landmarks would spawn on the last landmark to be loaded in the map. This appears to not have been intended, and they now spawn on the arrivals shuttle if available. If that fails they spawn in the error room.

I am touching job distribution code so I'd like this to be testmerged for a bit before getting merged.
Why It's Good For The Game

This is a bug in an error condition, so it will only show up if there are map bugs, which is why we haven't uncovered it for so long.
Changelog

🆑 JJRcop
fix: Jobs missing spawns will spawn on the arrivals shuttle.
/🆑
2020-01-20 10:50:36 +13:00
Kyle Spier-Swenson
4d1c252827 SSprofiler performance enhancements (#48861)
* Log fetch and write costs in SSprofiler.

* Update profiler.dm

* Update profiler.dm

* Add performance enhancements 

This should ensure it doesn't lag the server too much.

* Minor text changes
2020-01-19 01:24:42 -05:00
MrPerson
f7eb2c905b Unicode awareness Part 2 -- copytext() (#48512)
* Unicode support Part 2 -- copytext()

This is the transition of all copytext() calls to be unicode aware and also some nearby calls in the same functions. Most things are just replacing copytext() with copytext_char() as a terrible character limiter but a few others were slightly more involved.

I replaced a ton of
````
var/something = sanitize(input())
something = copytext(something, 1, MAX_MESSAGE_LEN)
````

with a single stripped_input() call. stripped_input() already calls html_encode(), trim(), and some other sanitization so there shouldn't be any major issues there.

This is still VERY rough btw; DNA is a mess, the status displays are complete ass, there's a copytext() in code\datums\shuttles.dm that I'm not sure what to do with, and I didn't touch anything in the tools folder. I haven't tested this much at all yet, I only got it to compile earlier this morning. There's also likely to be weird bugs until I get around to fixing length(), findtext(), and the rest of the string procs.

* Makes the code functional

* Assume color hex strings are always # followed by ascii.
Properly encodes and decodes the stuff in mob_helpers.dm which fixes some issues there.

* Removes ninjaspeak since it's unused
2020-01-18 13:07:22 +13:00
skoglol
feecf28fa5 Merge pull request #48616 from cacogen/wayfindingpinpointers
Fixes wayfinder dispenser sprite/lowers amount of pinpointers from it/adds pinpointer recycling
2020-01-17 10:58:27 +01:00
Nick
fa941a4410 Update blackbox.dm (#48844) 2020-01-16 23:54:28 -05:00
cacogen
90fe68763d Less wayfinder pinpointers from dispenser 2020-01-17 12:28:01 +13:00
Nick
c758bdd51c [Ready] Database Tickets (#48727)
* DB ticket procs

* Schema changes for DB tickets

* Schema version update

* Fixes requested by Jordie

* SQL updates

Adds a recipient column

* Still one dangling issue where this DOESN'T WORK

* Alright, this should work

* Requested SQL fixes

* Rogue changes

* less bad defaults

* utf8 for the utf8 gods

* aaaaaa

* Update tgstation_schema_prefixed.sql

* Update tgstation_schema.sql

* Update database_changelog.txt

Co-authored-by: Jordie <4343468+Jordie0608@users.noreply.github.com>
2020-01-17 05:35:16 +11:00
spookydonut
3195ceaa22 Update SpacemanDMM suite to 1.2 (#48785)
* Update SpacemanDMM suite to 1.2

* Fix new lint errors
2020-01-16 11:49:39 -05:00
skoglol
03b4540cbc Merge pull request #48708 from ExcessiveUseOfCobblestone/im-not-new-ok
Waypoint Finders now properly pull living playtime
2020-01-11 05:41:03 +01:00
Bobbahbrown
0b32b5c938 Format Change of Health Analyzers + scanners.dm Cleanup (#48595)
* VERY cool no more stink (less)

* LIST GAAANGLIST GAAANGLIST GAAANGLIST GAAANGLIST GAAANGLIST GAAANG
2020-01-10 22:59:47 +11:00
ExcessiveUseOfCobblestone
fe40dfea6e b 2020-01-09 22:29:50 -05:00
AnturK
6a62a139a8 Basic auto profiler (#48672)
* Basic auto profiler

* Makes it update periodically in case of crash.

* informative comment.

* Early start & config upgrades.

* Fixup
2020-01-09 19:32:57 -05:00
Arkatos1
fb416d9f10 Simple mob alerts (#48646)
Simple mob alerts
2020-01-09 05:53:57 -08:00
skoglol
8206b1e1cb Map rotation touchup, automatic map votes (#48602)
* Map rotation touchup, automatic map votes

* votes already running

* Pre-init vote restrictions

* No rotation for rounds less than 10 minutes.

* Splits voting preferred map check

* Fixed comment
2020-01-07 09:46:49 -05:00
ArcaneMusic
f49f705ad4 Merge remote-tracking branch 'upstream/master' into mousescience 2020-01-06 03:39:53 -05:00
cacogen
3418be2e16 kriskog changes 2020-01-05 16:43:47 +13:00
cacogen
a1d9b4c261 Removes unnecesssary proc
Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-01-05 16:43:47 +13:00
cacogen
29104ccc1e Navigationally Challenged quirk
Spawn with wayfinder. Automatically given to clients less than 7 days old.
2020-01-05 16:43:47 +13:00
ArcaneMusic
cf83c4d081 Global Variable and config option 2020-01-03 22:40:24 -05:00
TheChosenEvilOne
0320d2b894 "Save yourself some trouble and put the turf in a var beforehand"
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2020-01-03 23:25:48 +02:00
TheChosenEvilOne
36611cc839 just like that, issues are gone™️
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2020-01-03 23:24:51 +02:00
TheChosenEvilOne
acd7dd6aeb Drop the pod
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2020-01-03 19:07:16 +02:00
TheChosenEvilOne
9544ed5ae2 Reviews
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2020-01-03 16:40:17 +02:00
TheChosenEvilOne
99a7c9527f Merge remote-tracking branch 'origin/master' into market 2020-01-01 17:42:30 +02:00
skoglol
c2dac45fcf Readds map diversity (#48446)
* Restricts map votes

* votable

* Fix novotes, define, fexist

* And one more define
2019-12-30 17:44:10 -05:00
81Denton
0564d6609f Moves shuttle related logs into a new log file (#48441)
* Logs shuttle computer usage

* Adds a separate shuttle log

* Adds missing logs to INDIVIDUAL_SHOW_ALL_LOG

* no message
2019-12-30 15:56:05 -05:00
TheChosenEvilOne
0b60adddcc Merge remote-tracking branch 'origin/master' into market 2019-12-26 20:00:54 +02:00
ArcaneMusic
e39eea7b17 [Ready] Adds a new RnD method, the B.E.P.I.S. (#48040)
* Squashes Commits, has BEPIS, Techs, TGUIs, Rewards, and fixes.

* Makes rewardable techs a variable in all_nodes, and removes RnD Points rewards from the minor reward pool.

* Fixes conflict with pubby and beam icon.

* Review comments and basic cleanup A

* Review Comments and basic cleanup B, also cleans up icon states to work fluidly.

* Map Update

* Indentation, flipped Update_decal_path, and rebuilds tgui

* One last clean up of icon_state, adds the last bit of changes from review, and that should be everything.

* Alright last change for real I swear 105%

* Last change, adds simple sanity check for silicons.

* Moved Human and card variables into ui_interact.

* Fixes map conflict

* Alright Review Round 2 Part A, Fixes Grammar, splits polycircuit into it's own file, UI QOL improvements, Withdrawing credits, changes from arbitary values on the mini RLD, etc.

* More review bits, Part 2:B. Easier returns for less processing, Defines, fixes the merge conflict and updates the UI with new buttons. Just need to figure out Button Mapping for the UI and Duplicate prevention.

* Implemented duplicate tech protection. Yeet.

* Get back in there you

* Alright why are you breaking on me god damnit.

* It's optimized, closer to god, nearly perfect, all together it's ready to ship.

* Cleans up all of the decal painter, shorter, cleaner, works around all the turf_decal quirks.

* Tab spacing on github will look fucky

* More review changes.

* Uses use_power == ACTIVE_POWER_USE instead of powered except for the UI
2019-12-25 23:48:28 +01:00
TheChosenEvilOne
dc56886ef4 a 2019-12-22 11:44:13 +02:00
AnturK
961002f1d0 Fixes random parallax layer. (#48287) 2019-12-21 18:40:41 +01:00
TheChosenEvilOne
c269caa370 Merge remote-tracking branch 'origin/master' into market 2019-12-20 20:30:22 +02:00
TheVekter
44548a0686 E.X.P.E.R.I-Mentor Overhaul Part the First: Research Notes (#48238)
* Modifies the amount of research gained per Strange Object scanned, adds bad things

* Reduces the amount of research produced passively

* Increases spawn rate for strange objects and adds 2 guaranteed spawns to each map

* I'M WEB EDITING AND NOBODY CAN STOP ME

* Refactor
2019-12-16 18:25:21 +01:00
PKPenguin321
b4b27118ea Cleans job.dm (#48242)
* cleans job.dm

* readds some code with a comment
2019-12-15 14:11:30 -05:00
TheChosenEvilOne
3afeb32487 forgot I renamed the var.
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2019-12-12 22:22:13 +02:00
TheChosenEvilOne
ad36339586 Items now actually get added to the market.
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2019-12-12 22:07:41 +02:00
TheChosenEvilOne
08619b9418 Merge remote-tracking branch 'origin/master' into market 2019-12-12 18:14:38 +02:00
TheChosenEvilOne
97cd9d9f64 self review best review
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2019-12-12 18:13:44 +02:00
spookydonut
48439a66dc makes these stacktraces 2019-12-10 19:01:48 +08:00
spookydonut
175439f63a Removes unreachable code (#48143)
About The Pull Request

As detected by SpaceManiac/SpacemanDMM#123
2019-12-10 20:52:13 +13:00
MrPerson
e8ba7a1f68 Solar improvements (#48110)
Improves the code for the solar panels a lot. It's still pretty bad but to make it better I'd have to dive into powernets.

Solar panels visually rotate a full 360 degrees instead of being locked to ordinal directions only. In 513 this uses vis_contents, in 512 it uses a regular overlay that needs to be reset constantly.
Adds a signal from the sun SS when the sun moves.
Timed tracking is now measured in degrees per minute instead of degrees per hour.
2019-12-09 13:47:57 -05:00
Rohesie
acf3ca684c shuttlemode2str removal(#48172) 2019-12-09 09:50:56 -05:00
TheChosenEvilOne
fa34a092ea fixes to comments & doc & log.
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2019-12-04 17:30:49 +02:00
TheChosenEvilOne
088d0ad1b3 Merge remote-tracking branch 'origin/master' into market 2019-12-03 21:21:25 +02:00
TheChosenEvilOne
765ea2a4b6 hhhhhhhhhh
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2019-12-03 20:34:43 +02:00
Bobbahbrown
0d7ef73b17 Refactors References to IRC to be TGS (#47954)
* TGS updates round 1

* TGS updates round 2
2019-11-30 03:59:42 -08:00
AnturK
f28b2d60b9 Adds achievement metadata table (#48007)
* Renames hub_id to database_id
Adds achievement_metadata table.

* Fixups

* enum
2019-11-30 18:34:42 +11:00
TheChosenEvilOne
00e030b6af Teleporties
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2019-11-29 22:05:12 +02:00
TheChosenEvilOne
9d92aa7225 Initial Blackmarket Commit
Signed-off-by: TheChosenEvilOne <tceo-email@protonmail.com>
2019-11-29 21:12:00 +02:00
actioninja
c8ec5bdd36 Revert "[SPEED MERGE NEEDED] removes cat (#47999)"
This reverts commit 345d2bf607.
2019-11-26 04:35:58 -08:00
pireamaineach
345d2bf607 [SPEED MERGE NEEDED] removes cat (#47999) 2019-11-26 04:35:25 -08:00