]> git.deb.at Git - rhonda/impostor.git/log
rhonda/impostor.git
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

4 years agoAdd Chat Language to game listings (#491)
miniduikboot [Sun, 28 Aug 2022 15:04:35 +0000 (17:04 +0200)]
Add Chat Language to game listings (#491)

This was added to the in 6.23 patch

4 years agoAdd new client version (#489)
miniduikboot [Tue, 23 Aug 2022 18:59:45 +0000 (20:59 +0200)]
Add new client version (#489)

4 years agoAllow spawning fake players (#488)
miniduikboot [Sun, 24 Jul 2022 17:25:13 +0000 (19:25 +0200)]
Allow spawning fake players (#488)

This is used by some mods to implement roles for unmodded clients

4 years agoVersion bump for 2022.6.21 (#486) v1.7.1
miniduikboot [Wed, 22 Jun 2022 19:36:58 +0000 (21:36 +0200)]
Version bump for 2022.6.21 (#486)

Mostly untested, ran through a few games and seems to work fine

4 years agoUpdate appveyor.yml, replace NuGet auth token
AeonLucid [Sat, 11 Jun 2022 23:33:43 +0000 (02:33 +0300)]
Update appveyor.yml, replace NuGet auth token

4 years agoUpdate appveyor.yml v1.7.0
js6pak [Sat, 11 Jun 2022 15:41:48 +0000 (15:41 +0000)]
Update appveyor.yml

crappveyor

4 years agoRemove Auth- and AnnouncementsServer sections (#484)
miniduikboot [Fri, 3 Jun 2022 18:58:00 +0000 (20:58 +0200)]
Remove Auth- and AnnouncementsServer sections (#484)

4 years agoRemove 75% of the question marks of PR #481 (#482)
miniduikboot [Fri, 3 Jun 2022 18:57:47 +0000 (20:57 +0200)]
Remove 75% of the question marks of PR #481 (#482)

4 years agoAdd Serilog.Settings.Configuration (#468)
js6pak [Fri, 3 Jun 2022 18:31:52 +0000 (20:31 +0200)]
Add Serilog.Settings.Configuration (#468)

* Add Serilog.Settings.Configuration

* Add docs section for logging

* Elaborate Serilog documentation

Co-authored-by: miniduikboot <mini@duikbo.at>
4 years agoMerge pull request #483 from js6pak/fix-disconnect-reason
js6pak [Fri, 3 Jun 2022 18:31:10 +0000 (20:31 +0200)]
Merge pull request #483 from js6pak/fix-disconnect-reason

Fix non custom disconnect reasons

4 years agoFix non custom disconnect reasons
js6pak [Fri, 3 Jun 2022 18:17:59 +0000 (20:17 +0200)]
Fix non custom disconnect reasons

4 years agoAllow adding custom tasks on standard maps (#481)
miniduikboot [Wed, 25 May 2022 17:53:32 +0000 (19:53 +0200)]
Allow adding custom tasks on standard maps (#481)

This is needed for mods that add tasks to standard maps, but also mods
that add custom maps: because their custom netobjects don't get
registered Impostor thinks people are still on the old map when people
switch to the custom map after playing a game.

4 years agoUpgrade to .NET 6 (#479)
miniduikboot [Wed, 25 May 2022 17:52:22 +0000 (19:52 +0200)]
Upgrade to .NET 6 (#479)

* Upgrade to .NET 6

.NET 5 has gone EOL, so move to a supported version.

* Upgrade Docker container as well
* Update docs for .NET 6
* Re-add hack for System.IO.Pipelines
* Bump dependency versions
* Update the deps of the other projects too
* Only declare TargetFramework once
* Dockerfile: also copy over Directory.Build.props
* Cake: pick up target framework automatically
* Upgrade Cake as well

4 years agoMerge pull request #474 from SubmergedAmongUs/master
miniduikboot [Wed, 20 Apr 2022 16:49:37 +0000 (18:49 +0200)]
Merge pull request #474 from SubmergedAmongUs/master

Add handling for null ShipStatus

4 years agoRemove null check for ShipStatus known to not be null
AlexejheroYTB [Wed, 20 Apr 2022 05:07:59 +0000 (08:07 +0300)]
Remove null check for ShipStatus known to not be null

4 years agoAdd handling for null ShipStatus
AlexejheroYTB [Sat, 16 Apr 2022 14:11:58 +0000 (17:11 +0300)]
Add handling for null ShipStatus

4 years agoMerge pull request #471 from Impostor/feature/2022.3.29
js6pak [Sat, 9 Apr 2022 12:42:51 +0000 (12:42 +0000)]
Merge pull request #471 from Impostor/feature/2022.3.29

4 years agoSimplify Message07JoinedGameS2CPre20220202
js6pak [Thu, 7 Apr 2022 14:58:33 +0000 (16:58 +0200)]
Simplify Message07JoinedGameS2CPre20220202

4 years agoMake GameOptionsData de/serialization less confusing
js6pak [Thu, 7 Apr 2022 09:58:16 +0000 (11:58 +0200)]
Make GameOptionsData de/serialization less confusing

4 years agoDo not add ProductUserId/Friendcode on <2.24
miniduikboot [Sat, 2 Apr 2022 08:41:37 +0000 (10:41 +0200)]
Do not add ProductUserId/Friendcode on <2.24

Because it is fine to add data to the end of messages the new fields
could be added to Message 1 just fine, but because Message 7 contains a
loop, we need to send a different message to old clients there.

4 years agofixup! Add empty ProductUserId and FriendCode to packets
miniduikboot [Thu, 31 Mar 2022 21:37:59 +0000 (23:37 +0200)]
fixup! Add empty ProductUserId and FriendCode to packets

4 years agoAdd empty ProductUserId and FriendCode to packets
miniduikboot [Thu, 31 Mar 2022 21:24:00 +0000 (23:24 +0200)]
Add empty ProductUserId and FriendCode to packets

They are not sent to the server and no clue how to retrieve them out of band.

4 years agoBarebones port
miniduikboot [Thu, 31 Mar 2022 19:47:11 +0000 (21:47 +0200)]
Barebones port

4 years agoMerge pull request #467 from miniduikboot/fix/race-dc-send-all-except
miniduikboot [Sat, 26 Mar 2022 09:35:54 +0000 (10:35 +0100)]
Merge pull request #467 from miniduikboot/fix/race-dc-send-all-except

Do not broadcast messages to disconnected clients

4 years agoDo not broadcast messages to disconnected clients
miniduikboot [Sun, 13 Mar 2022 17:44:32 +0000 (18:44 +0100)]
Do not broadcast messages to disconnected clients

This method is used when players have disconnected. If multiple players
disconnect at once, this method leads to exceptions.

4 years agoMerge pull request #464 from miniduikboot/fix/custom-dc-msg
miniduikboot [Mon, 28 Feb 2022 17:04:47 +0000 (18:04 +0100)]
Merge pull request #464 from miniduikboot/fix/custom-dc-msg

Fix/custom dc msg

4 years agoReword obsoletion message
miniduikboot [Sat, 26 Feb 2022 19:33:02 +0000 (20:33 +0100)]
Reword obsoletion message

4 years agoChange DisconnectAsync to use extension instead
miniduikboot [Sat, 26 Feb 2022 19:31:45 +0000 (20:31 +0100)]
Change DisconnectAsync to use extension instead

4 years agoTurn DisconnectConnection into an extension
miniduikboot [Sat, 26 Feb 2022 19:31:23 +0000 (20:31 +0100)]
Turn DisconnectConnection into an extension

4 years agoFixup 608414326ddcbe672b3fd5e71d95530707add6d7
miniduikboot [Wed, 16 Feb 2022 21:34:42 +0000 (22:34 +0100)]
Fixup 608414326ddcbe672b3fd5e71d95530707add6d7

Oops, I accidentally forgot to remove the previous line when adding the
file to my commit

4 years agoDeprecate JoinGame errors
miniduikboot [Wed, 16 Feb 2022 21:31:23 +0000 (22:31 +0100)]
Deprecate JoinGame errors

Starting from version 2021.11.9, join errors no longer exist, instead a
client will show the message "An unknown error disconnected you from the
server". As a workaround, the connection is disconnected entirely when
an error occurs, which allows us to show a custom message.

4 years agoMerge pull request #465 from miniduikboot/fix/2-28-bump
js6pak [Sat, 26 Feb 2022 16:26:54 +0000 (17:26 +0100)]
Merge pull request #465 from miniduikboot/fix/2-28-bump

4 years agoBump network version
miniduikboot [Fri, 25 Feb 2022 06:05:22 +0000 (07:05 +0100)]
Bump network version

4 years agoMerge pull request #460 from miniduikboot/feature/queryplatformids
miniduikboot [Mon, 14 Feb 2022 21:12:47 +0000 (22:12 +0100)]
Merge pull request #460 from miniduikboot/feature/queryplatformids

Add QueryPlatformIds

4 years agoAdd QueryPlatformIds
miniduikboot [Wed, 2 Feb 2022 21:07:17 +0000 (22:07 +0100)]
Add QueryPlatformIds

Some platforms (notable the Microsoft Store version) ask for this before connecting.

4 years agoMerge pull request #455 from miniduikboot/fix/i18n-nicknames
miniduikboot [Thu, 27 Jan 2022 18:23:30 +0000 (19:23 +0100)]
Merge pull request #455 from miniduikboot/fix/i18n-nicknames

Fix/i18n nicknames

4 years agoMerge pull request #458 from miniduikboot/fix/ac-engineer-snapto
miniduikboot [Thu, 27 Jan 2022 18:22:59 +0000 (19:22 +0100)]
Merge pull request #458 from miniduikboot/fix/ac-engineer-snapto

AC: Allow engineers to move to a different vent.

4 years agoPartial revert of cc8d5d2: Readd length check
miniduikboot [Thu, 27 Jan 2022 17:24:02 +0000 (18:24 +0100)]
Partial revert of cc8d5d2: Readd length check

Oversized nicknames can cause bigger issues, so it is desireable to
still block them. .Length counts codepoints, not bytes, which means
that 10 character Japanese nicknames, which are configurable ingame,
should still be allowed.

4 years agoAC: Allow engineers to move to a different vent.
miniduikboot [Thu, 27 Jan 2022 17:10:46 +0000 (18:10 +0100)]
AC: Allow engineers to move to a different vent.

4 years agoMerge pull request #453 from miniduikboot/fix/ga-half-cooldown
miniduikboot [Fri, 14 Jan 2022 22:06:28 +0000 (23:06 +0100)]
Merge pull request #453 from miniduikboot/fix/ga-half-cooldown

AC CheckMurder: Require half of cooldown

4 years agoAdd comment to clarify why this exists
miniduikboot [Fri, 14 Jan 2022 18:47:58 +0000 (19:47 +0100)]
Add comment to clarify why this exists

4 years agoMerge pull request #452 from miniduikboot/fix/host-migrate
miniduikboot [Fri, 14 Jan 2022 17:21:16 +0000 (18:21 +0100)]
Merge pull request #452 from miniduikboot/fix/host-migrate

Before this commit, when the host of a game disconnects, the InnerPlayerInfo from the player is removed, which causes the new host to disconnect because of a deserialization error. This PR fixes this issue

4 years agoRemove name length/validity checks from JoinGame
miniduikboot [Mon, 10 Jan 2022 19:47:19 +0000 (20:47 +0100)]
Remove name length/validity checks from JoinGame

Length and validity are checked also checked by the anticheat. In case
Impostor goes out of sync with the allowed characters again, this can
just be fixed by disabling the Anticheat.

Check for NullOrWhiteSpace is kept because an empty username could be annoying

4 years agoSync IsCharAllowed with Innersloth implementation
miniduikboot [Mon, 10 Jan 2022 19:47:02 +0000 (20:47 +0100)]
Sync IsCharAllowed with Innersloth implementation