Commit Graph

77 Commits

Author SHA1 Message Date
Jordan Brown
6b02c129be Merge pull request #37896 from ShizCalev/statbus-memes
Provides a link to round specific logs/stats on statbus when the round reboots.
2018-05-18 16:13:49 +01:00
Jordan Brown
86fdee0edf Merge pull request #37838 from Jordie0608/ithoughtaboutmakingthissendanemailbutidontwanttodrownmyinbox
Query debug logging
2018-05-18 03:39:01 +01:00
Ling
c0a6c75d35 Update general.dm 2018-05-12 12:36:14 +02:00
Ling
f0bf09bcfe Merge pull request #501 from nichlas0010/hajb
adds webhooks
2018-04-27 18:56:38 +02:00
Nich
6c5f55699a adds webhooks 2018-04-25 22:34:26 +02:00
Ling
ce39f7ef6b Port yog tickets 2018-04-24 19:53:29 +02:00
Tad Hardesty
33359acbd9 Fix various macro consistency problems (#37092) 2018-04-11 15:44:54 +01:00
Bjorn Neergaard
853146704e 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 02:55:39 +02:00
Jordan Brown
ec359dc152 Fix an error message grammer 2018-04-09 21:35:00 +02:00
KorPhaeron
629b863ce3 Finishes overflow roles (#37053) 2018-04-09 15:20:22 +02:00
vuonojenmustaturska
5731dfd7be Merge pull request #36829 from MrStonedOne/onclick_rework
[s]Minor Refactor of click code, anti-auto clicker protection
2018-04-01 14:25:12 +01:00
Jordan Brown
8fc34d6ca7 Merge pull request #36554 from Jordie0608/tbhthisisntreallyalegacysystemanymore
Adds config to allow ranks only from txt
2018-03-28 19:02:13 +01:00
AnturK
8f40dba13b Adds load away mission verb (#36568)
* Adds load away mission verb

* You seen nothing.

* Is this more readable ?
2018-03-27 03:34:18 +01:00
Kyle Spier-Swenson
b43355e98a Fixes client version config not working
1, the number is non-inclusive, so if you want to show a message to 511 and lower, you set it to 512 meaning this should have been `DM_VERSION-0`, and 2, if i want to limit it to a version higher then the server's version that is something that should be allowed.
2018-03-11 20:44:56 -07:00
Jordan Brown
9e81c92e4c Fix config loading exploit (#36286) 2018-03-10 14:51:32 -06:00
Qustinnus
5140cff38c [reviewpls] Adds moodlets to the game - [Please give suggestions for trait additions in comments] (#35475)
Floyd / Qustinnus (Sprites by Ausops, Some moodlets by Ike709)

add: Adds mood, which can be found by clicking on the face icon on your screen.
add: Adds various moodlets which affect your mood. Try eating your favourite food, playing an arcade game, reading a book, or petting a doggo to increase your moo. Also be sure to take care of your hunger on a regular basis, like always.
add: Adds config option to disable/enable mood.
add: Indoor area's now have a beauty var defined by the amount of cleanables in them, (We can later expand this to something like rimworld, where structures could make rooms more beautiful). These also affect mood. (Janitor now has gameplay purpose besides slipping and removing useless decals)
remove: Removes hunger slowdown, replacing it with slowdown by being depressed
imageadd: Icons for mood states and depression states


What this PR is

This PR adds a system that allows player to gain and lose moodlets based on events occuring to, and around them. These events then give the player a mood value based on what it is. For example a hug could give you +1 mood, while being stabbed in the eye with a screwdriver can give -5 mood. All these moodlets together determine the mood of your character which currently affects the following things:

    Movement speed - If you are very sad you move slower. Replacing movement slow from hunger. (hunger now instead affects mood)
    Screen blur - If you are sad you gain an overlay that slightly blurs the screen, increasing in severity as you get sadder.
    Interaction / do after speed - If you are sad or happy your interaction speed with things such as handcuffs is changed. with a 25% longer time if you are sad, or 10% shorter time if you are extremely happy.
    Hunger rate - You gain hunger slower if you are very happy.
2018-03-08 14:15:57 +13:00
Jordan Brown
528be17d48 Prevents history from repeating itself (#36110)
* Prevents history from repeating itself

* It persisteh
2018-03-04 15:00:46 -06:00
MrStonedOne
7198806b93 [s] Where were you, the day cyberboss exposed the database password to all admins with a holder 2018-03-02 17:37:21 -08:00
Ashe Higgs
ab9e2e8902 Adds minor roundstart traits! (ala CDDA, etc.) (#35440)
* Roundstart traits

* Unspaghettifies night vision

* Fuck everything

* Issues patch
2018-03-02 13:39:44 +13:00
Sirenfal
937ad3afc7 Antagonist reputation system (#35485)
* Implement antagonist reputation system

* Cleanup

* Quadruple point values, maybe a bit underwhelming before

* Simple feedback changes. Waiting on input on a couple questions for the other requests.

* * Comment out unnecessary variable

* Half of the requested changes (testing in game pending, standby)

* Last set of changes. This should be finished now.

* Remove line causing a warning to fix Travis build
2018-03-02 13:38:49 +13: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
kevinz000
8ebc63d2f2 Randomized Station Time + Night Shifts 2018-02-20 21:59:44 -08:00
Leo
a2ccca5f96 All medal methods are handled on SSmedals as opposed to global procs and also have proper defines. Killing with a crusher grants special medals. (#35673) 2018-02-16 13:17:51 -05:00
Tad Hardesty
bbe4d12d13 Support stations with multiple z-levels (#35339)
* Remove ZLEVEL_STATION_PRIMARY

* Add Up and Down traits for use by ladders and chasms

* Give map_config creation its own proc

* Combine LoadConfig and ValidateJSON and remove transition_config

* Make space linkage a z-level trait

* Remove ZLEVEL_EMPTY_SPACE

* Update uses of GetFullMapPath

* Handle multi-Z stations and load Lavaland and Reebe at runtime

* Remove unused space maps

* Fix inappropriate z-expansion in map reader, improve logging

* Update comments relating to z-level configuration

* Add Lavaland and Reebe to ALL_MAPS
2018-02-15 10:21:25 +01:00
Kyle Spier-Swenson
f94f49009a Fixes map configuration values for nonexistent maps applying to box
This caused box'es min pop to get set to 50 because all of the servers still had cere defined with that limitation.
2018-02-09 18:12:05 -06:00
Robustin
ee87af19f0 Disentangles Command Reports from Metagame (#35192)
* False report fix

* Less Accurate Command Report
2018-02-04 02:10:20 -06:00
Jordan Brown
30f3156ce2 Rename /datum/config_entry/var/value to config_entry_value (#34699)
This works around some vv-fu you can use to pass in a config_entry to a proc that reads the value var of some other datum. Byond is stupid enough to actually read it, so it must be uniquely named.
2018-01-24 16:40:28 -05:00
Jordan Brown
fec2d66318 Datum var cleanup (#34314)
* Consolidates datum var location

* Move ui_screen to /datum/tgui

* Move focusers to datum.dm. Move fingerprintslast to /atom

* Remove focusers list, makes mobs check if their focus is QDELETED in Life()

* Consolidate use_tag and var_edited into datum_flags

* Revert garbage comment

* Thought I already removed this

* Remove the var_edited preservation

* Removes focus QDELETED handling
2018-01-21 22:38:56 -05:00
Jordan Brown
015258d01c Config dir again except this time it works (#34606)
* Revert "Revert "Fix config_dir usage (#34469)""

* Make config exist before world/New but not load it until then
2018-01-21 19:32:12 +01:00
oranges
48575ccf70 Revert "Fix config_dir usage (#34469)"
This reverts commit 7be3d32290.
2018-01-19 01:26:40 +00:00
Jordan Brown
7be3d32290 Fix config_dir usage (#34469)
* Makes things use GLOB.config_dir

* GLOB.config_dir => global.config.directory

* Fix /datum/configuration
2018-01-19 11:55:09 +13:00
Cyberboss
6fe468e3b4 Moves load_motd to config controller 2018-01-15 10:44:25 -05:00
Jordan Brown
b9b9495071 Fixes configuration not loading 2018-01-10 20:10:32 -05:00
Jordan Brown
dcfa5ad867 Stops the config warnings when there's no config.txt 2018-01-09 10:54:44 -05:00
Cyberboss
5e961e23e7 Revert "[READY] Easy hosting of roundend sounds (#33618)"
This reverts commit 03e3dee35c.
2017-12-28 14:24:48 -05:00
MoreRobustThanYou
03e3dee35c [READY] Easy hosting of roundend sounds (#33618)
* [READY] Easy hosting of roundend sounds

* Hopefully fix this.
2017-12-28 11:32:44 +13:00
Emmett Gaines
25080ff2c4 defines math (#33498) 2017-12-17 11:02:11 -05:00
Jordan Brown
059a07aac6 Fixes LoadEntries return value 2017-12-15 10:50:58 -05:00
Jordan Brown
8c537ea377 Adds config inclusion system (#33307)
* Adds config inclusion system

* Revert debug code

* Fix bad braces

* Remove unused var

* Tested, working

* Config fixes
2017-12-14 18:23:10 -05:00
Jordan Brown
95ca418ef1 Allows for more than one cross server (#33488)
* Allows for more than one cross server

* mend
2017-12-13 22:07:26 -05:00
oranges
e5c093bc8d Merge pull request #33279 from Robustin/Reported
Standardizes false report weighting
2017-12-11 09:15:30 +13:00
oranges
caf024ec92 Merge pull request #33350 from Cyberboss/FixConfig
panic_address -> panic_server_address
2017-12-08 22:37:44 +13:00
Jordan Brown
8c8eba8b94 Merge pull request #33324 from deathride58/foreignfurryaddswidescreen
[Ready] Makes the default view range a config option (Allows hosts to enable widescreen)
2017-12-07 13:50:09 -05:00
Cyberboss
344d294bb8 panic_address -> panic_server_address 2017-12-06 23:35:26 -05:00
deathride58
3265d09328 Nerfs criticism 2017-12-06 12:46:02 -05:00
deathride58
b765f50302 makes the default view scale a config option 2017-12-05 21:44:56 -05:00
Jordan Brown
3f40dd8da4 Fixes every config flag updating world.sleep_offline 2017-12-05 15:48:39 -05:00
Robustin
a1b2c1bf02 Simpler way to standardize reports 2017-12-05 11:16:51 -05:00
Jordan Brown
b602495658 Adds a config to optionally hard reboot DD (#33006) 2017-11-24 05:53:08 -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