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 vekenti » Sat Jan 07, 2017 4:49 am

Hello, I have ran into a problem running the custom client. The default game client runs fine and dandy, but for some reason both Ender's client and this one crash as soon as I try to enter the world/create new character.

I am on Windows 10, Java 8.

This is the crash log the game first gives me when it crashes

java.lang.RuntimeException: haven.GOut$GLInvalidEnumException: GL Error: 1280 (invalid enumerant)
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:420)
at haven.HavenPanel.run(HavenPanel.java:455)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.GOut$GLInvalidEnumException: GL Error: 1280 (invalid enumerant)
at haven.GOut.glexcfor(GOut.java:96)
at haven.GOut.checkerr(GOut.java:107)
at haven.GLState$Applier.apply(GLState.java:530)
at haven.GOut.apply(GOut.java:203)
at haven.PView.draw(PView.java:242)
at haven.MapView.draw(MapView.java:1043)
at haven.GameUI.drawFiltered(GameUI.java:658)
at haven.GameUI.draw(GameUI.java:666)
at haven.Widget.draw(Widget.java:514)
at haven.Widget.draw(Widget.java:519)
at haven.RootWidget.draw(RootWidget.java:182)
at haven.UI.draw(UI.java:165)
at haven.HavenPanel.redraw(HavenPanel.java:298)
at haven.HavenPanel$1.display(HavenPanel.java:94)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


This is the log that I found in my Salem folder

