Commit Graph
752 Commits
Author SHA1 Message Date
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
miniduikboot fd2d457e6b Clean up stuff for old versions 2023-10-25 21:37:38 +02:00
miniduikboot 5c31df8c05 Cleanup code 2023-10-25 21:37:29 +02:00
miniduikboot b0901507f7 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
2023-10-25 21:28:03 +02:00
miniduikboot 29a55d704b 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
2023-10-25 21:26:40 +02:00
miniduikbootandjs6pak 2129725744 Improve cross-compatibility (#534)
Co-authored-by: js6pak <me@6pak.dev>
2023-10-06 14:52:16 +02:00
miniduikboot 7b341bea14 Update docker container to I.Http 0.5
Also update the documentation to deal with the new default port and
clarify some stuff
v1.8.4
2023-07-15 13:46:58 +02:00
miniduikboot af371c92ef add another version code to the pile 2023-07-15 12:34:29 +02:00
miniduikboot ff49e895ec make stylecop happy v1.8.3 2023-06-15 22:38:03 +02:00
miniduikboot 0e9fb4b41c Bump version to 1.8.3 2023-06-15 22:38:03 +02:00
miniduikboot 4f00bf1ee7 Add GameVersion for 2023.6.13
There seem to be no functional changes
2023-06-15 22:38:03 +02:00
miniduikboot a519c0daed 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.
2023-06-01 19:39:46 +02:00
yukieiji 1f98102e5a update:config 2023-05-23 21:39:09 +02:00
yukieiji 93fdc83ce7 refactor:ConnectionTimeout 2023-05-23 21:39:09 +02:00
yukieiji e29552ca28 refactor:SpawnInTime to config 2023-05-23 21:39:09 +02:00
yukieiji 8eee7f888f feat:timeout config 2023-05-23 21:39:09 +02:00
miniduikboot a77e4e17c2 Bump version to 1.8.2 v1.8.2 2023-04-09 16:54:38 +02:00
danbudworthmead 9ebf5cd8e9 Adding missing 2023.3.13 version for android 2023-03-30 21:29:37 +02:00
miniduikboot 4ffca69714 Update to 2023.3.28 2023-03-28 20:15:11 +02:00
miniduikboot dede1c5b09 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
2023-03-08 20:46:29 +01:00
miniduikboot b31e3bf1e3 Add network version for 2023.2.28 v1.8.1 2023-03-02 20:04:40 +01:00
miniduikboot c9bb8323f4 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
2023-02-14 23:29:25 +01:00
miniduikboot 1521410e79 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.
2023-02-14 23:26:32 +01:00
miniduikboot be8e4a49f0 Merge pull request #512 from Impostor/fix/docs-n-docker
Various improvements to the Dockerfile and the docs
2023-02-14 23:26:09 +01:00
miniduikboot 631e994759 Prepare for 1.8.1
This will be a release focused on setup convenience
2023-01-30 00:06:18 +01:00
miniduikboot c06916084e Rewrite Running-the-server.md
- Multi-server is removed from the intro
- Add Impostor.Http stuff
- Stress the importance of public ip
2023-01-30 00:04:55 +01:00
miniduikboot c9c044365a 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
2023-01-29 22:58:30 +01:00
miniduikboot 5ab4bf70da Dockerfile: [[ -> [
[[ is a bash extension and is not supported by posix sh, throwing an
error. [ is supported and does enough
2023-01-29 22:57:05 +01:00
bkloosterboer 58c8bdec26 systemd template and instructions (#508)
* systemd template and instructions

* clarify some intsructions, change a few systemd paramters

* change targets
2023-01-22 23:29:22 +01:00
miniduikboot 5e080b290b 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.
2023-01-20 15:25:22 +01:00
miniduikbootandjs6pak 97390a0882 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>
2023-01-20 15:23:33 +01:00
js6pak 23499929fb Merge pull request #504 from Impostor/fix/dead-impostor-sabotage v1.8.0 2023-01-07 15:47:41 +01:00
js6pak 579f618ac6 Merge pull request #503 from Impostor/fix-game-start 2023-01-07 15:47:28 +01:00
miniduikboot 6962d01dbd 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
2023-01-07 14:11:06 +01:00
js6pak 0fb6556365 Ignore the role in InnerPlayerInfo.Deserialize 2023-01-06 19:52:07 +01:00
js6pak 9cd5de6a36 Expose RoleType in api 2023-01-06 19:38:33 +01:00
js6pak 94015d475d Mark the game as started only after all players get their role 2023-01-06 19:38:19 +01:00
js6pak 11bb2dec47 Merge pull request #501 from Impostor/feature/2022.12.8 2022-12-29 18:02:15 +01:00
js6pak e7d745608e Fix xmldoc warnings 2022-12-29 17:49:15 +01:00
js6pak a1120f8468 Fix CrossplayFlags 2022-12-20 15:25:19 +01:00
js6pak 1fa684d843 Fix formatting 2022-12-20 14:36:31 +01:00