Amber Client

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

Re: Custom client for Haven & Hearth - Amber

Postby romovs » Mon Aug 31, 2015 9:25 am

impendio wrote:would it be possible to get a mirror of the mac version? thanks in advance.

Hithroc wrote:And linux!


Done
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Custom client for Haven & Hearth - Amber

Postby xzeratustrax » Mon Aug 31, 2015 9:33 am

Catched FileNotFoundException: /media/data/amber-31.08.15-linux-amd64/gluegen-rt-natives-linux-i586.jar (Нет такого файла или каталога), while addNativeJarLibsImpl(classFromJavaJar class com.jogamp.common.os.Platform, classJarURI jar:file:/media/data/amber-31.08.15-linux-amd64/gluegen-rt.jar!/com/jogamp/common/os/Platform.class, nativeJarBaseName gluegen-rt-natives-linux-i586.jar): [ file:/media/data/amber-31.08.15-linux-amd64/gluegen-rt.jar -> file:/media/data/amber-31.08.15-linux-amd64/ ] + gluegen-rt-natives-linux-i586.jar -> slim: jar:file:/media/data/amber-31.08.15-linux-amd64/gluegen-rt-natives-linux-i586.jar!/
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: Can't load library: /media/data/amber-31.08.15-linux-amd64/libgluegen-rt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
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:73)
at haven.HavenPanel.<init>(HavenPanel.java:83)
at haven.MainFrame.<init>(MainFrame.java:195)
at haven.MainFrame.main2(MainFrame.java:393)
at haven.MainFrame.access$100(MainFrame.java:36)
at haven.MainFrame$7.run(MainFrame.java:436)
at java.lang.Thread.run(Thread.java:745)


ubuntu 14.04
xzeratustrax
 
Posts: 4
Joined: Sun Aug 30, 2015 8:34 pm

Re: Custom client for Haven & Hearth - Amber

Postby romovs » Mon Aug 31, 2015 9:41 am

xzeratustrax wrote:Catched FileNotFoundException: /media/data/amber-31.08.15-linux-amd64/gluegen-rt-natives-linux-i586.jar (Нет такого файла или каталога), while addNativeJarLibsImpl(classFromJavaJar class com.jogamp.common.os.Platform, classJarURI jar:file:/media/data/amber-31.08.15-linux-amd64/gluegen-rt.jar!/com/jogamp/common/os/Platform.class, nativeJarBaseName gluegen-rt-natives-linux-i586.jar): [ file:/media/data/amber-31.08.15-linux-amd64/gluegen-rt.jar -> file:/media/data/amber-31.08.15-linux-amd64/ ] + gluegen-rt-natives-linux-i586.jar -> slim: jar:file:/media/data/amber-31.08.15-linux-amd64/gluegen-rt-natives-linux-i586.jar!/
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: Can't load library: /media/data/amber-31.08.15-linux-amd64/libgluegen-rt.so
...


Uploaded a version for 32-bit.
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Custom client for Haven & Hearth - Amber

Postby GladiatoR » Mon Aug 31, 2015 9:41 am

What is the next TODO list? Hope fonts will be in.
User avatar
GladiatoR
 
Posts: 213
Joined: Fri Aug 28, 2015 11:04 pm

Re: Custom client for Haven & Hearth - Amber

Postby romovs » Mon Aug 31, 2015 9:42 am

GladiatoR wrote:What is the next TODO list? Hope fonts will be in.

Yeah fonts are definitely in. I'll post a roadmap later today.
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Custom client for Haven & Hearth - Amber

Postby Arcanist » Mon Aug 31, 2015 9:45 am

getting error with the stitch tool

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String ind
ex out of range: -1
at java.lang.String.substring(Unknown Source)
at Stitch.main(Stitch.java:32)

D:\HnH2\amber-31.08.15-windows-i586\map>pause
Press any key to continue . . .
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: Custom client for Haven & Hearth - Amber

Postby romovs » Mon Aug 31, 2015 9:54 am

