Commit Graph

2175 Commits

Author SHA1 Message Date
MrDoomBringer
982563f7b1 Various code improvements (#40932)
* adsf

* asdf

* take these

* Further cleanup to windoor code
2018-10-21 07:59:57 +01:00
ShizCalev
ffab086fe1 Corrects abductor baton path (#40974) 2018-10-18 03:34:33 +01:00
Ling
1c6a248159 Merge pull request #3057 from yogstation13/upstream-merge-40916
[MIRROR] Fixes gamemode reports to not generate duplicates
2018-10-16 10:25:46 +02:00
Jordan Brown
e832dbeab4 Merge pull request #40916 from lordpidey/report_fixing
Fixes gamemode reports to not generate duplicates
2018-10-15 21:15:54 +01:00
Jordan Brown
45904b25fd Merge pull request #40904 from AnturK/dumblizardname
Fixes backup human names
2018-10-15 20:47:44 +01:00
Ling
bd46d2aa12 Merge pull request #2636 from ThatLing/looc
Adds local OOC
2018-10-09 18:54:29 +02:00
Ling
05ea698a87 Update ticker.dm 2018-10-08 13:09:25 +02:00
Ling
056ba36a10 Merge pull request #2882 from yogstation13/upstream-merge-40596
[MIRROR] Techwebs backend refactor
2018-10-08 10:39:40 +02:00
Ling
3dee53abd1 Add LOOC 2018-10-07 13:09:06 +02:00
vuonojenmustaturska
5a6cfac5be Stops using the rad insulation component to provide default rad insulation features in order to save a bit of memory (#40662)
* henk

* oh yeah this

* undo this meme

* stuff
2018-10-06 13:27:31 +01:00
kevinz000
bcf88a2064 Techwebs Backend Refactor - Removes references from techwebs and uses IDs instead (#40596)
Yeah yeah I know no opening too many WIP PRs but this one's [ready] and I want to make sure any furthur techweb development doesn't keep using the old reference system which will make refactoring it harder, and this makes it easier for coders to do stuff in theory (at least for me), standardizes getting a node/design, and makes stuff actually GC properly.
2018-10-05 19:51:10 +01:00
AnturK
682dee0ea0 Ticker subsystem cleanup (#40649)
* Removes unused vars from ticker.

* More ticker cleanup

* This too.
2018-10-05 19:49:58 +01:00
vuonojenmustaturska
6626db94c3 Overhaul mecha logging (revival of oranges's PR) (#40664)
* Overhaul mecha logging

Removes user access to the log, not needed and that log can get large

removes all the internal log vars and passes all logging through to a
new log file, the mecha log

* somehow this makes it compile

* add it to the config too
2018-10-04 21:58:35 +01:00
AnturK
043210ddbb Fixes borgs radio help message (#40569)
* Fixes borgs radio help message

* Changed wording a bit.

* grammer
2018-10-02 22:09:24 +01:00
Ling
08fa73aca8 Merge pull request #2763 from yogstation13/upstream-merge-40611
[MIRROR] [Adventurous testmerging only] make all (except one) DB operations async
2018-10-01 10:57:38 +02:00
vuonojenmustaturska
dfb80b9d51 [Adventurous testmerging only] make all (except one) DB operations async (#40611)
cl Naksu
code: DB queries are now async by default, the code that runs in /world/New has been adjusted to continue blocking as it apparently is not allowed to sleep.
/cl

closes #40610
2018-09-30 21:44:48 +01:00
oranges
dde29c364f Merge pull request #40417 from tgstation/MrStonedOne-patch-1
Makes timer watchdog logic Fitter, Happier, More Productive
2018-09-27 22:28:52 +01:00
Ling
4fd1b2e0c4 Merge pull request #2681 from yogstation13/upstream-merge-40433
[MIRROR] Componentizes orbiting
2018-09-26 18:54:58 +02:00
Jordan Brown
c43667d4a7 Merge pull request #40500 from ShizCalev/economy-runtime-2
Fixes economy subsys firing before game is running
2018-09-26 04:20:34 +01:00
Emmett Gaines
1d157c337d Componentizes orbiting (#40433)
cl ninjanomnom
fix: Orbiting is a little more aggressive about staying in orbit. The wisp as a result now correctly follows you over shuttle moves.
/cl

Goodbye SSorbit you ticking piece of shit

This also gives update_sight a signal so wisp code isn't hardcoded into it.
2018-09-25 09:07:24 +01:00
Iamgoofball
428a033e39 [READY][PAID CODE] economy PR (#40312)
With the power of CAPITALISM AND ECONOMY, you too could be This Guy.
2018-09-23 10:45:14 +01:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
a6a3456a60 Merge pull request #2561 from yogstation13/upstream-merge-39556
[MIRROR] Adds move force and move resist, movement/pushing/pulling tweaks
2018-09-16 02:51:58 +02:00
kevinz000
bb5cca1893 Adds move force and move resist, movement/pushing/pulling tweaks (#39556)
* Removes anchroed from mobs, adds move force/resist

* Move force and move resist

* WIP, still has debug messages.

* Fixes

* Update living.dm

* Anchored removal

* Stuff

* Unit tests

* Removes anchored from dview

* DME

* Update anchored_mobs.dm

* Fix

* No ghost spacewind

* Update mulebot.dm

* Update temporary_visual.dm

* Update forcefields.dm

* Update step_triggers.dm

* Update portals.dm

* Update alien_acid.dm

* Update bump_teleporter.dm

* Update landmarks.dm

* Update countdown.dm

* Update blessing.dm

* Update shieldgen.dm

* Update containment_field.dm

* Update field_generator.dm

* Update singularity.dm

* Update atmosmachinery.dm

* Update door.dm

* Update gravitygenerator.dm

* Update door.dm

* Update effects.dm

* Update temporary_visual.dm

* Update bump_teleporter.dm

* Update forcefields.dm

* Update landmarks.dm

* Update portals.dm

* Fixes

* Throwforce annnd done, finally

* Fixes

* Haha I'm dumb sometimes
2018-09-15 21:58:05 +01:00
Jordan Brown
64a2bf39f6 Moves TgsInitializationsComplete call to immediately after world/New() (#39771)
* Moves TgsInitializationsComplete call to immediately after world/New()

* Subsystem PreInit data directory audit

* world/New data directory audit

* Needful here too

* Remove SS_NO_INIT from SStitle

* Don't create banlist.bdb for SQL banning

* Stop creating legacy notes file

* Moves iconCache from data to tmp
2018-09-15 21:57:57 +01:00
Jordan Brown
5696f1e207 Merge pull request #40204 from Potato-Masher/multicam_config
Unlocks AI Multicamera Mode, now with config.
2018-09-11 06:09:31 +01:00
Tad Hardesty
4242b43d55 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 12:15:48 +01:00
Francesco
e3cdaf90a4 Make a lot of subsystems' Initialize return ..() (#39955)
Subsystem Initialize has a return value, this makes all the subsystems actually
return it, too.
2018-09-01 03:01:15 +01:00
Emmett Gaines
826bb20e47 Re-adds throwing being nulled in finalize (#40006) 2018-08-31 12:14:27 +01:00
Emmett Gaines
455fd9e7d1 Standardized vis_contents overlay system + better computer glow (#39973) 2018-08-30 01:21:46 +01:00
Kyle Spier-Swenson
71024c1c41 Remove unneeded check 2018-08-27 20:47:39 +02:00
Kyle Spier-Swenson
0a01747d29 Remove the prequeue
Delaying the gc wasn't having a worthwhile notice on qdel() cost and can slow shit down
2018-08-27 20:47:20 +02:00
Tad Hardesty
4c846aa4aa Give multiple copies of shuttles their own area instances (#39890) 2018-08-27 11:04:58 +01:00
81Denton
f351981167 Add missing content to anime phobia (#39875)
Anime phobia was missing some items:

* All flavors of katanas, high frequency blades and other cutting utensils
  used by cyborg ninjas
* Space ninja gear
* Paper frame windows and doors
* Chawanmushi
* Those tacky wearable cat ears

Also, felinids as phobia_species and a few phobia_words.
2018-08-25 10:07:02 +01:00
Nich
086f1fd397 Merge pull request #2293 from yogstation13/upstream-merge-39840
[MIRROR] Added anime to the list of phobias in phobia.dm, and traumas.dm.
2018-08-23 21:18:41 +02:00
Nich
ed57e36ac1 Merge pull request #2292 from yogstation13/upstream-merge-39832
[MIRROR] Speed up roundstart transit space reservation
2018-08-23 21:18:15 +02:00
Skippu
916dc4cc5f Added anime to the list of phobias in phobia.dm, and traumas.dm. (#39840)
* Added "anime" to phobia.json.

* Added anime and other weeb items to the traumas.dm

* Update traumas.dm

* added sashimi and sake under phobia_objs = list in traumas.dm

* Added throwing stars under phobia_objs in traumas.dm

* Added more phrases under "anime"

added ninja and uguu, I was dumb and had a bracket facing the wrong way.

* Missing " after anime on line 141

* Update traumas.dm

* Missing / on line 142

* removed unesscary procs under phobia_objs

* Update traumas.dm

* Update traumas.dm
2018-08-23 15:10:28 +01:00
Jordan Brown
b0957cb7ab Merge pull request #39832 from AutomaticFrenzy/patch/reservation
Speed up roundstart transit space reservation
2018-08-23 15:09:17 +01:00
Jordan Brown
63f4dc713a Merge pull request #39866 from AutomaticFrenzy/patch/atom-list
Remove created_atoms tracking from InitializeAtoms
2018-08-23 15:02:18 +01:00
Jordan Brown
e2a54f7d09 Merge pull request #39826 from AutomaticFrenzy/patch/atmos-init
Slash SSatmos init time by 93%
2018-08-21 15:37:55 +01:00
XDTM
b4b543e111 [Ready] [Reviewed] Nanites 2 (#37922)
* Adds programmable nanites to robotics

* Oh yeah i might want to actually PR the files

* nanite injectors, nanite printer, nanite analyzer

* We're back

* remove some reagent stuff

* more removal

* those too

* cool icons!

* might pass travis now

* lotsa code

* tgui fixes/misc fixes

* WE'RE FUNCTIONAL BOYS

* some ui stuff

* Misc fixes, cloud update, access nanites

* activation check

* stuff

* preparing for new chamber sprite

* Physical backups, sensor nanite programs

* techweb sensor nanites

* fix

* include

* fix again

* revert

* blinding nanites

* minor change

* minor tweaks

* makes minor shocks interfere with nanites

* fix

* split trigger file into the others, for consistency

* cleanup, added mindshield nanites to techwebs

* include n all

* how'd that even happen

* Fixed HUD, readded missing remote icon, added nanite scanner, health analyzers can now detect nanites, added stealth program

* cost tweaks

* better term

* new icon! by MrDoomBringer

* icons/tweaks

* tgui build

* boards

* fix

* fixes implants not updating mindshield status

* move implant hud to living

* new remote sprite

* scanner sprite

* biotype checks

* some nerfs

* new open chamber sprite

* Fixes mindshield implants not updating the HUD, fixes uninstalling always removing the first program, adds 25% and 75% health sensors

* correction

* nerfs antistun nanites

* fixes scanners and minor tweaks

* fixes revs with mindshield

* oh yeah haha

* Fixes wonky techweb

* Moves pyro program to weapon node

* Adds defib program and some investigate logging

* mistype

* fix

* fix2

* save your files before committing

* emps can desync from cloud

* pretty outdated

* Cloud backups are now tied to the cloud consoles; you can no longer build a new console to access existing backups.

* UI fix

* more fix

* okay fix for real

* tested and working

* Extra Settings rework, sensor nanites vastly better

* non-unique glitches

* Public chamber, extra settings rework, new sensors, speech program

* Mute and mind control nanites

* mind control into hazard

* better description

* fixes

* fixes relay nanites

* fixes TK access

* mind control costs less

* UI update

* removed pointless code bit

* tgui build

* compiles

* dammit

* paralysis keeps victim upright

* Adds sounds to consoles

* some feedback for some subtle effects

* new chem lore

* Viral nanite customization

* fix

* tgui build

* Added mitosis nanites

* removes glitched nanites from techwebs

* Added flesh eating nanites, poison nanites, hallucination nanites

* ,

* #traviscoding

* Adds memory leak, renames nanite roam node to nanite smart

* Voice sensor + some techweb desc tweaks

* hallucination and Hear() fix

* changes signal registering to the new method

* 75% done, i think

* should be all

* more fix

* more changes

* okay should be fine now

* ninja

* inheritance

* i don't care about originality!

* line endings

* line endings 2

* maybe

* fixes program installation

* new review

* line endings?

* line endings??

* line endings???

* wait do i even use this

* fixes public nanite chamber cloud id

* maint overlay for chambers

* args doesn't work well here

* antiabuse checks

* compile tho

* fixes locked remotes

* disk renaming

* skull echo nanites

* self scan program

* Condenses a lot of sensors into a few generic but customizable versions

* fixes machinery runtimes. Hacky, but a proper fix would likely require a refactor of machinery typing.

* forgot to save

* empty

* metastation nanite lab

* Removes duplicate APC

* fix for nanite chamber

* Raise max programs

* UI Tweaks, aggr. replication rebalance, minor fixes

* let's not do that again

* Fixes nanites meta merge conflict

* Merge conflict v2

* fuck this HDD is slow

* What the fuck did you just fucking say about me, you little leaf? I'll have you know I graduated top of my class in the Lawyer School, and I've been involved in numerous secret DMCA raids. I am trained in law violations warfare and you are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on BYOND, mark my fucking words. You think you can get away with changing the code? Think again, fucker. As we speak I am contacting my secret network of attorneys in the Fox and your IP is being traced right now so you better prepare for an outstanding warrant, maggot. The storm that wipes out the pathetic little thing you call your leaked code. You're fucking done, kid. I can file for an injunction anywhere, anytime, and I can take legal actions in over seven hundred ways, and that's just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the Florida Statute and I will use it to its full extent to wipe your miserable ass off the face of Canada, you little shit. If only you could have known what unholy retribution your little "clever" action was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn't, you didn't, and now you're paying the price, you goddamn idiot. I will send you to spend time in a Florida State Penitentiary if you ever decide to travel from Canada to the U.S. You're fucking done, kiddo.

* Adds virus symptoms that interact with nanites

* Fixes spreading nanites being more infective the more protection the victims have

* Review plus public chamber tweak

* . = ..()

* ball

* cloud

* . = ..()

* always press save all before committing

* missed a couple
2018-08-20 12:45:39 +01:00
oranges
9dc4f48eaa Merge pull request #39747 from ninjanomnom/bucketmancy
Fixes timer buckets going into negatives and adds a regression test
2018-08-18 02:32:40 +01:00
Jordan Brown
2f6d604abf Merge pull request #39710 from tgstation/MrStonedOne-patch-1
The garbage collector now makes an actual effort to churn thru the prequeue
2018-08-16 03:15:40 +01:00
Patrick Chieppe
584ab92bc3 Logging system refactor and improvement (#39521)
* Refactor several log lines to use datum_info_line and atom_loc_line

* Add default return strings from datum_info_line and atom_loc_line

* Add parentheses around atom_loc_line data

* Change more logs to use atom_loc_line

* Add check in atom_loc_line for turfs to avoid calling get_turf on them

* Re-add removed 'at'

* Replace datum_info_line with key_name and atom_loc_line with loc_name

* Refactor logging functions

* Avoid double-logging self-interactions

* Fallback to simple stringification if all else fails in key_name()

* Rewrite muscle spasm logging to use log_message

* Standardize logging of martial arts

* Tweak individual logging panel look

* Fix individual logging panel source

* When I typed || I really meant &&

* Fix Telecomms logging always showing client logs in the panel

* Reverts addition of buggy ownership log to panel

* Remove colon

* Fix missing log_directed_talk tag

* Add warning for missing type in log_direted_talk

* Change warnings to stack_traces

* Add square brackets around fallthrough key_name() case to help parsing

* Allow atom arguments/src in log_*() functions

* Change log_combat call with null argument to log_message

* Change mecha types' log_message() arguments to match atom and mob version

* Add key_name() case for atoms

* Fix resist_grab() unsetting pulledby before log_combat gets a chance to use it

* Fix log_globally logic

* Add logging for hitting objects with items

* Move log_combat() to atoms.dm

* Use utility functions for object stringification in log_combat()

* Use utility functions for object stringification in log_combat()

* Add missing logs for interacting with display cases

* Rewrite log_combat() comment

* Add missing space in log_combat()

* Add logging for hitting grilles barehanded

* Add missing ..()
2018-08-12 20:40:46 +01:00
Ling
77889adc41 Configuration entry refactor! (#39608) 2018-08-12 18:57:42 +02:00
Ling
2e730491f0 Merge pull request #2115 from yogstation13/upstream-merge-39009
[MIRROR] Key instead of ckey for user facing logs and ui
2018-08-12 14:05:03 +02:00
Ling
8f51e31dc5 Merge pull request #2114 from yogstation13/upstream-merge-39181
[MIRROR] Movespeed Modification System
2018-08-12 10:50:10 +02:00
Ling
3f8c6b03bf Merge pull request #2123 from yogstation13/upstream-merge-39567
[MIRROR] Refactor the map loader
2018-08-11 10:41:49 +02:00
Jordan Brown
70a9573db9 Fix connection errors not showing with SSdbcore.ErrorMsg() (#39613) 2018-08-10 20:35:20 +01:00
Tad Hardesty
33e92f0ab7 Refactor the map loader (#39567)
* Remove duplicate initTemplateBounds method

* Move dmmRegex var to the type that actually uses it

* Keep a single, static map_loader datum

* Combine maploader into parsed_map

* Remove some redundant parameters from parsed_map/load

* Move file2text into parsed_map/New

* Narrow the scope of the map loading lock

* Remove redundant xcrdStart var

* Fix argument names in station reloader

* Move offsets from parsing to loading only

* Tidy argument handling on parsed_map/load

* Store modelCache, track nonexistent atom paths

* Use raw strings to specify the regexes

* Remove cropMap from parsed_map/New

* Don't parse maps twice when checking multi-z validity

Speeds up SSmapping init by approximately 10%.

* Bring the documentation (somewhat) up to speed

* No, I don't know why this fixes it
2018-08-10 20:34:31 +01:00
Jordie
7e94c282a4 Key instead of ckey for user facing logs and ui (#39009)
* converts to using key instead of ckey for user facing logs and ui

* more key_name for airlock wires

* futureproofing check for if key changes

* --onlyckeymatch script argument and fail/success counter

* fix
2018-08-10 20:33:24 +01:00