Commit Graph

1232 Commits

Author SHA1 Message Date
AnturK
399d2cd6d8 Undelaying will now reboot the server normally. (#33423) 2017-12-10 13:54:20 -05:00
oranges
07ee8d239b Add a proc to check if a weather type is affecting an area (#33373) 2017-12-09 02:36:37 -05:00
Kyle Spier-Swenson
fdcf747e18 [ready]Timer queuing tweaks: binary sorted inserts and rolling buckets. (#33098)
* Timer queuing tweaks: binary sorted inserts and rolling buckets.

Client time timers now uses a binary search algorithm for its sorted inserts.

Processing now uses a binary sorted insert, rather then sorting it with sortTim during bucket_shifts.

Buckets now automatically wrap around rather then get regenerated every minute. (Rolling queue)

* Fixes some queue management bugs.

* Fixes a Order of Operations goof up in the ticks<->ds macros.

@ninjanomnom your pain is my success

* Remove debug line

* Fixes some binary insert bugs, fixes client time timers, moved id over to GUID

* Fixes initialization-time timers fucking everything up
2017-12-08 22:02:34 +01: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
XDTM
550d71167e Brain Traumas (#31727)
* Reworks Brain Damage

* mechanics

* rebalancing

* hulks in wheelchairs

* yup

* bugsquash

* Adds narcolepsy, phobias and agnosia. Not guaranteed 100% bug-free yet, testmerge at your own risk.

* lizard phobia

* Did you know there's a skeleton inside of you RIGHT NOW?

* Fixes for the new stuff

* The issue with those is that in most rounds you won't see them

I'll keep them available so they can be added manually, for example by events and such

* Goof reviews

* Brainloss is based off brain organ integrity

removes brainloss var

* Replaces some getorganslot with defines

* eyes

* put the traumas in the brainnnn

* text

* args

* Adds godwoken, puts split personality in severe, adds brainwashing

* Bluespace prophet special trauma (untested)

* Some minor stuff

* Monophobia, and tweaks

* More fixes

* fix

* a

* new tail

* Discoordination and Muscle Weakness

* thanks for the review!

* [B]oneless

* agnosia fix

* .

* go away agnosia

* pretend it didn't happen

* Shitcode-free-er

* bitwisdom

* psychotic brawling

* i guess this might be important

* latest reviews

* .

* conflict-free

* addresses it

* surgery fix

* a masterpiece

* fix

* fix again

* config

* damage formula reworked

* who needs to test anyway

* fixes some bugs

* fix 2

* proper spookin

* bluespace prophet fixes and improvements

* no bible healing

* .

* normalizes monophobia chances
2017-12-06 13:04:17 -05: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
oranges
bf9f81bf7e Merge pull request #32751 from ninjanomnom/keybindings
In-code key handling system, Take 2
2017-12-05 22:15:13 +13:00
Jordie
4d8f6701a0 removes some code i forgot about (#33260) 2017-12-05 03:16:41 -05:00
Jordan Brown
6a95c804ae Adds server tools version to feedback (#33244)
* Adds server tools version to feedback

* Fix incorrect call to record_feedback

* Add number to record feedback calls
2017-12-05 20:37:42 +13:00
Leo
277159fa2c Merge pull request #33243 from tgstation/Cyberboss-patch-5
Adds a CRASH on invalid calls to record_feedback
2017-12-04 16:52:58 -02:00
Jordan Brown
5d80dac70a Allows read-only VV of feedback 2017-12-04 12:13:55 -05:00
MoreRobustThanYou
36414ac1e6 Datumizes saymodes (#33013)
* Datumized saymodes!

* Update living.dm

* ...
2017-12-03 13:55:03 -05:00
jammer312
bc998ffe1a Crash to timers and INFINITY check to beams. (#33219)
* beams

* timers

* >= instead of !=

* whooops
2017-12-03 13:44:58 -05:00
Jordan Brown
b6a93ead6d Adds a CRASH on invalid calls to record_feedback 2017-12-03 13:29:52 -05:00
ninjanomnom
7b7b67edd8 In-code key handling system 2017-11-30 07:40:27 -05:00
Tad Hardesty
2214cca1fc Enhance R&D Console UI in various ways
The header has been made tighter, shows current research production, and
doesn't show disk status. Researchable technologies in the overview show
their point cost. Tech summaries are tighter, and unlocked designs are
represented visually with tooltips.
2017-11-28 17:59:41 -08:00
Leo
54ec2d7f24 Merge pull request #33072 from AnturK/ibelievedinyoukornowlook
Fixes non-advanced diseases vaccines.
2017-11-27 12:25:28 -02:00
kevinz000
02abdb7ba0 Fixes latejoins (#33096)
length() is 0 on null lists.

Update job.dm
2017-11-26 12:11:21 +01:00
AnturK
d86c3b47f2 Cyberboss stuff 2017-11-24 22:32:11 +01:00
AnturK
b3aa8ac17b Fixes bullshit (not really) 2017-11-24 22:29:50 +01:00
AnturK
271cbaee71 Adds spawn override system 2017-11-24 22:18:50 +01:00
Leo
3d28b08475 Merge pull request #32998 from ShizCalev/area-list
Revises the_station_areas list
2017-11-24 18:12:44 -02:00
AnturK
1e5bbfb3be Fixes non-advanced diseases vaccines. 2017-11-24 17:49:15 +01:00
Emmett Gaines
17180f1f0e custom docker improvements (#32626) 2017-11-24 12:44:12 +01:00
Emmett Gaines
7c69cdcb8a Revert math (#33059)
* Revert "all this wrapping and it's not even christmas (#33035)"

This reverts commit faaf151580.

* Revert "fuck me for forgetting to graph this one"

This reverts commit 45d7acea2f.

* Revert "defines math"

This reverts commit 2817a1737b.
2017-11-23 20:59:52 -05:00
ninjanomnom
2817a1737b defines math 2017-11-22 17:36:58 -05:00
oranges
92632ecd76 Merge pull request #32914 from kevinz000/NTNet
[READY]NTnet refactor, assimilates exonet
2017-11-23 10:52:44 +13:00
oranges
e7e993f82a Merge pull request #32945 from tgstation/Cyberboss-patch-1
Fixes bad text2file call
2017-11-23 10:38:12 +13:00
Jordie
f5269e9a00 Feedback fixes (#32959)
* feedback fixes

* increments science_techweb_unlock version
2017-11-22 10:48:02 -06:00
ShizCalev
269f32d09f Refactor area list 2017-11-22 04:37:41 -05:00
kevinz000
00966e2aaa NTnet refactor, assimilates exonet 2017-11-21 20:50:45 -08:00
ACCount
b161b18599 Integrated circuit fixes and code improvements (#32773)
* Fucking conflicts

* Small code changes

* Makes the IC printer start upgraded to offset balance concerns caused by a fixed bug
2017-11-21 10:04:09 +01:00
Jordan Brown
7ab3d26a48 Fixes bad text2file call 2017-11-20 16:24:03 -05:00
Jordan Brown
b7a9a2a452 Merge pull request #32844 from ShizCalev/code-cleanup
Cleans up unused code
2017-11-20 11:13:56 -05:00
Jordan Brown
d4a588e668 Merge pull request #32900 from AnturK/actuallyfixesthatthing
Fixes lobby timer on setup failure
2017-11-20 11:10:09 -05:00
ShizCalev
8eafaccc88 Cleans up unused code 2017-11-20 00:03:33 -05:00
oranges
1d16b056ba Merge pull request #31026 from kevinz000/rnd_techweb
🆑 Skylar Lineman, your local R&D moonlighter
rscadd: Research has been completely overhauled into the techweb system! No more levels, the station now unlocks research "nodes" with research points passively generated when there is atleast one research server properly cooled, powered, and online.
rscadd: R&D lab has been replaced by the departmental lathe system on the three major maps. Each department gets a lathe and possibly a circuit imprinter that only have designs assigned by that department.
rscadd: The ore redemption machine has been moved into cargo bay on maps with decentralized research to prevent the hallways from becoming a free for all. Honk!
balance: You shouldn't expect balance as this is the initial merge. Please put all feedback and concerns on the forum so we can revise the system over the days, weeks, and months, to make this enjoyable for everyone. Heavily wanted are ideas of how to add more ways of generating points.
balance: You can get techweb points by setting off bombs with an active science doppler array listening. The bombs have to have a theoretical radius far above maxcap to make a difference. You can only go up, not down, in radius, so you can't get 6 times the points with 6 TTVs. The algorithm is exponentially/logarithmically scaled to prevent "world destroyer" bombs from instantly finishing research.
/🆑
2017-11-20 10:30:48 +13:00
AnturK
9b4f6d021b Fixes lobby timer on setup failure 2017-11-19 13:05:50 +01:00
Jordie0608
b078af7204 fixes blackbox runtime and adds note about nested tally strings 2017-11-18 22:23:26 -06:00
kevinz000
caa1e1f400 Massive research refactor; changes research system to techwebs; Decentralized research 2017-11-18 19:55:40 -08:00
AnturK
4ef6ddad71 Fixes setup failure edge case (#32812) 2017-11-18 13:00:01 -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
39375d5cc2 Replaces a bunch of mob loops with hopefully better ones (#32786)
* Free codebase churn

* fixes dviewmob

* a commit

* Partial revert "Free codebase churn"

This reverts commit 9dd41b3860c331637bbc85e694dd32dc59768ad5.

* better fix to dviewmob

* renames living_mob_list to alive_mob_list, adds mob_living_list and carbon_list

* make some use out of the shiny carbon list

* make some use out of the shiny new living list

* more things, also make the mobs subsystem (Life) use living list

* bonus

* domo arigato mr. roboto

* compile fixes, also made the drone code less dumb

* better?

* make admin message prettier

* honk

* fixes blobs

* rev fixes

* one small thing
2017-11-16 23:08:40 +01:00
Jordan Brown
11c38dea85 Merge pull request #32687 from AnturK/client_timer_fix
Fixes leg day
2017-11-14 14:15:31 -05:00
Tad Hardesty
1eebdde816 Fix the station integrity report to read the correct Z
Fixes a bug where the integrity of CentCom was being taken instead,
coming out at about 85% no matter what happened during the round. Also
removes the gang territory calculation now that it isn't used anywhere.
2017-11-14 12:45:34 -06:00
AnturK
c12a969c60 I shouldn't be doing this without performance report on below 300 elements because this shit is just ugly. 2017-11-14 19:39:01 +01:00
arsserpentarium
bdfbafd54a [READY]integrated circuitry port+upgrade. (#32481)
* first

* printer, tools, prefab, assemblies, power.dm(looks like so)

* integrated circuit

* input memory epv2 exonet node

* input,manipulation,output,poweract

* fixes

* reagents fix

* time

* minor fixes

* all errors fixed

* bugfixes

* prefab, tickers, camera, led, assembling bugs,

* All except exonet node UI and led's

* cameras, led and some exonet

* 11

* 111

* lesser fixes.

* botanic shit

* icon

* nobludgeon for debugger

* gui, typos

* gui, typos

* dopil

* smaller diff, rm template and node

* mergefix

* list fix

* weakrefs

* fixes

* Clamp, crowbar, minor shit

* fukken refs

* exonet node refactor, put defines into defines.

* dme upload

* defines,helpers,exonet node, botanic

* TRUE/FALSE and minors

* datumfix

* moved init to ss

* quickfix

* cryo runtime fix

* datums quickfix

* admins

* minor fixes

* fixes

* refs,tools

* printer

* fixes

* fixes

* check interactivity redo.

* usercheck, fixes

* weakrefs

* T/F

* WEAKREF

* unfuckup

* fixes and shit

* Update assemblies.dm

* crypto

* fuck

* SS, final fixes

* looks like final fixes.

* release,crypto, ranged scnner

* defines

* Resets some files

* find/replace

* Associative addresses

* Update exonet_node.dm

* push

* there we go

* fix

* FINISH!

* WEAKREFUCK

* FixeS

* Woops

* Woops

* woops

* fix

* fixes

* loops

* fix or break?

* fix,dammit!

* fix,dammit![2]

* fix,dammit![3]

* disconnect

* fix

* input

* lag

* pin

* map

* sdegsds

* >>>lights

* fixes le map

* makes circuits actually speak

* halffix

* resets maps to tgstation master

* typeless loops in init

* Changes subsystem to not initialize new types and use initial instead.

* fix

* trying to get rid of obj list.

* get rid of .

* Better code makes better mind

* fixed

* pin fixes

* fix

* compiled tgui

* circuits config

* spelling
2017-11-14 04:05:22 -05:00
AnturK
d6f780613c Fixes client timers. 2017-11-13 20:54:58 +01:00
oranges
ac8864b6e3 Merge pull request #31947 from AnturK/yarr
How does this work:
Station receives a communication extorting current cargo point, if they answer yes the points are just gone and nothing of interest happens.

If station refuses to pay or is silent for 3 minutes, pirate shuttle spawns somewhere in space.

    There's an internal GPS onboard so crew will always be able to follow the shuttle.
    Crew of 3, moderately armed. (Balance pending)
    Shuttle engines have 3 minute cooldown between jumps.
    Special shuttle equipment will block cargo and emergency shuttles from leaving and slowly steal the points.
2017-11-13 22:18:37 +13:00
Kyle Spier-Swenson
d7b537ce24 SSoverlay improvements and tweaks (#32371)
* Overlay per-type cost logging.

Overlays will now log how long each type took to process.

Changed up how overlays was done to account for the fact its a queue and not a processor. (it was using almost none of the processing subsystem framework)

Made the overlay loop faster by making it not cut the list until the end.

Added a simple generic benchmark stat tracking system.

I don't know how much overhead this adds to overlays. i may put it behind testing or something, but i do want to test this on the serbers to get some stats.

* Removes flush() as it was creating race conditions

* Use ref

* text2file

* Atoms added as an overlay will have their pending overlays compiled before being converted to an appearance
2017-11-10 20:25:29 +01:00