I use the "Run" ant build script, it works, the client opens.
I try to use a bat file to start the client, I get this error:
[hide]
I replace the retarded font, build it again, I GET THIS ERROR:
[hide]
I use this in IntelliJ's terminal:
Nothing happens.
I try this:
I get this: get-code: no source code found in resource: ui/fraktur
Wtf am I doing wrong? Where are all of these res files? Why are they not here by default? Why does the client have these res files when I use the "run" ant builder script thing but not when I use a .bat file?
I literally cloned loftar's repository and modified nothing.
I'm frustrated, I know I'm an idiot, but PLEASE someone just tell me what I'm doing wrong.
Thanks
I try to use a bat file to start the client, I get this error:
[hide]
- Code: Select all
Exception in thread "Haven main thread" java.lang.Error: java.lang.reflect.InvocationTargetException
at haven.MainFrame.javabughack(MainFrame.java:384)
at haven.MainFrame.main2(MainFrame.java:393)
at haven.MainFrame.lambda$main$0(MainFrame.java:443)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at haven.MainFrame.javabughack(MainFrame.java:375)
... 3 more
Caused by: java.lang.ExceptionInInitializerError
at haven.LoginScreen.<clinit>(LoginScreen.java:34)
at haven.MainFrame$5.run(MainFrame.java:378)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: haven.Resource$NoSuchResourceException: Failed to load resource ui/fraktur (v-1)
at haven.Resource$Pool$Queued.get(Resource.java:506)
at haven.Resource$Pool$Queued.get(Resource.java:472)
at haven.Loading.waitforint(Loading.java:119)
at haven.Loading.waitfor(Loading.java:131)
at haven.Resource$Pool.loadwait(Resource.java:775)
at haven.Resource$Pool.loadwait(Resource.java:779)
at haven.Text.<clinit>(Text.java:39)
... 15 more
Caused by: haven.Resource$LoadException: Load error in resource ui/fraktur(v-1), from local res source (res)
at haven.Resource$Pool.handle(Resource.java:567)
at haven.Resource$Pool.access$1200(Resource.java:449)
at haven.Resource$Pool$Loader.run(Resource.java:697)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/ui/fraktur.res
at haven.Resource$JarSource.get(Resource.java:287)
at haven.Resource$Pool.handle(Resource.java:552)
... 3 more
I replace the retarded font, build it again, I GET THIS ERROR:
[hide]
- Code: Select all
Exception in thread "Haven main thread" java.lang.Error: java.lang.reflect.InvocationTargetException
at haven.MainFrame.javabughack(MainFrame.java:384)
at haven.MainFrame.main2(MainFrame.java:393)
at haven.MainFrame.lambda$main$0(MainFrame.java:443)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at haven.MainFrame.javabughack(MainFrame.java:375)
... 3 more
Caused by: java.lang.ExceptionInInitializerError
at haven.MainFrame$5.run(MainFrame.java:378)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: haven.Resource$NoSuchResourceException: Failed to load resource gfx/loginscr (v-1)
at haven.Resource$Pool$Queued.get(Resource.java:506)
at haven.Resource$Pool$Queued.get(Resource.java:472)
at haven.Loading.waitforint(Loading.java:119)
at haven.Loading.waitfor(Loading.java:131)
at haven.Resource$Pool.loadwait(Resource.java:775)
at haven.Resource$Pool.loadwait(Resource.java:779)
at haven.Resource.loadrimg(Resource.java:1860)
at haven.Resource.loadtex(Resource.java:1872)
at haven.LoginScreen.<clinit>(LoginScreen.java:36)
... 14 more
Caused by: haven.Resource$LoadException: Load error in resource gfx/loginscr(v-1), from local res source (res)
at haven.Resource$Pool.handle(Resource.java:567)
at haven.Resource$Pool.access$1200(Resource.java:449)
at haven.Resource$Pool$Loader.run(Resource.java:697)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/loginscr.res
at haven.Resource$JarSource.get(Resource.java:287)
at haven.Resource$Pool.handle(Resource.java:552)
... 3 more
I use this in IntelliJ's terminal:
- Code: Select all
java -cp bin/hafen.jar haven.Resource find-updates
Nothing happens.
I try this:
- Code: Select all
java -cp bin/hafen.jar haven.Resource get-code ui/fraktur
I get this: get-code: no source code found in resource: ui/fraktur
Wtf am I doing wrong? Where are all of these res files? Why are they not here by default? Why does the client have these res files when I use the "run" ant builder script thing but not when I use a .bat file?
I literally cloned loftar's repository and modified nothing.
I'm frustrated, I know I'm an idiot, but PLEASE someone just tell me what I'm doing wrong.
Thanks