[LEGACY] Apoc Lite client - "Apoc Jank" release

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

[LEGACY] Apoc Lite client - "Apoc Jank" release

Postby the_portals » Sat Feb 13, 2016 6:27 pm

Well, here we are again. A lot has happened since I last touched this client, and I like to imagine I've gotten pretty good at working with the computers and such. That being said, this client was near-broken at the best of times, and after sitting on the shelf for nine years, many things have broken even further. Long story short, I got the project to build with the proper libraries, updated things to point to the legacy servers, and bandaid-fixed the handful of crashes I experienced in my hour or so of playing, but I make no promises as to the client's reliability. The client is also on github this time around (and properly forked from xcom's original apoc lite client), so feel free to make your own contributions.

GitHub: https://github.com/theportals/Haven-and-Hearth-client-modified-by-Ender
Download link: https://github.com/theportals/Haven-and-Hearth-client-modified-by-Ender/releases/download/v1/apoc-jank.zip

Building still requires Ant. I imported the project into IntelliJ and built it there, but you build it however you like. May require being built in Java 8.
Last edited by the_portals on Thu Jul 11, 2024 8:58 am, edited 5 times in total.
I was in the Northern Army once and you can never take that from me
User avatar
the_portals
 
Posts: 217
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak

Re: [LEGACY] Apoc Lite client

Postby shubla » Sat Feb 13, 2016 6:38 pm

I wonder if its keylogged.
I suggest everyone to compile it yourselves from xcoms code. It might be safer
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: [LEGACY] Apoc Lite client

Postby the_portals » Sat Feb 13, 2016 7:09 pm

shubla wrote:I wonder if its keylogged.

It isn't.
I mean, you can check the source code yourself, aside from the .res I literally changed 4 lines of code :P
I was in the Northern Army once and you can never take that from me
User avatar
the_portals
 
Posts: 217
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak

Re: [LEGACY] Apoc Lite client

Postby NineWorlds » Sun Feb 21, 2016 6:07 am

Error Im getting.
Also if you could message me, I have a few questions?

Code: Select all
C:\Users\NineWorlds\Desktop\apoc built>Java -Xms256m -Xmx512m -jar haven.jar legacy.havenandhearth.com -r ./res
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/opengl/awt/GLCanvas
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        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)
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.privateGetMethodRecursive(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod(Unknown Source)
        at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.media.opengl.awt.GLCanvas
        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)
        ... 19 more
User avatar
NineWorlds
 
Posts: 84
Joined: Fri Aug 28, 2015 11:01 pm

Re: [LEGACY] Apoc Lite client

Postby the_portals » Mon Feb 22, 2016 7:20 pm

You need to install the JOGL I included, drag all of the files into your JRE's /lib/ext directory
I was in the Northern Army once and you can never take that from me
User avatar
the_portals
 
Posts: 217
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak

Re: [LEGACY] Apoc Lite client

Postby tobi » Sun Mar 06, 2016 8:21 am

the_portals wrote:You need to install the JOGL I included, drag all of the files into your JRE's /lib/ext directory


could you plase make screenshots where to attach the other file, cant find it
concrazs on your 200-th post :D
tobi
 
Posts: 115
Joined: Sat Aug 30, 2014 1:37 pm

Re: [LEGACY] Apoc Lite client

Postby borka » Sun Mar 13, 2016 5:22 pm

the way portals suggested:

assuming you've got 64 Bit Windows with actual 64 Bit Java JRE, this would be the folder to copy them over:

Code: Select all
C:\Program Files\Java\jre1.8.0_74\lib\


files needed from apoc build\lib\

Code: Select all
gluegen.jar
gluegen-rt.jar
gluegen-rt-natives-windows-amd64.jar
jogl-all.jar
jogl-all-natives-windows-amd64.jar


While i don't think it's a proper way to do it you might test on your own risk ......better save a copy of untouched Java/lib folder first
Last edited by borka on Thu Mar 24, 2016 2:47 am, edited 1 time in total.
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: [LEGACY] Apoc Lite client

Postby PELMESHK0 » Tue Mar 22, 2016 9:41 pm

I copied all the files from the "lib" directory to my java folder and got the client running, but after I've done that all my Hafen clients like amber stopped working :( Also tried copying just the files that borka suggested and it didn't work.
User avatar
PELMESHK0
 
Posts: 45
Joined: Thu Feb 04, 2010 8:36 pm
Location: Russia, Moscow

Re: [LEGACY] Apoc Lite client

Postby borka » Thu Mar 24, 2016 2:45 am

The first problem you might solve by using 2 ren batch files before and after playing Legacy Apoc - prolly caused by a version conflict with romovs and other hafen clients use newer ones ... and the ones in Java Lib are used as priority ... you might also test whether copying the appropriate Amber libaries to Java/lib (and overwriting) let's you run protals Apoc ...

The second might be caused because no Win 64Bit and Java 64Bit ? for 32 Bit you'd need the 586 natives, on OsX the mac/OsX natives...
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: [LEGACY] Apoc Lite client

Postby Sebthegrand » Tue Apr 05, 2016 3:00 am

Please explain more
how2 win again?
User avatar
Sebthegrand
 
Posts: 133
Joined: Fri Nov 29, 2013 9:08 pm

Next

Return to The Wizards' Tower

Who is online

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