Commit Graph

1981 Commits

Author SHA1 Message Date
kevinz000
15e82496d0 Changes ntnet address assignment from numerical ascending to 16 hexadecimal randomized seeded (in English, everything is now randomized instead of predictable) (#37167)
* Emergency NTNet patch

* ok

* @naksu

* explicit null
2018-04-14 10:43:33 +01:00
Jordan Brown
51f27528bb Fixes signals being raised too soon 2018-04-11 21:02:52 +01: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
CosmicScientist
4f91f4ffbd Bird and Chasm phobias (#36430)
CosmicScientist

add: Top Nanotrasen scientists have diagnosed two new phobias! Birds and chasms! Good luck Chief Engineers and Miners.


Modified fear of doctors to include plague doctor suit. Who isn't afraid of Medieval medicine?
2018-04-09 00:07:46 +02:00
Jordan Brown
a732d378ed Merge pull request #36872 from kevinz000/totally_not_a_feature
GC debugging features
2018-04-06 23:01:43 +02:00
Nich
1499fd0e90 Latejoin Silicons (#36560) 2018-04-05 21:20:30 +02:00
AnturK
763937b4c6 Logs the load away mission verb. (#36989)
* Logs the load away mission verb.

* Right no links.
2018-04-05 21:11:40 +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
Nich
533a2c6b39 Merge pull request #198 from yogstation13/upstream-merge-36702
[MIRROR] increases MAX_THROWING_DIST
2018-03-29 13:56:52 +02:00
kachnov
beef789496 increases MAX_THROWING_DIST (#36702)
* initial commit

* refactor

* oh that went first
2018-03-29 11:01:29 +01:00
FrozenGuy5
cb42f9485c Capitalizes pathfinder (#36763) 2018-03-29 10:54:09 +01:00
Jordan Brown
5132104c78 Restarting the controller no longer resets the config 2018-03-28 19:41:40 +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
vuonojenmustaturska
9dda0e1873 Merge pull request #36747 from praisenarsie/patch-36
Increases monkeycap to 64
2018-03-28 12:49:42 +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
arsserpentarium
c575ebbe7a [READY]pathfinding circuitry upgrade (#36398)
* all in one

* fixfixfix

* uhhhh

* demuxdemuxdemuxdemux

* wire eriw

* icon noci

* tihsxifixshit

* rewopower

* fixif

* screeneercs

* returnruter
2018-03-26 17:02:44 +01:00
kevinz000
a9b0645c52 Fixes wet floor scaling (#36697)
* Fixes wet floor scaling

* Meh lets not
2018-03-26 16:50:12 +01:00
AsV9
d338cac150 Merge remote-tracking branch 'tgstation/master'
Not sure if this worked. Used a wonky special snowflake strat to merge.
2018-03-24 08:57:13 +01:00
oranges
57b7a517c4 Merge pull request #36380 from vuonojenmustaturska/sauerbraten
Nerfs monkey spam
2018-03-22 21:43:03 +01:00
ShizCalev
257a2d34bd Fixes incorrect first death mob name 2018-03-22 21:37:28 +01:00
Ling
16807242f4 Ports donor features 2018-03-17 15:23:07 +01:00
kevinz000
33764678a2 [READY] Refactors wet floors to a component (#36130)
* Wet Floor components

* No more turf wet slide.
2018-03-16 23:27:02 +01:00
Qustinnus
2c3e250fde Lavaland / Lavaplanet is now visible from space (#36419)
* adds lava planet

* fixes oldcode

* im dumb

* Random position

* UHHHH, I'll take a diet lavaplanet please, no ice.

* fixes init
2018-03-16 19:30:44 +01:00
Kyle Spier-Swenson
8855194aae Random micro optimization to the mc I thought of while looking at something else (#36352)
We can save the second ss_flags access by using bitflag ma~~th~~gic
2018-03-13 06:32:18 -04: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
Buggy123
dff70097cd Hopefully fixes unnecessary nightshift announcements (#36173) 2018-03-10 19:46:48 -06:00
Jordan Brown
9e81c92e4c Fix config loading exploit (#36286) 2018-03-10 14:51:32 -06:00
TheDreamweaver
f4e0f567ef Replaces alien brain necropolis chest loot with new artifact [MERGE READY] (#36143)
* -Replaces alien brain necropolis chest loot with new artifact
-Adds new artifact to necropolis chests loot, the Rod of Asclepius
-Adds corresponding status effect and defines

* Update necropolis_chests.dm

fixed spelling

* Spelling FIx

*disperses

* Fixed spelling, lowered the boost to the owner, added oxy heals, and refactored some of the code

* Adds some form of sprites (Still subject to change)

* Adds new sprites, fixes slime people taking toxin damage, and adds the rod to list of snake phobia objects.

* Nerfed clone healing and simple animal healing, fixed healing while dead as well as added a death event, tweaked the sprites, and cleaned up some code.

* Fixed grammar and cleaned up some code.

* Further cleaned up code because Cobby is mean.

* FURTHER cleaned up code
p.s. please send help, Cobby is holding me hostage
2018-03-10 02:52:03 -06:00
Jordan Brown
bf88f7f8b0 NAMEOFs some things (#36263) 2018-03-10 02:09:38 -06:00
Jordan Brown
29fb3504bb Stop qdeling shit you're not supposed to 2018-03-09 10:32:22 -05:00
Jordan Brown
a96625ba29 Fixes GLOB protected vars exploit 2018-03-09 10:03:35 -05:00
Dax Dupont
cffedcf7c1 Display cases can now have a list where to randomly spawn items from (#36058)
* Adds allowing display cases to pick from a random list

Keeps compatibility with older maps and moves trophy/plaque message to all display cases

* A bit more legible

* Refactors statues tool interaction code

* Don't override it already exists

* done
2018-03-09 09:17:57 +01: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
Tad Hardesty
018a74e558 Allow configuring ruin/empty space level count - #36191
Allows map configs to set how many ruin levels (def. 7) and how many empty levels (def. 1) that will be created. Most useful for landlocked stations, event/one-off stations with unusual composition, or testing situations such as RuntimeStation.
2018-03-07 02:48:22 -05:00
Ashe Higgs
5c8d845f56 [s] Improves and secures trait assignment code, allows their pref to be changed midround, tweaks RDS and Night Vision (#36160)
* Traits but less buggy

* no tick while dead

* fix security vuln
2018-03-06 15:57:42 +02:00
Cruix
dedf5f5ed9 Disease antagonist (#35988)
* Virus antagonist initial commit

* Updated disease code

* Sentient virus improvements

* Renamed /mob/living/var/viruses to diseases, and /mob/living/var/resistances to disease_resistances

* Added sentient virus event

* Renamed VIRUS defines to DISEASE defines

* Fixed bugs in rewritten disease code

* Fixed advanced disease Copy()

* Finalized disease antagonist

* Made cooldown buttons stop processing if they are removed from an owner.
Made sentient disease active sneeze and cough not available if the host is unconscious.
Made sentient disease menu refresh when adaptations are ready or hosts are added or removed.
Made sentient disease following use movement signals instead of fastprocess.

* Added better icons to sentient disease abilities
2018-03-05 13:55:10 +01:00
Jordan Brown
9babf49552 Merge pull request #36082 from AutomaticFrenzy/patch/nightshift-fix
Fix nightshift skipping certain maint APCs
2018-03-05 00:29:36 -05:00
kevinz000
4cf3c7cd2c Adjusts fire priorities of flightpacks, research, networks, and fields. (#36129)
* Fire priorities

* research lower not higher

* Don't need to keep timing if it's automatically compensating for missed ticks.

* Spelling

* spelling
2018-03-05 00:25:03 -05:00
Tad Hardesty
932aac2e25 Tidy nightshift code 2018-03-04 17:05:57 -08: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
Tad Hardesty
eb9dec405f Fix nightshift skipping certain maint APCs 2018-03-02 01:48:44 -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
vuonojenmustaturska
8da498119d Removes SNPCs (#36016)
* he's dead, jim

* a few stragglers

* Restores the populate world-verb
2018-02-28 19:11:34 +13:00
MMMiracles
3108118b36 Adds Tinfoil Hats (#35665)
* adds a tinfoil hat to protect you from government conspiracies and aliens

* qutoes ples

* In the sheets of my sterilized room
In your comfy bed, air-conditioned car
There are vapors and toxins to get you all
In the water you drink, in the air that you breath
In the soil under your shoe

* conspiracy phobia, nodrop on hat once equipped, also CONTRAST

* a single comma

* cyberboss changes

* |=

* central typo fix
2018-02-25 19:10:55 -05:00