Commit Graph

84 Commits

Author SHA1 Message Date
monster860
bf810f49c2 C++ Monstermos - Putting the 99% LAG FREE in 99% LAG FREE (#7981)
* c++ monstermos

fuck

Fixes the server hemorrhaging memory due to extools not decrementing ref counts

Increases defauilt tank pressure

make space cold or some shit

floor tile rips

Fixes code assuming that the heat capacity is nonzero

🤦

Fixes crash

fixes some bugs

fuck *facepalm*

the fastening

removes Del() in favor of an internal c++ hook

Fixes vent-pump math

* Fix the invisible gases bug

* Linux support

* fix the deploy.sh

* Uses newer BYOND 513 because older one is probably missing an important pattern (it segfaulted on pattern search)

* Updates windows dll to match linux version and cleans up unused BYOND code
2020-04-24 10:29:51 -04:00
alexkar598
295f875120 Removes april 2020-04-01 19:25:01 -04:00
monster860
f1eb10dbe7 Adds ERP (#8088) 2020-04-01 02:13:19 -04:00
MCHSL
fa23507568 Revert "Lag removal, try 2 (#7553)" (#7985)
This reverts commit 1504d2c784.
2020-03-16 09:03:34 +01:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
1504d2c784 Lag removal, try 2 (#7553)
* dark git magic

* I already added this

* oh god

* change to proper global
2020-03-11 17:25:39 -04:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
aacb3be7d7 quit bugging me (#7345) 2019-12-17 00:23:02 -05:00
Nichlas Pihl
70f889cf7d Ports tgui-next (#7137)
* https://github.com/tgstation/tgstation/pull/46764

* tgui is shit

* next PR should be low-level stuff, to remove shim-console.js properly

* https://github.com/tgstation/tgstation/pull/47123

* mint scrapped

* lots of PRs

* more PRs finished

* lol at tg

* it just works

* well, now it works

* lol

* travis maybe?

* Update build_tgui.sh

* copies the tgui folder as well

* fixes tgui permissions

* removes mint properly

* lol

* more stuff

* lol

* fuck

* kiosk stuff apparently

* uplink

* turbine

* more stuffs

* removes plumbing

* lol

* Update machine_circuitboards.dm

* lol

* removes medical kiosk

* chem macros get out ree

* couple of extra PRs

* forgot the import

* nuke UI

* micro arcade

* last few PRs

* https://github.com/tgstation/tgstation/pull/47990

* forgot the .dm file
2019-11-28 23:15:34 +01: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
Ling
10ac750844 world.fps and SStimers safety check (#6419) 2019-07-22 17:06:54 -04:00
1fbff5f83b23d39d38b1dfcb4cac8d9b
5219ca6103 [MIRROR] Add a log for paper edits (#5201)
* Merge pull request #43565 from optimumtact/paperogging
2019-04-23 20:07:03 -05: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
ShizCalev
cacec75e83 Move map errors to their own log file (#43376)
In interest of getting things fixed without having to constantly crawl
through game.log to find map issues, moved them to their own log file.
2019-03-30 21:54:27 +01:00
Gary Lafortune
f0272377e6 Gives Yogs a unique Hub status 2019-03-25 18:59:44 -05:00
Nichlas Pihl
ee015cf211 Merge pull request #4887 from Altoids1/ai-allowed
Removes some of the extra shit in our Hub name
2019-03-22 22:14:03 +01:00
Gary Lafortune
f2344ba748 Does this one too 2019-03-22 14:09:58 -05:00
Gary Lafortune
dfb4f878d5 Removes the "AI allowed" shit in our hub name 2019-03-21 23:27:41 -05:00
yogstation13-bot
2ace44aaa6 [MIRROR] Pop cap support for the hub (#4875)
* Pop cap support for the hub (#43248)
2019-03-21 23:16:16 -05:00
Nich
09307ae7d9 Merge branch 'upstream-merge-42899' of https://github.com/yogstation13/yogstation-tg into upstream-merge-42899 2019-03-21 16:23:09 +01: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
Nichlas Pihl
0f6a9cf224 Update world.dm 2019-03-20 16:06:46 +01:00
oranges
f69acf4e23 [s] adds logging to cloning 2019-03-19 03:27:07 +01:00
oranges
41eca021c1 Merge pull request #43156 from tgstation/MrStonedOne-patch-1
Makes tgs ran servers store DD's output to the log folder
2019-03-18 04:46:46 +01:00
oranges
d8ab6375c0 Database backed stickybans. 2019-03-17 14:27:34 +01:00
oranges
e717a46e02 Add an asset cache log that logs send assets (#43089) 2019-03-17 14:23:35 +01:00
Jordan Brown
fbac10cf64 Revert "Bandaid for the TGS4 Linux trusted mode bug" (#42964)
This reverts commit 360882e7eeebc0b1c1e19c890c6a0a6a5b935c9d (#41668).
2019-03-04 21:00:50 +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
Ling
351301da6a Fix admin load order 2019-01-04 12:22:36 +01:00
alexkar598
dc4f3ecb37 Update world.dm 2019-01-02 23:07:34 -05:00
nichlas0010
364ccf742d Update world.dm 2018-12-09 04:57:41 +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
Jordan Brown
f89bfb448d Bandaid for the TGS4 Linux trusted mode bug (#41668)
* Hack for the TGS4 Linux trusted mode bug

* Simpler
2018-11-27 02:25:36 +01:00
Jordan Brown
9bbc537b3d Call TgsReboot after MC shutdown (#41126) 2018-10-27 18:00:26 +01:00
guppylaxx
644f28f27f i hate this so much 2018-10-07 07:59:26 -04:00
vuonojenmustaturska
6626db94c3 Overhaul mecha logging (revival of oranges's PR) (#40664)
* Overhaul mecha logging

Removes user access to the log, not needed and that log can get large

removes all the internal log vars and passes all logging through to a
new log file, the mecha log

* somehow this makes it compile

* add it to the config too
2018-10-04 21:58:35 +01:00
Jordie
b10e141223 Merge pull request #40333 from Cyberboss/AnotherDMAPIUpdate
Update TGS DMAPI
2018-09-19 14:05:33 +01:00
Jordan Brown
b98c3cb199 Use rust-g for revision info instead of parsing .git 2018-09-16 14:09:08 +01:00
Jordan Brown
64a2bf39f6 Moves TgsInitializationsComplete call to immediately after world/New() (#39771)
* Moves TgsInitializationsComplete call to immediately after world/New()

* Subsystem PreInit data directory audit

* world/New data directory audit

* Needful here too

* Remove SS_NO_INIT from SStitle

* Don't create banlist.bdb for SQL banning

* Stop creating legacy notes file

* Moves iconCache from data to tmp
2018-09-15 21:57:57 +01:00
vuonojenmustaturska
87a42f253a Puts the custom error handler behind its own define (#40086)
* henk

* wops forgot a commit

* Update world.dm

* Update _logging.dm

* now it works, tested

* Update _compile_options.dm

* Update _compile_options.dm
2018-09-07 11:36:55 +01:00
Jordan Brown
a0e1b607b8 Removes security mode checks (#39790) 2018-08-21 15:44:22 +01:00
kevinz000
ffc9d1695a Third time's the charm - Photography update: 7x7 cameras, photo logging with full metadata, persistent albums and wall frames! (#38944)
* Photography Update

* Pictures logged in their own /data/picture_logs folder rather than normal logs

* Pictures logged in their own /data/picture_logs folder rather than normal logs

* Photos broke, retrying

* Persistence stuff

* I'm almost done I promise!

* Persistence mostly working, compile, etc etc

* Persistence mostly working, compile, etc etc

* Remove something really not needed from the PR

* Prevents duplication

* default to off

* removes check tick

* increase slots in albums to 21

* Allows for singular loading

* Update camera_image_capturing.dm

* Addresses review

* Anturk

* Update camera.dm

* Update misc.dm

* Update datum.dm

* Update camera.dm
2018-08-01 13:52:17 +01:00
Patrick Chieppe
60e98f0138 Telecomms chat logging (#39276)
* Add telecomms logging to a new file (telecomms.log)

* Add LOG_TELECOMMS config option
2018-07-25 18:42:05 +02:00
Jordan Brown
2cf29eeb3b Adds world parameter to change the config directory (#39073) 2018-07-14 01:04:58 +01:00
AnturK
89adca24ed Moves divide occupations debugging information to a file log. (#38721)
* Moves divide occupations debugging information to a file log.

* Copypaste failure.
2018-06-27 09:58:09 +01:00
Jordan Brown
86fdee0edf Merge pull request #37838 from Jordie0608/ithoughtaboutmakingthissendanemailbutidontwanttodrownmyinbox
Query debug logging
2018-05-18 03:39:01 +01:00
Jordan Brown
6063273b99 Update DMAPI to version 3.2.1.0 (#37429)
This is primarily a compatibility layer that enables both forward and backward compatibility for all past and future APIs based on the detected running TGS version. It also bundles all it's includes to make future upgrades not have to modify the dme, heck, could even use a submodule if it wanted (not happening). No other changes necessary.

There's an upcoming event system and new chat management functions. Check them out here: 303448457e/DMAPI/tgs.dm

Also added /datum/proc/CanProcCall()
2018-05-09 03:33:36 +01:00
Ling
bd827e1447 actually loads donators now 2018-04-28 20:19:54 +02:00
Nich
ecc2543095 DB support 2018-04-25 19:19:38 +02:00
Jordie
a7b53f0d3b removes startup message in sql log (#37176) 2018-04-14 14:12:42 +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