Custom Client Troubleshooting flowchart.

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Custom Client Troubleshooting flowchart.

Postby 1John5vs7 » Tue Jan 03, 2012 4:44 am

Misgony wrote:I don't get any of this when I use the original client this appear:

Code: Select all
java.lang.RuntimeException: Delayed error in resource gfx/tiles/gold/gold (v1), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
   at haven.Resource.checkerr(Resource.java:1058)
   at haven.Resource.layer(Resource.java:941)
   at haven.MCache.loadset(MCache.java:139)
   at haven.MCache.tilemap(MCache.java:433)
   at haven.Session$RWorker.handlerel(Session.java:372)
   at haven.Session$RWorker.getrel(Session.java:383)
   at haven.Session$RWorker.run(Session.java:451)
Caused by: haven.Resource$LoadException: Load error in resource gfx/tiles/gold/gold(v1), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
   at haven.Resource$Loader.handle(Resource.java:401)
   at haven.Resource$Loader.run(Resource.java:375)
   at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
   at sun.security.ssl.Alerts.getSSLException(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
   at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
   at haven.Resource$HttpSource.get(Resource.java:330)
   at haven.Resource$TeeSource.get(Resource.java:225)
   at haven.Resource$Loader.handle(Resource.java:395)
   ... 2 more
Caused by: java.lang.RuntimeException: Could not generate DH keypair
   at sun.security.ssl.DHCrypt.<init>(Unknown Source)
   at sun.security.ssl.ClientHandshaker.serverKeyExchange(Unknown Source)
   at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
   at sun.security.ssl.Handshaker.processLoop(Unknown Source)
   at sun.security.ssl.Handshaker.process_record(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
   at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
   ... 11 more
Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
   atcom.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120


And when I use Enders client I get black screen after I loggin.

Please Help!!! Thanks.

Me too! Did you get an answer?
1John5vs7
 
Posts: 14
Joined: Mon Oct 31, 2011 2:25 am

Re: Custom Client Troubleshooting flowchart.

Postby EvilAsh » Tue Feb 14, 2012 9:25 pm

This is my newest issue.
start "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res pause is exactly how my run.bat looks.
I get this error:
Windows cannot find '-Xms256'. make sure you typed the name correctly, and then try again.
Any clues?
EvilAsh
 
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Postby mvgulik » Tue Feb 14, 2012 10:33 pm

Mmm, That "Windows cannot find '-Xms256'" always mystified me.

But that "pause" is definitively in the wrong spot. It should (in your case) be at the start of a new line.
Something like:
Code: Select all
start "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
pause
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Troubleshooting flowchart.

Postby EvilAsh » Tue Feb 14, 2012 11:06 pm

Well I changed the commands so that pause is on it's own line but it still comes back with '-xms256m' not found. Don't know what to do and I haven't done coding in a long long time outside some basic c++ or html.
EvilAsh
 
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Postby mvgulik » Tue Feb 14, 2012 11:53 pm

... :? , O well, new (HnH, Forum, Computer, ... erm) user ...

Lets add ' -Djava.library.path="C:\Games\Haven and Hearth" ' to that batch file of yours.
Obviously you need to change that path with the location were 'you' have dropped your HnH client files.

This would be the general result, by approximation of course.
Code: Select all
start "C:\Program Files (x86)\Java\jre6\bin\java.exe" -Djava.library.path="<censored>" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
pause


---

Erm1: Ender client topic suddenly missing a lot of pages. ... oops.
Erm2: That 'start' with that 'pause' is not going to work as intended.
- Ditch that 'start' part.
Code: Select all
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Djava.library.path="<censored>" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
pause
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Troubleshooting flowchart.

Postby EvilAsh » Wed Feb 15, 2012 12:32 am

Image
This is what I get now
EvilAsh
 
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Postby EvilAsh » Wed Feb 15, 2012 12:43 am

Also, not too concerned that you have my name :lol:
EvilAsh
 
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Postby mvgulik » Wed Feb 15, 2012 8:22 am

Things I see here ...
1) Your giving a path setting a file spec. -> "...\autohaven.jnlp"
2) If your trying to run the default client directly from the game server (autohaven.jnlp), you should use javaws.exe instead of java.exe. (javaws -> 'Java Web Start' launcher.)
3) Install Ender client files in there own, and there by clean, folder. Using you default 'download' folder is asking for problems.
4) For later. Make a copy of the Ender configuration file 'highlight.conf', and name it 'highlight.cfg'.

---

It seems also that your trying to start a 64bit app with the java 32bit laughter. (but I don't have a 64bit system, so I could be wrong.)
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Troubleshooting flowchart.

Postby EvilAsh » Thu Feb 16, 2012 1:56 pm

I did everything you asked but I still keep receiving errors. I changed the file path to the other java I have installed(probably the 64 bit version) and I am still recieving the same issue that I was receiving before. :|
EvilAsh
 
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Postby EvilAsh » Fri Feb 17, 2012 1:10 am

So this is as far as I get huh?
EvilAsh
 
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 3 guests