Custom Client Troubleshooting flowchart.

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

Moderator: Phades

1John5vs7
Posts: 14
Joined: Mon Oct 31, 2011 2:25 am

Re: Custom Client Troubleshooting flowchart.

Post by 1John5vs7 »

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?
EvilAsh
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Post by EvilAsh »

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?
mvgulik
Posts: 4090
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Troubleshooting flowchart.

Post by mvgulik »

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
EvilAsh
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Post by EvilAsh »

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.
mvgulik
Posts: 4090
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Troubleshooting flowchart.

Post by mvgulik »

... :? , 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
EvilAsh
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Post by EvilAsh »

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

Re: Custom Client Troubleshooting flowchart.

Post by EvilAsh »

Also, not too concerned that you have my name :lol:
mvgulik
Posts: 4090
Joined: Fri May 21, 2010 2:29 am

Re: Custom Client Troubleshooting flowchart.

Post by mvgulik »

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.)
EvilAsh
Posts: 27
Joined: Tue Dec 01, 2009 1:48 pm

Re: Custom Client Troubleshooting flowchart.

Post by EvilAsh »

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.

Post by EvilAsh »

So this is as far as I get huh?

Return to “The Wizards' Tower”