java.io.FileNotFoundException: later.txt (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at haven.Translate.load(Translate.java:52)
at haven.Translate.<init>(Translate.java:26)
at haven.Translate.<clinit>(Translate.java:21)
at haven.Text$Foundry.render(Text.java:157)
at haven.Text$Foundry.render(Text.java:174)
at haven.Button.<init>(Button.java:67)
at haven.LoginScreen$1.<init>(LoginScreen.java:72)
at haven.LoginScreen.<init>(LoginScreen.java:72)
at haven.Bootstrap.run(Bootstrap.java:71)
at haven.MainFrame.run(MainFrame.java:291)
at java.lang.Thread.run(Unknown Source)
vekenti
 
Posts: 1
Joined: Thu Jul 02, 2015 5:37 pm

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

Postby Kandarim » Sat Jan 07, 2017 7:00 pm

that log is irrelevant to the issue;
Both Ender's and mine require a slightly higher OpenGL version than the default client - it seems likely that your graphics card is not up to par or is lacking the relevant drivers.

what you can try to do is to enter
Code: Select all
:gl meshmode d

in the character selection screen. This might resolve the issue at the cost of additional CPU load.
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 Dodo » Wed Jan 11, 2017 3:42 pm

Is there a way to remove the brazier radius circle? Or any other for example scarecrow.
Dodo
 
Posts: 39
Joined: Thu Nov 10, 2016 12:51 pm

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

Postby Kandarim » Wed Jan 11, 2017 3:46 pm

Yes, but it's slightly fiddly.
You can edit item_radius.json in ~/Salem/bin/lsalem.jar, which will show:
Code: Select all
{
  "gfx/terobjs/minesupport"   : {
   "radius": 100,
   "scol"  : "8866BB66"
  },
  "gfx/terobjs/minersupport"  : {
   "radius": 200,
   "scol"  : "8866BB66"
  },
  "gfx/terobjs/mineexit"      : {
   "radius": 100,
   "scol"  : "8866BB66"
  },
  "gfx/terobjs/torchpost"     : {
   "radius": 250,
   "scol"  : "88ff2233",
   "ecol"  : "ccbb22"
  },
  "gfx/terobjs/scarecroweb"     : {
   "radius": 250,
   "scol"  : "88aaff44",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/scarecrowcs"     : {
   "radius": 250,
   "scol"  : "88aaff44",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/scarecrowbm"     : {
   "radius": 250,
   "scol"  : "88aaff44",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/cheapscarecrow"     : {
   "radius": 60,
   "scol"  : "88aaff44",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/brazier"       : {
   "radius": 121,
   "scol"  : "88ff2233",
   "ecol"  : "ffaa44"
  },
  "gfx/terobjs/babybrazier"       : {
   "radius": 60,
   "scol"  : "88ff2233",
   "ecol"  : "ff2233"
  },
  "gfx/terobjs/butterflyhouse": {
   "radius": 121,
   "scol"  : "883322ff",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/skep"          : {
   "radius": 100,
   "scol"  : "883322ff",
   "ecol"  : "22bb44"
  },
  "gfx/borka/body"          : {
   "radius": 20,
   "scol"  : "443322ff",
   "ecol"  : "ff2233"
  },
  "gfx/borka/body_2"          : {
   "radius": 30,
   "scol"  : "443322ff",
   "ecol"  : "ff2233"
  }
}

Simply delete the lines you don't want.
I'm honestly not sure, but it might just work by copying the file to your ~/Salem/ and changing it there (similar to radar.xml), but I can't for the life of me remember whether that was implemented for item radii, too.
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 Dodo » Wed Jan 11, 2017 4:06 pm

Kandarim wrote:Yes, but it's slightly fiddly.
You can edit item_radius.json in ~/Salem/bin/lsalem.jar, which will show:
Code: Select all
{
  "gfx/terobjs/minesupport"   : {
   "radius": 100,
   "scol"  : "8866BB66"
  },
  "gfx/terobjs/minersupport"  : {
   "radius": 200,
   "scol"  : "8866BB66"
  },
  "gfx/terobjs/mineexit"      : {
   "radius": 100,
   "scol"  : "8866BB66"
  },
  "gfx/terobjs/torchpost"     : {
   "radius": 250,
   "scol"  : "88ff2233",
   "ecol"  : "ccbb22"
  },
  "gfx/terobjs/scarecroweb"     : {
   "radius": 250,
   "scol"  : "88aaff44",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/scarecrowcs"     : {
   "radius": 250,
   "scol"  : "88aaff44",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/scarecrowbm"     : {
   "radius": 250,
   "scol"  : "88aaff44",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/cheapscarecrow"     : {
   "radius": 60,
   "scol"  : "88aaff44",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/brazier"       : {
   "radius": 121,
   "scol"  : "88ff2233",
   "ecol"  : "ffaa44"
  },
  "gfx/terobjs/babybrazier"       : {
   "radius": 60,
   "scol"  : "88ff2233",
   "ecol"  : "ff2233"
  },
  "gfx/terobjs/butterflyhouse": {
   "radius": 121,
   "scol"  : "883322ff",
   "ecol"  : "aaff44"
  },
  "gfx/terobjs/skep"          : {
   "radius": 100,
   "scol"  : "883322ff",
   "ecol"  : "22bb44"
  },
  "gfx/borka/body"          : {
   "radius": 20,
   "scol"  : "443322ff",
   "ecol"  : "ff2233"
  },
  "gfx/borka/body_2"          : {
   "radius": 30,
   "scol"  : "443322ff",
   "ecol"  : "ff2233"
  }
}

Simply delete the lines you don't want.
I'm honestly not sure, but it might just work by copying the file to your ~/Salem/ and changing it there (similar to radar.xml), but I can't for the life of me remember whether that was implemented for item radii, too.


This is way out of my league, perhaps something you could add to your client in the future? :p
Dodo
 
Posts: 39
Joined: Thu Nov 10, 2016 12:51 pm

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

Postby JolliB » Thu Jan 19, 2017 12:40 pm

Reinstalled OS and reinstalled Latikai client but now my animal icons for bears, deers, beavers, and others are just shapes and no longer the actual animal icons. Was this intentional or did i do something wrong?
JolliB
 
Posts: 21
Joined: Sat Aug 06, 2016 7:13 am

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

Postby Kandarim » Thu Jan 19, 2017 1:46 pm

This is because you've lost your personal radar.xml file. Upon deletion of ~/Salem/radar.xml (or for that matter, the entire folder), the custom client will load the stored default radar.xml file from its .jar. This default radar has changed from time to time, mainly after introduction of the animal icons (which i strongly dislike, because they are not very handy to glimpse what kind of animal it is/are all too dark).

You can change the default behaviour by opening ~/Salem/radar.xml (something like C:\Users\JolliB\Salem\radar.xml) in notepad, and looking for the lines
Code: Select all
<group name="darkness animals" show="true" showicon="false" shape="down" tooltip="true" color="#ffff00">
[...]
<group name="animals" show="true" showicon="false" shape="diamond" color="#ffff00">


note that showicon defaults to false. If you swap this out in both lines for showicon="true" and restart your radar/client, it will give all animals the icon again by default.
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 raidmufasa » Tue Jan 24, 2017 6:02 pm

Just updated my 1070 drivers through nvidia geforce and can't run the client anymore,
Gets this error when i click on my character
java.lang.RuntimeException: haven.GOut$GLInvalidEnumException: GL Error: 1280 (invalid enumerant)
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:420)
at haven.HavenPanel.run(HavenPanel.java:455)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.GOut$GLInvalidEnumException: GL Error: 1280 (invalid enumerant)
at haven.GOut.glexcfor(GOut.java:96)
at haven.GOut.checkerr(GOut.java:107)
at haven.Light$LightList.apply(Light.java:217)
at haven.GLState$Applier.apply(GLState.java:494)
at haven.GOut.apply(GOut.java:203)
at haven.PView.draw(PView.java:242)
at haven.MapView.draw(MapView.java:1043)
at haven.GameUI.drawFiltered(GameUI.java:658)
at haven.GameUI.draw(GameUI.java:666)
at haven.Widget.draw(Widget.java:514)
at haven.Widget.draw(Widget.java:519)
at haven.RootWidget.draw(RootWidget.java:182)
at haven.UI.draw(UI.java:165)
at haven.HavenPanel.redraw(HavenPanel.java:298)
at haven.HavenPanel$1.display(HavenPanel.java:94)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Normal client from salems main page works fine tho
User avatar
raidmufasa
 
