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 Jan 11, 2016 10:19 pm

i just pushed a fix for stockbin lag - you should now have noticeably less lag when putting stuff in nearly empty stockbins
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 Rele » Wed Jan 13, 2016 8:36 pm

I get this error when I try to start a client up:

Code: Select all
java.lang.RuntimeException: java.lang.NullPointerException
   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: java.lang.NullPointerException
   at haven.Utils.imgsz(Utils.java:54)
   at haven.Button.draw(Button.java:91)
   at haven.SIWidget.draw(SIWidget.java:42)
   at haven.SIWidget.draw(SIWidget.java:48)
   at haven.Widget.draw(Widget.java:514)
   at haven.Widget.draw(Widget.java:519)
   at haven.LoginScreen.draw(LoginScreen.java:383)
   at haven.Widget.draw(Widget.java:514)
   at haven.Widget.draw(Widget.java:519)
   at haven.RootWidget.draw(RootWidget.java:131)
   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)


After this error I can restart the client and it allows me to play normally.
User avatar
Rele
 
Posts: 419
Joined: Sat Aug 18, 2012 1:52 pm
Location: U.S.A

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

Postby dinoxx7xx » Fri Jan 15, 2016 11:29 pm

Code: Select all
java.lang.Error: java.lang.reflect.InvocationTargetException
   at haven.MainFrame.javabughack(MainFrame.java:397)
   at haven.MainFrame.main2(MainFrame.java:410)
   at haven.MainFrame.access$100(MainFrame.java:63)
   at haven.MainFrame$8.run(MainFrame.java:480)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
   at java.awt.EventQueue.invokeAndWait(Unknown Source)
   at java.awt.EventQueue.invokeAndWait(Unknown Source)
   at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
   at haven.MainFrame.javabughack(MainFrame.java:388)
   ... 4 more
Caused by: java.lang.ExceptionInInitializerError
   at haven.MainFrame$5.run(MainFrame.java:391)
   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)
Caused by: java.lang.RuntimeException: Delayed error in resource gfx/hud/buttons/loginu (v4), from local res source
   at haven.Resource.checkerr(Resource.java:1512)
   at haven.Resource.layer(Resource.java:1396)
   at haven.Resource.layer(Resource.java:1405)
   at haven.Resource.loadimg(Resource.java:1522)
   at haven.LoginScreen.<clinit>(LoginScreen.java:294)
   ... 15 more
Caused by: haven.Resource$LoadException: Load error in resource gfx/hud/buttons/loginu(v4), from local res source
   at haven.Resource$Image.<init>(Resource.java:616)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at haven.Resource$LayerConstructor.cons(Resource.java:542)
   at haven.Resource.load(Resource.java:1480)
   at haven.Resource.access$200(Resource.java:40)
   at haven.Resource$Loader.handle(Resource.java:440)
   at haven.Resource$Loader.run(Resource.java:420)
   at java.lang.Thread.run(Unknown Source)
Caused by: javax.imageio.IIOException: Can't create cache file!
   at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at haven.Resource$Image.<init>(Resource.java:614)
   ... 10 more
Caused by: java.nio.file.FileSystemException: C:\Users\USER\AppData\Local\Temp\imageio6581463252980781129.tmp: The file or directory is corrupted and unreadable.

   at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
   at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
   at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
   at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
   at java.nio.file.Files.newByteChannel(Unknown Source)
   at java.nio.file.Files.createFile(Unknown Source)
   at java.nio.file.TempFileHelper.create(Unknown Source)
   at java.nio.file.TempFileHelper.createTempFile(Unknown Source)
   at java.nio.file.Files.createTempFile(Unknown Source)
   at javax.imageio.stream.FileCacheImageInputStream.<init>(Unknown Source)
   at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown Source)
   ... 13 more


it happends almost every time i try to launch salem( BUT SALEM WORKS SOMETIMES,1 time every day maybe lol)
im retarded idiot that has ebola and i live in african village with old windows xp computer where salem laggs
- Captain Jack Sparrow-
User avatar
dinoxx7xx
 
Posts: 468
Joined: Tue Mar 04, 2014 11:25 pm

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

Postby HDHB » Mon Jan 18, 2016 4:03 am

I'm not sure if this is the right place to post that, but I'd like to suggest to make it possible (again) to put down an item using right-click positioning without having to hold shift or ctrl down. It worked in the past and now when, for instance, I take a gardening pot out of a kiln, right-click and position it, then left-click, because I am content with the position, the character just walks there and doesn't place the pot (or any other item) unless I'm holding shift down as well.
Jesus died for our sins. You should do the same.
HDHB
 
