Fixed ServerList getting proper server address.
This commit is contained in:
@@ -86,7 +86,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -86,7 +86,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -86,7 +86,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -86,7 +86,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -86,7 +86,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -86,7 +86,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
@@ -84,7 +84,7 @@ public class ServerList extends WritablePacket
|
||||
{
|
||||
try
|
||||
{
|
||||
_ip = InetAddress.getByName(client.getIp()).getAddress();
|
||||
_ip = InetAddress.getByName(gsi.getServerAddress(InetAddress.getByName(client.getIp()))).getAddress();
|
||||
}
|
||||
catch (UnknownHostException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user