Posts: 61
Joined: Fri Feb 27, 2015 7:08 pm

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

Postby Kandarim » Tue Jan 24, 2017 7:05 pm

weird, that (custom client not, but default client works) should only happen on older GPUs (as the custom client requires a slightly higher OpenGL support). Ender's requires the same as default, so that might be a stopgap for now. No real clue what causes this. If you really want to run my client, you can use :gl meshmode d to force software mode.
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 raidmufasa » Tue Jan 24, 2017 9:30 pm

Kandarim wrote:weird, that (custom client not, but default client works) should only happen on older GPUs (as the custom client requires a slightly higher OpenGL support). Ender's requires the same as default, so that might be a stopgap for now. No real clue what causes this. If you really want to run my client, you can use :gl meshmode d to force software mode.


Tried to do launch in sofware mode but no success,
Ender client gives the same error when i click on my charachter
java.lang.RuntimeException: haven.GOut$GLInvalidEnumException: GL Error: 1280 (invalid enumerant)
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:418)
at haven.HavenPanel.run(HavenPanel.java:451)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.GOut$GLInvalidEnumException: GL Error: 1280 (invalid enumerant)
at haven.GOut.glexcfor(GOut.java:96)
at haven.GOut.checkerr(GOut.java:107)
at haven.GLState$Applier.apply(GLState.java:530)
at haven.GOut.apply(GOut.java:203)
at haven.PView.draw(PView.java:242)
at haven.MapView.draw(MapView.java:1039)
at haven.Widget.draw(Widget.java:514)
at haven.Widget.draw(Widget.java:519)
at haven.GameUI.draw(GameUI.java:598)
at haven.Widget.draw(Widget.java:514)
at haven.Widget.draw(Widget.java:519)
at haven.RootWidget.draw(RootWidget.java:88)
at haven.UI.draw(UI.java:163)
at haven.HavenPanel.redraw(HavenPanel.java:296)
at haven.HavenPanel$1.display(HavenPanel.java:92)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Edit: Rollbacked my driver, works fine now
Last edited by raidmufasa on Tue Jan 24, 2017 9:48 pm, edited 1 time in total.
User avatar
raidmufasa
 
Posts: 61
Joined: Fri Feb 27, 2015 7:08 pm

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 2 guests