diff --git a/G-Earth/src/main/java/gearth/protocol/HConnection.java b/G-Earth/src/main/java/gearth/protocol/HConnection.java index 6c9018f..9ecc63b 100644 --- a/G-Earth/src/main/java/gearth/protocol/HConnection.java +++ b/G-Earth/src/main/java/gearth/protocol/HConnection.java @@ -118,7 +118,7 @@ public class HConnection { private static volatile ConnectionInfoOverrider connectionInfoOverrider; public static volatile boolean DECRYPTPACKETS = true; - public static volatile boolean DEBUG = true; + public static volatile boolean DEBUG = false; private static final HostReplacer hostsReplacer = HostReplacerFactory.get(); private volatile boolean hostRedirected = false; diff --git a/G-Earth/src/main/java/gearth/protocol/memory/habboclient/windows/WindowsHabboClient.java b/G-Earth/src/main/java/gearth/protocol/memory/habboclient/windows/WindowsHabboClient.java index 3976725..8801fef 100644 --- a/G-Earth/src/main/java/gearth/protocol/memory/habboclient/windows/WindowsHabboClient.java +++ b/G-Earth/src/main/java/gearth/protocol/memory/habboclient/windows/WindowsHabboClient.java @@ -80,10 +80,13 @@ public class WindowsHabboClient extends HabboClient { } String g_winmem = new File(this.getClass().getProtectionDomain().getCodeSource().getLocation().toURI()).getParent() + "\\G-Mem.exe"; + String clientHost = hConnection.isRawIpMode() ? "null" : hConnection.getClientHost(); + String clientPort = hConnection.isRawIpMode() ? "null" : hConnection.getClientPort() + ""; + if (!useCache) - pb = new ProcessBuilder(g_winmem, hConnection.getClientHost() , Integer.toString(hConnection.getClientPort())); + pb = new ProcessBuilder(g_winmem, clientHost , clientPort); else - pb = new ProcessBuilder(g_winmem, hConnection.getClientHost() , Integer.toString(hConnection.getClientPort()), "-c" + joiner.toString()); + pb = new ProcessBuilder(g_winmem, clientHost , clientPort, "-c" + joiner.toString()); Process p = pb.start(); diff --git a/G-Earth/src/main/resources/build/windows/32bit/G-Mem.exe b/G-Earth/src/main/resources/build/windows/32bit/G-Mem.exe index 69677c4..2ebf4a3 100644 Binary files a/G-Earth/src/main/resources/build/windows/32bit/G-Mem.exe and b/G-Earth/src/main/resources/build/windows/32bit/G-Mem.exe differ diff --git a/G-Earth/src/main/resources/build/windows/64bit/G-Mem.exe b/G-Earth/src/main/resources/build/windows/64bit/G-Mem.exe index 0c7892e..524cbb2 100644 Binary files a/G-Earth/src/main/resources/build/windows/64bit/G-Mem.exe and b/G-Earth/src/main/resources/build/windows/64bit/G-Mem.exe differ