Commit Graph

153 Commits

Author SHA1 Message Date
alexkar598
0d1b78c0ef Dring dring, the 90s called, they want their URLs back (#12019) 2021-08-14 14:25:34 +01:00
Anvilman6
c85fa9e2ea Adds partial Command integration for Non-Humans (#11505)
* Adds partial Command integration for Non-Humans

Allows Non-Humans to enroll in Command positions, dependent on Species. Applies to both roundstart and latejoin.

* Ethereals, Polys moved from HoS to RD, CE 

Per lengthy consultation with other developers, I have decided to move Ethereals and Polysmorphs out of the HoS qualification into RD/CE respectively.
Main documentation to be adjusted accordingly, and fuller explanatory comment to be posted to thread shortly.
2021-07-09 10:43:29 +01:00
Maxim Nikitin
7013fa39d5 Voice Announcement System for AIs and Captains (#11548)
* Voice Announcement System

* Fixes shit the linter complained about

* Uses topic instead of JSON files

* fixes alex's problems

* use /dev/urandom on linux

* GenerateToken

* update the config in theory

* Allow downloading sounds via Get Server Logs
2021-07-01 11:46:27 +01:00
alexkar598
1c611b9cff Ports #59750 from TG: Adds configs to disable hard deletes (#11622)
* Adds configs to disable hard deletes

* Apply suggestions from code review

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: MrStonedOne <kyleshome@gmail.com>
Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2021-06-26 12:12:06 +01:00
TheGamerdk
4e95227477 Zombie Gamemode (#7984)
* thing

* fixed

* noi

* thing

* i hate you

* nerf

* Stuff

* Zombies!

* Thing

* Fixes evo

* Balance

* damage

* Less

* Stamina damage BAD!

* Acid less shit

* buff

* Nerfs

* RUN!

* refactor

* Cooldown

* Admin add

* span

* Forced zombify, fuck you marmio

* Rebalance

* ...

* fix

* Handcuffs bad!

* Damage

* spit

* less OP

* Classes Finished

* Fixed

* murderbone bad, mkay!

* stupid

* thing

* Fixes

* Report

* uoh

* few fixes

* fuck you alexkar

* stuff

* duck you alexkar

* small fixes

* woop

* Update hud.dmi

* pog

* awkward

* pog

* hey

* Update zombie.dm

* Update hud.dm
2020-12-31 11:24:03 +00:00
Jamie D
d60aebe2bb Revert "CLOCK AND BLOOD TORTURE 2: THE RESUMMONING (#8991)" (#10687)
This reverts commit 6ea27bb700.
2020-12-20 20:39:52 +00:00
Theos
6ea27bb700 CLOCK AND BLOOD TORTURE 2: THE RESUMMONING (#8991)
* clock cult agents added with framework for gamemode
also moved clock cult unlocks out of the clock cult team so agents can use them

* escape one survivor objective and soul extraction clock side both complete, gamemode info started, etc

* blood agents moved to DLC so clock can be tested, reorganizing, foolproofing some stuff, addition/completion/whatever of clock implant and objective, addition of basic bloodcult agent stuff in preparation for blood agent DLC, removal of debug interaction from agent slab

* no making real slabs from agent slabs

* clock gets some starting power can't believe i forgot this

* code runs off 100% all natural 0 []

* make scaling actually work

* cut recursive thing

* Update clock_mobs.dm

* bloodcult work

* bloodcult start stuff

* newline

* bloodcult objectives, cleanup, and bloodcult restrictions

* merge conflict I fixed but didn't get saved because ??

* see above

* oops all redacteds

* Update hierophant_network.dm

* Update game_options.dm

* bloodcult fixes and repositioning stuff

* clock cult gets 1000 starting power

* fix runtime

* wording

* Update traitorcult.dm

* Update traitorclock.dm

* FORGOT THIS

* Update soulextractobjectives.dm

* Update traitorcult.dm

* Update cult_structures.dm

* impant

* Update game_options.txt

* Update traitorcult.dm

* Update traitorcult.dm

* probably actually most  definitely fixes literally everything

* Update traitorcult.dm

* Update traitorcult.dm

* Update traitorcult.dm

* Update traitorcult.dm

* fuck this

* Update traitorcult.dm

* Update traitorcult.dm

* Update traitorcult.dm

* fuck

* agent scaling down to 15

* Update traitorblood.dm

* Update traitorclock.dm

* Update soulstone.dm

* Update blood_magic.dm

* Update blood_magic.dm

* genious

* Update blood_magic.dm

* Update blood_magic.dm

* Update implantobjectives.dm

* Update blood_magic.dm

* Update blood_magic.dm

* fi clock agent not fgetting slapb

* fuck

* this is a mind proc retadrd

* agent scaling pulling double duty for objectives and cult size

* Update implantobjectives.dm

* Update traitorcult.dm

* deshittening

* Update implantobjectives.dm

* Update implantobjectives.dm

* Update soulextractobjectives.dm

* Update traitorcult.dm

* Update traitorclock.dm

* Update traitorblood.dm

* Update traitorcult.dm

* mess around with clock agent team probably fix issue with objective desc

* same with blood agents

* reflect changes to make objective text work in gamemode file

* Update code/game/objects/items/robot/robot_parts.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* cant believe I forgot that

* Update code/game/gamemodes/traitor/traitorcult.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update objective.dm

* Update code/game/gamemodes/objective.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update code/modules/antagonists/clockcult/clock_items/replica_fabricator.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update code/game/gamemodes/traitor/traitorcult.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Update code/game/gamemodes/traitor/traitorcult.dm

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* all of this kind of wrote itself

* I think this'll stop teams from being made without having members

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com>
2020-12-20 15:04:05 +00:00
Jamie D
a3cc8b984a Engine Configurable by Config (#10504) 2020-11-26 12:39:12 +00:00
alexkar598
e4d525346d Update configuration.dm (#10488) 2020-11-23 21:18:25 +00:00
Xoxeyos
b329abed13 Merges most of Dynamic Fixes II from Beestation (#10402)
* makeuncloneable addition

* Update revolution.dm

* Update revolution.dm

* Adds exrev support for dynamic

* Adds dynamic stuff need to add support for darkspawn etc

* shadowling support

* Adds vampire and wizard supports

* Adds Darkspawn Support

* Update dynamic_rulesets_midround.dm

* Update dynamic_rulesets_latejoin.dm

* Update dynamic_rulesets.dm

* Update dynamic.dm

* Update roundend.dm

* Don't clone provecateurs, don't clone revheads during dynamic.

* reroll turdis

* reroll turdis

* try and fix error 137

* Update dynamic.dm

* Update game_options.txt

* Update dynamic.dm

* adds dynamic.json

* Update game_options.dm

* Update code/game/gamemodes/dynamic/dynamic.dm

Co-authored-by: jcatjmeow <40673387+jcatjmeow@users.noreply.github.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2020-11-19 09:28:45 +00:00
TheGamerdk
65e3fe7465 CDN Assets + TGChat + Statbrowser Restyle (#10211)
* asset cache cdn

* Fix cdn rsc (#52886)

I was converting this to use length so it didn't have to care if the list existed or not, and forgot to remove the .len. this broke cdn .rsc files because length(num) returns 0.

* Add warning about https to the external rsc config (#53367)

today in hostchat we discovered that most of the servers who tried to 
do cdn the .rsc, had unknown issues because they had used https:// 
urls. Byond can't into https.

like 5 servers had failed to get this to work because of that pitfall, 
so im gonna add a warning to the config.

* tchat

* tgchat compile

* fixes

* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay

tgchat: Fix asay

* chat color

* logging

* webstorage

* compile TGUI

* actually like compiles on the DM side

* Update chat-dark.scss

* Update chat-light.scss

* Update resources.txt

* Update tgui-panel.bundle.css

* Colors

* compile

* s

* s

* Ports Gamers TGChat so we can edit it. - NOT LIVE TGCHAT BRANCH (#10226)

* asset cache cdn

* Fix cdn rsc (#52886)

I was converting this to use length so it didn't have to care if the list existed or not, and forgot to remove the .len. this broke cdn .rsc files because length(num) returns 0.

* Add warning about https to the external rsc config (#53367)

today in hostchat we discovered that most of the servers who tried to 
do cdn the .rsc, had unknown issues because they had used https:// 
urls. Byond can't into https.

like 5 servers had failed to get this to work because of that pitfall, 
so im gonna add a warning to the config.

* tchat

* tgchat compile

* fixes

* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay

tgchat: Fix asay

* chat color

* logging

* webstorage

* compile TGUI

* actually like compiles on the DM side

* Update chat-dark.scss

* Update chat-light.scss

* Update resources.txt

* Update tgui-panel.bundle.css

* Colors

* compile

* s

* s

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheSmallBlue <ilanmori@hotmail.com>

* Fixes Replay Chat

* Update to_chat.dm

* Update chat.dm

* Update demo.dm

* yarn berry

* yarn berry compile

* Update resources.txt

* Update config/resources.txt

* Update resources.txt

* Attempt at fixing reconnect.

* Lets try fix it again

* oops

* THROW THE SINK AT IT

* ree

* Makes Travis work again thank you jamie

* Fixes snowflake images

* Update security.dm

* Updates TGChat Test Merge (#10307)

* asset cache cdn

* Fix cdn rsc (#52886)

I was converting this to use length so it didn't have to care if the list existed or not, and forgot to remove the .len. this broke cdn .rsc files because length(num) returns 0.

* Add warning about https to the external rsc config (#53367)

today in hostchat we discovered that most of the servers who tried to 
do cdn the .rsc, had unknown issues because they had used https:// 
urls. Byond can't into https.

like 5 servers had failed to get this to work because of that pitfall, 
so im gonna add a warning to the config.

* tchat

* tgchat compile

* fixes

* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay

tgchat: Fix asay

* chat color

* logging

* webstorage

* compile TGUI

* actually like compiles on the DM side

* Update chat-dark.scss

* Update chat-light.scss

* Update resources.txt

* Update tgui-panel.bundle.css

* Colors

* compile

* s

* s

* Ports Gamers TGChat so we can edit it. - NOT LIVE TGCHAT BRANCH (#10226)

* asset cache cdn

* Fix cdn rsc (#52886)

I was converting this to use length so it didn't have to care if the list existed or not, and forgot to remove the .len. this broke cdn .rsc files because length(num) returns 0.

* Add warning about https to the external rsc config (#53367)

today in hostchat we discovered that most of the servers who tried to 
do cdn the .rsc, had unknown issues because they had used https:// 
urls. Byond can't into https.

like 5 servers had failed to get this to work because of that pitfall, 
so im gonna add a warning to the config.

* tchat

* tgchat compile

* fixes

* Merge pull request #53011 from stylemistake/tgui-chat-fix-asay

tgchat: Fix asay

* chat color

* logging

* webstorage

* compile TGUI

* actually like compiles on the DM side

* Update chat-dark.scss

* Update chat-light.scss

* Update resources.txt

* Update tgui-panel.bundle.css

* Colors

* compile

* s

* s

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheSmallBlue <ilanmori@hotmail.com>

* Fixes Replay Chat

* Update to_chat.dm

* Update chat.dm

* Update demo.dm

* yarn berry

* yarn berry compile

* Update resources.txt

* Update config/resources.txt

* Update resources.txt

* Attempt at fixing reconnect.

* Lets try fix it again

* oops

* THROW THE SINK AT IT

* ree

* Makes Travis work again thank you jamie

* Fixes snowflake images

* Update security.dm

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheSmallBlue <ilanmori@hotmail.com>
Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* Fixes

* Undo Kitchen Sink

* Fucking 7 Hours.

* status panel

* stat panel fixes

* fixes

* stat panel stuff

* Stat panel finish

* Compile, oops

* Update server_maint.dm

* Update world.dm

* Update interface.dm

* tgui compile

* Update subsystems.dm

* fix statpanel deleting whole admin tab (#54211)

fix: adminhelping no longer removes entire admin tab
fix: end of round no longer removes entire admin tab

* Update skin.dmf

* verbs?

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
Co-authored-by: TheSmallBlue <ilanmori@hotmail.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
Co-authored-by: Couls <coul422@gmail.com>
Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
2020-11-10 19:10:27 +00:00
Jamie D
3d3146f8da [Admin] Adds replays to all past notes and future ones, Adds view replay button for clients (#10273)
* ReplaysAndShit

* Update interface/interface.dm

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>

* Hows this

* oopsie

* oops oops

* FAT FINGER

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
2020-11-01 18:56:48 +00:00
Mqiib
cb77de4adb Makes polysmorphs mentor only (#10242)
* Hot singles now available

* Recursive is_mentor
2020-11-01 18:50:46 +00:00
Jamie D
e9c958fb11 Revert "Revert "TG performance tweaks - oh-god-please-kill-me-edition ASYNC / SLEEP BAD / Profiler"" (#10254)
* Revert "Revert "TG performance tweaks - oh-god-please-kill-me-edition ASYNC / SLEEP BAD / Profiler (#10207)" (#10252)"

This reverts commit c936816e14.

* FIXES NO BUTTON PRESS BS
2020-10-29 22:15:01 +00:00
Jamie D
c936816e14 Revert "TG performance tweaks - oh-god-please-kill-me-edition ASYNC / SLEEP BAD / Profiler (#10207)" (#10252)
This reverts commit 38f3174826.
2020-10-29 19:54:16 +00:00
Jamie D
38f3174826 TG performance tweaks - oh-god-please-kill-me-edition ASYNC / SLEEP BAD / Profiler (#10207)
* Im sleepy

* Reee

* oopsie Linter go brrrr

* Update code/datums/components/storage/concrete/bag_of_holding.dm

Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com>

* Update code/controllers/subsystem/air.dm

Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com>
2020-10-29 19:28:57 +00:00
Nichlas Pihl
d39970ef44 adds Ash's thing (#9907)
* adds Ash's thing

* ashfix

* lmao
2020-10-17 12:51:20 +01:00
Theos
19ce2c32e3 Port heretics from TG (#9479)
* heretics port

* fix conflict

* Update eldritch_book.dm

* forgot UI

* make summons not permanently fuck up a rune probably doesnt ruin anything else

* think I can do this

* cleave invocation is now cool

* armsy fixes also changes study back to research since it fucks with the order of stuff

* COOL descriptions for monsters

* make rust final based by giving stun immunity

* make ash final based by giving stun immunity

* somehow missed these

* fix world icon for cult robes

* flesh grasp effect actually works and ghouling is countered by mindshields

* don't need . = ..() just ..()

* probably fixes amulet

* fix amulet

* probably fix stalk

* fuck tgui

* Update eldritch_antag.dm

* make antag hud work

* ~10 seconds of silence on mansus grasp

* move antag hud stuff to the right icon file
2020-09-08 22:54:59 +01:00
ike709
59a7cff852 CentCom Galactic Ban DB (#9342)
* CentCom Galactic Ban DB

* appeases yogs
2020-08-01 18:54:21 +01:00
swissloaf
7b6897a49f Adds Gamma and Epsilon Alert Level (#9244)
* NOICE

* Sounds

* Noice

* Update security_levels.dm

* Update security_levels.dm

* Update security_levels.dm

* Update security_levels.dm

* Update security_levels.dm

* Update security_levels.dm

* Update security_levels.dm

* noice

* Update special_shadowling_abilities.dm
2020-07-18 18:36:55 -04:00
swissloaf
92f7ee2740 Removes references to Yogstation-TG in exchange for Yogstation (#8443)
We aint tg boy

Co-authored-by: fluffe9911 <dablank02@hotmail.com>
2020-05-10 20:07:20 -04:00
alexkar598
2333d64f09 Adds support for 513(and unicode), additionally drops supports for 512 in the process and updates dreamchecker(turdis) and casually fixes about 90 bugs in the codebase (#8324)
* Cherry picks the unicode part 2 PR from TG

* Things

* drop 512 support

* TAN --> tan

* Manually does the things that was in renamed files

* CLAMP --> clamp

* ismovableatom -> ismovable

* bugfixes, tg is bad

* Ports sanitize_name

* Bumps checks

* Fixes new linter errors (#48126)

About The Pull Request

This fixes the errors raised by the new feature I'm adding to the linter: SpaceManiac/SpacemanDMM#119

* Update SpacemanDMM suite to 1.2 (#48785)

* Update SpacemanDMM suite to 1.2

* Fix new lint errors

* Removes unreachable code (#48143)

About The Pull Request

As detected by SpaceManiac/SpacemanDMM#123

* casually fixes 50 bugs

* stoopid evil dreamchecker

* stoopid evil dreamchecker

* stoopid evil dreamchecker

* almost the same thing

* Makes all UIs UTF-8

* Fixes bugs

* Fixes runtimes, some related to 513, some not

* Fixes agent ids

Co-authored-by: MrPerson <spamtaffic@gmail.com>
Co-authored-by: alexkar598 <>
Co-authored-by: spookydonut <github@spooksoftware.com>
2020-05-02 00:43:42 -04:00
alexkar598
3e93e8b123 Revert "council wont give maints access to tgs so they have to merge and revert to test merge (#7979)" (#7980)
This reverts commit 4bc71186e7.
2020-03-14 19:22:50 -04:00
TheGamerdk
4bc71186e7 council wont give maints access to tgs so they have to merge and revert to test merge (#7979)
* thing

* fixed

* noi

* thing
2020-03-14 17:04:31 -04:00
Theos
03250b5b2c Port ice moon from tg (#7919)
* steal ice moon and some other assorted qol stuff

* shoe fix

* small fixes

* that is not what that is supposed t obe

* working on station ruins

* theos gives up

* fuck

* missed one

* removing airless tiles

* Wolf sinew

* fixes for map stuff
2020-03-08 03:04:06 -04:00
AsV9
1c0e0ebe67 Add config option for making everyone a donator (#7357) 2019-12-19 15:01:07 -05:00
Ashleigh Carr
b008d47d81 removes sandbox gamemode 2019-10-14 15:38:49 +01:00
Nichlas Pihl
ccbcb8ce3f No fun allowed (#6785)
* removes wizard summons

* Update new_player.dm

* Update new_player.dm
2019-10-03 15:45:49 -04:00
Mr-Space
c4693566f2 Adds a config option to disallow AI from being traitor (#6738)
* Update traitor.dm

* Update traitor.dm

* Update general.dm

* Update game_options.txt

* Update game_options.txt
2019-09-26 17:54:54 -04:00
alexkar598
fe934644ac Actually commits the line ending changes 2019-08-12 07:47:43 -04:00
Nichlas Pihl
8a0779751f [admin] NTSL Logging (#6443)
* Update server.dm

* Update world.dm

* Update logging.dm

* Update atoms.dm

* Update _logging.dm

* Update server.dm

* Update general.dm

* Update logging.dm

* Update logging.dm

* Update logging.dm

* Update config.txt

* Update config.txt
2019-07-24 08:48:38 -04:00
AsV9
b75e41ac32 Merge pull request #5695 from yogstation13/upstream-merge-44244
[MIRROR] Add map change voting
2019-06-26 15:56:14 +02:00
AsV9
b04e237955 Merge pull request #5791 from yogstation13/upstream-merge-44296
[MIRROR] Upgrades policy config + policy verb.
2019-06-25 19:25:29 +02:00
yogstation13-bot
456a9dff46 [MIRROR] Automatic deadmin-- ASSUMING DIRECT CONTROL (#4898)
Creates Yogtoggles
Fixes bug with Toggles and bits beyond the 16th
Makes PREF_MOOD actually fucking save
2019-06-19 12:18:18 -05:00
yogstation13-bot
84528299f6 Upgrades policy config + policy verb. 2019-06-10 16:50:05 +01:00
yogstation13-bot
371f49edbd Add map change voting 2019-06-04 22:53:12 +01:00
yogstation13-bot
1bea91a404 [MIRROR] Widescreen toggle support (doesn't actually enable it) (#5659)
* Update config.txt
2019-06-02 22:36:49 -05:00
fluffe9911
2bf35e6a69 Revert "Revert "[MIRROR] [Ready] The Virtual Reality Hub"" 2019-06-02 20:28:31 -04:00
fluffe9911
99aebcc8ea Revert "[MIRROR] [Ready] The Virtual Reality Hub" 2019-06-02 20:23:13 -04:00
Whoneedspacee
35eb857765 [Ready] The Virtual Reality Hub (#42879)
About The Pull Request

VR sleepers now lead to the VR Hub, a place with a bunch of portals that lead you to other areas, or just has chill stuff like a bar. Includes portals to all the old vr maps, the megafauna training simulator map, a soon to be minecraft map, and my crappy game runner where you run away from falling tiles and fight to be the last person to survive. Merges murderdome and syndicate trainer into the vr hub map so they spawn every time with vr. Recall portals now can have multiple exits to support the old vr waypoint system from the hub. Also moves a lot of stuff around in the files to make it more organized. There's now also a ghost role that can access VR as well with infinite spawns.

VR NOW HAS A CONFIG OPTION SO ENABLE IT OR VR WILL NOT WORK.
Why It's Good For The Game

Being a ghost is boring for most people, it's nice to have a place for people to hang out rather than just leave the server. This is also a nice place where people can put gamemodes they're testing or other fun little minigames that can't be main gamemodes. VR currently is not used by really anyone so I don't see anyone getting bothered by this PR as well.
2019-04-27 16:04:05 +02:00
Nichlas Pihl
3a3eea68d8 ports taglines from citadel, sort of (#4985)
* ports taglines from citadel, sort of
* Italicizes the tagline
2019-04-17 14:25:23 -05:00
Nichlas Pihl
b9a1ed8e5e Merge pull request #4818 from yogstation13/upstream-merge-43168
[MIRROR] [s] adds logging to cloning
2019-03-21 15:14:18 +00:00
oranges
e70ed938f0 Merge pull request #43152 from kevinz000/bunker_message
Panic bunker message is now a config.
2019-03-20 10:08:37 +01:00
oranges
f69acf4e23 [s] adds logging to cloning 2019-03-19 03:27:07 +01:00
ShizCalev
da33c66680 Merge pull request #43045 from AutomaticFrenzy/patch/this-proc-type
Remove misleading THIS_PROC_TYPE macro
2019-03-08 10:20:52 +01:00
yogstation13-bot
b5a54efa4b [MIRROR] Logging tweaks and fixes (#4594)
* Logging tweaks and fixes (#42817)

* Add a virus log, plus a log for facehuggers

Logs each infect event and contains detailed descriptions of the virus

I also added a log message for printing virus culture bottles including
who printed them

Finally i tacked on a change to adding a game log entry for facehuggers
because why not

* Further logging fixes and updates

Medbots now combat log

combat log no longer tries to run keyname on an object because that
doesn't make much sense

* Dead say no longer logs twice

* tabs to spaces

* Logging tweaks and fixes

* this is why tg shouldnt change spaces 4no raisin
2019-02-26 21:03:53 -05:00
zxaber
3ed046b29c Adds a max length config option for AI law upload boards. (#42700)
* Adds a length check for freeforms, 250 char cap

* added a define as requested.

* Actually it's better if it applies to all boards

* Now it's better good

Also added a max to the Asimov board that was missing it before.

* Better defined

* Undefining defines

* Config code

* Adding config line

* whoops

* Update AI_modules.dm
2019-02-13 07:42:22 +01:00
nichlas0010
62867df5ae [s] disables the Middle Mouse Button exploit (#42594)
* disables the MMB exploit

* Adds a config option to set a minimum build, with the recommended minimum build for 512 users being 1421

* readds the post-block detection, and changes MMB -> Middle Mouse Button

* Makes it the standard, I guess

Co-Authored-By: nichlas0010 <nichlas00100@gmail.com>

* Update client_procs.dm
2019-01-30 17:06:01 +01:00
oranges
b5d677360a Merge pull request #41993 from Carbonhell/catshills
Add system for disabling creation of new felinid characters
2018-12-26 21:44:48 +01:00
Jordie
a28de54405 Ban system and interface update (#41176)
Spiritual successor and extension to #17798, an almost entire rebuild of the SQL ban system backend and interface.
Bantypes are removed per #8584 and #6174. All bans are now 'role bans', server bans are when a ban's role is server. Admin bans are a column, meaning it's possible to ban admins from jobs.
Bans now have only an expiry datetime, duration is calculated from this when queried.
unbanned column is removed as it's superfluous, checking unban status is now done through checking unban_datetime. unban_round_id column added. Each ip and computerid columns rearranged so ip is always first, like in other tables. Bans now permit a null ckey, ip and computerid.

Ban checking is split into two procs now is_banned_from() does a check if a ckey is banned from one or more roles and returns true or false. This effectively replaces jobban_isbanned() used in simple if() statements. If connected a client's ban cache is checked rather than querying the DB. This makes it possible for a client connected to two or more servers to ignore any bans made on one server until their ban cache is rebuilt on the others. Could be avoided with cross-server calls to update ban caches or just the removal of the ban cache but as is I've done neither since I think it's enough of an edge case to not be worth it.
The second proc is is_banned_from_with_details(), this queries the DB for a role ban on a player's ckey, ip or CID and returns the details. This replaces direct queries in IsBanned.dm and the preferences menu.

The legacy ban system is removed.

The interfaces for banning, unbanning and editing bans have been remade to require less clicking and easier simultaneous operations. The banning and jobban panel are combined. They also store player connection details when opened so a client disconnecting no longer stops a ban being placed.

New banning panel:
Key, IP and CID can all be toggled to allow excluding them from a ban.
Checking Use IP and CID from last connection lets you enter only a ckey and have the DB fill these fields in for you, if possible.
Temporary bans have a drop-menu which lets you select between seconds, minutes, hours, days, weeks, months and years so you don't need to calculate how many minutes a long ban would be. The ban is still converted into minutes on the DB however.
Checking any of the head roles will check both of the boxes for you.
The red role box indicates there is already a ban on that role for this ckey. You can apply additional role bans to stack them.

New unbanning panel:
Unbanning panel is now separate from the banning panel but otherwise functionally the same.

Ban editing panel:
Actually just a modified banning panel, all the features from it work the same here.
You can now edit almost all parameters of a ban instead of just the reason.
You can't edit severity as it's not really part of the ban.
The panels have been tested but I've not been able to get my local server to be accessible so ban functionality isn't properly confirmed. Plenty of testing will be required as I'd rather not break bans.

cl
admin: Ban interface rework. The banning and unbanning panels have received a new design which is easier to use and allows multiple role bans to be made at once.
prefix: Ban search and unbanning moved to unbanning panel, which is now a separate panel to the old banning panel.
/cl
2018-12-04 20:48:17 +01:00