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 Lazun123 » Mon Feb 01, 2016 7:00 am

is there a video on how to install this? im having a bit of touble DL on my comp.
WWJCD
User avatar
Lazun123
 
Posts: 543
Joined: Thu May 29, 2014 7:52 am

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

Postby Kandarim » Mon Feb 01, 2016 9:26 am

you click this link
If you have Java 8 or higher installed you also need this post because oracle sucks.
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: 5321
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby Lazun123 » Wed Feb 03, 2016 1:06 am

java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\Lazun123`Pacoman55\Salem\bin\gluegen-rt.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:551)
at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:96)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:414)
at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:388)
at com.jogamp.common.os.Platform$1.run(Platform.java:203)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.common.os.Platform.<clinit>(Platform.java:173)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:82)
at haven.HavenPanel.stdcaps(HavenPanel.java:60)
at haven.HavenPanel.<init>(HavenPanel.java:74)
at haven.HavenPanel.<init>(HavenPanel.java:84)
at haven.MainFrame.<init>(MainFrame.java:218)
at haven.MainFrame.main2(MainFrame.java:415)
at haven.MainFrame.access$100(MainFrame.java:63)
at haven.MainFrame$8.run(MainFrame.java:480)
at java.lang.Thread.run(Unknown Source)

this is the error i keep getting
WWJCD
User avatar
Lazun123
 
Posts: 543
Joined: Thu May 29, 2014 7:52 am

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

Postby Kandarim » Wed Feb 03, 2016 9:28 am

delete gluegen-rt-* and jogl-all-* from ~/Salem/bin/ and try the launcher again.
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: 5321
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby KruskDaMangled » Thu Feb 04, 2016 3:42 am

So my crafting menu is gone on this client. For a while I could see some of the decorative parts of the upper part of the draggable menu in the bottom right corner, but not click on them. Now I can't even see those.
KruskDaMangled
 
Posts: 562
Joined: Fri Mar 01, 2013 10:11 pm

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

Postby Kandarim » Thu Feb 04, 2016 10:22 am

your windows.conf is messed up. Try editing it and removing the line of your crafting menu.
If you can't find it, deleting ~/Salem/windows.conf will result in a reset of all UI settings (i.e. window positions). This will be your last option, but it's a guaranteed fix.
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: 5321
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby KruskDaMangled » Thu Feb 04, 2016 6:53 pm

Thanks, that was just the trick. I was at wits end.
KruskDaMangled
 
Posts: 562
Joined: Fri Mar 01, 2013 10:11 pm

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

Postby insomnia » Fri Feb 05, 2016 10:50 pm

Ok I'm a little confused as to why this is behaving like this.

When using the updater.jlnp/jar the client works just fine, but when I try to start it from lsalem.jar in the bin folder the client will start, but server will refuse connections.
I have added the github security exception to java and I'm using jdk-8u72 with all environment variables set up.

When I build the client myself from the repository I will get the gluegen-rt.dll error when trying lsalem.jar . I've deleted glugen-rt.jar and jogl-all.jar from the build folder only to now get a JNI error on JVM Launcher without any further details.

I do not want to go through the updater everytime I start the game and preferably I'd like to use the self built jar. Am I doing anything wrong? I can't figure it out for the life of me.
insomnia
 
Posts: 8
Joined: Sun Jan 31, 2016 11:54 pm

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

Postby Kandarim » Fri Feb 05, 2016 11:16 pm

several things going wrong here. I'll just go through them one-by-one.

1) connection refused when simply using lsalem.jar

You need to pass the server to the client as a command line argument. If you're at the point were you want to compile it yourself, you probably don't need me to explain the following line:
Code: Select all
java -jar lsalem.jar -U http://game.salemthegame.com/res/ game.salemthegame.com

Notably, there's also a -d switch to the .jar that will show debugging information (OpenGL stuff and actual memory usage). See also first bit of the first post of this thread.

2) issues with gluegen-rt and jogl-all
OpenGL in java is a *****. For obvious reasons, gluegen-rt.jar and jogl-all.jar are required by the client as it references classes from those libraries. However, both of those libraries are also heavily dependent on native code. You can find the libraries I use for the jnlp linked here. Download the correct versions (note the 32-64 bit distinction: needs to match your Java runtime!). That should fix things on that regard.
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: 5321
Joined: Mon Jan 21, 2013 4:18 pm

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

Postby insomnia » Sat Feb 06, 2016 3:52 am

That's solved my problems, thank you.
Native libraries in java weirdness aside, I now feel kinda stupid for not noticing the server path parameter in the command.
insomnia
 
Posts: 8
Joined: Sun Jan 31, 2016 11:54 pm

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 338 guests