Fixed ServerList getting proper server address.
This commit is contained in:
parent
15d0e1dc0f
commit
5be9c567be
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user