Commit Graph

105 Commits

Author SHA1 Message Date
Leon Friedrich 75378b16aa
Fix explosion overlay bounds (#11074) 2022-09-06 15:27:29 +10:00
metalgearsloth 87c05f2949
Cleanup overlay shaders when done (#10432) 2022-08-13 10:58:53 +10:00
Veritius c7199cc164
Make auto-closing admin announce window optional (#10277) 2022-08-03 17:39:09 -07:00
Rinkashikachi 6137803891
Various localization fixes (#9860) 2022-07-24 04:44:45 +10:00
Moony f98df73fae
Adds even more smites and a bunch of tools. (#9825)
* Adds three new smites, headstand, locker stuff, and reptilian species swap.

* Localize all the smites.

* save work

* More smites...

* Final tweaks.

* oops

* !PLEH

* Adds disarm prone and improved hand removal options.

* fix chances.

* take out the trash.

* Add some admin TRICKS instead of more smites.

* oop

* Implements the admin test arena and associated trick.

* Tricks for granting/revoking access.

* e

* mfw

* Implement quick dialogs, for when you don't want to spend 20 minutes writing a simple dialog prompt.

* Forgot the rejuv icon.

* E

* docs

* augh

* Add rename/redescribe buttons.

* Adds objects menu, implements a couple tricks for stations.

* 1984

* Adds a trick for effectively infinite power.

* fixes some icon uggo.

* a

* HALT!

* Pause/unpause buttons.

* Forgor the textures.

* they broke every bone in their body.

* i added more

* more battery actions, touch up battery icon.

* Address reviews.
2022-07-21 17:30:00 -05:00
Kara 71984a028c
Order permissions panel admins by username (#9782) 2022-07-17 14:23:26 +10:00
metalgearsloth 2420d281bb
Fix loadbp window perm issue (#9671) 2022-07-15 13:03:18 +10:00
Kara b9a0894d7c
Event refactor (#9589)
* Station event refactor

* Remove clientside `IStationEventManager`

we can just use prototypes

* Basic API idea

* Cruft

* first attempt at epicness

* okay yeah this shit is really clean

* sort out minor stuff

* Convert `BreakerFlip`

* `BureaucraticError` + general cleanup

* `DiseaseOutbreak`

* `FalseAlarm`

* `GasLeak`

* `KudzuGrowth`

* `MeteorSwarm`

* `MouseMigration`

* misc errors

* `PowerGridCheck`

* `RandomSentience`

* `VentClog`

* `VentCritters`

* `ZombieOutbreak`

* Rewrite basic event scheduler

* Minor fixes and logging

* ooooops

* errors + fix

* linter

* completions, `RuleStarted` property, update loop fixes

* Tweaks

* Fix #9462

* Basic scheduler update fix, and fixes #8174

* Add test

* UI cleanup

* really this was just for testing
2022-07-10 20:48:41 -05:00
Kara 2d5ec7f85c
Id[entity] 2.0 (real) (#9612)
* starter API

* network ID cards

* Port more stuff from old identity

* Re-implement identity representation + name updating

* move

* proper name returning for `IdentityName`

* move everything important to server, give in to  temptation

* shared / server / client split sadly. move ensure to shared and spawn to server

* identity update queueing + identityblocker

* fixes

* and just like that it's usable for admins

* huge identity pass

* pass dos

* jesus christ

* figs :D

* fuck u

* fix bad merge.

Co-authored-by: Moony <moonheart08@users.noreply.github.com>
2022-07-10 20:36:53 -05:00
metalgearsloth e6b581e967
Fix loadbp window maps (#9485) 2022-07-06 18:59:12 +10:00
metalgearsloth 7e0b49c7bd
Add UI window for loadbp (#9441)
* Add UI window for loadbp

* Perms disabled

* Also teleport button

* wraparound fix

* Review
2022-07-06 14:17:19 +10:00
DrSmugleaf 2a59e1b7fd
Disable admin logs next button when there are no more logs (#9277) 2022-06-29 10:38:24 +02:00
DrSmugleaf f1bc15b6fb
Add shown/visible counter to admin logs control (#9276) 2022-06-29 10:24:13 +02:00
DrSmugleaf fedd63118c
Include text search in admin logs db query (#9274) 2022-06-29 09:53:58 +02:00
Leon Friedrich fa4c6f63f8
Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Acruid 4f9be42f40
Remove Explicit GridId References (#8315)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 11:54:41 +10:00
Pieter-Jan Briers 0681bb1e00 Fix invalid XAML markup cases
Rider EAP is highlighting these now
2022-06-02 21:50:48 +02:00
metalgearsloth 91bb48eec9
Don't force bwoink window open for admins (#8066) 2022-05-12 16:45:08 -07:00
DrSmugleaf 5227d1a023
Admin notes (#7259)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-04-16 20:57:50 +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
DrSmugleaf 63e1bfdace
Add confirmation to AHelp kick and respawn buttons (#7260) 2022-03-25 19:00:20 +01:00
DrSmugleaf 3c15de5f55
Make the admin player panel overlay button a toggle (#7153) 2022-03-24 17:08:08 +01:00
Javier Guardia Fernández 8ee1503861
Make the admin set OOC and LOOC buttons a toggle (#7152) 2022-03-16 22:58:35 +01:00
Javier Guardia Fernández 995c02169e
Add sorting the admin player panel by clicking the headers (#7150) 2022-03-16 22:58:15 +01:00
metalgearsloth c908a843ab
Sort playertab by username (#7067) 2022-03-12 10:56:19 +11: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 bee627ac6a
Turn SandboxManager into a system (#6867) 2022-02-23 17:00:30 -07:00
mirrorcult ec4d4688c7
Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Leon Friedrich 7efb1c81eb
Tweak solution editing window (#6587) 2022-02-10 13:05:45 +11:00
mirrorcult 31769edf5f
Decal Placer + add new decals for mapping (#6548)
* abomination

* okay its less unabashedly garbage now

* other UI changes

* its britney bitch

* proper greyscale full/half/quarter tiles

* misc cleanup

* rsi

* Add a palette system. It's Kara's problem now.

* oops

* a

* Departmental palette alpha tweaks

* oopy

* so true

* Update Content.Shared/Decals/ColorPalettePrototype.cs

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

* fixes for that

* neutral light color and new warning lines

* dirt

* checkerboards

* oop

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-02-08 14:54:41 -06:00
Aaron Mell f77ac6c4f3
Removed SetSize from Window Size in Admin and AdminRank (#6362) 2022-01-29 16:20:26 +11:00
wrexbe cea1b21832
Fixing some warnings (#6250)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2022-01-21 10:38:35 +01:00
ShadowCommander a3c1d8f22a
Add job column to PlayerTab (#6181) 2022-01-15 14:17:33 +01:00
ZeroDayDaemon cd830fd4a9
Make bwoink window bigger (#6176) 2022-01-14 21:55:30 -06:00
Morbo 62221d7b92
Add LOOC and change OOC color (#5841) 2022-01-12 00:29:55 +11:00
Paul 11510927d6 work on adminpanel & submodule update 2022-01-04 21:12:34 +01:00
Paul 33572c5cc8 submodule update & fixes the ahelpwindow further 2022-01-03 04:14:10 +01:00
Paul 7e266b41ff removes a bit of jank from bwoinkwindow
sorta fixes sorting
2022-01-03 02:36:25 +01:00
E F R df9aecb6a0
Administration: Ahelp tabs (#5965) 2022-01-03 01:54:44 +01: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
ShadowCommander e51f6ee851
Keep PlayerTab entries until the end of the round (#5910) 2021-12-27 12:46:38 +01: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
DrSmugleaf 1e42bafea4 Make admin logs (reliably) refresh when opening 2021-12-25 19:18:04 +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
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