diff --git a/dChatServer/PlayerContainer.cpp b/dChatServer/PlayerContainer.cpp index 86e02ffa..5c11db1b 100644 --- a/dChatServer/PlayerContainer.cpp +++ b/dChatServer/PlayerContainer.cpp @@ -24,9 +24,9 @@ void to_json(json& data, const PlayerData& playerData) { data["muted"] = playerData.GetIsMuted(); auto& zoneID = data["zone_id"]; - zoneID["map_id"] = std::to_string(playerData.zoneID.GetMapID()); - zoneID["instance_id"] = std::to_string(playerData.zoneID.GetInstanceID()); - zoneID["clone_id"] = std::to_string(playerData.zoneID.GetCloneID()); + zoneID["map_id"] = playerData.zoneID.GetMapID(); + zoneID["instance_id"] = playerData.zoneID.GetInstanceID(); + zoneID["clone_id"] = playerData.zoneID.GetCloneID(); } void to_json(json& data, const PlayerContainer& playerContainer) { diff --git a/dNet/AuthPackets.cpp b/dNet/AuthPackets.cpp index eb1d1c8f..bdce0e30 100644 --- a/dNet/AuthPackets.cpp +++ b/dNet/AuthPackets.cpp @@ -82,7 +82,7 @@ void AuthPackets::SendHandshake(dServer* server, const SystemAddress& sysAddr, c if (serverType == ServerType::Auth) bitStream.Write(ServiceId::Auth); else if (serverType == ServerType::World) bitStream.Write(ServiceId::World); else bitStream.Write(ServiceId::General); - bitStream.Write(219818241584); + bitStream.Write(219818307120); server->Send(bitStream, sysAddr, false); }