mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 11:39:41 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7bb7d2178b | ||
|
|
39b7d626dc | ||
|
|
116bb3cda4 | ||
|
|
8fe5c2205e | ||
|
|
a418e1f15a | ||
|
|
a7cff4aef1 |
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<VersionPrefix>1.7.2</VersionPrefix>
|
||||
<VersionPrefix>1.7.3</VersionPrefix>
|
||||
<VersionSuffix>dev</VersionSuffix>
|
||||
<EnforceCodeStyleInBuild Condition="$(MSBuildProjectName)!='Hazel'">true</EnforceCodeStyleInBuild>
|
||||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
|
||||
|
||||
@@ -8,5 +8,8 @@ namespace Impostor.Api.Innersloth
|
||||
Skeld = 1,
|
||||
MiraHQ = 2,
|
||||
Polus = 4,
|
||||
Airship = 16,
|
||||
|
||||
// 8 is taken by Dleks
|
||||
}
|
||||
}
|
||||
@@ -24,7 +24,7 @@ namespace Impostor.Api.Innersloth.Maps
|
||||
new PolusVent(this, PolusVent.Ids.Laboratory, new Vector2(32.963f, -9.526f), right: PolusVent.Ids.Lava),
|
||||
new PolusVent(this, PolusVent.Ids.Lava, new Vector2(30.907f, -11.86f), left: PolusVent.Ids.Laboratory, right: PolusVent.Ids.Admin),
|
||||
new PolusVent(this, PolusVent.Ids.Storage, new Vector2(22f, -12.19f), left: PolusVent.Ids.Communications, right: PolusVent.Ids.Office),
|
||||
new PolusVent(this, PolusVent.Ids.RightStabilizer, new Vector2(24.02f, -8.39f), left: PolusVent.Ids.LeftStabilizer),
|
||||
new PolusVent(this, PolusVent.Ids.RightStabilizer, new Vector2(23.72f, -7.82f), left: PolusVent.Ids.LeftStabilizer),
|
||||
new PolusVent(this, PolusVent.Ids.LeftStabilizer, new Vector2(9.64f, -7.72f), left: PolusVent.Ids.RightStabilizer),
|
||||
new PolusVent(this, PolusVent.Ids.OutsideAdmin, new Vector2(18.93f, -24.85f), right: PolusVent.Ids.Admin),
|
||||
};
|
||||
|
||||
@@ -37,13 +37,13 @@ namespace Impostor.Server.Net
|
||||
|
||||
public override async ValueTask<bool> ReportCheatAsync(CheatContext context, string message)
|
||||
{
|
||||
_logger.LogWarning("Client {Name} ({Id}) was caught cheating: [{Context}] {Message}", Name, Id, context.Name, message);
|
||||
|
||||
if (!_antiCheatConfig.Enabled)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
_logger.LogWarning("Client {Name} ({Id}) was caught cheating: [{Context}] {Message}", Name, Id, context.Name, message);
|
||||
|
||||
if (_antiCheatConfig.BanIpFromGame)
|
||||
{
|
||||
Player?.Game.BanIp(Connection.EndPoint.Address);
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace Impostor.Server.Net.Manager
|
||||
GameVersion.GetVersion(2022, 2, 2), // 2022.3.29 and 2022.4.19
|
||||
GameVersion.GetVersion(2022, 4, 20), // 2022.6.21 and 2022.7.12
|
||||
GameVersion.GetVersion(2022, 5, 12), // 2022.8.23
|
||||
GameVersion.GetVersion(2022, 7, 25), // 2022.10.18
|
||||
GameVersion.GetVersion(2022, 9, 2), // 2022.10.25
|
||||
};
|
||||
|
||||
private readonly ILogger<ClientManager> _logger;
|
||||
|
||||
Reference in new issue
Block a user