]> git.deb.at Git - rhonda/impostor.git/log
rhonda/impostor.git
2 years agoChange default ListenIp of Http server to 0.0.0.0
miniduikboot [Wed, 10 Jan 2024 18:06:15 +0000 (19:06 +0100)]
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

2 years agoUpdate docs to reflect http plugin merge (#546)
miniduikboot [Sun, 17 Dec 2023 19:22:36 +0000 (20:22 +0100)]
Update docs to reflect http plugin merge (#546)

Co-authored-by: js6pak <me@6pak.dev>
2 years agoMerge Impostor.Http into core (#533)
js6pak [Sun, 17 Dec 2023 19:19:27 +0000 (20:19 +0100)]
Merge Impostor.Http into core (#533)

2 years agoImplement MushroomMixupSabotage
js6pak [Fri, 24 Nov 2023 17:35:33 +0000 (18:35 +0100)]
Implement MushroomMixupSabotage

2 years agoDrop the RpcSnapTo anticheat
js6pak [Tue, 21 Nov 2023 18:14:58 +0000 (19:14 +0100)]
Drop the RpcSnapTo anticheat

2 years agoImplement fungle rpcs
js6pak [Tue, 21 Nov 2023 16:15:52 +0000 (17:15 +0100)]
Implement fungle rpcs

2 years agoSource generate map data and enums (#548)
js6pak [Sat, 16 Dec 2023 22:36:02 +0000 (23:36 +0100)]
Source generate map data and enums (#548)

2 years agoMerge pull request #553 from Impostor/feature/2023.11.28
miniduikboot [Sun, 3 Dec 2023 22:27:05 +0000 (23:27 +0100)]
Merge pull request #553 from Impostor/feature/2023.11.28

Add new network version for 2023.11.28

2 years agoAdd new network version for 2023.11.28
miniduikboot [Tue, 28 Nov 2023 19:25:38 +0000 (20:25 +0100)]
Add new network version for 2023.11.28

Did a quick run through, didn't seem too broken

2 years agoMerge pull request #549 from Impostor/feature/2023.10.24
miniduikboot [Fri, 17 Nov 2023 21:08:18 +0000 (22:08 +0100)]
Merge pull request #549 from Impostor/feature/2023.10.24

Feature/2023.10.24

2 years agoRevert the rpc debug log
js6pak [Fri, 17 Nov 2023 19:04:16 +0000 (20:04 +0100)]
Revert the rpc debug log

2 years agoDebounce CheckMurder calls
miniduikboot [Thu, 16 Nov 2023 16:55:50 +0000 (17:55 +0100)]
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

2 years agoFix host authoritive murder
js6pak [Sun, 12 Nov 2023 20:33:54 +0000 (21:33 +0100)]
Fix host authoritive murder

2 years agoFix SA1629 violations
miniduikboot [Fri, 10 Nov 2023 18:09:07 +0000 (19:09 +0100)]
Fix SA1629 violations

2 years agoActually implement CNT serialization
miniduikboot [Fri, 10 Nov 2023 18:07:39 +0000 (19:07 +0100)]
Actually implement CNT serialization

2 years agoUpdate src/Impostor.Server/Net/State/Game.cs
miniduikboot [Fri, 10 Nov 2023 15:13:10 +0000 (16:13 +0100)]
Update src/Impostor.Server/Net/State/Game.cs

Co-authored-by: js6pak <kubastaron@hotmail.com>
2 years agoMake API remarks show up in the documentation
miniduikboot [Fri, 10 Nov 2023 14:40:06 +0000 (15:40 +0100)]
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.

2 years agoRemove RepairSystem
js6pak [Fri, 10 Nov 2023 14:29:15 +0000 (15:29 +0100)]
Remove RepairSystem

2 years agoBump priority of the unsupported version logging
miniduikboot [Fri, 10 Nov 2023 13:42:33 +0000 (14:42 +0100)]
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

2 years agoFix InnerNetObject writing in rpcs
js6pak [Fri, 10 Nov 2023 11:33:26 +0000 (12:33 +0100)]
Fix InnerNetObject writing in rpcs

2 years agoRefresh Murder Event API
miniduikboot [Sat, 28 Oct 2023 22:37:30 +0000 (00:37 +0200)]
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

2 years agoImplement server side guardian angel
miniduikboot [Sat, 28 Oct 2023 21:05:28 +0000 (23:05 +0200)]
Implement server side guardian angel

2 years agoCleanup previous commit
miniduikboot [Thu, 26 Oct 2023 22:00:21 +0000 (00:00 +0200)]
Cleanup previous commit

2 years agoFix MurderPlayer for vanilla clients
miniduikboot [Thu, 26 Oct 2023 21:14:09 +0000 (23:14 +0200)]
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

2 years agoSkip deserializing the UpdateSystem RPC for now
miniduikboot [Wed, 25 Oct 2023 20:29:39 +0000 (22:29 +0200)]
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.

2 years agoClean up stuff for old versions
miniduikboot [Wed, 25 Oct 2023 19:37:38 +0000 (21:37 +0200)]
Clean up stuff for old versions

2 years agoCleanup code
miniduikboot [Wed, 25 Oct 2023 19:37:29 +0000 (21:37 +0200)]
Cleanup code

2 years agoRework CustomNetworkTransform
miniduikboot [Wed, 25 Oct 2023 19:28:03 +0000 (21:28 +0200)]
Rework CustomNetworkTransform

Innersloth has changed CNT from position/velocity to a queue of
positions. As a result, drop the velocity as well.

We're currently not tracking the current position of the player, so
we're just storing the last one

2 years agoAdd 10.24 and drop the rest
miniduikboot [Wed, 25 Oct 2023 19:26:40 +0000 (21:26 +0200)]
Add 10.24 and drop the rest

We had a nice year of backwards compatibility, but the changes in Fungle
are large enough that dropping support for old versions is the only
logical path forward

2 years agoImprove cross-compatibility (#534)
miniduikboot [Fri, 6 Oct 2023 12:52:16 +0000 (14:52 +0200)]
Improve cross-compatibility (#534)

Co-authored-by: js6pak <me@6pak.dev>
3 years agoUpdate docker container to I.Http 0.5 v1.8.4
miniduikboot [Thu, 15 Jun 2023 21:11:21 +0000 (23:11 +0200)]
Update docker container to I.Http 0.5

Also update the documentation to deal with the new default port and
clarify some stuff

3 years agoadd another version code to the pile
miniduikboot [Tue, 11 Jul 2023 18:45:08 +0000 (20:45 +0200)]
add another version code to the pile

3 years agomake stylecop happy v1.8.3
miniduikboot [Tue, 13 Jun 2023 17:57:54 +0000 (19:57 +0200)]
make stylecop happy

3 years agoBump version to 1.8.3
miniduikboot [Tue, 13 Jun 2023 17:57:09 +0000 (19:57 +0200)]
Bump version to 1.8.3

3 years agoAdd GameVersion for 2023.6.13
miniduikboot [Tue, 13 Jun 2023 17:55:00 +0000 (19:55 +0200)]
Add GameVersion for 2023.6.13

There seem to be no functional changes

3 years agoAllow multiple SetName commands per CheckName
miniduikboot [Wed, 31 May 2023 20:13:29 +0000 (22:13 +0200)]
Allow multiple SetName commands per CheckName

Some mods use SetName to set player-specific names, for example to set
player-specific roles. When Anticheat is disabled, this should be
allowed for feature-parity with officials.

3 years agoupdate:config
yukieiji [Fri, 19 May 2023 14:08:09 +0000 (23:08 +0900)]
update:config

3 years agorefactor:ConnectionTimeout
yukieiji [Fri, 19 May 2023 13:59:05 +0000 (22:59 +0900)]
refactor:ConnectionTimeout

3 years agorefactor:SpawnInTime to config
yukieiji [Fri, 19 May 2023 13:57:53 +0000 (22:57 +0900)]
refactor:SpawnInTime to config

3 years agofeat:timeout config
yukieiji [Fri, 19 May 2023 13:52:42 +0000 (22:52 +0900)]
feat:timeout config

3 years agoBump version to 1.8.2 v1.8.2
miniduikboot [Sun, 9 Apr 2023 14:54:38 +0000 (16:54 +0200)]
Bump version to 1.8.2

3 years agoAdding missing 2023.3.13 version for android
danbudworthmead [Thu, 30 Mar 2023 18:35:42 +0000 (19:35 +0100)]
Adding missing 2023.3.13 version for android

3 years agoUpdate to 2023.3.28
miniduikboot [Tue, 28 Mar 2023 17:54:35 +0000 (19:54 +0200)]
Update to 2023.3.28

3 years agoReorder GameFull and GameStarted join errors
miniduikboot [Tue, 7 Mar 2023 23:09:41 +0000 (00:09 +0100)]
Reorder GameFull and GameStarted join errors

If a game is in progress, a player can't join it anyway and spam-joining
to see if a spot becomes available is useless. So the GameFull error is
more important than the GameStarted error, therefore reorder them.

Closes: #518
3 years agoAdd network version for 2023.2.28 v1.8.1
miniduikboot [Wed, 1 Mar 2023 09:15:48 +0000 (10:15 +0100)]
Add network version for 2023.2.28

3 years agoAdd missing game keywords
miniduikboot [Tue, 14 Feb 2023 19:54:57 +0000 (20:54 +0100)]
Add missing game keywords

These have been added in 2021.6.30, but this has only now been
problematic because Impostor.Http requires this array to be accurate

3 years agoAdd a warning for using the default PublicIp
miniduikboot [Sun, 29 Jan 2023 23:10:55 +0000 (00:10 +0100)]
Add a warning for using the default PublicIp

This is a misconfiguration in most cases and it breaks Impostor.Http.
Throw a warning so that people know that they should return to the
install instructions.

3 years agoMerge pull request #512 from Impostor/fix/docs-n-docker
miniduikboot [Tue, 14 Feb 2023 22:26:09 +0000 (23:26 +0100)]
Merge pull request #512 from Impostor/fix/docs-n-docker

Various improvements to the Dockerfile and the docs

3 years agoPrepare for 1.8.1
miniduikboot [Sun, 29 Jan 2023 23:06:18 +0000 (00:06 +0100)]
Prepare for 1.8.1

This will be a release focused on setup convenience

3 years agoRewrite Running-the-server.md
miniduikboot [Sun, 29 Jan 2023 23:04:55 +0000 (00:04 +0100)]
Rewrite Running-the-server.md

- Multi-server is removed from the intro
- Add Impostor.Http stuff
- Stress the importance of public ip

3 years agoDockerfile: install Http plugin in separate folder
miniduikboot [Sun, 29 Jan 2023 21:58:30 +0000 (22:58 +0100)]
Dockerfile: install Http plugin in separate folder

Some people mount a folder on the plugin directory. This is fine, but
our sneaky Impostor.Http install method won't work here. So put it in a
different folder and prepend our folder to the plugin search path.

The number 76 has been randomly picked using dice

3 years agoDockerfile: [[ -> [
miniduikboot [Sun, 29 Jan 2023 21:57:05 +0000 (22:57 +0100)]
Dockerfile: [[ -> [

[[ is a bash extension and is not supported by posix sh, throwing an
error. [ is supported and does enough

3 years agosystemd template and instructions (#508)
bkloosterboer [Sun, 22 Jan 2023 22:29:22 +0000 (16:29 -0600)]
systemd template and instructions (#508)

* systemd template and instructions

* clarify some intsructions, change a few systemd paramters

* change targets

3 years agoAdd Impostor.Http to the Docker image (#509)
miniduikboot [Fri, 20 Jan 2023 14:25:22 +0000 (15:25 +0100)]
Add Impostor.Http to the Docker image (#509)

Adding plugins to the docker image is pretty hard as you need to install
ASP.Net Core and add the plugin. As Impostor.Http has become pretty much
mandatory, install the plugin by default.

3 years agoAutomatically add ASP.NET Core to the library path (#507)
miniduikboot [Fri, 20 Jan 2023 14:23:33 +0000 (15:23 +0100)]
Automatically add ASP.NET Core to the library path (#507)

Currently Impostor.Http is becoming an almost mandatory plugin. Because
it depends on ASP.Net, many people who fail to add the required path to
their config will run into an error. Help them by automatically adding
ASP.NET Core.

Also .NET updates every now and then and updating the version number in
the config.json is annoying me.

This commit uses the fact that ASP.NET Core DLL's are in a sibling folder
to the .NET runtime and should therefore work on most setups unless
they've installed ASP.NET Core in a very weird way.

* Fix casing

Co-authored-by: js6pak <kubastaron@hotmail.com>
3 years agoMerge pull request #504 from Impostor/fix/dead-impostor-sabotage v1.8.0
js6pak [Sat, 7 Jan 2023 14:47:41 +0000 (15:47 +0100)]
Merge pull request #504 from Impostor/fix/dead-impostor-sabotage

3 years agoMerge pull request #503 from Impostor/fix-game-start
js6pak [Sat, 7 Jan 2023 14:47:28 +0000 (15:47 +0100)]
Merge pull request #503 from Impostor/fix-game-start

3 years agoAllow sabotages by dead impostors
miniduikboot [Sat, 7 Jan 2023 13:11:06 +0000 (14:11 +0100)]
Allow sabotages by dead impostors

2021.12.8+ sets the role of dead players to {Crewmate,Impostor}Ghost, so
relax the anticheat to allow sabotages by ImpostorGhosts

3 years agoIgnore the role in InnerPlayerInfo.Deserialize
js6pak [Fri, 6 Jan 2023 18:52:07 +0000 (19:52 +0100)]
Ignore the role in InnerPlayerInfo.Deserialize

3 years agoExpose RoleType in api
js6pak [Fri, 6 Jan 2023 18:11:09 +0000 (19:11 +0100)]
Expose RoleType in api

3 years agoMark the game as started only after all players get their role
js6pak [Fri, 6 Jan 2023 18:10:52 +0000 (19:10 +0100)]
Mark the game as started only after all players get their role

3 years agoMerge pull request #501 from Impostor/feature/2022.12.8
js6pak [Thu, 29 Dec 2022 17:02:15 +0000 (18:02 +0100)]
Merge pull request #501 from Impostor/feature/2022.12.8

3 years agoFix xmldoc warnings
js6pak [Thu, 29 Dec 2022 16:49:15 +0000 (17:49 +0100)]
Fix xmldoc warnings

3 years agoFix CrossplayFlags
js6pak [Tue, 20 Dec 2022 14:25:19 +0000 (15:25 +0100)]
Fix CrossplayFlags

3 years agoFix formatting
js6pak [Tue, 20 Dec 2022 13:36:31 +0000 (14:36 +0100)]
Fix formatting

3 years agoFix Message00HostGameS2C signature
js6pak [Tue, 20 Dec 2022 13:35:34 +0000 (14:35 +0100)]
Fix Message00HostGameS2C signature

3 years agoCorrect api game manager interfaces
AeonLucid [Mon, 19 Dec 2022 21:44:36 +0000 (22:44 +0100)]
Correct api game manager interfaces

3 years agoLowercase rpc
AeonLucid [Mon, 19 Dec 2022 15:01:24 +0000 (16:01 +0100)]
Lowercase rpc

3 years agoLog of correct reader
AeonLucid [Mon, 19 Dec 2022 14:59:14 +0000 (15:59 +0100)]
Log of correct reader

3 years agoAdd warning when not consuming all bytes of a logic component
AeonLucid [Mon, 19 Dec 2022 14:55:27 +0000 (15:55 +0100)]
Add warning when not consuming all bytes of a logic component

3 years agoClean up unused serialization and expose two HideAndSeek floats in api
AeonLucid [Mon, 19 Dec 2022 14:34:55 +0000 (15:34 +0100)]
Clean up unused serialization and expose two HideAndSeek floats in api

3 years agoPackages lock
AeonLucid [Mon, 19 Dec 2022 01:55:41 +0000 (02:55 +0100)]
Packages lock

3 years agoAdd FilterOptions to Game and use in FindListings
AeonLucid [Mon, 19 Dec 2022 01:39:03 +0000 (02:39 +0100)]
Add FilterOptions to Game and use in FindListings

3 years agoFix SyncSettingsAsync
AeonLucid [Mon, 19 Dec 2022 01:24:51 +0000 (02:24 +0100)]
Fix SyncSettingsAsync

3 years agoFix incorrect data types for NormalGameOptions
AeonLucid [Mon, 19 Dec 2022 01:24:33 +0000 (02:24 +0100)]
Fix incorrect data types for NormalGameOptions

3 years agoUse DeserializeInto over Deserialize
AeonLucid [Mon, 19 Dec 2022 00:12:52 +0000 (01:12 +0100)]
Use DeserializeInto over Deserialize

3 years agoAdded game manager net object and logic classes
AeonLucid [Sun, 18 Dec 2022 23:56:03 +0000 (00:56 +0100)]
Added game manager net object and logic classes

3 years agoLog MessageFlag name instead of numbers
AeonLucid [Sun, 18 Dec 2022 22:52:01 +0000 (23:52 +0100)]
Log MessageFlag name instead of numbers

3 years agoAdd Pet and CancelPet RPC's
miniduikboot [Sun, 11 Dec 2022 21:03:21 +0000 (22:03 +0100)]
Add Pet and CancelPet RPC's

3 years agoImplement new GameOptions system
js6pak [Sun, 11 Dec 2022 17:02:26 +0000 (18:02 +0100)]
Implement new GameOptions system

Co-authored-by: miniduikboot <mini@duikbo.at>
3 years agoBump to 1.8.0 and drop backwards compatibility
miniduikboot [Sun, 11 Dec 2022 17:10:35 +0000 (18:10 +0100)]
Bump to 1.8.0 and drop backwards compatibility

3 years agoRemove redirector (#502)
js6pak [Sun, 18 Dec 2022 21:44:25 +0000 (22:44 +0100)]
Remove redirector (#502)

3 years agoMerge pull request #500 from Impostor/net7-nugethazel
AeonLucid [Sun, 18 Dec 2022 20:55:41 +0000 (21:55 +0100)]
Merge pull request #500 from Impostor/net7-nugethazel

Upgrade to net7.0 and move hazel to nuget

3 years agoUpdate hazel package references to 1.0.0
AeonLucid [Sun, 18 Dec 2022 20:49:10 +0000 (21:49 +0100)]
Update hazel package references to 1.0.0

3 years agoFix imports
js6pak [Sun, 18 Dec 2022 19:16:37 +0000 (20:16 +0100)]
Fix imports

3 years agoSwitch hazel from submodule to nuget
js6pak [Sun, 18 Dec 2022 19:16:10 +0000 (20:16 +0100)]
Switch hazel from submodule to nuget

3 years agoUpgrade to net7.0
js6pak [Sun, 18 Dec 2022 19:13:25 +0000 (20:13 +0100)]
Upgrade to net7.0

3 years agoCorrect location of Right Stabilizer vent on Polus v1.7.3
miniduikboot [Tue, 8 Nov 2022 22:13:54 +0000 (23:13 +0100)]
Correct location of Right Stabilizer vent on Polus

I've checked all game vents and this seems to be the only one that
changed.

Fixes: #495
3 years agoRemove anticheat log when anticheat is disabled
miniduikboot [Mon, 31 Oct 2022 22:02:08 +0000 (23:02 +0100)]
Remove anticheat log when anticheat is disabled

Fixes #456

3 years agoBump to 1.7.3
miniduikboot [Sun, 23 Oct 2022 12:50:12 +0000 (14:50 +0200)]
Bump to 1.7.3

Because we can keep compatibility, only do a minor version bump

3 years agoAdd 2022.10.25
miniduikboot [Fri, 21 Oct 2022 06:52:25 +0000 (08:52 +0200)]
Add 2022.10.25

3 years agoAdd version id for 2022.10.18
miniduikboot [Tue, 18 Oct 2022 17:48:46 +0000 (19:48 +0200)]
Add version id for 2022.10.18

3 years agoAdd Airship to MapFlags
miniduikboot [Tue, 13 Sep 2022 19:25:29 +0000 (21:25 +0200)]
Add Airship to MapFlags

CC https://github.com/Impostor/Impostor.Http/pull/3

4 years agoSwitch to github actions (#492) v1.7.2
js6pak [Thu, 1 Sep 2022 19:28:41 +0000 (19:28 +0000)]
Switch to github actions (#492)

4 years agoMove config files to API
miniduikboot [Mon, 29 Aug 2022 17:02:36 +0000 (19:02 +0200)]
Move config files to API

This makes it possible to access these from a plugin

4 years agoAdd documentation for the compatibility options
miniduikboot [Sun, 28 Aug 2022 16:02:38 +0000 (18:02 +0200)]
Add documentation for the compatibility options

4 years agoAdd unsupported option to allow future versions
miniduikboot [Sun, 28 Aug 2022 15:43:33 +0000 (17:43 +0200)]
Add unsupported option to allow future versions

4 years agoMake version mixing configurable
miniduikboot [Sun, 28 Aug 2022 15:32:29 +0000 (17:32 +0200)]
Make version mixing configurable

4 years agoPrevent players joining game on different versions
miniduikboot [Sat, 27 Aug 2022 09:56:18 +0000 (11:56 +0200)]
Prevent players joining game on different versions

Now that our game version compatibility list is growing longer with
every game patch, we need a way to make sure people in a game run the
same version of the game. Mismatching game version can lead to weird
issues, especially if mods are involved.

4 years agoImprove setup documentation (#485)
miniduikboot [Mon, 29 Aug 2022 18:56:34 +0000 (20:56 +0200)]
Improve setup documentation (#485)

- .NET download link was broken
- They also renamed their packages slightly, so update wording
- Add a note on port forwarding
- Add a note on setting up the region file