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

4 years agoAllow Engineers to vent
miniduikboot [Fri, 12 Nov 2021 21:57:29 +0000 (22:57 +0100)]
Allow Engineers to vent

4 years agoImplement Rpc 44: SetRole
miniduikboot [Fri, 12 Nov 2021 21:56:35 +0000 (22:56 +0100)]
Implement Rpc 44: SetRole

4 years agoAdd name/psd/level to JoinGame- and JoinedGameS2C
miniduikboot [Fri, 12 Nov 2021 20:11:48 +0000 (21:11 +0100)]
Add name/psd/level to JoinGame- and JoinedGameS2C

Two players can now connect to the same lobby

4 years agoRemove initial state flag from InnerGameData
miniduikboot [Wed, 10 Nov 2021 22:04:21 +0000 (23:04 +0100)]
Remove initial state flag from InnerGameData

4 years agoImplement SetActivePodType
miniduikboot [Wed, 10 Nov 2021 20:23:00 +0000 (21:23 +0100)]
Implement SetActivePodType

4 years agoWIP
js6pak [Wed, 10 Nov 2021 19:46:56 +0000 (20:46 +0100)]
WIP

4 years agoRIP AnnouncementsServer
js6pak [Wed, 10 Nov 2021 12:52:15 +0000 (13:52 +0100)]
RIP AnnouncementsServer

5 years ago[skip ci] Auto deploy github releases
js6pak [Thu, 5 Aug 2021 10:50:37 +0000 (12:50 +0200)]
[skip ci] Auto deploy github releases

5 years agoMerge pull request #431 from miniduikboot/feature/2021.6.30 v1.6.0
js6pak [Fri, 30 Jul 2021 18:41:57 +0000 (20:41 +0200)]
Merge pull request #431 from miniduikboot/feature/2021.6.30

5 years agoHandle all handshake versions
js6pak [Tue, 27 Jul 2021 15:42:11 +0000 (17:42 +0200)]
Handle all handshake versions

5 years agoLanguage and chat mode api
js6pak [Tue, 27 Jul 2021 14:58:20 +0000 (16:58 +0200)]
Language and chat mode api

