fix: Fixes tick count calculcations (#1366)
This commit is contained in:
parent
0645251ec7
commit
dda55889f6
9 changed files with 23 additions and 35 deletions
|
|
@ -36,7 +36,7 @@ namespace Server.Network
|
|||
public static void QueryCompactShardStats(NetState state, CircularBufferReader reader, int packetLength)
|
||||
{
|
||||
state.SendCompactShardStats(
|
||||
(uint)(Core.TickCount / 1000),
|
||||
(uint)(Core.Uptime / 1000),
|
||||
TcpServer.Instances.Count - 1, // Shame if you modify this!
|
||||
World.Items.Count,
|
||||
World.Mobiles.Count,
|
||||
|
|
@ -49,7 +49,7 @@ namespace Server.Network
|
|||
const long ticksInHour = 1000 * 60 * 60;
|
||||
state.SendExtendedShardStats(
|
||||
ServerList.ServerName,
|
||||
(int)(Core.TickCount / ticksInHour),
|
||||
(int)(Core.Uptime / ticksInHour),
|
||||
TcpServer.Instances.Count - 1, // Shame if you modify this!
|
||||
World.Items.Count,
|
||||
World.Mobiles.Count,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue