Commit Graph

279 Commits

Author SHA1 Message Date
metalgearsloth
983b004607 Make playglobalsound much quiter (#7910)
* Make playglobalsound default much quieter

Also adds volume override.

* tweak

* reviews by the cutest gradient girl
2022-05-03 19:32:32 +10:00
Leon Friedrich
1141c19d76 Toggleable Hardsuit Helmets (#7559) 2022-04-23 13:31:45 +10:00
DrSmugleaf
5227d1a023 Admin notes (#7259)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-04-16 20:57:50 +02:00
Moony
4d70395d11 Fix maploading once and for all. (#7501) 2022-04-15 14:35:58 -07:00
Pieter-Jan Briers
b3e7c7af1f Remove usage of CreateNetMessage. (#7563) 2022-04-15 11:55:49 -07:00
wrexbe
2a128ca006 Group relayed messages by round id (#7399) 2022-04-14 00:32:28 +02:00
Rane
28c615ea09 Rejuvenate cures all diseases (#7495) 2022-04-11 12:46:35 +02:00
Chris V
ef6d147763 Quickfix: Give color to some announcements (#7488) 2022-04-10 13:54:07 -07:00
Leon Friedrich
311450864c Explosion refactor fixes pt1 (#7375) 2022-04-05 17:22:35 +10:00
Paul Ritter
2ff40d5a1f Serv3 rework content changes (#7145) 2022-04-03 02:01:22 +02:00
Leon Friedrich
56168e592e Explosion refactor (#5230)
* Explosions

* fix yaml typo

and prevent silly UI inputs

* oop

* Use modified contains() checks

And remove IEnumerable

* Buff nuke, nerf meteors

* optimize the entity lookup stuff a bit

* fix tile (0,0) error

forgot to do an initial Enumerator.MoveNext(), so the first tile was always the "null" tile.

* remove celebration

* byte -> int

* remove diag edge tile dict

* fix one bug

but there is another

* fix the other bug

turns out dividing a ushort leads to rounding errors.  Why TF is the grid tile size even a ushort in the first place.

* improve edge map

* fix minor bug

If the initial-explosion tile had an airtight entity on it, the tile was processed twice.

* some reviews (transform queries, eye.mapid, and tilesizes in overlays)

* Apply suggestions from code review

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* is map paused

* GetAllTiles ignores space by default

* WriteLine -> WriteError

* First -> FirstOrDefault()

* default prototype const string

* entity query

* misc review changes

* grid edge max distance

* fix fire texture defn

bad use of type serializer and ioc-resolves

* Remove ExplosionLaunched

And allow nukes to throw items towards the outer part of an explosion

* no hot-reload disclaimer

* replace prototype id string with int index

* optimise damage a tiiiiny bit.

* entity queries

* comments

* misc mirror comments

* cvars

* admin logs

* move intensity-per-state to prototype

* update tile event to ECS event

* git mv

* Tweak rpg & minibomb

also fix merge bug

* you don't exist anymore go away

* Fix build

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-03-31 21:39:26 -05:00
Leon Friedrich
dab0020d35 ECS configuration component (#7353) 2022-03-31 16:22:38 +11:00
mirrorcult
70f0fffed2 ChatManager murder (#7337) 2022-03-31 16:21:58 +11:00
Vera Aguilera Puerto
eb54f4b224 Adds Network Resource Uploading for admins. (#6904)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2022-03-26 12:46:37 +01:00
Vera Aguilera Puerto
b115eb0d93 Adds PlayGlobalSound command. (#7249) 2022-03-25 13:08:32 +01:00
Moony
12b682ee4d Tile variants content (#6956) 2022-03-09 20:59:44 +01:00
Moony
1f52ad9ec1 Allow admins with prototype load privileges to override. (#7033) 2022-03-07 23:40:25 -06:00
Moony
5c26555144 Fix a bug in rolebans. (#7029) 2022-03-07 22:28:47 -06:00
Leon Friedrich
c95516e5b2 Revert "Explosion refactor TEST MERG (#6995)" (#7005) 2022-03-06 04:02:34 +11:00
Moony
4a466f4927 Explosion refactor TEST MERG (#6995)
* Explosions

* fix yaml typo

and prevent silly UI inputs

* oop

Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2022-03-04 13:48:01 -06:00
metalgearsloth
ffed5eec81 Adjust some frametiming stuff (#6496) 2022-03-01 01:11:25 +11:00
Pieter-Jan Briers
eeef210ae4 Fix admin logs always causing an exception on first batch. (#6356) 2022-02-28 21:21:29 +11:00
ShadowCommander
4a68718050 Role ban improvements (#6855) 2022-02-21 22:00:55 -07:00
ShadowCommander
4825142210 Role bans (#6703) 2022-02-21 23:11:39 +01:00
mirrorcult
e85bdc2d87 More blood tweaks (#6811) 2022-02-20 17:18:24 -07:00
mirrorcult
34c96439f6 Detach ghosts from parents on spawn (#6816) 2022-02-19 23:16:55 -07:00
Alex Evgrashin
6eeaa81131 More artifacts triggers and tweaks (#6723)
Co-authored-by: mirrorcult <lunarautomaton6@gmail.com>
2022-02-19 12:16:49 -07:00
Kara D
04f29727d9 Bwoinksystem empty ctor (VS2022 17.1 fix) 2022-02-16 16:03:26 -07:00
mirrorcult
ec4d4688c7 Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
mirrorcult
307e642a6d Admin freeze (#6668) 2022-02-11 19:01:37 -07:00
Leon Friedrich
1c9ffdc78c Replace VerbTypes with verb classes (#6525) 2022-02-10 13:30:59 +11:00
metalgearsloth
434580845b Fix map yaml linter (#6433) 2022-02-01 14:05:55 +01:00
ShadowCommander
a3c1d8f22a Add job column to PlayerTab (#6181) 2022-01-15 14:17:33 +01:00
ShadowCommander
d1a033644b Update admin overlay when player is renamed (#6180) 2022-01-15 14:15:41 +01:00
ShadowCommander
4f80dfda0d Verb confirmation (#6137) 2022-01-14 01:28:17 +11:00
Vera Aguilera Puerto
c4bf0a9479 AdminManager can now load permissions for registered callback commands. (#6025) 2022-01-12 11:05:39 +01:00
wrexbe
5ceb2372bf Clean up some warnings (#6088)
* Clean up some warnings

* Remove nullable enable

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2022-01-09 22:10:36 -06:00
Pieter-Jan Briers
e648ad72b9 Remove usages of Newtonsoft.Json outside StatusHost 2022-01-09 11:53:18 +01:00
mirrorcult
5249ea057a Kill bobby 2.0 (#6023) 2022-01-04 10:17:39 +01:00
ShadowCommander
92d70b0587 Add teleport verbs (#5954)
* Add teleport verbs

* Add ftl file

* Make the verbs run the command serverside
2022-01-03 01:07:33 -08:00
Paul Ritter
512d6a38c3 get that crap outta here (completely rewrites inventorysystem) (#5807)
* some work

* equip: done
unequip: todo

* unequipping done & refactored events

* workin

* movin

* reee namespaces

* stun

* mobstate

* fixes

* some work on events

* removes serverside itemcomp & misc fixes

* work

* smol merge fix

* ports template to prototype & finishes ui

* moves relay & adds containerenumerator

* actions & cuffs

* my god what is actioncode

* more fixes

* im loosing my grasp on reality

* more fixes

* more work

* explosions

* yes

* more work

* more fixes

* merge master & misc fixed because i forgot to commit before merging master

* more fixes

* fixes

* moar

* more work

* moar fixes

* suffixmap

* more work on client

* motivation low

* no. no containers

* mirroring client to server

* fixes

* move serverinvcomp

* serverinventorycomponent is dead

* gaming

* only strippable & ai left...

* only ai and richtext left

* fixes ai

* fixes

* fixes sprite layers

* more fixes

* resolves optional

* yes

* stable™️

* fixes

* moar fixes

* moar

* fix some tests

* lmao

* no comment

* good to merge™️

* fixes build but for real

* adresses some reviews

* adresses some more reviews

* nullables, yo

* fixes lobbyscreen

* timid refactor to differentiate actor & target

* adresses more reviews

* more

* my god what a mess

* removed the rest of duplicates

* removed duplicate slotflags and renamed shoes to feet

* removes another unused one

* yes

* fixes lobby & makes tryunequip return unequipped item

* fixes

* some funny renames

* fixes

* misc improvements to attemptevents

* fixes

* merge fixes

Co-authored-by: Paul Ritter <ritter.paul1@gmail.com>
2021-12-30 22:56:10 +01:00
ShadowCommander
9d70bdde9c Keep players in the PlayerTab until round end (#5921)
* Rework AdminSystem to keep players in the PlayerTab until round end

* Prevent sending PlayerStatus to deadminned admins

* Change _playerList to non-nullable

* Clean up unused usings

* Consolidate duplicate foreach loop code
2021-12-30 16:12:28 +01:00
Paul Ritter
84e0011ba7 fixes up the ahelp relay a bit (#5866)
* fixes up the ahelp relay a bit

* Update Content.Server/Administration/BwoinkSystem.cs
2021-12-29 21:12:07 +01:00
ShadowCommander
e51f6ee851 Keep PlayerTab entries until the end of the round (#5910) 2021-12-27 12:46:38 +01:00
DrSmugleaf
0ca8c705ab Use dictionary and hashset for admin log entities and players respectively
Add test for duplicate player ids in an admin log not throwing
2021-12-26 00:50:10 +01:00
Vera Aguilera Puerto
666be08d86 Fix client-only command permissions. (#5899) 2021-12-25 19:53:21 +01:00
DrSmugleaf
1f8152cb02 Cache the last 3 rounds of admin logs in memory
Reduces send logs time from 2/10/45 seconds to 2 milliseconds
Not thread safe
Removes LogRecord
2021-12-25 02:07:12 +01:00
DrSmugleaf
2f75b282b9 Change admin log filter types and impacts to use hashsets 2021-12-24 20:48:21 +01:00
TemporalOroboros
201952e618 Adds temperature to solutions (#5834) 2021-12-24 02:22:34 -07:00
Paul Ritter
1b028c5ff7 adds ahelp relay (#5837) 2021-12-22 13:34:09 +01:00