Commit Graph
692 Commits
Author SHA1 Message Date
miniduikboot 7b23d80978 Merge pull request #563 from Impostor/feature/net8
Upgrade to net8.0
v1.9.0-rc.1 v1.9.0
2024-01-25 12:31:07 +01:00
miniduikboot 1582b2c65a Merge pull request #564 from Impostor/hotfix/docker-actions
Migrate to environment files correctly
2024-01-25 12:26:35 +01:00
miniduikboot 81753a53e0 Migrate to environment files correctly
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2024-01-25 12:21:56 +01:00
miniduikboot a9fdd82345 Merge pull request #562 from Impostor/fix/http2-warning
Don't set HTTP protocols explicitly
2024-01-25 12:15:43 +01:00
miniduikboot d06b21b066 Merge pull request #561 from miniduikboot/chore/update-gh-actions
Update Github actions
2024-01-25 12:15:26 +01:00
miniduikboot c1fb4336df Merge pull request #560 from Impostor/fix/dleks
Allow spawning in the Dleks map
2024-01-25 12:14:59 +01:00
miniduikboot 9c02a912b4 Merge pull request #557 from miniduikboot/fix/http-default-listenip
Change default ListenIp of Http server to 0.0.0.0
2024-01-25 12:14:31 +01:00
miniduikboot 3143c67eb4 Merge pull request #552 from Impostor/feature/options-changed-event
Implement event to detect game option changes
2024-01-25 12:14:02 +01:00
js6pak 9f93e0955b Update ReadFrom.Configuration call 2024-01-25 12:13:12 +01:00
js6pak d74d7fcecc Drop BinaryFormatter override in ImpostorException 2024-01-25 12:10:36 +01:00
miniduikboot 012e45c6a9 Remove unnecessary using directive 2024-01-25 12:05:09 +01:00
js6pak 2cbfe159be Upgrade to net8.0 2024-01-25 00:51:06 +01:00
js6pak e142fc7c73 Don't set HTTP protocols explicitly 2024-01-25 00:44:41 +01:00
miniduikboot 165621a8cc Update Github actions
- Update versions to the latest one
- Get rid of .gitmodules as we dumped that years ago
- Change ::set-output to output files as the former is slated for removal
2024-01-24 21:37:37 +01:00
miniduikboot 83fe5814ab Only throw warning outside of docker containers 2024-01-24 21:21:07 +01:00
miniduikboot d640f90d88 Allow spawning in the Dleks map
Now with 100% less crash cascades on spawn attempts and it even includes
working map data!
2024-01-24 20:45:21 +01:00
miniduikboot f4f10269b2 Show both warnings 2024-01-24 19:55:35 +01:00
miniduikboot 880951c5b8 Add warning message for direct configuration 2024-01-24 18:13:02 +01:00
miniduikboot 3b514f82f2 Change default ListenIp of Http server to 0.0.0.0
We see that a lot of support tickets are caused by this default setting,
as it is one of the things that blocks connections to the server with no
obvious indication that this is happening. To make it easier for first
time users to set up Impostor, it is important that this setting is
changed.

Previously we also recommended against direct exposing due to security
reasons, but I believe this fear to be unfounded: Microsoft claims that
the Kestrel server is hardened against web server vulnerabilities and
supports its use both with and without a reverse proxy.[1]

We still recommend using reverse proxies if HTTPS support is needed, so
that section of documentation still remains. Setting the ListenIp to
127.0.0.1 is still recommended when using a reverse proxy to remove the
ability for people to connect directly, so we add it there as a recommendation.

