Apoc Lite

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

Moderator: Phades

Kaotik
Posts: 11
Joined: Sun Feb 27, 2011 1:21 am

Re: Apoc Lite

Post by Kaotik »

Xcom wrote:@Kaotik
Sounds like you have java path issues. This video might help.
https://www.youtube.com/watch?v=XnbkiVe88Os

@ZeggyZon
Thanks for the suggestion. I do actually add as many features as possible if they are within the scope of the ability of the client. But I don't follow your suggestion on where to add the numbers. Is it on the hourglass? or the hunger/stamina bar?

@Rhakar Thanks for that suggestion. I'll try see about fixing the damn auto drinker bugs ones and for all, will also try add the curio sounds and messages as well. The one issue with the messages is that it might not be to easy knowing what curio pops to easily though. The client doesn't receive that info, the only way to know what curio pops would be to make heavy code editing. I'll give it a good try but if it ends up being to complex I might just add the sound.

I have thought of adding proper def and attack bars instead of numbers to make it easier to see in combat. But it will be a while till I can sit down and code. Hopefully a bit later I guess.
Work liked a charm thank you.
I am going to call you cow, Kaotik - Vigil
ZeggyZon
Posts: 194
Joined: Tue Sep 20, 2011 7:53 am

Re: Apoc Lite

Post by ZeggyZon »

Xcom wrote: @ZeggyZon
Thanks for the suggestion. I do actually add as many features as possible if they are within the scope of the ability of the client. But I don't follow your suggestion on where to add the numbers. Is it on the hourglass? or the hunger/stamina bar?
I'm talking about putting numbers for all of the statuses that show up in the upper left corner of the window. Like travel weariness, health, stamina, hunger, like placing 23% next to the bar or when there is a timer putting the amount of time and percent either on the icon or below it.

ZZ
Rhakar
Posts: 88
Joined: Wed Feb 29, 2012 5:06 pm

Re: Apoc Lite

Post by Rhakar »

ZeggyZon wrote:
Xcom wrote: @ZeggyZon
Thanks for the suggestion. I do actually add as many features as possible if they are within the scope of the ability of the client. But I don't follow your suggestion on where to add the numbers. Is it on the hourglass? or the hunger/stamina bar?
I'm talking about putting numbers for all of the statuses that show up in the upper left corner of the window. Like travel weariness, health, stamina, hunger, like placing 23% next to the bar or when there is a timer putting the amount of time and percent either on the icon or below it.

ZZ
If I may I suggest a new moveable window with stats in it? I'd like to keep the sliders as they are, for nostalgic reasons, but when you need that info at a glance, if there was a window that you could place where you wished (akin to the study window), which showed SHP/HHP/MHP, stamina, hunger, and possibly even had some options to display more info (softcaps, fep bar, possibly with a minimize button for the added info, akin to the minimap), well, that would be handy :)
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

I could simply add a checkbox for the info to be shown if its desired.

One thing that concerns me is the buff timers and numbers. By buff icons I mean the Travel Weariness and so forth. Those icons might not be to easy to cram in numbers that are to visible.
User avatar
the_portals
Posts: 217
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak

Re: Apoc Lite

Post by the_portals »

I'm trying to run the client on a mac (and I know how you feel about macs) but whenever I click "run.command" I get this:

Code: Select all

Last login: Wed Jun  4 23:15:03 on ttys000
/Users/sherise/Desktop/HnH_ApocLite_x64/run.command ; exit;
Sherise-MacBook:~ sherise$ /Users/sherise/Desktop/HnH_ApocLite_x64/run.command ; exit;
Exception in thread "Haven main thread" java.lang.Error: java.lang.reflect.InvocationTargetException
	at haven.MainFrame.javabughack(MainFrame.java:268)
	at haven.MainFrame.access$000(MainFrame.java:54)
	at haven.MainFrame$6.run(MainFrame.java:329)
	at java.lang.Thread.run(Thread.java:695)
Caused by: java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1126)
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1103)
	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1326)
	at haven.MainFrame.javabughack(MainFrame.java:259)
	... 3 more
Caused by: java.lang.ExceptionInInitializerError
	at haven.MainFrame$3.run(MainFrame.java:262)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:676)
	at java.awt.EventQueue$2.run(EventQueue.java:674)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.RuntimeException: Delayed error in resource gfx/hud/new/upup (v-1), from local res source
	at haven.Resource.checkerr(Resource.java:1218)
	at haven.Resource.layer(Resource.java:1018)
	at haven.Resource.loadimg(Resource.java:1228)
	at haven.LoginScreen.<clinit>(LoginScreen.java:62)
	... 15 more
