Commit Graph

586 Commits

Author SHA1 Message Date
Cheridan
fcfcdf1af1 Merge pull request #26062 from AnturK/beard
Fixes beard preferences
2017-04-11 07:38:37 -05:00
Leo
14b44f8aa0 Merge pull request #26045 from ChangelingRain/adminverblogging
Improves admin verb logging
2017-04-11 07:28:39 -03:00
Kyle Spier-Swenson
11d504e93a Removes hacky see in darkness invisibility bullshit, uses planes. (#25931)
* Removes hacky see in darkness invisibility bullshit, uses planes.

Also removed the use of invisibility for ghosts of others, instead using override images.

Per client lighting visibility now has 4 levels, all on, all off, and two midways, this allows for things to be able to see in the dark while still being able to see what is dark and what has light, ghosts and aliens and other shit can cycle between all 4, other things were given one of the 3 values depending.

* Remove qdel global var search.

* Cleans up code, makes changing lighting/NV level easier.
2017-04-11 21:01:24 +12:00
AnturK
fb30b7c255 Fixes beard preferences 2017-04-10 13:38:45 +02:00
Joan Lung
49e7f7e5b1 Improves admin verb logging 2017-04-09 19:00:52 -04:00
Cyberboss
9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
Cyberboss
78ee754da3 Merge upstream 2017-04-01 23:38:37 -04:00
Cyberboss
7ad5a718aa Fixes access logging (#25640) 2017-03-31 20:19:32 +02:00
Cyberboss
5646c736c8 Merge upstream 2017-03-30 19:18:59 -04:00
MrPerson
17af3ad9d3 Fixes observe issues with parallax (#25561)
This fixes #25479 plus a runtime that happens when you observe a mob whose player has ghosted that results in a comically incorrect HUD for the observer.

HUDs are a fucking mess still to the surprise of nobody
2017-03-30 22:08:46 +13:00
Cyberboss
05e1ef69e1 Merge upstream 2017-03-27 09:32:08 -04:00
Cyberboss
7af014de84 Add support for specific sound channels and stopping them (#25455) 2017-03-25 19:54:04 -03:00
Cyberboss
e86a353f00 Rename SSasset to SSassets 2017-03-22 11:23:15 -04:00
Cyberboss
d0bfbc3e13 Rename ticker to SSticker 2017-03-22 10:48:25 -04:00
MrPerson
ece7b0f247 Fixes everyone having white eyes
#25244
2017-03-18 19:03:37 -07:00
Cyberboss
0bb7407503 Adds a configuration option for disabling preferred maps (#25137)
* Adds a config option to disable map voting
2017-03-17 12:50:26 -03:00
Leo
7b2b19f1f8 Merge pull request #25152 from optimumtact/youhavedonetheworldalittlebitmoresad
Modifies admin message on href spam
2017-03-17 00:28:58 -03:00
Leo
387b44d4be Href logs now use time_stamp() so it properly logs the seconds aswell (#25153)
* Href logs now use time_stamp() so it properly logs the seconds aswell

* Updates time_stamp to show decisseconds

* Href logs now display decisseconds
2017-03-17 14:15:39 +13:00
oranges
3e38e06e56 Admins can now follow href spammers 2017-03-16 01:54:25 +00:00
Lzimann
e07556265c Restores href log so it doesn't use to_chat 2017-03-10 09:27:54 -03:00
Lzimann
5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
Cyberboss
a55f36ebe9 Moves cross_address/allowed to the config. Merges the protected config into the regular. (#24584)
* Moves cross_address/allowed to the config

* Protect it against modifications

* I'll do you one better

* Merge in the protected configuration
2017-03-10 11:10:08 +13:00
Jordie
63b3699cdd MySQL Execute error handling (#24738)
* wip commit

* mysql execute proc now handles errors itself

* adds log_sql()

* implements log_sql()
2017-03-07 10:55:42 +01:00
Cyberboss
1bbc640afe Runtime Dynamic Station Loading (#24171)
* Dynamic map loading prototype

* Get the title screen working

* Fixes the random pod bugs

* map configs

* Add back the asteroid

* Ignore the rotate file

* Fix some shit

* More shit fixes

* Babby's first json

* Cyberboss confirmed shitcoder

* Makes map rotation great again

* Moves the map defines

* Delete tgstation2.dm

* Convert runtimestation

* Convert PubbyStation

* Convert OmegaStation

* Convert Metastation

* Convert Delta Station

* Lol file extensions

* Reee line endings

* Take out the trash

* Fix loadallmaps.dm

* Deltaassssssstation?

* Fix travis

* Did I ASK you to change the line endings?

* Remove votable maps

* Cleanup

* Previous config. Load configs in New. Fix splash

* Fix this

* More generic minetype

* STOP TOUCHING THE LINE ENDINGS!!!

* Add some flexibility to /obj/screen/splash

* Fix the shit

* Update gitignore

* Smooth transition from last map

* Better check

* Missed this map rotate check

* Remove these checks too

* Prep for a future request by @kevinz000

* Fix z2 line endings

* Solution for custom .dms

* Rename some things, trim some fat

* Fixes default map_config

* Remove stale comment

* Delete the previous config after loading

* Don't try to open a non-existent file

* Delete the old rotator script

* And references to it

* Line endings

* More line endings

* Del checks from when m-config may have not existed

* LINE ENDINGS

* Update the default map config

* Map load error checking for what it's worth

* Small cleanup

* For case sensitive

* File systems

* Strip maprotate stuff from build script

* Spruce up the _maps tree. Compile some empty space

* Make travis simpler

* LINEARU ENDARU!!!

* tgstation TWO!!!

* Lowercase mine type

* Dummy dm's for testmerging

* Fixes job ordering

* If ghosts wanna watch the map load so be it

* Let them know what's going on

* Fixes z-transitions

* Optimize z expansion further

* Remove this old var

* Fix wiznerd teleportation

* Rmove butt

* Does the thing

* Moved temp configs to the data dir

* Un-touch gitignore

* Forgot templates.dm

* Forgot to include the includer

* Fair enough

* SILENCE IMBECILE!

* @Cyberboss still a fuckboi

* Speed things up a bit

* Fix a potential bug with the error message

* Whatever
2017-03-07 10:45:31 +13:00
Joan Lung
d5c870e714 Merge pull request #24662 from lzimann/individuallog
Adds a way to see a persons's individual logs for the round.
2017-03-05 11:57:37 -05:00
Lzimann
e58ee1724f Refactors logging into a single var for all mobs and adds a wrapper for proper logging. 2017-03-04 13:32:35 -03:00
Jordie
51a835aa6a also now fixes conn logs 2017-03-04 17:42:27 +11:00
Lzimann
15e8b7e5f7 Adds a way to see a persons's individual logs for the round. 2017-03-03 22:03:13 -03:00
Jordie
72a93bae7d Continues to add default sql indexes and table optimisations (#24456)
* adds default sql indexes and table optimisations

* fixes warnings

* edits to text and better update queries

* wrong table

* superior copypaste skills

* who has

* names

* that long

* add inet

* fix for badmins giving 2 billion brainloss

* fixes rank name and adds sanitizing
2017-02-27 22:44:26 +11:00
Kyle Spier-Swenson
8d42592399 Parallax defaults to disabled on 510 clients. (#24347)
* Update preferences.dm

* Update preferences_savefile.dm

* Update parallax.dm

* Update parallax.dm

client -> C
2017-02-23 01:20:54 -06:00
oranges
17a7c01e36 Revert "Adds default sql indexes and table optimisations" 2017-02-21 17:53:41 +13:00
Jordie
62da82fcd9 Adds default sql indexes and table optimisations (#24277)
* adds default sql indexes and table optimisations

* fixes warnings
2017-02-21 09:49:48 +13:00
Cyberboss
2d424cf6be Moves some stuff that belongs in dbcore to dbcore (#24145)
* Moves some stuff that belongs in dbcore to dbcore

* Wew garbage

* Ree

* Fixed
2017-02-19 14:21:53 +13:00
Leo
8a4a989bba Revert "Resets client skin on connect" 2017-02-18 21:49:07 -02:00
Kyle Spier-Swenson
9e4d718d06 Resets client skin on connect (#24180)
* Resets client skin on connect

This still keeps most saved skin shit, but it does force the client's skin to re-align with the server

* Update client_procs.dm
2017-02-19 12:21:12 +13:00
oranges
35dbb8610c Merge pull request #24052 from MrStonedOne/patch-310
Forces hardware rendering for all connecting clients.
2017-02-17 21:20:39 +13:00
uraniummeltdown
57c89e3dae More Window Flashing (#23923)
* added window flashing pref, added windowflashing to notify_ghosts, pollCandidates and similar procs

* disabled window flash for golem shells, ash walker eggs, drone shells and posibrains

* ignorepref var for ahelp/apm and roundstart
2017-02-14 10:49:06 +11:00
Kyle Spier-Swenson
79cbcc6d86 Forces hardware rendering for all connecting clients. 2017-02-12 23:59:23 -08:00
Cyberboss
13b7bdb3e4 Fixes a login runtime (#23707) 2017-02-05 13:23:31 +01:00
Pieter-Jan Briers
43fd486f82 Adds a hook for changing view size. (#23690)
* Adds a hook for changing view size.

* """"coding standards""""
2017-02-06 01:01:12 +13:00
oranges
fdcc4cc157 Merge pull request #23668 from Cruix/wizfix
[s] Fixed wizards with mindswap being able to make people suicide
2017-02-06 00:21:03 +13:00
unknown
f74828ba6b Fixed wizards with mindswap being able to make people suicide 2017-02-03 12:48:09 -06:00
Jordie
4a1adbad5f Unifed SQL message system (#23327)
* unifed sql message system to supersede notes, watchlist and memos and adds messages

* a neserseree change
2017-02-03 00:02:24 -06:00
Kyle Spier-Swenson
b5a3ba9133 Shitty ideas thread: 1. Traitor Uplink spawn location is now a Pref! Choose between PDA, Radio and all new: Pen! (#23190)
* 1. Traitor Uplink spawn location is now a Pref! Choose between PDA, Radio and all new: Pen!

* reeeee
2017-01-31 21:52:07 +13:00
Kyle Spier-Swenson
e78185c968 Adds a topic limiter. (#23478)
* Adds a topic limiter.

This appiles to all non-admins, the rate is configurable but defaults to 10 in any second and 100 in any minute.

Hitting the minute limit causes a notification to go to admins (once per minute)

The user is always notifed when a topic is ignored so they know whats going on. If they trigger a notification to admins they are told about this as well.

* This makes more sense
2017-01-30 09:20:08 +01:00
Lzimann
b2c1f40dd7 Change them all to defines 2017-01-25 18:34:02 -02:00
Lzimann
77d1b99956 Adds a way to have a prefered security department. 2017-01-25 18:07:19 -02:00
oranges
e5b224fb96 Fix lack of feedback when users try to reach admins (#22783)
* Players can now see afk mins

It's important that players know ahead of time that their ahelps are not
reaching someone who is currently active

* Add feedback for the player when adminhelping about how many admins saw
their message
2017-01-12 09:36:46 +01:00
oranges
c0fc4bd827 Merge pull request #22881 from MrStonedOne/patch-285
in which mso forgets static proc vars apply to types, and not instances
2017-01-11 12:51:33 +13:00
MrStonedOne
c8b0a25e18 Delays ping tracking upon client connection. 2017-01-09 09:02:57 -08:00