Commit Graph

805 Commits

Author SHA1 Message Date
Jordan Brown
cf7e8aa9ec Qdels queries, adds sleep safety checks, DBcore checks for leaks (#38363)
* Qdels all queries, adds sleep handling

* DB Core messages admins about undeleted queries

* Compile fixes. Adds missing set waitfor

* Remove world/New shennanigans. Add DBQuery/BlockingExecute()

* Less spammy notifications to admins about undeleted queries

* Increase dbcore fire time to 1 minute

* Upgrade undeleted query warning

* Better place of death

* Fix build

* Remove BlockingExecute, see BSQL PR for why

* Yep, missed that one.

* Psyche, that's the WRONG QUERY!!
2018-06-18 22:48:35 +03:00
Tad Hardesty
2f8f166d88 Merge pull request #38287 from ninjanomnom/signal-define
Use a define to speed up sending signals to datums with no signals
2018-06-14 22:17:01 -07:00
Tad Hardesty
75aa8ec4b2 Add "Fit Viewport" verb to automatically size the map window (#38351)
* Add a verb to automatically size the map window

* Add a preference to auto-fit the viewport
2018-06-14 10:03:16 +02:00
ninjanomnom
d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00
oranges
df02e48ecb Individual Logs now follow the client around automatically (#37790)
The logging is now stored in the persistent client/player_details datum,
that will survive an entire round

The existing mob log is retained and a new admin verb is added to access
it. It will only show logs for the mob in question, across all players
who possibly spent time in that mob

A new log type is added that tracks the mobs the player changes across
into and the times they occured, to better help admins manage complex
situations, this also appears in the mob log as a record of the players
who entered/exited control of the mob
2018-06-06 11:09:59 +02:00
Ling
513a5f1bc9 Fixes pda style loading (#38238)
* Fixes pda style saving

* Make the input call use the global pda styles list
2018-06-03 00:33:10 -07:00
Jordie
6b84926599 Fixes datediff not returning (#38215) 2018-06-02 13:41:58 -07:00
ShizCalev
c41d6ac965 Standardizes and cleans up some admin messages & logging (#38128)
* Improved logging

* Fixes & emitter logging

* ded
2018-05-30 21:57:06 -07:00
Tad Hardesty
d0466f42bc Allow dynamically updating UI style, do so on mob login (#38089) 2018-05-30 12:52:50 +02:00
Citrus
99f7816608 Fixes "humans_need_surnames" applying to all races 2018-05-28 01:19:27 -04:00
Jordan Brown
3015b3bf6b Merge pull request #37963 from AutomaticFrenzy/patch/finally
Unredden the input bar when the viewport is clicked
2018-05-25 22:24:31 -04:00
Tad Hardesty
85ac15af9f Only adjust input bar color on hotkey mode 2018-05-25 15:12:17 -07:00
Jordan Brown
c737760a14 Adds OOC verb to show the last round end report you've viewed (#37900)
You can now view your last round end report window with the "Your last round" verb in the OOC tab

stores the HTML in a data dir
2018-05-22 09:47:49 +12:00
Jordan Brown
864808daa0 Merge pull request #37944 from AutomaticFrenzy/patch/irv-jquery
Remove second copy of jQuery used only by IRV polls
2018-05-21 17:33:32 -04:00
Tad Hardesty
c02f83ad27 Unredden the input bar when the viewport is clicked 2018-05-21 01:51:31 -07:00
Tad Hardesty
52e38e2214 Remove second copy of jQuery used only by IRV polls 2018-05-19 22:50:32 -07:00
Tad Hardesty
b5d0e1e256 Fix mindswap forcibly enabling ambient occlusion 2018-05-19 21:56:28 -07:00
ShizCalev
028231cb81 Updates BYOND links to use HTTPS (#37918)
* Updates BYOND links to use HTTPS

* revert

* if -> If
2018-05-19 19:50:05 -07:00
ShizCalev
b7ff953443 Capitalized Current Quirks (#37877) 2018-05-17 18:53:20 -07:00
Kyle Spier-Swenson
47e6ade7d2 Client topics only check for deleted objects when an object was actually passed (#37866) 2018-05-17 18:14:27 +03:00
Tad Hardesty
74eba4a320 Send jquery asset when initializing tooltips 2018-05-14 12:52:30 -07:00
Jordan Brown
e74f33d9a5 Quirk limit now only applies to positive quirks 2018-05-13 08:54:14 -05:00
Tad Hardesty
cf6f064e21 Use spritesheets to reduce time spent sending PNG assets by 90+% (#37399)
The total number of assets to be sent has been reduced from 1532 to 76, with time between first asset and last going from about 112s to about 7s (a 93% reduction) by my measure. The following assets have been coalesced:

    705 pipe images (used by RPD) -> 1 spritesheet + css
    595 research design icons (used by R&D console) -> 3 spritesheets + css
    116 OOC emoji + 15 language icons -> 1 spritesheet + css
    27 PDA icons -> 1 spritesheet + css
    11 paperwork stamps -> 1 spritesheet + css
2018-05-10 14:34:57 +12:00
deathride58
cdf36c2c6f adds ambient occlusion as a client preference (#37406)
ambient occlusion is a shading technique that simulates how light behaves in the real world, where areas that aren't directly exposed to light tend to receive less lighting. In 3d rendered scenes with ambient occlusion present, this can easily be seen in corners and other crevices in geometry, and can also be visible when two objects are close to one another.

cl deathride58
add: Added ambient occlusion. You can toggle this on or off in the game preferences menu.
/cl
2018-05-08 10:06:44 +12:00
oranges
821a9ad9df Merge pull request #37646 from Xhuis/conflicts_imminent
Renames trait datums/character traits to quirks to differentiate them from the other trait system in the code
2018-05-07 00:21:35 +12:00
Tad Hardesty
9147170024 Fix the preference menus not expanding (#37578) 2018-05-06 15:08:01 +03:00
Xhuis
6c6ca28ed2 not allowed to use quirks unless you code them 2018-05-03 12:29:10 -04:00
Xhuis
a90726bfbf Renames traits to quirks, for clarity 2018-05-03 12:12:30 -04:00
george99g
f28092423a Deactivate suicide prescans via ghost var (#36839)
* Create suicide_log proc in /mob/living

Suicide logging moved to there.

* Stop after-suicide prescan clones
2018-04-30 14:35:00 +12:00
Dax Dupont
d923358390 Fixes cat parts not showing up in perfs. (#37202)
* Fixes cat parts not showing up in perfs.

* electric boogaloo

* this works
2018-04-19 18:40:52 -04:00
Jordan Brown
a80d9a24cc Merge pull request #37000 from tgstation/KorPhaeron-patch-2
Update compile options to make 512 support official
2018-04-11 16:12:27 -04:00
vuonojenmustaturska
8addcd5217 remove 512 version checks 2018-04-11 14:26:22 -05:00
Ashe Higgs
a2a6c2db96 Disables mood traits when mood is disabled (#37082)
* disables mood traits if mood is off

* my copypasta is showing

* Update negative.dm
2018-04-11 15:04:49 +03:00
oranges
0c02b5004d Revert "Deactivate prescans on suicide" (#37121)
* Revert "Automatic changelog generation for PR #36741 [ci skip]"

This reverts commit e133bb1275.

* Revert "Deactivate prescans on suicide (#36741)"

This reverts commit 309e469f4e.
2018-04-11 13:51:52 +03:00
Tad Hardesty
80570931d1 Fix various macro consistency problems (#37092) 2018-04-11 13:20:57 +03:00
george99g
309e469f4e Deactivate prescans on suicide (#36741)
This will just give all of your records a flag on suicide, preventing them from being used to create a clone.

Created suicide_act on /datum/mind to log animal suicides and handle the record deactivation without cluttering up the mob verbs.
2018-04-11 22:04:00 +12:00
Jordan Brown
8065ad6d3e Merge pull request #37050 from AutomaticFrenzy/patch/fullscreen-cloning
Fix fullscreens added to clientless mobs not stretching properly
2018-04-10 20:22:30 -04:00
Bjorn Neergaard
d7966ced09 Use a rust DLL for logging (#36858)
By moving our logging to a DLL we see a drop in CPU/real time of 2-3 orders of magnitude. This is due to BYOND opening and closing file handles on every write, causing incredible amounts of unneeded overhead. The logging library also handles timestamps for us, further increasing performance gains.

This library will also allow for further offloading in the future, such as completely replacing file2text() and friends.

A pre-compiled DLL is bundled, but Linux users will have to compile manually. Directions can be found at the rust-g repo.

Log output is enhanced with millisecond time stamps:

[2018-04-01 15:56:23.522] blah blah blah

This includes runtimes as well, which benefit from the same timestamp improvements and no longer have hacky splitting code to add their own timestamps.

Log shutdown is handled in a dedicated proc called as late as possible, as rust-g integration expands this will be factored out into a generic native code shutdown proc.
2018-04-11 10:01:31 +12:00
Tad Hardesty
0053acd694 Fix fullscreens added to clientless mobs not stretching properly 2018-04-08 00:39:24 -07:00
Kyle Spier-Swenson
c546dd737a Cid randomizer check no longer triggers if the user's cid changes once then changes back (#36887)
* Cid randomizer check no longer triggers if the user's cid changes once then changes back

Normally, we only check for the randomizer if their cid changed from their last allowed connection. In some edge cases, somebody's cid can be different from a one time glitch, then change back on the next connection. 

We now detect such cases and allow the connection.

* Update client_procs.dm

* Update client_procs.dm
2018-04-02 16:25:42 +03:00
vuonojenmustaturska
803556b923 Merge pull request #36829 from MrStonedOne/onclick_rework
[s]Minor Refactor of click code, anti-auto clicker protection
2018-04-01 16:23:54 +03:00
MrStonedOne
455dfab442 Minor Refactor of click code. 2018-03-30 18:19:55 -07:00
Jordan Brown
b58d6ce1cc Merge pull request #36780 from KorPhaeron/oocban
Fixes OOC ban not applying to admins
2018-03-30 12:19:05 -04:00
KorPhaeron
165876b21e Fixes OOC ban not applying to admins 2018-03-28 13:50:34 -05:00
Ashe Higgs
bd42041c9c Adds the Family Heirloom, Nyctophobia, and Monochromacy traits, and rebalances Social Anxiety (#36426)
* Adds some more traits

* April Fools' heirlooms

* Fixes the detective sound

* Refactor to use signals
2018-03-28 16:14:08 +03:00
vuonojenmustaturska
ece7616f3b Merge pull request #36558 from ShizCalev/player-pref-panel-revamp
Cleans up player/game preferences panel, adds admin combohud lighting preference
2018-03-28 15:52:42 +03:00
Jordan Brown
12bc79307d Topic will no longer be called on deleted objects 2018-03-23 19:09:30 -04:00
vuonojenmustaturska
8a290002b4 Merge pull request #36557 from MrStonedOne/patch-498
Preload vox sounds when preload_rsc is disabled
2018-03-21 15:09:28 +02:00
KorPhaeron
c72743e4cf April Fools Day replaces the overflow role with Clowns (#36533)
* Refactors overflow job assignment

* Fixes job selection
2018-03-20 18:02:23 -04:00
ShizCalev
37bb9b127a Cleans up player preferences panel 2018-03-20 03:51:24 -04:00