HWID system adjustments.
This commit is contained in:
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -691,7 +691,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -729,7 +729,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -729,7 +729,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -729,7 +729,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -735,7 +735,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -735,7 +735,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -735,7 +735,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -745,7 +745,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -766,7 +766,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -776,7 +776,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -780,7 +780,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -698,7 +698,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -697,7 +697,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -708,7 +708,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -708,7 +708,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -718,7 +718,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -718,7 +718,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -718,7 +718,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -726,7 +726,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -704,7 +704,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -763,7 +763,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -777,7 +777,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@@ -293,32 +293,6 @@ public class ClientHardwareInfoHolder
|
|||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
if (obj instanceof ClientHardwareInfoHolder)
|
return (obj instanceof ClientHardwareInfoHolder) && _macAddress.equals(((ClientHardwareInfoHolder) obj).getMacAddress());
|
||||||
{
|
|
||||||
final ClientHardwareInfoHolder info = (ClientHardwareInfoHolder) obj;
|
|
||||||
if ((_macAddress.equals(info.getMacAddress())) && //
|
|
||||||
(_windowsPlatformId == info.getWindowsPlatformId()) && //
|
|
||||||
(_windowsMajorVersion == info.getWindowsMajorVersion()) && //
|
|
||||||
(_windowsMinorVersion == info.getWindowsMinorVersion()) && //
|
|
||||||
(_windowsBuildNumber == info.getWindowsBuildNumber()) && //
|
|
||||||
(_directxVersion == info.getDirectxVersion()) && //
|
|
||||||
(_directxRevision == info.getDirectxRevision()) && //
|
|
||||||
(_cpuName.equals(info.getCpuName())) && //
|
|
||||||
(_cpuSpeed == info.getCpuSpeed()) && //
|
|
||||||
(_cpuCoreCount == info.getCpuCoreCount()) && //
|
|
||||||
(_vgaCount == info.getVgaCount()) && //
|
|
||||||
(_vgaPcxSpeed == info.getVgaPcxSpeed()) && //
|
|
||||||
(_physMemorySlot1 == info.getPhysMemorySlot1()) && //
|
|
||||||
(_physMemorySlot2 == info.getPhysMemorySlot2()) && //
|
|
||||||
(_physMemorySlot3 == info.getPhysMemorySlot3()) && //
|
|
||||||
(_videoMemory == info.getVideoMemory()) && //
|
|
||||||
(_vgaVersion == info.getVgaVersion()) && //
|
|
||||||
(_vgaName.equals(info.getVgaName())) && //
|
|
||||||
(_vgaDriverVersion.equals(info.getVgaDriverVersion())))
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -777,7 +777,7 @@ public class EnterWorld implements IClientIncomingPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count >= Config.MAX_PLAYERS_PER_HWID)
|
if (count > Config.MAX_PLAYERS_PER_HWID)
|
||||||
{
|
{
|
||||||
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
Disconnection.of(client).defaultSequence(LeaveWorld.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user