Apoc Lite

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

Moderator: Phades

Re: Apoc Lite

Postby Xcom » Sun Mar 22, 2015 9:42 am

Gray wrote:How do I disable the shortened cupboards and walls?
And is there a way to hide with CTRL+H movable objects (chests, cupboards) or constructibles (kiln, smelter)?

Remove the custom_res files and all res files should go back to default. Using the hide objects you can also hide any object by hovering with the mouse over the object then clicking the shortcut you have assigned the hide objects to. It can be found in the extend menu. The button for it is called "Focused Hide".
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Postby BoOty » Sun Mar 22, 2015 3:34 pm

When new version is supposed to see the day light?
also, probably you know it already but ctrl+g in pre-relase version is kinda bugged
User avatar
BoOty
 
Posts: 233
Joined: Sat Sep 04, 2010 1:21 pm

Re: Apoc Lite

Postby Gray » Sun Mar 22, 2015 7:38 pm

Xcom wrote:Remove the custom_res files and all res files should go back to default.


Strange, I replaced all the custom_res files with daji's res files and I still see the lowered brickwall.
The focused hide thing worked. Although I somehow bugged the client now and I cant see the hitbox of trees when I CTRL+H...

Thanks for help so far.
Gray
 
Posts: 399
Joined: Mon Jan 25, 2010 1:53 pm

Re: Apoc Lite

Postby Lordtimo » Sun Mar 22, 2015 9:34 pm

Is there a documentation of the bot engine?

Or does it support union / groovy bots?
User avatar
Lordtimo
 
Posts: 437
Joined: Wed Jun 01, 2011 12:00 pm

Re: Apoc Lite

Postby Xcom » Mon Mar 23, 2015 12:04 am

I had to move back to Sweden so its been postponed a bit. Sadly there will be little to no documentation. But I will attempt to release good example scripts along to help. The API functions are clearly named and right now I'm attempting to make them structured and easy to find.

About the Ctrl + G, I also realized that after releasing the sample version. Its been corrected and I hope to have it all released very soon. I just need to find a bit of time to sit down and finish this release. API was finished a few days back and compiled well. Just that its still unpolished and needs bit tweaked so its user friendly. Obviously any user made API substitution functions is easily added after.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Postby mvgulik » Tue Mar 24, 2015 1:59 pm

Sigh ... Firing up a old, and by now unsupported, version of Apoc Lite to make a particular screen shot, it turns out pressing END just crashes. ... It seems that, instead of a file entry, a directory entry is used to dump the image data in ... :? .

Falling back to alternative screen capturing.
...
Mmm, image overlapping failing due to different zoom size. ???
*Scans first page for zoom related updates* Nothing found.
*Scans whole topic for "zoom" stuff.

Xcom wrote:Update 5 is out.
...
Other then that I did add a better zoomout so its possible to zoom out a whole lot more then before.

Aha.
... Documentation: The lost art of the past ...
:|

Just for being complete:
Code: Select all
D:\HavenAndHearth\Clients\Apoc_lite>java.exe -Xms512m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
Exception in thread "Haven UI thread" java.lang.RuntimeException: javax.media.opengl.GLException: Caught NoClassDefFoundError: com/jogamp/opengl/util/awt/Scr
eenshot on thread AWT-EventQueue-0
        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:201)
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:202)
        at javax.media.opengl.Threading.invoke(Threading.java:221)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:525)
        at haven.HavenPanel.uglyjoglhack(HavenPanel.java:400)
        at haven.HavenPanel.run(HavenPanel.java:429)
        at java.lang.Thread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: Caught NoClassDefFoundError: com/jogamp/opengl/util/awt/Screenshot on thread AWT-EventQueue-0
        at javax.media.opengl.GLException.newGLException(GLException.java:75)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1311)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131)
        at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1394)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$300(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$1.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.NoClassDefFoundError: com/jogamp/opengl/util/awt/Screenshot
        at haven.RootWidget.draw(RootWidget.java:164)
        at haven.UI.draw(UI.java:161)
        at haven.HavenPanel.redraw(HavenPanel.java:305)
        at haven.HavenPanel$1.display(HavenPanel.java:97)
        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690)
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672)
        at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1383)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1277)
        ... 16 more
Caused by: java.lang.ClassNotFoundException: com.jogamp.opengl.util.awt.Screenshot
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 24 more
mvgulik
 
Posts: 3762
Joined: Fri May 21, 2010 2:29 am

Re: Apoc Lite

Postby Xcom » Wed Apr 01, 2015 11:29 am

Apoc script is officially released in a beta testing mode. Along with it a very popular feature was added, auto aggro as the most popular request. I do suggest to test the client thoroughly before using it in combat as usual.

The new scripting UI can be opened with page up and closed with page down, all scripts are found in the scripts folder. Currently the only way to find the API is in github found in this link APOC SCRIPT API. No sample scripts have been added yet.

The client is yet unstable and needs testing to get to a stable state. I didn't have time to split the client into Apoc lite and Apoc script yet but it will be in the next release. There are also missing script examples and explanations to help along with the understanding of the API. But it wont be long till the next update for the remainder of the missing fixes.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Postby shubla » Wed Apr 01, 2015 11:55 am

Xcom wrote:Apoc script is officially released in a beta testing mode. Along with it a very popular feature was added, auto aggro as the most popular request. I do suggest to test the client thoroughly before using it in combat as usual.

