Apoc Lite

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

Moderator: Phades

Re: Apoc Lite

Postby Ninijutsu » Mon Apr 13, 2015 5:20 am

Downloaded latest version, extracted it, executed run.bat, this happened.

Image

help pls
Of another era.
User avatar
Ninijutsu
 
Posts: 2224
Joined: Sat May 22, 2010 4:22 am

Re: Apoc Lite

Postby Xcom » Mon Apr 13, 2015 6:18 am

That looks like a form of openGL problem. I think you either have an outdated graphics card software and only need to update it or somethings gone haywire with the operative system your using.

Can you attempt to update your graphics card, java version and post a bit more in detail regarding the following.

I think the problem can be resolved with an update.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Postby tixcu » Mon Apr 13, 2015 8:45 am

When you make a guide for curio bot ?
tixcu
 
Posts: 4
Joined: Sat Sep 20, 2014 7:14 am

Re: Apoc Lite

Postby borka » Mon Apr 13, 2015 3:59 pm

@Nini
have you tried to have the Apoc Folder in C:\ or created a C:\Temp\ folder to run it from there by desktop linking the run.bat?
(not in your Users/Username/Desktop)
I wonder if it stumbles over the ^ in your Username with unpacking gluegen-rt.jar at runtime
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Apoc Lite

Postby Ninijutsu » Mon Apr 13, 2015 7:31 pm

I uninstalled all versions of Java and installed the latest, made sure drivers are up to date, and it didn't help. Your idea didn't help either borka.
Of another era.
User avatar
Ninijutsu
 
Posts: 2224
Joined: Sat May 22, 2010 4:22 am

Re: Apoc Lite

Postby borka » Mon Apr 13, 2015 7:59 pm

in /libs/ you'll find gluegen-rt-natives-windows-amd64.jar - open it with i.e. 7zip and extract gluegen-rt.dll to Apoc root folder
(but you might run into troubles not having the jogl dlls there too)

normally the needed jars from /libs get extracted by Java at runtime - for some reasons it seems to run in troubles doing so on your system

are you running it as admin or as restricted user? Try with right click on run.bat and choose "run as Administrator" (?)
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Apoc Lite

Postby Ninijutsu » Mon Apr 13, 2015 11:32 pm

Neither of those solutions worked either.
Of another era.
User avatar
Ninijutsu
 
Posts: 2224
Joined: Sat May 22, 2010 4:22 am

Re: Apoc Lite

Postby Xcom » Mon Apr 13, 2015 11:40 pm

What operative system are you running?

More info probably is needed to help you along. The confusing thing is the fact that this version of the client should auto detect the operative system your running and adapt. There might be a very unique case where it fails. You probably need to give a very detailed description of your operative system, client version and graphics card to see if said card or OS doesn't work with the openGL files included in the library of the client.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Postby Xcom » Tue Apr 14, 2015 12:36 am

Guide for getting console printouts

A simple guide for getting the console to show up as it can be used to track bugs.

First you have to open the run.bat. Right click your run.bat and click edit. Alternatively you can open it in any word editing tool.
Image

You should see something like this.
Image
Code: Select all
java -Xms512m -Xmx1024m -jar haven.jar moltke.seatribe.se -r ./res -v script
pause


The first word is java and opens the game with the console. If you edit the "java" to "javaw" with a w you won't get any console to open. You can also have "start" to the left of "javaw", this is useful if you do not want a console to show up. If you simply don't care about reporting any bugs and want to remove the console simply edit the first word to "start javaw" and you will never see any console showing up.

The second part is the memory allocation. I would personally run it at "-Xms512m -Xmx1024m". You can increase the memory allocated to the game but there are rumors that java reduces the speed of programs if to much memory is allocated. If your computer doesn't have extra memory to spare it can cause problems. For the lower end PCs you can reduce the memory allocated to "-Xms256m -Xmx512m".

The rest of the text is simply for the client to recognize haven.jar as the file it needs to start the program with. "moltke.seatribe.se" is the address to the game server and lastly "-r ./res" is used to tell the client to use extra resource files from the res folder.

For those that wish to hack the client and use scripts. Add "-v script" to the end of the line.

TL.DR. Skip here
For anyone having issues with the client, do this.

Add a pause at the very end if you wish the client to keep the console open after it have crashed. This can be useful if your client crashes without warning or instantly closes after starting.

How to copy paste test from the console
1. Right click the console.
Image
2. Select "Mark".
3. Select the text you wish to copy.
Image
4. Right click on the console.
Last edited by Xcom on Tue Apr 14, 2015 12:46 am, edited 1 time in total.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Apoc Lite

Postby borka » Tue Apr 14, 2015 12:45 am

Btw. Xms (initial memory allocation) and Xmx (maximum memory allocation) settings are for the JVM's heap allocation, and that the JVM can/will use more memory than just the size allocated to the heap. From Oracle's Documentation:
Note that the JVM uses more memory than just the heap. For example Java methods, thread stacks and native handles are allocated in memory separate from the heap, as well as JVM internal data structures.


more about heap, garbage collection and stack in easy words
http://javarevisited.blogspot.de/2011/0 ... e-jvm.html
http://javarevisited.blogspot.com.au/20 ... -java.html

for marking and copying from CMD window, you can also right click on top window frame, choose "edit" entries from context menu
(AFAIK from vista onwards - makes it a bit easier to handle)
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 1 guest