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 dinoxx7xx » Sat Jan 09, 2016 9:15 pm

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/loginscr (v7), 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.loadtex(Resource.java:1528)
at haven.LoginScreen.<clinit>(LoginScreen.java:47)
... 15 more
Caused by: haven.Resource$LoadException: Load error in resource gfx/loginscr(v7), 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\imageio1808430011948713616.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
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 Kandarim » Sat Jan 09, 2016 11:42 pm

several weird things going (you can ignore the translater errors, it's because of a poor printstacktrace line).
It seems you have
1) an issue with the res servers. Are you starting with the JNLP
2) an issue with graphics. Do you have a decent graphics card?

FTR, I am really only interested in the crash report shown in the little crash error window when your client goes down. The error logs themselves are typically a bunch of these unrelated things from old crashes.

Relatedly:
Image
I'm not entirely sure where this is going, but currently I have a headless version of the client (which, lazy me, still allocates all of the res files in memory). Possibly towards a chat-only client?
This is how UI design starts.
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 dinoxx7xx » Sat Jan 09, 2016 11:54 pm

works with jar
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 majtejn » Sat Jan 09, 2016 11:56 pm

Relatedly:
Image
I'm not entirely sure where this is going, but currently I have a headless version of the client (which, lazy me, still allocates all of the res files in memory). Possibly towards a chat-only client?
This is how UI design starts.[/quote]

I like this one a lot.
majtejn
 
Posts: 119
Joined: Sat Oct 05, 2013 5:13 pm

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

Postby majtejn » Sun Jan 10, 2016 6:17 pm

This headless one has so much potential in it.
Is there a chance to hijack or share the connection with a normal client?
Like getting some text based info from the communication with the server. (I always wanted to do something like this with your client but the code is big, I don't have time, I'm not a java guy and so on....)
First use case: I open every container I have -> I have an up to date list of everything I have
-or to move your abacus window to a separate window, maybe with clickable items on it
-or accurate counting of inspiration + knowing what each inspirational gives = one of those inspiration calculator have some but all of them are outdated

This was just some brainstorming but I think this could be an ultimate tool to build on.
I hope you give us source :D
majtejn
 
Posts: 119
Joined: Sat Oct 05, 2013 5:13 pm

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

Postby Kandarim » Sun Jan 10, 2016 6:33 pm

the source is just the existing client stripped of all rendering code.
- You already asked for the first use case, and I don't particularily see the use
- i don't think I understand what you want to do here
- isn't this fixed now that I have the wiki pointer set correctly again, and have the parsing functional?
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 majtejn » Sun Jan 10, 2016 7:20 pm

Kandarim wrote:the source is just the existing client stripped of all rendering code.
- You already asked for the first use case, and I don't particularily see the use
- i don't think I understand what you want to do here
- isn't this fixed now that I have the wiki pointer set correctly again, and have the parsing functional?


- It wasn't me who asked for it and I wasn't asking you to do that, I was just throwing out ideas.
- it's not important, was a bad idea anyway
- it's all fixed, I'm talking about a new feature I had in my mind: to show the efficiency of each inspirational you have for the currently selected skill. Like the bars when you gluttony it would show red-to-green the rate of (useful inspiration used)/(all inspiration used)
majtejn
 
Posts: 119
Joined: Sat Oct 05, 2013 5:13 pm

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

Postby Kandarim » Sun Jan 10, 2016 7:42 pm

hmm the last one sounds pretty nice: but I'm having issues imagining the UI for that. Where would you fit it in? The inventory icons are already overcrowded as it is, I'm not about to add even more information on them.

Do you imagine it being like a selected 'focus' skill that is used?
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 majtejn » Sun Jan 10, 2016 8:29 pm

Kandarim wrote:Do you imagine it being like a selected 'focus' skill that is used?


Yes just like the study window when docked to the right.
Maybe there should be some toggle for this or a hotkey. And it should look exactly like gluttony efficiency.

(Maybe being able to sort based on this... But that would make too many sort buttons)
majtejn
 
Posts: 119
Joined: Sat Oct 05, 2013 5:13 pm

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

Postby salemwutwut » Mon Jan 11, 2016 10:01 pm

the bars would show up on each icon, only when a skill is selected in window

gluttony does this well, even with purity info, the bar to the left works nice, high and green for better results, low and red for less efficiency

i imagine the challenge is deciding the efficiency of an item depending on each proficiency and relative importance
salemwutwut
 
Posts: 165
Joined: Tue Oct 27, 2015 5:17 pm

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: Google [Bot] and 2 guests