Custom client by Latikai, building on Ender's client

Forum for game modifications and custom clients.

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

Postby Kandarim » Mon Nov 21, 2016 7:55 pm

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.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5318
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby lachlaan » Mon Nov 21, 2016 9:07 pm

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.
Exactly 6.022 x 10^23 worth of Lach molecules.
lachlaan
Customer
 
Posts: 2042
Joined: Tue Mar 12, 2013 3:11 pm

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

Postby honeymilk » Mon Nov 21, 2016 10:01 pm

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?
User avatar
honeymilk
Customer
 
Posts: 249
Joined: Sun Dec 28, 2014 4:51 am

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

Postby Kandarim » Mon Nov 21, 2016 10:57 pm

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.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5318
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby reeper_aut » Tue Nov 22, 2016 1:09 am

seems only to be a thing with .jnlp not .jar
reeper_aut
 
Posts: 345
Joined: Thu Aug 30, 2012 5:07 pm

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

Postby gospodi » Tue Nov 22, 2016 2:22 am

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)
User avatar
gospodi
 
Posts: 23
Joined: Tue Jan 01, 2013 4:47 pm

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

Postby Rifmaster » Tue Nov 22, 2016 6:18 pm

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?
User avatar
Rifmaster
 
Posts: 1696
Joined: Fri Jun 27, 2014 9:13 am
Location: Chernobyl

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

Postby lachlaan » Tue Nov 22, 2016 6:43 pm

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.
Exactly 6.022 x 10^23 worth of Lach molecules.
lachlaan
Customer
 
Posts: 2042
Joined: Tue Mar 12, 2013 3:11 pm

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

Postby Kandarim » Tue Nov 22, 2016 10:14 pm

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).
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5318
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby lachlaan » Tue Nov 22, 2016 10:20 pm

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.
Exactly 6.022 x 10^23 worth of Lach molecules.
lachlaan
Customer
 
Posts: 2042
Joined: Tue Mar 12, 2013 3:11 pm

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 2 guests

cron