Commit Graph

564 Commits

Author SHA1 Message Date
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
Kyle Spier-Swenson
a8cb96dd61 in which mso forgets static proc vars apply to types, and not instances
also, this stupid splitting of define and procs is stupid, so i put the var there so i can use the web editor. deal with it.
2017-01-09 08:11:42 -08:00
Kyle Spier-Swenson
9a95a887d7 Fixes preferences links for ghost radio/pda (#22854) 2017-01-09 11:04:04 -05:00
Kyle Spier-Swenson
db27bb7727 Throttles preferences hrefs
The user will not be allowed to trigger a click on a preferences href until their previous one has finished.

rshoe is using it spam us.

I know somebody was talking about trying to do a more proper fix, such as by making it not re-generate these when it's the same, so i'll test merge this until 24 hours or they make such a pr.
2017-01-08 06:58:56 -08:00
Kyle Spier-Swenson
b7f25a7375 Fixes stealthmin reveal in who
One of these days we will refactor all of this shit to not be a big mess of if else chains so you don't have to remember to edit 5 lines to change the formatting.
2017-01-05 18:24:07 -08:00
MrStonedOne
998a78200a Adds client ping tracking, courtesy of ter13 of byond forums. 2016-12-28 02:28:22 -08:00
Incoming5643
8894c0c55d Fixes some accidental deception with the panic bouncer (#22530)
* by MSOian request, some panic bouncer tweaks

* late night coding is reckless coding
2016-12-28 21:36:21 +13:00
Kyle Spier-Swenson
2243ab6036 [READY]Parallax (#22315)
* Ports Space Parallax from vg/yogs

* KILL ME

* fuck shit

* fixes

* rgfkbjhkefrhjkfrejhkfds

* Parallax, part 2.

* Gotta get these defines in before remie notices!

* DAMN IT! SHE FOUND ONE!

* fixes orbits

* fix orbits take 2

* Fixes some things with parallax

* Refactors parallax shuttle animations.
2016-12-20 21:55:10 -06:00
Mervill
55e8396926 persistant -> persistent (#22072) 2016-12-10 05:44:48 -05:00
Mervill
417c50efa2 These comments where removed by me.exe, just now 2016-12-08 01:48:46 -08:00
oranges
333a57dad5 Merge pull request #21953 from Incoming5643/panic_bouncer
The panic bouncer
2016-12-07 22:26:56 +13:00
oranges
35bf51ad1b Merge pull request #21872 from JJRcop/fontoffline
Moves Font Awesome into source tree from jsdelivr
2016-12-06 09:09:56 +13:00
Incoming
44c52a8348 requested changes 2016-12-04 22:09:12 -05:00
Incoming
e0324a6fc8 If a server has both a linked server and the panic bunker on, you can now choose to redirect new players to the linked server instead of denying them outright.
You shouldn't use this if BOTH servers are panic bunkered, obviously.
2016-12-04 21:27:17 -05:00
Joan Lung
551ede6d35 Kills all remaining text pronoun macros (#21916)
* Kills all remaining text pronoun macros

* review your own code

* oh right one further

* more

* \
2016-12-04 21:32:31 +01:00
Pieter Vlasblom
2da5d58156 Prevent people from abusing certain aspects of the game by keeping alert prompts open (#21914) 2016-12-04 18:30:34 +01:00
Kyle Spier-Swenson
5f722df728 Cid Randomizer Detector will not check webclients
or any client type that isn't seeker.

The randomizer doesn't work on the webclient, and it wouldn't matter anyways because the webclient's cid is worthless.
2016-12-01 00:45:49 -08:00
Kyle Spier-Swenson
95ea967a7b Admins can bypass webclient block
There is always the DD dropdown to flat out disable the webclient
2016-12-01 00:31:19 -08:00
Joan Lung
a5ae025549 Replaces "specflags" with "species_traits" (#21851)
* Replaces "specflags" with "species_traits"

* this will do
2016-12-01 21:16:33 +13:00
JJRcop
3cd3d0459b Moves Font Awesome into source tree from jsdelivr 2016-12-01 01:56:52 -05:00
MrStonedOne
fa6209f691 >trusting admins 2016-11-30 12:50:15 -08:00
Mervill
b5578df27d corrects some defs without leading slash (#21843) 2016-11-30 20:05:14 +13:00
Mervill
70256e9f8a Removes some stale comments (#21700)
* Stale comments and some redundant string interpolation
2016-11-24 13:27:41 -06:00