Skip to content

Commit

Permalink
Merge branch 'master' into net8
Browse files Browse the repository at this point in the history
  • Loading branch information
LtRipley36706 committed Apr 21, 2024
2 parents b51138d + c36f88e commit 6a0937e
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Source/ACE.DatLoader.Tests/ACE.DatLoader.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Source/ACE.Database.Tests/ACE.Database.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<ItemGroup>
<PackageReference Include="Appveyor.TestLogger" Version="2.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Source/ACE.Database/ACE.Database.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.28" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.29" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="6.0.3" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions Source/ACE.Server.Tests/ACE.Server.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<ItemGroup>
<PackageReference Include="Appveyor.TestLogger" Version="2.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions Source/ACE.Server/Command/Handlers/AdminCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,10 @@ public static void HandleTeleportPoi(Session session, params string[] parameters
{
var teleportPOI = DatabaseManager.World.GetCachedPointOfInterest(poi);
if (teleportPOI == null)
{
session.Network.EnqueueSend(new GameMessageSystemChat($"Location: \"{poi}\" not found. Use \"list\" to display all valid locations.", ChatMessageType.Broadcast));
return;
}
var weenie = DatabaseManager.World.GetCachedWeenie(teleportPOI.WeenieClassId);
var portalDest = new Position(weenie.GetPosition(PositionType.Destination));
WorldObject.AdjustDungeon(portalDest);
Expand Down
2 changes: 2 additions & 0 deletions Source/ACE.Server/Command/Handlers/DeveloperCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2214,6 +2214,8 @@ public static void HandleClearPhysicsCaches(Session session, params string[] par
public static void HandleForceGC(Session session, params string[] parameters)
{
GC.Collect();

CommandHandlerHelper.WriteOutputInfo(session, ".NET Garbage Collection forced");
}

[CommandHandler("forcegc2", AccessLevel.Developer, CommandHandlerFlag.None, 0, "Forces .NET Garbage Collection with LOH Compact")]
Expand Down
12 changes: 6 additions & 6 deletions Source/ACE.Server/ServerBuildInfo_Dynamic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ namespace ACE.Server
public static partial class ServerBuildInfo
{
public static string Branch = "master";
public static string Commit = "918aa66d9b05576b341a5f0235a885eccd7e2bfd";
public static string Commit = "07c7e893d63fb6e4237a0fc9c596a0b2aa53588a";

public static string Version = "1.59";
public static string Build = "4518";
public static string Build = "4526";

public static int BuildYear = 2024;
public static int BuildMonth = 04;
public static int BuildDay = 05;
public static int BuildHour = 17;
public static int BuildMinute = 04;
public static int BuildSecond = 55;
public static int BuildDay = 21;
public static int BuildHour = 18;
public static int BuildMinute = 40;
public static int BuildSecond = 34;
}
}

2 changes: 1 addition & 1 deletion Source/ACE.Server/WorldObjects/Creature_Networking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public override ACE.Entity.ObjDesc CalculateObjDesc()
var sortedArmorItems = bottom.Concat(noLayer).Concat(top).ToList();

var clothesAndCloaks = EquippedObjects.Values
.Where(x => (x.ItemType == ItemType.Clothing)) // FootWear & HandWear is included in the ArmorItems above
.Where(x => (x.ItemType == ItemType.Clothing) && (x.CurrentWieldedLocation & (EquipMask.Armor | EquipMask.Extremity)) == 0) // Extremity, Head/Foot/Hands, is included in the ArmorItems above
.OrderBy(x => x.ClothingPriority);

var eo = clothesAndCloaks.Concat(sortedArmorItems).ToList();
Expand Down
2 changes: 1 addition & 1 deletion Source/ACE.Server/WorldObjects/Managers/EmoteManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public float ExecuteEmote(PropertiesEmote emoteSet, PropertiesEmoteAction emote,
{
// ActOnUse delay?
var activationTarget = WorldObject.CurrentLandblock?.GetObject(WorldObject.ActivationTarget);
activationTarget?.OnActivate(WorldObject);
activationTarget?.OnActivate(player ?? WorldObject);
}
else if (WorldObject.GeneratorId.HasValue && WorldObject.GeneratorId > 0) // Fallback to linked generator
{
Expand Down

0 comments on commit 6a0937e

Please sign in to comment.