wilson95816 4 Share Posted December 17, 2018 I've had this for weeks I think it's since I changed my internet modem router thingy Tried uninstalling java/reinstalling, tried turning firewall off, nothing works PLEASE HELP Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share Posted December 17, 2018 Run the launcher through command prompt and see if there are any errors that pop up. Link to comment Share on other sites More sharing options...
wilson95816 4 Author Share Posted December 17, 2018 Can you talk me through that? I tried using some instructions online but they didn't work Link to comment Share on other sites More sharing options...
wilson95816 4 Author Share Posted December 17, 2018 Okay I managed it No change unfortunately Link to comment Share on other sites More sharing options...
wilson95816 4 Author Share Posted December 17, 2018 java.net.SocketException: Address family not supported by protocol family: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) at org.dreambot.launcher.LauncherMethods.getChangelogText(LauncherMethods.java:74) at org.dreambot.ui.DreamLauncherUI.initComponents(DreamLauncherUI.java:166) at org.dreambot.ui.DreamLauncherUI.<init>(DreamLauncherUI.java:52) at org.dreambot.launcher.DreamLauncher.generateLauncherUI(DreamLauncher.java:26) at org.dreambot.launcher.DreamLauncher.main(DreamLauncher.java:17) Downloading latest client version... java.net.SocketException: Address family not supported by protocol family: connect at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.dreambot.launcher.LauncherMethods$1.run(LauncherMethods.java:254) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketException: Address family not supported by protocol family: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at java.net.URLConnection.getHeaderFieldLong(Unknown Source) at java.net.URLConnection.getContentLengthLong(Unknown Source) at java.net.URLConnection.getContentLength(Unknown Source) at org.dreambot.launcher.LauncherMethods$1.run(LauncherMethods.java:253) ... 5 more Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share Posted December 17, 2018 3 minutes ago, wilson95816 said: Can you talk me through that? I tried using some instructions online but they didn't work I'm assuming you're on windows. So what you'll do is 1. hold the windows key and push r, in the little window that pops up type cmd and hit enter, this opens command prompt 2. navigate to where your launcher is, for ease of access I'd say just move it to your desktop real quick, then type cd %userprofile%\Desktop (then hit enter) 3. type java -jar DBLauncher.jar That's how you launch the jar with command prompt (or any jar, really) But instead, I want to see if we can fix this in one step instead of going through that and then you telling me an error that I'm pretty sure I already know will come up. So replace step 3 in that with: java -Djava.net.preferIPv4Stack=true -jar %userprofile%\Desktop\DBLauncher.jar let me know if it works. Link to comment Share on other sites More sharing options...
wilson95816 4 Author Share Posted December 17, 2018 It worked! At least as far as opening the client, now it won't let me log in - I type in my name/password and the box just disappears and nothing loads Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share Posted December 17, 2018 You might have to do the same for the client.jar but try um Open command prompt (windows start button, type cmd in search) Click top left of command prompt, click properties, enable quick edit mode Copy: setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true Right click on command prompt, should paste Hit enter. That easy! Link to comment Share on other sites More sharing options...
wilson95816 4 Author Share Posted December 17, 2018 Done that, thanks, I typed my password in etc and it says successfully logged in but then I get this Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share Posted December 17, 2018 Dang. So you've still got the same issue. Okay we'll switch up the command a bit. You'll do: java -Djava.net.preferIPv4Stack=true -Xmx512M -jar -Xbootclasspath/p:%userprofile%\Dreambot\BotData\client.jar %userprofile%\Dreambot\BotData\client.jar At the moment, I believe you may have to run that to launch the client each time. So what you'll want to do is make a bat file with that command in it, so to launch the lcient in the future you'd just launch the bat file. So put that command into a notepad text file, then do save as-> put the file type as all files, then for the name just put in clientLaunch.bat save it to desktop or wherever, then double click that and you should be good to go. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.