[1]: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/when-to-use-a-reverse-proxy?view=aspnetcore-8.0
2024-01-10 19:17:38 +01:00
js6pak 16d3f1c651 Merge branch 'master' into feature/options-changed-event 2023-12-17 20:23:01 +01:00
miniduikbootandjs6pak b5ea1d8864 Update docs to reflect http plugin merge (#546)
Co-authored-by: js6pak <me@6pak.dev>
2023-12-17 20:22:36 +01:00
js6pak 5325a81cb6 Merge Impostor.Http into core (#533) 2023-12-17 20:19:27 +01:00
js6pak c6121eed49 Implement MushroomMixupSabotage 2023-12-16 23:55:58 +01:00
js6pak 389b7dfc0a Drop the RpcSnapTo anticheat 2023-12-16 23:55:58 +01:00
js6pak 5b14c7b64e Implement fungle rpcs 2023-12-16 23:55:58 +01:00
js6pak 9b58f2b36d Source generate map data and enums (#548) 2023-12-16 23:36:02 +01:00
miniduikboot 6e03e90bd0 Merge pull request #553 from Impostor/feature/2023.11.28
Add new network version for 2023.11.28
2023-12-03 23:27:05 +01:00
js6pak f281639763 Make GameLogicComponent methods async 2023-12-03 22:59:05 +01:00
miniduikboot 87fd177e39 more comments sent over discord pm's 2023-12-03 22:55:05 +01:00
miniduikboot fa024b70c5 Process comments 2023-12-03 22:49:13 +01:00
miniduikboot 2c12623a65 Get rid of Rpc02 SyncSettings
This RPC is still sent by clients, but no longer used by clients. As the
server can get the info it wants from LogicOptions instead, remove this
RPC to prevent people from using it accidentally
2023-11-29 22:14:59 +01:00
miniduikboot e303065688 Process comments 2023-11-28 23:09:39 +01:00
miniduikboot 92920357f8 Add new network version for 2023.11.28
Did a quick run through, didn't seem too broken
2023-11-28 20:25:38 +01:00
miniduikboot 5edb409388 Implement event to detect game option changes
This can be triggered by both RPC 02 and a(nother) plugin calling
SyncSettings to force certain settings on the host. Users of this API
could cause this event to recurse by calling SyncSettingsAsync inside an
event handler, so we prevent such reasonable foreseeable misuse.
2023-11-26 23:16:11 +01:00
miniduikboot 66763a4066 Merge pull request #549 from Impostor/feature/2023.10.24
Feature/2023.10.24
2023-11-17 22:08:18 +01:00
js6pak 132b7f0b87 Revert the rpc debug log 2023-11-17 20:05:50 +01:00
miniduikboot c592bd1a9e Debounce CheckMurder calls
In games where players have a high ping, they can get disconnected if
they try and murder a player twice. If a player tries to kill a player
again while they are still under a cooldown from their previous kill,
cancel their request if the game is server authoritive and don't process
it anymore if the game is host authoritive
2023-11-16 17:55:50 +01:00
js6pak 104237b439 Fix host authoritive murder 2023-11-12 21:33:54 +01:00
miniduikboot acb923e3a3 Fix SA1629 violations 2023-11-10 19:11:46 +01:00
miniduikboot d4342dee35 Actually implement CNT serialization 2023-11-10 19:11:46 +01:00
miniduikbootandjs6pak 86423a0b3c Update src/Impostor.Server/Net/State/Game.cs
Co-authored-by: js6pak <kubastaron@hotmail.com>
2023-11-10 16:13:10 +01:00
miniduikboot 21d1333b08 Make API remarks show up in the documentation
Some xmldoc processors don't process stuff that is not inside a remarks
tag, so we add them here.
2023-11-10 15:41:48 +01:00
js6pak f34a90d20c Remove RepairSystem 2023-11-10 15:29:31 +01:00
miniduikboot b65f139eff Bump priority of the unsupported version logging
Currently this only gives an error message on the client but doesn't
send extra details to the server log in the default setup
2023-11-10 14:43:55 +01:00
js6pak 87c7e3922a Fix InnerNetObject writing in rpcs 2023-11-10 12:33:26 +01:00
miniduikboot b67ca158ea Refresh Murder Event API
- IPlayerCheckMurderEvent now exists
- You can see if a kill was successful with IPlayerMurderEvent
- You can now see if host authority was requested with Game.IsHostAuthoritive
2023-10-29 00:37:30 +02:00
miniduikboot 946d7e2164 Implement server side guardian angel 2023-10-28 23:05:28 +02:00
miniduikboot b038d0e098 Cleanup previous commit 2023-10-27 00:00:21 +02:00
miniduikboot 821a2248a7 Fix MurderPlayer for vanilla clients
In 2023.10.24, vanilla started expecting that CheckMurder is handled on
the server. That is, unless the host is modded, then CheckMurder calls
are handled by the host as before
2023-10-26 23:14:09 +02:00
miniduikboot 3d60cf58a9 Skip deserializing the UpdateSystem RPC for now
Innersloth merged RepairSystem and UpdateSystem into one RPC and the
decoding now depends on *which* system is being deserialized.
2023-10-25 22:29:39 +02:00