The new scripting UI can be opened with page up and closed with page down, all scripts are found in the scripts folder. Currently the only way to find the API is in github found in this link APOC SCRIPT API. No sample scripts have been added yet.

The client is yet unstable and needs testing to get to a stable state. I didn't have time to split the client into Apoc lite and Apoc script yet but it will be in the next release. There are also missing script examples and explanations to help along with the understanding of the API. But it wont be long till the next update for the remainder of the missing fixes.

Hes lieing!
Image
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13041
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Apoc Lite

Postby BoOty » Wed Apr 01, 2015 3:16 pm

Code: Select all
java -Xms256m -Xmx512m -jar haven.j
ar moltke.seatribe.se -r ./res
Exception in thread "Haven main thread" java.lang.RuntimeException: Delayed erro
r in resource paginae/act/options (v-1), from forking source backed by HTTP res
source (http://www.havenandhearth.com/res/)
        at haven.Resource.checkerr(Resource.java:1227)
        at haven.Resource.layer(Resource.java:1022)
        at haven.MenuGrid.cons(MenuGrid.java:98)
        at haven.MenuGrid.<init>(MenuGrid.java:120)
        at haven.MenuGrid$1.create(MenuGrid.java:72)
        at haven.UI.newwidget(UI.java:228)
        at haven.RemoteUI.run(RemoteUI.java:77)
        at haven.MainFrame.run(MainFrame.java:244)
        at haven.MainFrame.main2(MainFrame.java:319)
        at haven.MainFrame.access$100(MainFrame.java:56)
        at haven.MainFrame$6.run(MainFrame.java:362)
        at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource paginae/act/opti
ons(v-1), from forking source backed by HTTP res source (http://www.havenandhear
th.com/res/)
        at haven.Resource$Loader.handle(Resource.java:477)
        at haven.Resource$Loader.run(Resource.java:451)
        ... 1 more
Caused by: java.io.FileNotFoundException: http://www.havenandhearth.com/res/pagi
nae/act/options.res
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown S
ource)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at haven.Resource$HttpSource.get(Resource.java:406)
        at haven.Resource$TeeSource.get(Resource.java:301)
        at haven.Resource$Loader.handle(Resource.java:471)
        ... 2 more
Exception in thread "Haven UI thread" java.lang.RuntimeException: javax.media.op
engl.GLException: Caught RuntimeException: Delayed error in resource paginae/act
/options (v-1), from forking source backed by HTTP res source (http://www.havena
ndhearth.com/res/) on thread AWT-EventQueue-0
        at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:
58)
        at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadin
gPlugin.java:103)
        at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:2
01)
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:202)

        at javax.media.opengl.Threading.invoke(Threading.java:221)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:525)
        at haven.HavenPanel.uglyjoglhack(HavenPanel.java:433)
        at haven.HavenPanel.run(HavenPanel.java:462)
        at java.lang.Thread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: Caught RuntimeException: Delayed erro
r in resource paginae/act/options (v-1), from forking source backed by HTTP res
source (http://www.havenandhearth.com/res/) on thread AWT-EventQueue-0
        at javax.media.opengl.GLException.newGLException(GLException.java:75)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:131
1)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1131)
        at javax.media.opengl.awt.GLCanvas$11.run(GLCanvas.java:1394)
        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$1.doIntersectionPrivilege(Unknown Sour
ce)
        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 paginae/act/opt
ions (v-1), from forking source backed by HTTP res source (http://www.havenandhe
arth.com/res/)
        at haven.Resource.checkerr(Resource.java:1227)
        at haven.Resource.layer(Resource.java:1022)
        at haven.MenuGrid.cons(MenuGrid.java:98)
        at haven.MenuGrid.updlayout(MenuGrid.java:163)
        at haven.MenuGrid.draw(MenuGrid.java:209)
        at haven.Widget.draw(Widget.java:291)
        at haven.SlenHud.draw(SlenHud.java:276)
        at haven.Widget.draw(Widget.java:291)
        at haven.RootWidget.draw(RootWidget.java:157)
        at haven.UI.draw(UI.java:181)
        at haven.HavenPanel.redraw(HavenPanel.java:305)
        at haven.HavenPanel$1.display(HavenPanel.java:97)
        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:690)

        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:672)
        at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1383)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:127
7)
        ... 16 more
Caused by: haven.Resource$LoadException: Load error in resource paginae/act/opti
ons(v-1), from forking source backed by HTTP res source (http://www.havenandhear
th.com/res/)
        at haven.Resource$Loader.handle(Resource.java:477)
        at haven.Resource$Loader.run(Resource.java:451)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://www.havenandhearth.com/res/pagi
nae/act/options.res
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown S
ource)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at haven.Resource$HttpSource.get(Resource.java:406)
        at haven.Resource$TeeSource.get(Resource.java:301)
        at haven.Resource$Loader.handle(Resource.java:471)
        ... 2 more


Here we go. Just after loging on character.
Java 8 v. 40
Windows 7
User avatar
BoOty
 
Posts: 233
Joined: Sat Sep 04, 2010 1:21 pm

Re: Apoc Lite

Postby Xcom » Wed Apr 01, 2015 3:30 pm

Those that is the missing res file I forgot to include... :(

Fixing now

the file is here for download. Place it in: res\paginae\act
https://www.dropbox.com/s/jgam3yv91wiio1z/options.res?dl=0

Fixed the download file in the main OP. The main client download should now have the proper files and cause no more crashes.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Amazon [Bot], Claude [Bot] and 0 guests