Commit Graph

39 Commits

Author SHA1 Message Date
Jordie 7426cb616c fixes safety check 2018-01-11 04:24:09 +11:00
Jordan Brown fd181a9f45 Adds random seed feedback (#33708)
* Master now sets rand_seed

* Blackbox now records Master.random_seed
2017-12-25 20:04:56 -05:00
Tad Hardesty 911cb97718 Tidy telecomms radio code, make PDA server real telecomms machinery (#33647)
* Refactor radio message broadcasting in a major way

Broacast_Message and everywhere that uses it, including radio talk_into
and the telecomms broadcaster and allinone. Other telecomms machinery
has had dead code excised.

Functionality should be roughly the same as before, but:
- CentCom headsets are only magic when using the CentCom frequency
- Syndicate frequency speech on the station no longer double-talks
- Talking directly into an intercom or radio which also has its
  microphone on no longer double-talks.

* Split signal/vocal into subspace and subspace/vocal

* Move the message server and its computer to telecomms folder

* Slightly tidy the message server and computer

* Move subspace receiver logic to a proc on signal/subspace

* Repath the message server under machinery/telecomms

* Largely get PDA messages onto subspace proper

* Actually require the server for PDA messages

* Improve signal/subspace/New() and copy()

* Improve input handling on the message server

* Fix initialization and Z checks of allinones

* Add a constructor for virtualspeaker

* Fix radiation storms initializing a bad virtualspeaker

* Fix runtimes with machines talking into radios

* Finish making the message server a real telecomms machine

* Make CTF radios independent also

* Fix window IDs of message server PDA photos
2017-12-20 22:02:55 +01:00
Jordie e889f56d7b Feedback changes (#33441)
* various feedback changes

* no bad github no spaces
2017-12-15 11:36:08 +13:00
AnturK 3d813853b5 Roundend report refactor (#33246)
* Roundend report refactor

* I won't be fixining every moved part but here you go

* Preparation for feedback

* Fixup

* First draft of feedback (wip)

* Simple version of feedback for custom objectives/explanation texts

* Debug verb removal

* Fixes & show again action button

* Admin objective handling

* Fix and first step of css standarization.

* Every time

* More css

* Fix

* Fixes, abductee datum, css tweak

* Feedback and css fix

* CLIENT DETAILS DATUM + CLIENT ACTIONS + spilled css fix

* Integrates clockult badcode

* Fix

* Fix lists in assoc feedback

* Unified antagonists and teams feedbacks, bumped up antagonists version

* Adds chat link to reopen the the report

* Fixes some clockcult stuff, passes antag name to feedback

* review stuff

* fix

* Adds some missing spacing

* Roundend corners, has css gone too far.

* Spacing between same antags

* Changeling and traitor objectives now have same spacing

* Wizar report typo fix

* Wrap brother team.

* Also move it to more relevant file

* Fixes cult summon objective

* Fixes roundend report for full-round observers

* Fixes wizard with apprentices roundend report

* Tutorial scarabs don't show in roundend anymore, adds some check_ticks

* Prettier station goals

* Merges roundend delay things

* Spread the lag around

* Fixes relogin qdeling eminence

* ckey -> key
2017-12-11 11:57:20 -05:00
Jordan Brown 8efe53653c Fix catch all blackbox vv guard (#33400) 2017-12-10 14:02:53 -05:00
Tad Hardesty 51c7bdc007 Replace radio frequency magic numbers with defines (#33236)
* Change transmission_method to use defines rather than magic numbers

* Use MIN and MAX_FREE_FREQ defines when bounds-checking radios

* Remove violently broken "Debug Signals" verb

The relevant Destroy() is never called, making the static pointers list
take lots of memory and be large enough, even at roundstart, to crash
the chat when invoked (25k+ entries).

* Remove unnecessary checks for SSradio not existing

* Move department frequencies from GLOB to defines

* Replace all hardcoded radio frequencies with named defines

* Change the radio filters to be defines

* Use a define for the default signaler code
2017-12-07 14:58:27 +01:00
Leo 917572c233 Merge pull request #33278 from tgstation/Cyberboss-patch-9-1
Allows read-only VV of feedback
2017-12-05 18:32:37 -02:00
Jordie 4d8f6701a0 removes some code i forgot about (#33260) 2017-12-05 03:16:41 -05:00
Jordan Brown 5d80dac70a Allows read-only VV of feedback 2017-12-04 12:13:55 -05:00
Jordan Brown b6a93ead6d Adds a CRASH on invalid calls to record_feedback 2017-12-03 13:29:52 -05:00
Jordie f5269e9a00 Feedback fixes (#32959)
* feedback fixes

* increments science_techweb_unlock version
2017-11-22 10:48:02 -06:00
Jordie0608 b078af7204 fixes blackbox runtime and adds note about nested tally strings 2017-11-18 22:23:26 -06:00
Jordie 8b19b490d1 JSON feedback (#32188)
* wip

* wip2

* makes code actually compile on 511 + fixes

* versioning

* s

* adds python conversion script, schema change and removes 'force ' from item_used_for_combat

* fix to compile

* forgot to actually commit this
2017-11-17 02:43:12 -05:00
vuonojenmustaturska 032c86435c Removes mob.lastattacked and replaces lastattacker with a string (#31981) 2017-10-22 12:28:25 -04:00
Jordan Brown 4178c209f1 Configuration datum refactor (#30763)
* Configuration datum refactor

* More WIP

* New easier on the eyes format

* More WIP

* Finished config.txt

* Fucktons more WIP

* The end of conversion draws near...

* Add all this shit

* Done converting entries finally

* Hunting down compile errors

* More WIP

* MORE CONVERSIONS

* More WIP

* More WIP

* Oh shit only 90 errors this time!

* IT COMPILES!!!

* Fixes world start runtimes
2017-09-29 15:36:51 +13:00
Kyle Spier-Swenson c9e3651308 fix black box runtimes 2017-09-17 02:20:07 -07:00
AnturK 54dc91f3ec Fixes ReportDeath 2017-09-15 05:13:32 -05:00
Kyle Spier-Swenson a25c7c7b41 Make add_details faster
Storing all of these intermediary strings in the string table might be unbalancing it (especially since there would be a high number of partially matching strings.

Waiting until later to concat the string will prevent this.

add_details was getting to be more expensive then atmos, this is very like why (but I can't be sure)
2017-09-04 20:26:44 -07:00
Jordie0608 b7341a93ae adds more round id tracking 2017-08-25 22:05:32 +10:00
Jordan Brown 7453c685dc Removes text restriction on add/set_details
Also fixes set_details formatting things wrongly
2017-08-22 14:50:23 -04:00
Jordan Brown c875f94045 Fixes death logging (#30093) 2017-08-22 12:07:11 -03:00
Jordan Brown 08a1c4bb5c Add logging of deathgasp last words and suicide stats to the death table (#29953)
* Add logging of deathgasp last words

* Column size -> 255

* comment

* Adds suicide tracking to stats death table

* Commas

* Merge the changes
2017-08-21 12:41:34 +12:00
Shadowlight213 e458845453 Adds tracking amount of time spent playing departments 2: The fall of the Assistants. (#29105)
* Ports Paradise Job exp system

* changed to use json_decode and json_encode as recommended by oranges

* updates changelog

* Reee cyberboss

* Changes to use a seperate table

* Updates database changelog
Changes to use mediumint

* Back to wip we go.
Changes sql stuff to how mso suggested
Attempts the changes requested in the other pr.

* work on stuff.

* work on stuff.

* Renamed proc for time remaining.
Fixed updating time amounts.
Added delay to fix firing at roundstart

* exp is now stored in a global list, and only updated to the db at round end.

* some stuff

* Added button to toggle exempt status on a player.
Still need to make it update the db

* REEE Jordie.
Undoes delaying exp updating to round end.
Adds the updating filtering to the update_exp_client proc which is used again

* Lowers a bunch of the times needed.

* Makes tracking per job instead of per department.
Department time is now calculated from job time.

* Whoops forgot to update master first. Lemme save this

Reverb should play cheeki breeki to people

* I think I did this right.
Too tired to test atm.
Busy rewatching twintails ni narimasu

* Removes var from proc arguments
Fixes database stuff

* Does some requested changes.
Makes special_role be tracked instead of bundled under special.

* Done, but need to refactor how it handles ghost roles.

* Less false data wew

* Changes

* Updates db version
More changes

* More changes

* More changes

* revision fix

* OOPS

* fix schemas

* Makes SQL error logging handled by Execute
Gang role tracking now strips out the gang name and is generic.
2017-08-20 23:01:08 +12:00
AnturK 2decd582d1 Tiny bit better splitting on add_details (#29655)
* Tiny bit better splitting on add_details

* More specific

* TESTMERGE_ONLY TEST

* Removes test code
2017-08-14 10:06:04 -04:00
Jordie0608 20ca62a37a removes spaces to underline from add_details 2017-07-31 23:23:17 +10:00
Jordan Brown be17cf33ef Blackbox no longer records data after round ends (#28390) 2017-06-15 10:48:01 -03:00
Joan Lung b473fd64c7 Merge pull request #28237 from tgstation/lzimann-patch-1
Fixes death report giving the wrong damage type
2017-06-09 21:06:12 -04:00
Leo 4fe4f4987f Fixes death reporting the wrong damage 2017-06-08 15:38:06 -03:00
Jordie0608 689dc51296 removes gender, adds round_id and splits up coord columns 2017-06-08 17:01:37 +10:00
Jordie 73882dcc49 Fix to round_id and .getserverlog (#28130) 2017-06-07 09:37:53 -03:00
Jordie0608 0f914e4233 adds coalesce to world.internet_address 2017-05-28 15:46:35 +10:00
Jordie f042d97448 Adds round table to replace tacking some data in feedback table (#27454)
* adds round table to replace tacking some data in feedback table

* removes obsolete code for acolytes_survived

* uses a better query

* corrects var name

* uses actual sql queries

* adds commit column and connected checks before queries
2017-05-26 22:17:44 +02:00
Cyberboss eab3be0c38 Fixes Blackbox subsystem def 2017-05-22 10:58:15 -04:00
Cyberboss ee404b2170 World.dm Refactor (#27268)
* Cleanup world/New

* Moves some things from OnReboot SS Shutdowns

* Move mode handling procs to ticker

* Moves delayed reboot to ticker
Cleans up round end sound setting
Splits round end animation between SStitle and SSticker

* Moves PR announcement to where it can use the define

* Clean this bit up

* Move out datacore Initialization

* Fix some stuff

* Fix this for

* Different PR

* Gives admins reboot options

* Make it smaller
2017-05-18 21:53:46 +10:00
Kyle Spier-Swenson 2fc6ce24b4 Update blackbox.dm 2017-05-17 08:28:48 -07:00
Kyle Spier-Swenson 206abf39e3 Adds Mass Insert proc to sql (#27139) 2017-05-15 15:24:59 -03:00
Jordie0608 69a07b5ecf persistent investigate and game logs separated by round ID 2017-04-27 22:10:51 +10:00
Cyberboss 729010bbb2 Unorphans the blackbox (#26129)
Moved sql_poll_population from server_maint to this new SS. Moved few remaining server_maint tasks to SSping and deleted it.
2017-04-27 10:04:57 +12:00