Hotfix 0.15.23.0
This commit is contained in:
@@ -323,9 +323,10 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 1: //NetEntityEvent.Type.Control
|
case 1: //NetEntityEvent.Type.Control
|
||||||
|
bool myCharacter = msg.ReadBoolean();
|
||||||
byte ownerID = msg.ReadByte();
|
byte ownerID = msg.ReadByte();
|
||||||
ResetNetState();
|
ResetNetState();
|
||||||
if (ownerID == GameMain.Client.ID)
|
if (myCharacter)
|
||||||
{
|
{
|
||||||
if (controlled != null)
|
if (controlled != null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<RootNamespace>Barotrauma</RootNamespace>
|
<RootNamespace>Barotrauma</RootNamespace>
|
||||||
<Authors>FakeFish, Undertow Games</Authors>
|
<Authors>FakeFish, Undertow Games</Authors>
|
||||||
<Product>Barotrauma</Product>
|
<Product>Barotrauma</Product>
|
||||||
<Version>0.15.22.1</Version>
|
<Version>0.15.23.0</Version>
|
||||||
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
<AssemblyName>Barotrauma</AssemblyName>
|
<AssemblyName>Barotrauma</AssemblyName>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<RootNamespace>Barotrauma</RootNamespace>
|
<RootNamespace>Barotrauma</RootNamespace>
|
||||||
<Authors>FakeFish, Undertow Games</Authors>
|
<Authors>FakeFish, Undertow Games</Authors>
|
||||||
<Product>Barotrauma</Product>
|
<Product>Barotrauma</Product>
|
||||||
<Version>0.15.22.1</Version>
|
<Version>0.15.23.0</Version>
|
||||||
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
<AssemblyName>Barotrauma</AssemblyName>
|
<AssemblyName>Barotrauma</AssemblyName>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<RootNamespace>Barotrauma</RootNamespace>
|
<RootNamespace>Barotrauma</RootNamespace>
|
||||||
<Authors>FakeFish, Undertow Games</Authors>
|
<Authors>FakeFish, Undertow Games</Authors>
|
||||||
<Product>Barotrauma</Product>
|
<Product>Barotrauma</Product>
|
||||||
<Version>0.15.22.1</Version>
|
<Version>0.15.23.0</Version>
|
||||||
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
<AssemblyName>Barotrauma</AssemblyName>
|
<AssemblyName>Barotrauma</AssemblyName>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<RootNamespace>Barotrauma</RootNamespace>
|
<RootNamespace>Barotrauma</RootNamespace>
|
||||||
<Authors>FakeFish, Undertow Games</Authors>
|
<Authors>FakeFish, Undertow Games</Authors>
|
||||||
<Product>Barotrauma Dedicated Server</Product>
|
<Product>Barotrauma Dedicated Server</Product>
|
||||||
<Version>0.15.22.1</Version>
|
<Version>0.15.23.0</Version>
|
||||||
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
<AssemblyName>DedicatedServer</AssemblyName>
|
<AssemblyName>DedicatedServer</AssemblyName>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<RootNamespace>Barotrauma</RootNamespace>
|
<RootNamespace>Barotrauma</RootNamespace>
|
||||||
<Authors>FakeFish, Undertow Games</Authors>
|
<Authors>FakeFish, Undertow Games</Authors>
|
||||||
<Product>Barotrauma Dedicated Server</Product>
|
<Product>Barotrauma Dedicated Server</Product>
|
||||||
<Version>0.15.22.1</Version>
|
<Version>0.15.23.0</Version>
|
||||||
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
<AssemblyName>DedicatedServer</AssemblyName>
|
<AssemblyName>DedicatedServer</AssemblyName>
|
||||||
|
|||||||
@@ -321,6 +321,7 @@ namespace Barotrauma
|
|||||||
case NetEntityEvent.Type.Control:
|
case NetEntityEvent.Type.Control:
|
||||||
msg.WriteRangedInteger(1, min, max);
|
msg.WriteRangedInteger(1, min, max);
|
||||||
Client owner = (Client)extraData[1];
|
Client owner = (Client)extraData[1];
|
||||||
|
msg.Write(owner == c && owner.Character == this);
|
||||||
msg.Write(owner != null && owner.Character == this && GameMain.Server.ConnectedClients.Contains(owner) ? owner.ID : (byte)0);
|
msg.Write(owner != null && owner.Character == this && GameMain.Server.ConnectedClients.Contains(owner) ? owner.ID : (byte)0);
|
||||||
break;
|
break;
|
||||||
case NetEntityEvent.Type.Status:
|
case NetEntityEvent.Type.Status:
|
||||||
|
|||||||
@@ -220,6 +220,7 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
RespawnManager.ReduceCharacterSkills(characterInfo);
|
RespawnManager.ReduceCharacterSkills(characterInfo);
|
||||||
characterInfo.RemoveSavedStatValuesOnDeath();
|
characterInfo.RemoveSavedStatValuesOnDeath();
|
||||||
|
characterInfo.CauseOfDeath = null;
|
||||||
}
|
}
|
||||||
c.CharacterInfo = characterInfo;
|
c.CharacterInfo = characterInfo;
|
||||||
characterData.RemoveAll(cd => cd.MatchesClient(c));
|
characterData.RemoveAll(cd => cd.MatchesClient(c));
|
||||||
|
|||||||
@@ -1337,9 +1337,9 @@ namespace Barotrauma.Networking
|
|||||||
break;
|
break;
|
||||||
case ClientPermissions.ManageRound:
|
case ClientPermissions.ManageRound:
|
||||||
bool end = inc.ReadBoolean();
|
bool end = inc.ReadBoolean();
|
||||||
bool save = inc.ReadBoolean();
|
|
||||||
if (end)
|
if (end)
|
||||||
{
|
{
|
||||||
|
bool save = inc.ReadBoolean();
|
||||||
if (gameStarted)
|
if (gameStarted)
|
||||||
{
|
{
|
||||||
Log("Client \"" + GameServer.ClientLogName(sender) + "\" ended the round.", ServerLog.MessageType.ServerMessage);
|
Log("Client \"" + GameServer.ClientLogName(sender) + "\" ended the round.", ServerLog.MessageType.ServerMessage);
|
||||||
|
|||||||
@@ -399,6 +399,7 @@ namespace Barotrauma.Networking
|
|||||||
{
|
{
|
||||||
ReduceCharacterSkills(characterInfos[i]);
|
ReduceCharacterSkills(characterInfos[i]);
|
||||||
characterInfos[i].RemoveSavedStatValuesOnDeath();
|
characterInfos[i].RemoveSavedStatValuesOnDeath();
|
||||||
|
characterInfos[i].CauseOfDeath = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
string subName = inc.ReadString();
|
string subName = inc.ReadString();
|
||||||
SubmarineInfo subInfo = SubmarineInfo.SavedSubmarines.FirstOrDefault(s => s.Name == subName);
|
SubmarineInfo subInfo = SubmarineInfo.SavedSubmarines.FirstOrDefault(s => s.Name == subName);
|
||||||
if (GameMain.GameSession?.Campaign is MultiPlayerCampaign campaign && campaign.CanPurchaseSub(subInfo))
|
if (GameMain.GameSession?.Campaign is MultiPlayerCampaign campaign && (campaign.CanPurchaseSub(subInfo) || GameMain.GameSession.IsSubmarineOwned(subInfo)))
|
||||||
{
|
{
|
||||||
StartSubmarineVote(subInfo, voteType, sender);
|
StartSubmarineVote(subInfo, voteType, sender);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<RootNamespace>Barotrauma</RootNamespace>
|
<RootNamespace>Barotrauma</RootNamespace>
|
||||||
<Authors>FakeFish, Undertow Games</Authors>
|
<Authors>FakeFish, Undertow Games</Authors>
|
||||||
<Product>Barotrauma Dedicated Server</Product>
|
<Product>Barotrauma Dedicated Server</Product>
|
||||||
<Version>0.15.22.1</Version>
|
<Version>0.15.23.0</Version>
|
||||||
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
<Copyright>Copyright © FakeFish 2018-2020</Copyright>
|
||||||
<Platforms>AnyCPU;x64</Platforms>
|
<Platforms>AnyCPU;x64</Platforms>
|
||||||
<AssemblyName>DedicatedServer</AssemblyName>
|
<AssemblyName>DedicatedServer</AssemblyName>
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------------
|
||||||
|
v0.15.23.0
|
||||||
|
---------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Fixed inability to switch subs in multiplayer campaign, unless you opt to switch at the same time as you purchase the new sub.
|
||||||
|
- Fixed server not loading the previous save, but continuing from where you left off if you return to the server lobby without saving and try to continue.
|
||||||
|
- Fixed characters who've died and respawned during a round getting a penalty to their skills again on the following round.
|
||||||
|
- Attempt to fix clients sometimes gaining control of an incorrect character in the multiplayer campaign.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------
|
||||||
v0.15.22.1
|
v0.15.22.1
|
||||||
---------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user