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

4 years agoAC CheckMurder: Require half of cooldown
miniduikboot [Sat, 8 Jan 2022 17:15:12 +0000 (18:15 +0100)]
AC CheckMurder: Require half of cooldown

When the Guardian Angel protects a player, the impostor that just missed
their kill gets back half of their cooldown. Keeping track of whether or
not the player was protected is more difficult due to how the Guardian
Angel is implemented, so instead we halve the minimum time between kill
in order to minimize false positives.

4 years agoClamp taskCount to the length of the task list
miniduikboot [Sat, 8 Jan 2022 16:38:22 +0000 (17:38 +0100)]
Clamp taskCount to the length of the task list

New tasks cannot be created at this point because we don't know the
underlying tasks. So we try to maintain the tasks we do know of.

4 years agoDo not destroy PlayerControl if game is starting
miniduikboot [Sat, 8 Jan 2022 16:16:59 +0000 (17:16 +0100)]
Do not destroy PlayerControl if game is starting

This player may still get assigned tasks, which could lead to
deserialization problems.

4 years agoMark game as started when RPC SetRole is called
miniduikboot [Sat, 8 Jan 2022 15:43:01 +0000 (16:43 +0100)]
Mark game as started when RPC SetRole is called

This used to be done when SetInfected was called, but this RPC is no
longer used since 2021.11.9 in favor of this RPC.

4 years agoMerge pull request #442 from Impostor/2021.11.9
miniduikboot [Tue, 21 Dec 2021 22:27:38 +0000 (23:27 +0100)]
Merge pull request #442 from Impostor/2021.11.9

2021.11.9 and 2021.12.14 support

4 years agoSet RoleType in PlayerInfo.Deserialize
js6pak [Wed, 15 Dec 2021 14:36:01 +0000 (15:36 +0100)]
Set RoleType in PlayerInfo.Deserialize

4 years agoDon't do public methods in interfaces
js6pak [Wed, 15 Dec 2021 14:35:46 +0000 (15:35 +0100)]
Don't do public methods in interfaces

4 years agoReadd HandleSet{Pet/Hat/Skin}
js6pak [Wed, 15 Dec 2021 14:33:01 +0000 (15:33 +0100)]
Readd HandleSet{Pet/Hat/Skin}

4 years agoImplement cosmetic rpc methods
js6pak [Wed, 15 Dec 2021 13:55:48 +0000 (14:55 +0100)]
Implement cosmetic rpc methods

4 years agoDocument IClient.PlatformSpecificData
js6pak [Wed, 15 Dec 2021 13:52:22 +0000 (14:52 +0100)]
Document IClient.PlatformSpecificData

4 years agoChange RoleOptionsData floats to be bytes as they can't ever be floats anyway
js6pak [Wed, 15 Dec 2021 13:51:07 +0000 (14:51 +0100)]
Change RoleOptionsData floats to be bytes as they can't ever be floats anyway

4 years agoAdd initial support for 2021.12.14
miniduikboot [Tue, 14 Dec 2021 20:38:26 +0000 (21:38 +0100)]
Add initial support for 2021.12.14

4 years agoAdd RPC's for CheckProtect and ProtectPlayer
miniduikboot [Mon, 22 Nov 2021 22:04:56 +0000 (23:04 +0100)]
Add RPC's for CheckProtect and ProtectPlayer

4 years agoImplement new MurderPlayer logic
miniduikboot [Mon, 22 Nov 2021 21:12:34 +0000 (22:12 +0100)]
Implement new MurderPlayer logic

In 2021.11.9, the host now uses MurderPlayer instead of impostors.
Impostor now use CheckMurder to request the host to kill a player. This
allows the host to prevent the target of the Guardian Angel from dying.

However, if the impostor that is checking the kill is also the host, AU
internally processes the CheckMurder RPC and sends the MurderPlayer RPC
first, *then* it sends the CheckMurder RPC.

4 years agoAdd platform data to GameList
miniduikboot [Mon, 15 Nov 2021 21:54:34 +0000 (22:54 +0100)]
Add platform data to GameList

4 years agoFix ServerReplay
js6pak [Sat, 13 Nov 2021 18:51:52 +0000 (19:51 +0100)]
Fix ServerReplay

4 years agoBump to 1.7
miniduikboot [Fri, 12 Nov 2021 22:10:24 +0000 (23:10 +0100)]
Bump to 1.7

4 years agoAllow Shapeshifters to use RPC Shapeshift
miniduikboot [Fri, 12 Nov 2021 21:57:52 +0000 (22:57 +0100)]
Allow Shapeshifters to use RPC Shapeshift