mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
habboclient: windows: Wait for the connection to take place
* It takes a while for the connection to begin, and that's needed for G-WinMem.exe
This commit is contained in:
parent
5f35430768
commit
b48d1ddd1e
@ -224,12 +224,13 @@ public class WindowsHabboClient extends HabboClient {
|
|||||||
System.out.println("Getting Win Possibilities");
|
System.out.println("Getting Win Possibilities");
|
||||||
List<byte[]> result = new ArrayList<>();
|
List<byte[]> result = new ArrayList<>();
|
||||||
try {
|
try {
|
||||||
|
Thread.sleep(3000);
|
||||||
ArrayList<String> possibleData = readPossibleBytes();
|
ArrayList<String> possibleData = readPossibleBytes();
|
||||||
|
|
||||||
for (String possibleHexStr : possibleData) {
|
for (String possibleHexStr : possibleData) {
|
||||||
result.add(DatatypeConverter.parseHexBinary(possibleHexStr));
|
result.add(DatatypeConverter.parseHexBinary(possibleHexStr));
|
||||||
}
|
}
|
||||||
} catch (IOException | URISyntaxException e) {
|
} catch (IOException | URISyntaxException | InterruptedException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user