Caused by: haven.Resource$LoadException: Could not find resource locally: gfx/hud/new/upup
	at haven.Resource$JarSource.get(Resource.java:359)
	at haven.Resource$Loader.handle(Resource.java:471)
	at haven.Resource$Loader.run(Resource.java:451)
	at java.lang.Thread.run(Thread.java:695)
logout

[Process completed]

I have the most recent version of java and everything, but it just refuses to run.
Also, this is my run.command, if that helps at all:

Code: Select all

java -Xms256m -Xmx512m -jar /Users/sherise/Desktop/HnH_ApocLite_x64/haven.jar moltke.seatribe.se -r ./res
I was in the Northern Army once and you can never take that from me
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Post by Xcom »

Does the same bug show up on Enders? The error log looks really funky. I'm not even sure what its related too.
Bampfylde
Posts: 120
Joined: Sun Apr 13, 2014 5:30 pm

Re: Apoc Lite

Post by Bampfylde »

If it helps at all i'm running the 32bit on my mac even though the latest java install for mac is only 64bit, the old one is still there - I've had a lot of problems with all clients and 64bit java, so this is my solution -

Code: Select all

#!/bin/bash
cd `dirname "$0"`
/usr/libexec/java_home -v 1.6.0_65 --exec java -d32 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
User avatar
the_portals
Posts: 217
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak

Re: Apoc Lite

Post by the_portals »

Xcom wrote:Does the same bug show up on Enders?
No, for some reason Ender works perfectly for me
Bampfylde wrote:If it helps at all i'm running the 32bit on my mac even though the latest java install for mac is only 64bit, the old one is still there - I've had a lot of problems with all clients and 64bit java, so this is my solution -

Code: Select all

#!/bin/bash
cd `dirname "$0"`
/usr/libexec/java_home -v 1.6.0_65 --exec java -d32 -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
tried replacing my old run.command with this, and now instead of getting an InvocationTargetException, I get an UnsatisfiedLinkError

Code: Select all

Sherise-MacBook:~ sherise$ /Users/sherise/Desktop/HnH_ApocLite_x64/run.command ; exit;
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: no jogl in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1764)
	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
	at java.lang.System.loadLibrary(System.java:1044)
	at com.sun.opengl.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:189)
	at com.sun.opengl.impl.NativeLibLoader.access$000(NativeLibLoader.java:49)
	at com.sun.opengl.impl.NativeLibLoader$DefaultAction.loadLibrary(NativeLibLoader.java:80)
	at com.sun.opengl.impl.NativeLibLoader.loadLibrary(NativeLibLoader.java:103)
	at com.sun.opengl.impl.NativeLibLoader.access$200(NativeLibLoader.java:49)
	at com.sun.opengl.impl.NativeLibLoader$1.run(NativeLibLoader.java:111)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.opengl.impl.NativeLibLoader.loadCore(NativeLibLoader.java:109)
	at com.sun.opengl.impl.macosx.MacOSXGLDrawableFactory.<clinit>(MacOSXGLDrawableFactory.java:53)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:171)
	at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:108)
	at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
	at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
	at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:90)
	at haven.HavenPanel.<init>(HavenPanel.java:82)
	at haven.MainFrame.<init>(MainFrame.java:161)
	at haven.MainFrame.main2(MainFrame.java:278)
	at haven.MainFrame.access$100(MainFrame.java:54)
	at haven.MainFrame$6.run(MainFrame.java:333)
	at java.lang.Thread.run(Thread.java:695)
logout

[Process completed]

I was in the Northern Army once and you can never take that from me
Bampfylde
Posts: 120
Joined: Sun Apr 13, 2014 5:30 pm

Re: Apoc Lite

Post by Bampfylde »

Try opening terminal and typing

Code: Select all

/usr/libexec/java_home -V
to see what javas you have installed, for example i get

Code: Select all

1.7.0_55, x86_64:	"Java SE 7"	/Library/Java/JavaVirtualMachines/jdk1.7.0_55.jdk/Contents/Home
1.6.0_65-b14-462, x86_64:    "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
For what its worth, it seems like your original problem is caused by some missing file res/gfx/hud/new/upup

…but i'm no expert.. check if that file is in the folder.

It might be because you're running from your home directory so you maybe need to modify "./res" to point to the correct place? I'm not sure about that though.
User avatar
the_portals
Posts: 217
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak

Re: Apoc Lite

Post by the_portals »

huh. I know for a fact I have the most recent version of java installed, but when I run that command, it shows up with two installations of java 6 installed.
I was in the Northern Army once and you can never take that from me

Return to “The Wizards' Tower”