Page 199 of 237

Re: Custom client by Latikai, building on Ender's client

PostPosted: Mon Nov 21, 2016 7:55 pm
by Kandarim
Coveredwagon wrote:lachlaan your fix worked, thank you.

Best regards,
John


Do note that this will stop you from getting client updates. That's not a big hassle (considering the current update speed for the client), but please keep it in mind if you ever get the "client outdated" error message when logging in.

Re: Custom client by Latikai, building on Ender's client

PostPosted: Mon Nov 21, 2016 9:07 pm
by lachlaan
Can jalapeno files be set up so they have a secondary repo they can go to? Tho i'm not sure where else we could host your files in case of GitHub weirdness.

Re: Custom client by Latikai, building on Ender's client

PostPosted: Mon Nov 21, 2016 10:01 pm
by honeymilk
lachlaan wrote:Probably GitHub is down, since both ender's and latikai clients are failing to connect to the GitHub files.

You can fix this by using a batch file to start the game. Simply create a file called stuff.bat inside the folder C:\users\youruser\salem\bin\ , edit it and add in the lines :
For ender's client -
Code: Select all
javaw.exe -Dhaven.resurl="http://game.salemthegame.com/res/" -Dhaven.defserv="game.salemthegame.com" -Xms512m -Xmx512m -jar salem.jar -P



For latikai's client -
Code: Select all
javaw.exe -Dhaven.resurl="http://game.salemthegame.com/res/" -Dhaven.defserv="game.salemthegame.com" -Xms512m -Xmx512m -jar lsalem.jar -P


Thank you sir, this worked.

The .jar couldnt be downloaded for me, but to get the client updates again once it all works well, can I just simply delete the file and be all good again?

Re: Custom client by Latikai, building on Ender's client

PostPosted: Mon Nov 21, 2016 10:57 pm
by Kandarim
honeymilk wrote:The .jar couldnt be downloaded for me, but to get the client updates again once it all works well, can I just simply delete the file and be all good again?


You can just leave the file where it is. To get client updates you run the jnlp (you can redownload in the first post if necessary); to run the client without checking for updates you simply run that .bat you just created.

lachlaan wrote:Can jalapeno files be set up so they have a secondary repo they can go to? Tho i'm not sure where else we could host your files in case of GitHub weirdness.


as far as I am aware, that is not possible. Funny thing is, that's why there is the additional level of indirection (the jnlp gets the updater jar which gets the client and runs it). Weird thing is, github is not admitting it had any kind of outage this morning. My github pages is far below the recommend limits (there are no hard limits), and in any case i am supposed to get a polite email if i ever pass what they think is appropriate.

Re: Custom client by Latikai, building on Ender's client

PostPosted: Tue Nov 22, 2016 1:09 am
by reeper_aut
seems only to be a thing with .jnlp not .jar

Re: Custom client by Latikai, building on Ender's client

PostPosted: Tue Nov 22, 2016 2:22 am
by gospodi
i have this problem all day wen will the GitHub be ok agen i paly useng .jar and it works for now
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://DonnEssime.github.io/Salem/updater.jnlp
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

and i get this error wen i use .jnlp
java.io.FileNotFoundException: http://DonnEssime.github.io/Salem/updater.jnlp
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.checkUpdateAvailable(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.isUpdateAvailable(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Re: Custom client by Latikai, building on Ender's client

PostPosted: Tue Nov 22, 2016 6:18 pm
by Rifmaster
So I got Windows 10 now, and when I download the jar file I get an option to pick with which program i should open the updater with. Which should I pick?

Re: Custom client by Latikai, building on Ender's client

PostPosted: Tue Nov 22, 2016 6:43 pm
by lachlaan
Rifmaster wrote:So I got Windows 10 now, and when I download the jar file I get an option to pick with which program i should open the updater with. Which should I pick?


Perhaps install java.

Re: Custom client by Latikai, building on Ender's client

PostPosted: Tue Nov 22, 2016 10:14 pm
by Kandarim
Rifmaster wrote:So I got Windows 10 now, and when I download the jar file I get an option to pick with which program i should open the updater with. Which should I pick?


A correct java *should* link the relevant program to jnlp and jar files.
If you do have to do this manually (or ever want to override which java version opens something), .jar files should be opened with java.exe (C:\program files\Java\<version>\bin\java.exe) while jnlp files should be opened with java webstart (javaws.exe, (C:\program files\Java\<version>\bin\javaws.exe).

Re: Custom client by Latikai, building on Ender's client

PostPosted: Tue Nov 22, 2016 10:20 pm
by lachlaan
By coincidence I also recently installed windows 10, and once I installed Java it worked right off the bat. It did however cause some conflicts with whatever Jogl stuff it used.