5 years agoImprove docs (#435)
miniduikboot [Sun, 25 Jul 2021 19:53:43 +0000 (21:53 +0200)]
Improve docs (#435)

5 years agoAddress feedback
miniduikboot [Sun, 25 Jul 2021 18:22:02 +0000 (20:22 +0200)]
Address feedback

5 years agoCheck client version when parsing C2S handshake
miniduikboot [Wed, 21 Jul 2021 19:53:22 +0000 (21:53 +0200)]
Check client version when parsing C2S handshake

2021.6.30 added new fields, which aren't present on old clients.

This commit makes sure players on old versions are disconnected properly
instead of the server erroring internally.

5 years agoDisable ownership check for BootFromVent
miniduikboot [Wed, 21 Jul 2021 18:35:55 +0000 (20:35 +0200)]
Disable ownership check for BootFromVent

5 years agoImplement RPC 35: Update System
miniduikboot [Wed, 7 Jul 2021 22:08:35 +0000 (00:08 +0200)]
Implement RPC 35: Update System

5 years agoImplement RPC 34: Boot from vent
miniduikboot [Wed, 7 Jul 2021 20:18:50 +0000 (22:18 +0200)]
Implement RPC 34: Boot from vent

5 years agoBump to 1.6 because new net version
miniduikboot [Wed, 7 Jul 2021 19:53:08 +0000 (21:53 +0200)]
Bump to 1.6 because new net version

5 years agoAdd Vent Cleaning task
miniduikboot [Wed, 7 Jul 2021 19:51:58 +0000 (21:51 +0200)]
Add Vent Cleaning task

As these spawn in various rooms under the same task id the name of this
task does not include a room name

5 years agoAdd Airship Lounge/Showers Empty Garbage tasks
miniduikboot [Wed, 7 Jul 2021 19:51:03 +0000 (21:51 +0200)]
Add Airship Lounge/Showers Empty Garbage tasks

Also Calibrate Distributor moved up

5 years agoAdd two extra fields to handshake
miniduikboot [Wed, 7 Jul 2021 18:17:05 +0000 (20:17 +0200)]
Add two extra fields to handshake

5 years agoBump client version
miniduikboot [Wed, 7 Jul 2021 16:39:21 +0000 (18:39 +0200)]
Bump client version

5 years agoImprove error when client version is unsupported (#432) v1.5.0
miniduikboot [Tue, 13 Jul 2021 20:48:24 +0000 (22:48 +0200)]
Improve error when client version is unsupported (#432)

* Improve error when client version is unsupported

In the default message that was used previously the user is asked to
upgrade his game. This is not always correct, as sometimes the Impostor
server is too old and should be updated instead. Therefore custom
disconnect messages are used that blames either the user or the server
operator, which is hopefully more accurate.

I've chosen not to include the game version that is supported by the
server in this message because the network version rarely matches the
advertised version in the main menu.

* Rewrite versionCompare switch case

Co-authored-by: js6pak <kubastaron@hotmail.com>
Co-authored-by: js6pak <kubastaron@hotmail.com>
5 years agoLog unsupported version
js6pak [Wed, 7 Jul 2021 17:01:31 +0000 (19:01 +0200)]
Log unsupported version

5 years agoMerge pull request #430 from Bramux/fix-hat-mismatch
js6pak [Mon, 5 Jul 2021 21:19:30 +0000 (23:19 +0200)]
Merge pull request #430 from Bramux/fix-hat-mismatch

Fix mismatched hats

5 years agoCorrect hat mismatches
Bramux [Mon, 5 Jul 2021 20:26:28 +0000 (22:26 +0200)]
Correct hat mismatches

5 years agoMerge pull request #429 from miniduikboot/fix/style
js6pak [Mon, 5 Jul 2021 19:22:28 +0000 (21:22 +0200)]
Merge pull request #429 from miniduikboot/fix/style

5 years agoFix warnings in Impostor.Benchmarks
js6pak [Mon, 5 Jul 2021 19:13:56 +0000 (21:13 +0200)]
Fix warnings in Impostor.Benchmarks

5 years agoUse var instead of explicit type
miniduikboot [Mon, 5 Jul 2021 18:14:05 +0000 (20:14 +0200)]
Use var instead of explicit type

Also prevent future issues

5 years agoRemove unnecessary imports
miniduikboot [Mon, 5 Jul 2021 18:13:26 +0000 (20:13 +0200)]
Remove unnecessary imports

And add rule to prevent future issues

5 years agoMerge pull request #428 from miniduikboot/fix/colortype
js6pak [Mon, 5 Jul 2021 18:33:11 +0000 (20:33 +0200)]
Merge pull request #428 from miniduikboot/fix/colortype

Correct ColorType array

5 years agoMerge pull request #427 from miniduikboot/fix/airship-spawn
js6pak [Mon, 5 Jul 2021 18:30:12 +0000 (20:30 +0200)]
Merge pull request #427 from miniduikboot/fix/airship-spawn

Stop cancelling initial Airship spawn SnapTo RPC

5 years agoCorrect ColorType array
miniduikboot [Mon, 5 Jul 2021 18:06:21 +0000 (20:06 +0200)]
Correct ColorType array

When creating this array for the update, I used the wrong array. Oops!
Turns out 5 of these colors aren't actually in the game.

5 years agoStop cancelling initial Airship spawn SnapTo RPC
miniduikboot [Mon, 5 Jul 2021 17:37:19 +0000 (19:37 +0200)]
Stop cancelling initial Airship spawn SnapTo RPC

This is used to hide players that are still selecting their spawn
location. If this is cancelled, players are left standing at the
location they were at when the last meeting was called, which is undesirable.

5 years agoRemove legacy regionInfo patcher
js6pak [Mon, 5 Jul 2021 16:27:59 +0000 (18:27 +0200)]
Remove legacy regionInfo patcher

5 years agoMerge pull request #423 from miniduikboot/feature/2021.6.15
js6pak [Sat, 26 Jun 2021 20:26:07 +0000 (20:26 +0000)]
Merge pull request #423 from miniduikboot/feature/2021.6.15

5 years agoTurn derived properties into getters
miniduikboot [Wed, 23 Jun 2021 18:46:45 +0000 (20:46 +0200)]
Turn derived properties into getters

There is no significant performance difference: while accessing the
getters is slightly slower, this can be balanced against the cost of
setting the property. As this is also cleaner, switch to getters.

5 years agoRefactor Polus meeting room spawning logic
miniduikboot [Sun, 20 Jun 2021 19:44:18 +0000 (21:44 +0200)]
Refactor Polus meeting room spawning logic

Also adjust the constants to the new constants used in game

5 years agoStub implementation of SendQuickChat
miniduikboot [Sun, 20 Jun 2021 13:02:32 +0000 (15:02 +0200)]
Stub implementation of SendQuickChat

Proper API will follow later

5 years agoRemove the table from the Readme
miniduikboot [Sun, 20 Jun 2021 11:40:59 +0000 (13:40 +0200)]
Remove the table from the Readme

As Among Us is getting a lot of small network-compatible bugfix releases
nowadays, it doesn't seem necessary to maintain the table anymore.
Release notes state clearly which network version is supported and there
is limited support for old versions anyway.

5 years agoSimplify the setup instructions
miniduikboot [Sun, 20 Jun 2021 11:37:04 +0000 (13:37 +0200)]
Simplify the setup instructions

The patcher has not been updated to support the new JSON format and is
less necessary now that JSON is used for the region file format.

The website also now has deeplinking support, so we point Android/iOS
people to the website now too as that is more convenient compared to the
previous methods.

5 years agoMeeting changes
js6pak [Thu, 17 Jun 2021 17:13:16 +0000 (19:13 +0200)]
Meeting changes

5 years agoAnnouncements protocol changes
js6pak [Thu, 17 Jun 2021 12:10:38 +0000 (14:10 +0200)]
Announcements protocol changes

5 years agoUpdate GameKeywords
js6pak [Thu, 17 Jun 2021 11:46:11 +0000 (13:46 +0200)]
Update GameKeywords

5 years agoAdjust Polus Meeting table spawn locations
miniduikboot [Tue, 15 Jun 2021 18:37:04 +0000 (20:37 +0200)]
Adjust Polus Meeting table spawn locations

5 years agoAdd new colors
miniduikboot [Mon, 14 Jun 2021 18:14:19 +0000 (20:14 +0200)]
Add new colors

5 years agoUpdate supported GameVersions
miniduikboot [Mon, 14 Jun 2021 19:59:09 +0000 (21:59 +0200)]
Update supported GameVersions

5 years agoBump version because new net version
miniduikboot [Tue, 15 Jun 2021 19:12:53 +0000 (21:12 +0200)]
Bump version because new net version

5 years agoAdded player voted event (#181)
Mr-VIT [Fri, 11 Jun 2021 12:33:38 +0000 (15:33 +0300)]
Added player voted event (#181)

Co-authored-by: AeonLucid <aeonlucid@outlook.com>
Co-authored-by: js6pak <kubastaron@hotmail.com>
5 years agoUsing MapData for Tasks (#395)
Minorusama [Thu, 10 Jun 2021 18:54:34 +0000 (20:54 +0200)]
Using MapData for Tasks (#395)

Co-authored-by: John Tran <john.tran.84@live.com.au>
Co-authored-by: js6pak <kubastaron@hotmail.com>
5 years agoMerge pull request #417 from miniduikboot/fix/initialize-color v1.4.0
js6pak [Thu, 10 Jun 2021 18:38:17 +0000 (18:38 +0000)]
Merge pull request #417 from miniduikboot/fix/initialize-color

5 years agoInitialize Color to -1 instead of Red
miniduikboot [Sun, 30 May 2021 16:23:12 +0000 (18:23 +0200)]
Initialize Color to -1 instead of Red

This could lead to an AC disconnect if the host picked red and waited
for other players to rejoin before joining back himself. Before this
commit, the host would SetColor himself to Red, but this would be
flagged as all other players would have been set to Red as enums
initialize to 0 (= Red) by default.

After the host SetColor'd himself, the host will send over the color
array, which initializes player colors to -1. This commit follows AU by
also initializing the color to -1, preventing the AC from flagging the
duplicate colors.

5 years agoFix KeyNotFoundException for nonexistent vents (#413)
miniduikboot [Mon, 17 May 2021 17:13:54 +0000 (19:13 +0200)]
Fix KeyNotFoundException for nonexistent vents (#413)

Some mods add extra vents that don't yet exist, this commit checks if a
given vent exists and if it doesn't, throw an AC violation instead of
disconnecting the player

One downside is that the Enter/ExitVent events are no longer called, but
this would require the vent in that event to become nullable

5 years agoDon't broadcast packets of kicked players
js6pak [Wed, 12 May 2021 16:49:20 +0000 (18:49 +0200)]
Don't broadcast packets of kicked players

5 years agoAdd custom message support (#404)
js6pak [Mon, 10 May 2021 11:08:26 +0000 (11:08 +0000)]
Add custom message support (#404)

5 years agoMerge pull request #389 from Impostor/plugin-info-from-csproj
js6pak [Tue, 27 Apr 2021 17:54:53 +0000 (17:54 +0000)]
Merge pull request #389 from Impostor/plugin-info-from-csproj

5 years agoDeprecate old ImpostorPluginAttribute constructor
js6pak [Tue, 27 Apr 2021 12:58:16 +0000 (14:58 +0200)]
Deprecate old ImpostorPluginAttribute constructor

5 years agoMerge pull request #400 from HarmHoog/skin-hat-types
js6pak [Mon, 26 Apr 2021 12:48:16 +0000 (12:48 +0000)]
Merge pull request #400 from HarmHoog/skin-hat-types

5 years ago[skip ci] Rename dev branch in Running-the-server.md (#402)
cchudant [Mon, 26 Apr 2021 12:47:03 +0000 (14:47 +0200)]
[skip ci] Rename dev branch in Running-the-server.md (#402)

5 years agoRemove ownership check from InnerVoteBanSystem
js6pak [Wed, 21 Apr 2021 20:01:01 +0000 (22:01 +0200)]
Remove ownership check from InnerVoteBanSystem

5 years agoAdd new skin types
Harm Hoogeveen [Tue, 20 Apr 2021 12:24:06 +0000 (14:24 +0200)]
Add new skin types

5 years agoAdd new hat types
Harm Hoogeveen [Tue, 20 Apr 2021 12:23:02 +0000 (14:23 +0200)]
Add new hat types

5 years agoMake it possible to read plugin information from csproj attributes
js6pak [Tue, 13 Apr 2021 21:13:52 +0000 (23:13 +0200)]
Make it possible to read plugin information from csproj attributes

5 years agoAllow plugins to set dependencies, softdependencies and loadbefores to determine...
Harm Hoogeveen [Tue, 13 Apr 2021 20:28:24 +0000 (22:28 +0200)]
Allow plugins to set dependencies, softdependencies and loadbefores to determine the load order of plugins (#385)

Co-authored-by: js6pak <kubastaron@hotmail.com>
5 years agoBeforeGameCreatedEvent (#266)
Minorusama [Tue, 13 Apr 2021 16:29:44 +0000 (18:29 +0200)]
BeforeGameCreatedEvent (#266)

Co-authored-by: js6pak <kubastaron@hotmail.com>
5 years agoMerge pull request #387 from Impostor/murder-check-ping
js6pak [Tue, 13 Apr 2021 15:17:20 +0000 (15:17 +0000)]
Merge pull request #387 from Impostor/murder-check-ping

Add simple ping toleration to murder player check

5 years agoSet configuration's BasePath to CurrentDirectory
js6pak [Tue, 13 Apr 2021 09:28:48 +0000 (11:28 +0200)]
Set configuration's BasePath to CurrentDirectory

5 years agoAdd GameHostChange event (#277)
112batman [Mon, 12 Apr 2021 20:53:14 +0000 (22:53 +0200)]
Add GameHostChange event (#277)

5 years agoAdd simple ping toleration to murder player check
js6pak [Sun, 11 Apr 2021 14:05:08 +0000 (16:05 +0200)]
Add simple ping toleration to murder player check

5 years agoUse actual disconnect message in ClientBase#DisconnectAsync
js6pak [Sun, 11 Apr 2021 12:57:29 +0000 (14:57 +0200)]
Use actual disconnect message in ClientBase#DisconnectAsync

5 years agoMerge pull request #377 from Impostor/airship
js6pak [Sun, 11 Apr 2021 12:04:31 +0000 (12:04 +0000)]
Merge pull request #377 from Impostor/airship

5 years agoFix xmldoc warnings
js6pak [Sat, 10 Apr 2021 21:00:34 +0000 (23:00 +0200)]
Fix xmldoc warnings

5 years agoBump version
js6pak [Sat, 10 Apr 2021 20:55:40 +0000 (22:55 +0200)]
Bump version

5 years agoMake vent data initialization much cleaner
js6pak [Sat, 10 Apr 2021 15:14:17 +0000 (17:14 +0200)]
Make vent data initialization much cleaner

5 years agoSpecify enum values for Platforms
js6pak [Fri, 9 Apr 2021 21:51:50 +0000 (23:51 +0200)]
Specify enum values for Platforms

5 years agoMake PlayerVentEvent an actual PlayerVentEvent
js6pak [Tue, 6 Apr 2021 19:10:53 +0000 (21:10 +0200)]
Make PlayerVentEvent an actual PlayerVentEvent

5 years agoUpdate example plugin
js6pak [Tue, 6 Apr 2021 18:24:20 +0000 (20:24 +0200)]
Update example plugin

5 years agoRework vent api
js6pak [Tue, 6 Apr 2021 18:23:44 +0000 (20:23 +0200)]
Rework vent api

5 years agoAllow Android Versions (#375)
John Tran [Tue, 6 Apr 2021 18:50:50 +0000 (04:50 +1000)]
Allow Android Versions (#375)

Co-authored-by: js6pak <kubastaron@hotmail.com>
Co-authored-by: John Tran <john.tran.84@live.com.au>