Commit Graph

2400 Commits

Author SHA1 Message Date
wrexbe
abba1e1c2c Make held entity nullable (#5923) 2021-12-30 19:27:15 -07:00
ShadowCommander
dc1ca30f7c Add context menu to AdminMenu PlayerTab entries (#5904)
* XAML PlayerTab entries

* Move command execution to PlayerTab

* Move command logic to the AdminSystem

* Clean up

* Add examine and context menu keybind handling to PlayerTab

* Fix remote admin verbs

* Remove examine for now

* Add server verbs

* Fix requests of verb by non-admins

* Clean up AdminSystem.Menu
2021-12-30 14:11:30 -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
Pieter-Jan Briers
26b1f28f51 AdminSystem uses BaseWindow instead of SS14Window.
Forward compatibility patch for engine SS14Window deprecation.
2021-12-30 17:38:12 +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
Vera Aguilera Puerto
b4808786da Ignore CanHostGuardian on the client. 2021-12-30 13:19:41 +01:00
Pieter-Jan Briers
a0af197259 Set outside prediction flags on system/inputs to work without prediction.
This needs to be gone through more thoroughly but it works somewhat.
2021-12-30 03:12:04 +01:00
ShadowCommander
ca8d673fad Add ShowRules commmand (#5908) 2021-12-29 18:31:18 +11:00
Alex Evgrashin
1705eae96c Suit sensor and crew monitoring (#5521)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-12-29 16:19:00 +11:00
metalgearsloth
e5e144d99c Rollerbeds (#5681) 2021-12-29 15:57:20 +11:00
CrudeWax
299c4be328 Guardians (Holoparasites) (#5140)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-12-29 14:58:48 +11:00
ShadowCommander
f83b64bdec Fix AdminSystem not unsubscribing from PlayerTab.OnEntryPressed 2021-12-27 19:35:13 -08:00
Vera Aguilera Puerto
525c38b794 Move Eye Lerping to content and fix/improve it a bunch. (#5900) 2021-12-27 18:50:00 +01:00
ShadowCommander
e51f6ee851 Keep PlayerTab entries until the end of the round (#5910) 2021-12-27 12:46:38 +01:00
metalgearsloth
0705f16898 ECS handheld lights (#5864) 2021-12-27 18:15:16 +11:00
Acruid
b3b171da7f ECSatize CameraRecoilSystem (#5448)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-12-27 17:50:12 +11:00
ShadowCommander
0bd24d1707 XAML PlayerTab (#5897)
* XAML PlayerTab entries

* Move command execution to PlayerTab

* Move command logic to the AdminSystem

* Clean up

* Add IClientConsoleHost dependency
2021-12-25 20:10:55 -08:00
Leon Friedrich
b675bdb789 Move Access & AccessReader to shared. (#5798)
* git mv

* Move Access Component & system.

- Name space changes
- Rename AccessReader to AccessReaderComponent
- Also need an abstract TryGetSlot function for SharedInventoryComponent

* better TryGetSlot

* Ah yes, tests exist.
2021-12-25 20:07:28 -08:00
Leon Friedrich
afc3ae6335 Make more uids nullable (#5794) 2021-12-26 13:32:45 +11:00
Vera Aguilera Puerto
666be08d86 Fix client-only command permissions. (#5899) 2021-12-25 19:53:21 +01:00
DrSmugleaf
1e42bafea4 Make admin logs (reliably) refresh when opening 2021-12-25 19:18:04 +01:00
ShadowCommander
be6cb75122 Add a wait time for the rules popup (#5823)
* Create new rules popup

* Implement accept and quit buttons

* Add rules accept timer

Forces the player to read the rules by making them wait.

Speed reading the rules took me just under 45 seconds which means it'll take longer than that if someone's reading this for the first time.

* Fix info rules header

* Change _rulesPopup to local variable
2021-12-24 17:32:33 -08:00
Vera Aguilera Puerto
944b4fb073 Mapping command shows markers on the client.
Bit of a hack to work around client-side only command permissions being broken.
2021-12-25 02:10:46 +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
wrexbe
40278353d3 Salvage (#5686)
Co-authored-by: 20kdc <asdd2808@gmail.com>
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2021-12-23 13:14:01 +01:00
Paul Ritter
1b028c5ff7 adds ahelp relay (#5837) 2021-12-22 13:34:09 +01:00
Pancake
f334f4a4b9 Accents (#5720)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: Paul <ritter.paul1@googlemail.com>
2021-12-21 21:31:20 +01:00
Vera Aguilera Puerto
f4d8ec1b35 Refactor Game Modes (#5857) 2021-12-21 21:23:29 +01:00
Paul
d1a1ee3cbe lambda 2021-12-21 21:16:45 +01:00
Paul Ritter
79fb763d02 adds bantime buttons to ban panel (#5856) 2021-12-21 20:55:45 +01:00
Paul Ritter
75721c214c Revert "Refactor Game Modes" oh god oh fuck go back it was too good to be true (#5855) 2021-12-21 19:25:52 +01:00
Vera Aguilera Puerto
8831d08229 Refactor Game Modes (#5819) 2021-12-21 18:56:47 +01:00
ZorenZal
fae1244ada Added set English language checkbox (#4898)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2021-12-21 20:35:34 +11:00
Júlio César Ueti
bd5e642045 Make CharacterWindow bigger to accomodate traitor objectives (#5850)
* Move MinSize to the same place where the window is created

* Adds BoxContainer to a ScrollContainer so it can resize in case of more objectives

* Slight adjustment to ensure the convention is followed

* Changes MinSize to SetSize so it can be resized to lower sizes and to stop it resizing every time you reopen it
2021-12-20 17:30:12 -08:00
Paul
97e47178d7 Revert "fixes a bunch of warnings"
This reverts commit d4d85b663f.
2021-12-20 15:20:27 +01:00
Paul
d4d85b663f fixes a bunch of warnings 2021-12-20 13:58:30 +01:00
Paul Ritter
cc57d1380c Revert Rich text (#5848) 2021-12-20 12:42:42 +01:00
E F R
c0d76a2243 UI/SpeechBubble: check deletion before doing things, plz (#5811) 2021-12-19 22:55:51 -07:00
Vera Aguilera Puerto
a51b102949 Add setooc command for +SERVER admins. (#5818) 2021-12-19 23:25:16 +01:00
Pancake
a87507e822 Hide Jobs (#5832) 2021-12-19 16:36:16 +01:00
Vera Aguilera Puerto
a46c2e6c9d Added some missing engine command permissions. (#5782)
If you want to bikeshed this further, open an issue.
2021-12-18 14:16:34 +01:00
Vera Aguilera Puerto
e9c812c29c Use Timer.Spawn instead of TimerComp timers when disposing MIDI Renderers.
- Fixes a bug where renderers are not disposed of correctly when the instrument entity is deleted.
2021-12-18 00:30:29 +01:00
Acruid
c093dfba7f Removing the redundant enum typecast apparently fixes the CS8600 warnings ¯\_(ツ)_/¯ 2021-12-17 11:43:43 -08:00
Leon Friedrich
7e49b22a74 Verb predict (#5638) 2021-12-16 21:42:02 +11:00
ShadowCommander
2e141347ed Fix ServerId CVar not getting replicated to the server (#5793)
* Fix ServerId CVar not getting replicated to the server

* Fix state check
2021-12-15 22:54:04 -08:00
ShadowCommander
09e0f79b89 Xaml Rules and Info (#5741)
* XAMLify rules and info

* Fix errors

* Combine AddSection methods

* Readd AddSection
2021-12-15 22:17:01 -08:00
Leon Friedrich
075bae7519 Fix disposal pipe visibility in entity menu (#5790) 2021-12-15 17:46:42 +11:00
metalgearsloth
a2476ed974 Stabilise singularity a lot more (#5725) 2021-12-15 13:47:12 +11:00