Commit Graph

23089 Commits

Author SHA1 Message Date
LordFowl
f3020f91c0 Wardens spawn with box of blank IDs (#2102)
Resolves: https://forums.aurorastation.org/viewtopic.php?f=21&t=7721
2017-04-16 21:46:31 +03:00
Werner
e5b8a518a3 html_encode the log messages (#2079)
html encodes the messages before json_encoding them to fix issues with invalid json encoding causing messages to be dropped.

Low priority fix as it effects roughly 0.2% of the messages per day

Tested it locally.
Special chars no longer cause invalid json and are now properly parsed.

grafik

No changelog, because it doesnt effect the users
2017-04-16 20:15:53 +03:00
Lohikar
0e91b8b565 Remove some unused PDA icons (#2096)
changes:

Removed some unused PDA icons from the client cache.
2017-04-16 20:15:25 +03:00
Werner
fad4a0a4a9 Various Changes (#2040)
A bug:

Synthetics are no longer able to authorize warrants. Fixes #2025
Various requests from the suggestions forum:

Removed bootknives from custom loadouts
Added crowbars to all borg modules that were missing them.
Removed flashbangs from the officer lockers and the security vending machine
Some other things:

Warden access is now required to access the armory with the flashbangs, heavy vests, ...
Fixed a issue with udp logging (wrong text in a log message)
.45s now spawn in the officer lockers
Flares now spawn in the officer lockers
The crate containing the door locks has been relocated
Added cadet lockers with essential cadet gear
Replaced two officer lockers with two cadet lockers, so there are now 4 officer and 2 cadet lockers in security
Warrant assistant now shows Location / Suspect for the search warrants (instead of only the location)
2017-04-16 20:13:59 +03:00
skull132
f33d68a2bb Merge branch 'master' into development 2017-04-14 22:54:12 +03:00
Lohikar
2ed8a41d79 Fix wallhack cameras (#2093)
changes:

Fixed cameras' visibility calculations.
Possibly made cameras slightly faster.
2017-04-14 21:50:49 +03:00
MarinaGryphon
bf6002605e No More Psyborgs (Fixes #2077, adds Industrial Frame functionality requested by Cake) (#2090)
Stopped IPCs from being able to see without optics installed.
Made Industrial Frames actually pressure-proof, which allows them to use suit coolers on their back.
(Apologies for accidentally including some old commits. They've already been merged, anyway, so I hope it's not too much trouble.)
2017-04-14 19:05:12 +03:00
skull132
fa6051c133 Merge branch 'master' into development 2017-04-14 16:05:06 +03:00
skull132
a3516d7069 Fix/debug BOREALIS (#2086)
Improved the .dll to catch any and all unspecified exceptions. To avoid .dll crashing. They will now be logged into a .txt file.
Made the .dll's code to be more reusable, and look a bit better. Also removed a few hidden files (header).
Added a few debug logs for BOREALIS, specifically towards new features.
Removed a potential runtime error for scheduling a push without a scheduler.
Tested as functional on local build.
2017-04-14 13:29:21 +03:00
Lohikar
f35680ba7a Fix cameras (#2091)
changes:

Cameras now use DVIEW instead of a temporary dummy mob to calculate visibility.
Cameras now render smooth lighting as old-style lights.
Lighting overlays are now a DMI instead of a PNG.
Fixes #1974.
2017-04-14 13:29:09 +03:00
Lohikar
0a1ee41460 Admin PM Fix (#2087)
Fixes an issue with admin PM logging.
2017-04-14 00:27:55 +03:00
NanakoAC
f09afbaeaa Cooking Fixes Pass 2 (#2024)
This PR is a package of fixes for a few cooking issues, and also (largely unrelated but its been annoying me for weeks) more fixing on the Flash issue.

Fixes the cooking sound not being set on cookers

Very thoroughly re-examines all interactions with cooking machines and their verbs, adds safety checks, alters contexts as intended. This gets rid of all the problems with mouse/ghost/AI fuckery.
Note that AIs can toggle the oven door and the power on cooking machines, this is by design.
Animals can remove food from exposed cooking containers, this is also by design.

Sets cooking containers to NOREACT, to prevent some issues with recipes being unmakeable because ingredients would become dough.

Tweaks oven heat loss a little more

Adjusts the mix flag on several potentially problematic recipes to prevent certain undesireable things ending up in finished products (like flour and eggs causing a lump of dough to be ejected from a finished cake)

Alters quite a few recipes which used a whole egg as an ingredient, to use egg yolk instead. Partly becase it makes more sense in context, and partly because cooking containers don't support adding whole eggs. There are now no fryer/oven recipes that need an intact egg.

Scales up plain bread to be a little closer to the other specialised breads in terms of reagent quantity.

Removes a redundant spellburger recipe because item checks use istype

And the flash issue:
For those who missed it, several months ago we had an issue with an object named "flash" appearing in the rightclick menu anywhere, for anyone with admin/dev powers. It was constantly annoying. After enduring the mysterious thing for months i found the cause, it's a hud element. Setting mouse opacity fixed it.

Anyways my fix wasn't comprehensive enough. Several other huds for non human mobs duplicate this thing. So ive set mouse opacity on them too
2017-04-13 23:31:32 +03:00
Lohikar
efc668fa89 RnD Deconstruction Fix (#2081)
changes:

Fixed a bug where the Circuit Imprinter & the Protolathe tried to new() a material name instead of the material's type on deconstruct. This fixes a runtime preventing deconstruction when the machine contained materials.
Fixes #2080.
2017-04-13 23:31:19 +03:00
skull132
7cd7e5aee2 Merge branch 'master' into development 2017-04-13 00:26:49 +03:00
MarinaGryphon
2cb9f18671 Hopefully fixed IPC surgery. (#2076)
IPC external organs are now encased, which means organ removal now checks for the proper open value (which is 3, not 2). This should fix #2020.
2017-04-12 21:15:39 +03:00
MarinaGryphon
fe723018e3 Fixes #2072 (#2074)
Fixed #2072, caused by an error in indentation when I converted airlock_electronics.dm to absolute pathing.
2017-04-12 12:40:53 +03:00
MarinaGryphon
fa3e74bdf8 Fixes #2069 (#2070)
Fixed #2069 by commenting out a statement that set new pAIs' canmove to zero.
2017-04-12 12:40:22 +03:00
MarinaGryphon
964e49b0f8 Fixes #1932 and converts airlock_electronics.dm to absolute paths (#2053)
Fixes #1932 by adding an 'inuse' variable to airlock electronics and setting/checking whether it's in use when constructing doors.
Converted airlock_electronics.dm to absolute paths from relative paths.
2017-04-10 11:58:04 +03:00
Lohikar
3834fd9dec Darkness Fixes & Shell Tweaks (#2066)
changes:

ChangeTurf no longer breaks lighting when switching from statically lit turfs to dynamically lit turfs.
Human-types' is_noisy value is now updated on spawn; boots should now make footstep SFX without having to take them off and put them back on.
Fixed a logic error in is_noisy calculations which could have lead to false-negatives.
Shells can now wear socks & undershirts.
Fixed a bug where changing the dynamic lighting status on an area would attempt to build lighting overlays for the entire map.
Fixes #2027.
Fixes #1982.
2017-04-10 11:55:56 +03:00
Lohikar
c625bbe8e4 Nightmode Tweaks 2: The Fixening (#2065)
I actually fixed it this time I swear

changes:

Nightmode now follows the station's time instead of some random time schedule that made no sense.
Red alert will properly disable night mode now.
Dropping from red alert will reset nightmode to the state it was in before red alert was triggered.
2017-04-10 11:54:09 +03:00
Alberyk
5d025d9ac6 Mark of wizard fix and missing uniform name (#2062)
-unfucks the path of the mark of wizard
-fix the name i may have erased from two uniforms
2017-04-09 13:00:22 +03:00
skull132
45df5b4d04 Merge branch 'master' into development 2017-04-08 23:20:02 +03:00
NanakoAC
f9e7a071c1 Alcohol additions and fixes (#2052)
Project partially commissioned by Senpai Jackboot.

This PR adds a new reagent, butanol. It is an alcohol intended for unathi consumption, intoxicating and safe for them. On other species it is also safe, but has a fairly minimal effect, and humans drinking it is generally a waste.
Butanol moonshine can be made in the kitchen by delinquent lizards.

Adds two butanol based drinks, imported from moghes.

Also adds a new Tajaran Gin, slightly weaker than a normal spirit. This is an ordinary ethanol drink with some kitty flavour text.

Kegs of beer and xuizi juice can now be ordered in cargo. Prices may seem low but they come in a non-returnable large wooden crate

Fixes several bugs with alcohol effects not wearing off.
While fixing this I ran into another issue, and the easiest fix was something i've been meaning to do for a while:
Added a verb for bluespace techs to toggle their god mode on and off.
Intoxication with god mode on is now essentially disabled. It was causing too many buggy effects. If bluespace techs want to get drunk for adminbus RP, they can disable godmode first.

Fixes #1748
2017-04-08 23:17:46 +03:00
Fire-and-Glory
2d0622d140 Adjusting a mistake I made with the Kneebreaker Hammer traitor item#2 (#2061)
The Kneebreaker Hammer should no longer do hilarious amounts of damage should you find a way to make it go through the air faster than it would if you threw it.

Well, no more damage than it would if you applied such a thing to any other item.
2017-04-08 22:51:34 +03:00
Ron
97e8955445 Misc Bug Removal (#2045)
vampire_powers.dm ~ vamps now know if they finished enthralling. Fixes #1705
utility.dm ~unconscious people cant feel things injected anymore. Fixes #606
security.dm ~7 days to play as sec now. Same with detective and warden. might need config option enabled. Fixes #1973
exodus-1.dm ~ removed useless circuit board. Fixes #1991
supplypacks.dm ~ Auxilllary Foensic tools crate spawns with a UV light now. Fixes #1936
tree_networking.dm ~ gave the malf AI more room to type things up. Also fixed typo. Fixes #1914
Made the viral infection outbreak say level 5 all the time so it matches up with sound file.
2017-04-08 19:10:48 +03:00
MarinaGryphon
f849657a62 Fixes #1163 (#2054)
Made the robotics control console check for R.lockcharge instead of !R.canmove to avoid issues with chairs.
Gave silicons their own custom /update_canmove() proc to deal with lockdown.
Made the robotics control console use SetLockdown(), like the lockdown wire.
2017-04-08 17:32:13 +03:00
MarinaGryphon
32b570871f Protohuman Fixes, Transform Procs, and Genetics Fixes (#2059)
Added a Humanize() proc that converts from lesser to greater form.
Made Monkeyize(), Humanize(), handle_post_spawn(), and set_species take a 'keepgenes' argument that tells whether or not to keep or override the gene for lesser or greater form.
Fixed what I presume is a typo in defining the 'hard' genetics bounds.
Made MONKEYBLOCK actually functional.
2017-04-08 17:30:31 +03:00
Alberyk
15d588bd8e Changes tajaran random name generator (#2036)
This pr changes the old bay method, replacing them with some arabic and slavic names instead. Because"Rrhazkrajri Njarir'Akhan" and the like sounds stupid and has some issues with the lore, because you are not named after your ethnicity.
2017-04-08 00:30:47 +03:00
inselc
238ce7a80c Bugfixes: Drones, Infrared emitters, Implant cases and Limbs (#2049)
This PR contains bugfixes for:

Drones being unable to matter-decompile burnt matches (#717). Burnt matches will be decompiled into a small amount of wood.
Ghosts triggering infrared emitters (#644). Added a check whether the movable passing through the laser beam is actually "visible".
Reagent transfer messages showing up when clicking on chem implant cases, even when the syringe is empty (#704). Added a check whether reagents have actually been transferred. The displayed message will now also display the actual amount transferred. Removed spawn(5)-delay to prevent click-stacking.
Limb relocation messages not showing up for bystanders (#778).
2017-04-07 23:53:21 +03:00
Lohikar
636aef2970 Tactical Holster Fixes & Random Obj Runtime Fix (#2043)
changes:

Fixed some issues with tactical armor's holster.
Made tactical armor qdel its child storage instead of just nulling it out.
Hopefully fixed the runtimes with random voidsuits.
Fixed a bug where random vendors were always depleted.
Fixed a bug where industrials could not set their eye color.
Fixes #2041.
Hopefully fixes #1740.
2017-04-03 22:43:38 +03:00
NanakoAC
af960ce8d1 Pylon succ bugfix (#2010)
Just fixes a small reported issue with pylons, where a ventcrawling creature could get dragged out of the pipe network and stuck under the floor. Adds some safety checks to the sucking mechanic
2017-04-03 22:42:15 +03:00
skull132
f706f41dac Fix ein boo-boo 2017-04-02 16:56:38 +03:00
Lohikar
80fb7af058 IPC Fixes & Nutrition Tweaks (#2037)
changes:

Only normal crew mobs equipped by the job master spawn with randomized nutrition.
Random nutrition's minimum nutrition value has been increased to 50%.
IPC Shells' skin tone and eye color now functions correctly.
Industrials' eyes now work correctly.
Added a nullcheck to random voidsuit spawn.
Fixes #1909.
Fixes #1646.
Fixes #1503.
Probably fixes #1740.
2017-04-02 16:53:53 +03:00
Alberyk
9b5ba48a09 Wizard buffs and fixes (#2038)
-fixes skeletons being unable to break cuffs
-buffed dark form to don't be shit, by giving it more life and some spells
-buffed the healing spells
-buffed mark and recall
2017-04-02 16:52:33 +03:00
Lohikar
26a189a703 Code cleanup: /obj/random (#2014)
changes:

Cleaned up most random objects to use lists instead of a spawn proc.
Probably fixed a bug where vendors could spawn with fractions of an item.
Probably fixes #1740.
2017-04-02 01:28:10 +03:00
Alberyk
ae5ebc19f1 Ghostrap update and minor fixes (#2019)
-moves skeleton minions,wizard familiars and syndicate borgs to the ghost trap system
-allow syndicate command and deathsquid to deploy their suit fully when equipped
-fix some wrong hardsuit modules names in rd
-fix immortal skeletons being able to spam immortality
-removes the alien death proc
-fix items not dropping when hands, feet or heads are cut off
-removes the paint from cargo spam
2017-04-02 00:10:55 +03:00
Werner
59e7377798 UDP Logging (#1997)
This implements UDP Logging with GELF.
It will allow full text search over all the logs and attributes sent over GELF to the log server.
2017-04-01 23:47:00 +03:00
skull132
a07a459f9e Revert "Adds snake people (#2029)" (#2031)
This reverts commit 0167ad4e80.
2017-04-01 23:39:12 +03:00
Alberyk
0167ad4e80 Adds snake people (#2029)
Changes:
-adds snake people as a whitelisted species
-adds tail mechanics, ported from europa station, to the snake people, you can coil it up, people can attack it, stomp the tail and etc
-snake people can spit poison
-snake people can't use shoes
-snake people also have some other features like having a minor brute resist, claws and cuff breaking
-snake people can have different scale colors and eyes colors, but green is the best color without doubt
-also adds snake people
2017-04-01 19:43:43 +03:00
skull132
0f3d8c083e Fix malicious/bad JS exploits 2017-04-01 16:57:56 +03:00
skull132
f6e91b621a Fix double calls to handle_spam_prevention (#2023)
Deadchat is now muted by MUTE_IC and MUTE_DEADCHAT.
2017-03-31 23:07:01 +03:00
skull132
fe5712dab6 Macro specific spam protection + mouse abuse (#2022)
Someone forgot to spam check squeaking.

I forgot to upload anti-macro spam measures.

So let's have both in one go, yay!
2017-03-31 19:32:50 +03:00
Lohikar
e64074c5a7 Runtime fixes (#2017)
changes:

Added more QDELETED checks to organ processing.
Fixed some misc runtimes in lighting & sparks.
2017-03-30 22:06:24 +03:00
Lohikar
2d26596320 Mining Fixes (#2016)
changes:

Fixed hematite and carbon not alloying correctly.
Fixed bad dir on a conveyor belt in the outpost.
Fixes #1752.
2017-03-30 22:00:34 +03:00
Alberyk
b5353d1659 Fix loadout dress uniforms and cult book spam (#2013)
-fix #2011
-fix attacking people with cult books having no delay
-nerf frag grenades a bit
-fix #1988 but this may end allowing you to hit people if you use the wrong tool, but, however will make things far easier for borgs or people doing surgery
2017-03-29 18:38:53 +03:00
skull132
d1597b1ff5 Fixes #1911 (#2012)
Fixes #1911
2017-03-29 17:44:33 +03:00
Lohikar
591fe86468 Organ Runtime Fix (#2005)
changes:

Added a QDELETED check to organ processing so they won't continue to process if they were erroneously left in the processing objects list after being deleted.
Fixed a bad robotic organ check on spiders.
2017-03-28 22:07:52 +03:00
skull132
5188955339 Revert Convert database configs to JSON (#1998) (#2000)
This is get over the shortcomings and failures of the old config system. Currently only applied to the DB configs because they're the ones fucking up. (reverted from commit 7e1f0d2285)

Reverted because further testing showcased the issue to be inside the mysql.dll instead of the game code. Weee I feel dumb.
2017-03-26 17:57:03 +03:00
skull132
3d8840474b Remove runtime condensing (#1999)
It's a crash hazard. To be offloaded to the monitor.
2017-03-26 16:46:09 +03:00
skull132
7e1f0d2285 Convert database configs to JSON (#1998)
This is get over the shortcomings and failures of the old config system. Currently only applied to the DB configs because they're the ones fucking up.
2017-03-26 16:29:08 +03:00