Arcanist wrote:getting error with the stitch tool

Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String ind
ex out of range: -1
at java.lang.String.substring(Unknown Source)
at Stitch.main(Stitch.java:32)

D:\HnH2\amber-31.08.15-windows-i586\map>pause
Press any key to continue . . .


Make sure there no other images/files in session folder. It just dumbly loads all files from the folder and expects that there will be only tile_*_*.png files.
Will fix this eventually when I do a proper map management soft.
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Custom client for Haven & Hearth - Amber

Postby xzeratustrax » Mon Aug 31, 2015 10:38 am

one more Exception in thread "Haven UI thread" java.lang.ArrayIndexOutOfBoundsException: 35
at haven.GLState$Applier.apply(GLState.java:516)
at haven.GOut.apply(GOut.java:256)
at haven.TexGL.render(TexGL.java:334)
at haven.Tex.crender(Tex.java:90)
at haven.Tex.crender(Tex.java:95)
at haven.GOut.image(GOut.java:175)
at haven.MenuGrid.draw(MenuGrid.java:186)
at haven.Widget.draw(Widget.java:614)
at haven.Widget.draw(Widget.java:619)
at haven.Widget.draw(Widget.java:614)
at haven.Widget.draw(Widget.java:619)
at haven.GameUI.draw(GameUI.java:583)
at haven.Widget.draw(Widget.java:614)
at haven.Widget.draw(Widget.java:619)
at haven.RootWidget.draw(RootWidget.java:65)
at haven.UI.draw(UI.java:140)
at haven.HavenPanel.rootdraw(HavenPanel.java:289)
at haven.HavenPanel.run(HavenPanel.java:521)
at java.lang.Thread.run(Thread.java:745)
xzeratustrax
 
Posts: 4
Joined: Sun Aug 30, 2015 8:34 pm

Re: Custom client for Haven & Hearth - Amber

Postby romovs » Mon Aug 31, 2015 10:45 am

xzeratustrax wrote:one more Exception in thread "Haven UI thread" java.lang.ArrayIndexOutOfBoundsException: 35
at haven.GLState$Applier.apply(GLState.java:516)
at haven.GOut.apply(GOut.java:256)
at haven.TexGL.render(TexGL.java:334)
at haven.Tex.crender(Tex.java:90)
at haven.Tex.crender(Tex.java:95)
at haven.GOut.image(GOut.java:175)
at haven.MenuGrid.draw(MenuGrid.java:186)
at haven.Widget.draw(Widget.java:614)
at haven.Widget.draw(Widget.java:619)
at haven.Widget.draw(Widget.java:614)
at haven.Widget.draw(Widget.java:619)
at haven.GameUI.draw(GameUI.java:583)
at haven.Widget.draw(Widget.java:614)
at haven.Widget.draw(Widget.java:619)
at haven.RootWidget.draw(RootWidget.java:65)
at haven.UI.draw(UI.java:140)
at haven.HavenPanel.rootdraw(HavenPanel.java:289)
at haven.HavenPanel.run(HavenPanel.java:521)
at java.lang.Thread.run(Thread.java:745)


That's not specifically related to this client. It's an issue in the orginal client's code.
I'll try to dig into it later.
If you have a way to reproduce this error reliably each time, please tell.
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Custom client for Haven & Hearth - Amber

Postby bartkammel » Mon Aug 31, 2015 12:34 pm

blazsword wrote:Would anyone be able to make a tutorial for the Stitchin utility? Like how to use the cmd to get too it and what not else. Maybe by picture step by step?

1.Put stitch.class in amber-30.08.15-windows-amd64\map
2.Create new .txt file and paste:
java -cp . Stitch "2015-08-30 13.14.49" "Map.png"
Instead of 2015-08-30 13.14.49 paste name of folder with your tiles.
3.Save as Stitch.bat
4.Run
User avatar
bartkammel
 
Posts: 83
Joined: Sat May 11, 2013 10:46 pm

PreviousNext

Return to The Wizards' Tower

Who is online

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