867 Commits
Author SHA1 Message Date
js6pak 9b58f2b36d Source generate map data and enums (#548) 2023-12-16 23:36:02 +01:00
miniduikboot 6e03e90bd0 Merge pull request #553 from Impostor/feature/2023.11.28
Add new network version for 2023.11.28
2023-12-03 23:27:05 +01:00
js6pak f281639763 Make GameLogicComponent methods async 2023-12-03 22:59:05 +01:00
miniduikboot 87fd177e39 more comments sent over discord pm's 2023-12-03 22:55:05 +01:00
miniduikboot fa024b70c5 Process comments 2023-12-03 22:49:13 +01:00
miniduikboot 2c12623a65 Get rid of Rpc02 SyncSettings
This RPC is still sent by clients, but no longer used by clients. As the
server can get the info it wants from LogicOptions instead, remove this
RPC to prevent people from using it accidentally
2023-11-29 22:14:59 +01:00
miniduikboot e303065688 Process comments 2023-11-28 23:09:39 +01:00
miniduikboot 92920357f8 Add new network version for 2023.11.28
Did a quick run through, didn't seem too broken
2023-11-28 20:25:38 +01:00
miniduikboot 5edb409388 Implement event to detect game option changes
This can be triggered by both RPC 02 and a(nother) plugin calling
SyncSettings to force certain settings on the host. Users of this API
could cause this event to recurse by calling SyncSettingsAsync inside an
event handler, so we prevent such reasonable foreseeable misuse.
2023-11-26 23:16:11 +01:00
miniduikboot 66763a4066 Merge pull request #549 from Impostor/feature/2023.10.24
Feature/2023.10.24
2023-11-17 22:08:18 +01:00
js6pak 132b7f0b87 Revert the rpc debug log 2023-11-17 20:05:50 +01:00
miniduikboot c592bd1a9e 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
2023-11-16 17:55:50 +01:00
js6pak 104237b439 Fix host authoritive murder 2023-11-12 21:33:54 +01:00
miniduikboot acb923e3a3 Fix SA1629 violations 2023-11-10 19:11:46 +01:00
miniduikboot d4342dee35 Actually implement CNT serialization 2023-11-10 19:11:46 +01:00
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