Commit Graph

165 Commits

Author SHA1 Message Date
Jordan Brown 00eb79eac4 Merge pull request #38692 from Jordie0608/blacklistedmakesitsoundlikethebuilddidsomethingbadwhichitdidbadbuildnaughtybuild
Blacklisted buggy build 1428
2018-06-24 10:16:36 -04:00
Jordie 21f96755b5 blacklisted buggy 1428 2018-06-24 15:28:18 +10:00
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 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
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
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
Tad Hardesty c02f83ad27 Unredden the input bar when the viewport is clicked 2018-05-21 01:51:31 -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
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 9147170024 Fix the preference menus not expanding (#37578) 2018-05-06 15:08:01 +03: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
Tad Hardesty 80570931d1 Fix various macro consistency problems (#37092) 2018-04-11 13:20:57 +03: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
MrStonedOne 455dfab442 Minor Refactor of click code. 2018-03-30 18:19:55 -07:00
Jordan Brown 12bc79307d Topic will no longer be called on deleted objects 2018-03-23 19:09:30 -04:00
Kyle Spier-Swenson 2b8f3385bd Preload vox sounds when preload_rsc is disabled
They should be getting sent to the client via the CDN, but thats not working properly and this works to fix it
2018-03-19 23:59:48 -07:00
Kyle Spier-Swenson 6febacc523 Removes a lie from client_proc (#36357)
Byond calls Stat() every 8 ticks with or without this code, it was literally doing nothing. This was pointless and none of this code is expensive enough to warrant throttling it anyways.
2018-03-13 02:59:13 -06:00
Jordan Brown 88a039e548 I'm this close to deleting SDQL entirely 2018-03-09 10:51:58 -05:00
Kyle Spier-Swenson 0e337c6489 [s]Adds detection for spoofed 512 clients (#36169)
* Adds detection for spoofed 512 clients

* actually reject the client.

* Fixes Shift Failure
2018-03-07 12:26:49 +13:00
Kyle Spier-Swenson 1e24836c02 Add support for auto admin when ran in single user mode
address is null in single user mode, but we didn't support that because address has been null because of a byond bug, but now that this is a config we don't have to care since its off in production.
2018-03-01 16:46:21 -08:00
Jordie 23a45889ed Modernizes SQL admin loading (#35264)
* updates sqladmins with excluded flags and tempminning

* rank, editing and permission protections; json backup

* fixes

* reverted the wrong file

* fix slidecolor cascading and disabled switches not being sent in form

* removes debug uncommenting

* whoops this too

* commas fix + versions for changelog entry headers since 3.0

* actually account for can_edit_flags and use of @ with - or *

* fixes and rearrangement of admin > localhost > autoadmin precedence

* in case you want to not have autologin autoadmins
2018-03-02 13:38:26 +13:00
Kyle Spier-Swenson 176a181be6 Fixes blacklisted byond builds 2018-02-13 14:39:20 -08:00
Kyle Spier-Swenson 3494d14c60 More blacklisting 2018-02-12 14:14:03 -08:00
Kyle Spier-Swenson aad3bddffc [s]Blacklists the most recent version of byond for basically being a wall hack (#35516)
* Blacklisted client builds.

* Missed a spot

* glob was a mistake
2018-02-11 10:36:27 +13:00
Kyle Spier-Swenson 47f3d89265 raises the cid check disconnect time out (#35244)
Disconnects from deleting the client are immediate, where are other commands are queued to some degree or another, browse is the worst one of all since it has to queue behind after connect resource sends as well as the asset cache or browse_rsc calls.

I'm finding hints that clients on lagger connections are getting disconnected before getting the reconnect command, and I was able to reproduce this myself on a cell phone connection while connecting to terry
2018-02-03 14:09:25 -05:00
Jordan Brown 1998d6dc47 Merge pull request #34331 from Shadowlight213/expplayervisibility
Players can now see their own tracked playtime
2018-01-19 09:44:35 -05:00
Kyle Spier-Swenson 5bceb36588 Fixes compiler errors in the preload_rsc external resource thingy (#34061)
Fixes compiler errors in the preload_rsc external resource thingy
2018-01-15 10:32:20 -05:00
Shadowlight213 a9736714e8 Fixes displaying non crew roles in the exp report.
Lets players see their own playtime.
Fixes admin exp bypass not using the correct proc to check rights.
2018-01-11 14:02:01 -08:00
kevinz000 614f7a27d7 Logs coords for hrefs 2017-12-25 00:30:32 -08:00
Armhulen e72cfeba72 code improvements from mso and co (#33485)
* eees zed

* mk?

* probably

* *burps*

* lol code

* thanks, cyberboss. you're the best

* why'd i do that?

* 😎
2017-12-18 20:50:35 -06:00
Emmett Gaines 25080ff2c4 defines math (#33498) 2017-12-17 11:02:11 -05:00
oranges d25ddc86f8 add view range respects widescreen (#33581)
It will simply increment the x and y independently

This prevents a runtime of trying to add a number to a string
2017-12-16 23:09:13 -05:00
Emmett Gaines 4ec09a0c19 Re-Support old hotkey mode behaviour (#33460)
* supports old hotkey mode behavior

* testmerge fixes
2017-12-17 15:35:47 +13:00
Kyle Spier-Swenson 4e929c74a9 Deadmin tweaks: Admins without +AUTOLOGIN start deadmined. AUTOLOGIN defaults to on. (#33480)
* Deadmin tweaks, Admins without +ADMIN start deadmined.
Deadmining no longer destroys the admin datum.
Admins without +ADMIN start deadmined, reloading admins re-deadmins them.
Moved some code around to make it more sane
People with +PERMISSION can now deadmin or readmin other admins at will.

* Adds new flag for if the role should automatically log in, defaults to on, can be removed with -AUTOLOGIN
Also fixes a bug in permission panel not handling these cases gracefully
2017-12-13 22:03:37 -05:00
AnturK 3d813853b5 Roundend report refactor (#33246)
* Roundend report refactor

* I won't be fixining every moved part but here you go

* Preparation for feedback

* Fixup

* First draft of feedback (wip)

* Simple version of feedback for custom objectives/explanation texts

* Debug verb removal

* Fixes & show again action button

* Admin objective handling

* Fix and first step of css standarization.

* Every time

* More css

* Fix

* Fixes, abductee datum, css tweak

* Feedback and css fix

* CLIENT DETAILS DATUM + CLIENT ACTIONS + spilled css fix

* Integrates clockult badcode

* Fix

* Fix lists in assoc feedback

* Unified antagonists and teams feedbacks, bumped up antagonists version

* Adds chat link to reopen the the report

* Fixes some clockcult stuff, passes antag name to feedback

* review stuff

* fix

* Adds some missing spacing

* Roundend corners, has css gone too far.

* Spacing between same antags

* Changeling and traitor objectives now have same spacing

* Wizar report typo fix

* Wrap brother team.

* Also move it to more relevant file

* Fixes cult summon objective

* Fixes roundend report for full-round observers

* Fixes wizard with apprentices roundend report

* Tutorial scarabs don't show in roundend anymore, adds some check_ticks

* Prettier station goals

* Merges roundend delay things

* Spread the lag around

* Fixes relogin qdeling eminence

* ckey -> key
2017-12-11 11:57:20 -05:00
Cyberboss 344d294bb8 panic_address -> panic_server_address 2017-12-06 23:35:26 -05:00
deathride58 08504355d4 Adds support for non-1:1 screen ratios (Doesn't add widescreen) (#32950)
* adds support for non-1:1 screen ratios for fullscreen overlays

* prevents future copypasta, adds widescreen support to clickcatchers

* oops, makes it actually compile

* HOPEFULLY makes it actually compile, makes projectiles and mouse_angle_from_client support widescreen

* i need shittier shitcode

* !!!HOPEFULLY!!! fixes the screen fuckery

* Fixes compiling errors. Tested locally, it seems like it works

* fixes runtime in mouse_angle_from_client

* Fixes non-1:1 TGUI runtimes for borgs and ghosts

* adds actual defines for fullscreen overlay resolution

* makes varediting view call change_view to make clickcatcher regenerate proper

* testmerge toggle widescreen verb and fixes vving view

* FUCK - fixes test verb to properly use change_view, so clickcatchers regenerate and such

* fixes parallax runtimes - how'd i miss this

* removes debug verb
2017-12-05 20:45:47 -05:00
ninjanomnom 7b7b67edd8 In-code key handling system 2017-11-30 07:40:27 -05:00
Emmett Gaines 7c69cdcb8a Revert math (#33059)
* Revert "all this wrapping and it's not even christmas (#33035)"

This reverts commit faaf151580.

* Revert "fuck me for forgetting to graph this one"

This reverts commit 45d7acea2f.

* Revert "defines math"

This reverts commit 2817a1737b.
2017-11-23 20:59:52 -05:00
ninjanomnom 2817a1737b defines math 2017-11-22 17:36:58 -05:00
ShizCalev 8eafaccc88 Cleans up unused code 2017-11-20 00:03:33 -05:00
Emmett Gaines 5941e802ee 511 client fix and a config to make the version warning a popup (#32757)
* 511 client fix

* cache list memes
2017-11-15 11:39:25 +01:00