Posts: 223
Joined: Wed Jul 08, 2015 8:52 pm

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

Postby jcwilk » Mon Jan 18, 2016 4:24 am

HDHB wrote:I'm not sure if this is the right place to post that, but I'd like to suggest to make it possible (again) to put down an item using right-click positioning without having to hold shift or ctrl down. It worked in the past and now when, for instance, I take a gardening pot out of a kiln, right-click and position it, then left-click, because I am content with the position, the character just walks there and doesn't place the pot (or any other item) unless I'm holding shift down as well.


Are you sure it's not overlapping with something or that you're bumping into something on the way? The above works fine for me. Just as you said, right click on the thing over your head, position it, left-click to place.
JohnCarver wrote:This way no matter how bad my day gets, a text message that one of you died to madness always seems to brighten it.
User avatar
jcwilk
 
Posts: 743
Joined: Mon Aug 12, 2013 6:39 am

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

Postby HDHB » Mon Jan 18, 2016 5:08 am

Sometimes it works, most of the time it doesn't
:oops: what am I doing wrong?
I'm taking out a gardening pot from the kiln, right-click-position it near the other pots, the char walks there and just does nothing (like when you're placing a building sign within the hitbox of another object), when I hold down shift on that very position, he places it tho.
I have the same issue with placing construction signs and idk if something about my positioning stuff changed, but it wasn't like that in the past.
(For example, I rotate the object using shift+mosuewheel, then let shift go, it won't be placed. If I don't stop holding shift down, it's placed.)
Jesus died for our sins. You should do the same.
HDHB
 
Posts: 223
Joined: Wed Jul 08, 2015 8:52 pm

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

Postby jcwilk » Mon Jan 18, 2016 5:19 am

HDHB wrote:Sometimes it works, most of the time it doesn't
:oops: what am I doing wrong?


It can be reallly finicky if you're trying to put something very close next to something, the "hitbox" of where something's actual edges are often doesn't match up with how it looks. eg, compost bins have tiny hitboxes and can be smooshed next to each other and other objects, but tanning tubs have huge hitboxes and need a decent amount of gap between themselves and other objects.

What I usually do when I really want to place something as close as possible is start out by placing it somewhere i know will work, then move it one "pixel" (ie, while you're holding ctrl, one little micro-movement, not a full grid tile) closer than i tried before and see if it works... Keep repeating until you get rejected and then finalize it at the previous position. Kind of squirrely to figure out how to remember which spot it was but using little splotches on the ground and such as reference points can help.

I would LOVE it if somehow the client could tell you whether a placement was valid -before- you placed it, rather than simply making you walk over and stand there uselessly like a tool... Though I'm guessing that would require some server-side cooperation, so might not be something feasible to do just via the client.
JohnCarver wrote:This way no matter how bad my day gets, a text message that one of you died to madness always seems to brighten it.
User avatar
jcwilk
 
Posts: 743
Joined: Mon Aug 12, 2013 6:39 am

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

Postby jcwilk » Mon Jan 18, 2016 5:23 am

Kandarim wrote:i just pushed a fix for stockbin lag - you should now have noticeably less lag when putting stuff in nearly empty stockbins


I just noticed last night that I was getting a lot of lag while moving 1kg of bonemeal at a time from a big barrel to a small barrel over and over, this probably isn't something anyone should do for their own sanity but thought I'd mention it in case it's related. To be clear, right click big barrel, click button ("take"?), right click small barrel, repeat ad nauseam. After about 30 times or so it started getting pretty laggy.
JohnCarver wrote:This way no matter how bad my day gets, a text message that one of you died to madness always seems to brighten it.
User avatar
jcwilk
 
Posts: 743
Joined: Mon Aug 12, 2013 6:39 am

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

Postby Kandarim » Mon Jan 18, 2016 10:30 am

thanks, I will look into it.
For god's sake, use a dry goods bag.

also, i sincerely hope this isn't just a report to get me to move 100s of kgs of bonemeal between barrels :evil:
Last edited by Kandarim on Mon Jan 18, 2016 10:35 am, edited 1 time in total.
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 jcwilk » Mon Jan 18, 2016 10:35 am

Kandarim wrote:thanks, I will look into it.
For god's sake, use a dry goods bag.


Haha xD I know, I was in a pinch and it would have taken slightly more time to run and fetch one. Let me know if you have trouble reproducing it and I will push my madness level up a bit IRL and attempt it again.
JohnCarver wrote:This way no matter how bad my day gets, a text message that one of you died to madness always seems to brighten it.
User avatar
jcwilk
 
Posts: 743
Joined: Mon Aug 12, 2013 6:39 am

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 320 guests