Primary tabs

Comments by User

Sunday, December 9, 2012 - 06:49

Hi again (creator of alchemist game here).

I just tested my game with command line compiling and running under openjdk.

If you want to compile it in the console, copy the contents of bin/ to the root directory (one level up) and use this to compile (there could exist better solutions, but this one works at last):

javac -classpath lib/*:kryonet-1.04/kryonet/lib/*:kryonet-1.04/*:. -d . src/TWLSlick/*.java src/arakash/lpc/base/*.java src/arakash/lpc/components/*.java src/arakash/lpc/entity/*.java src/arakash/lpc/Map/*.java src/arakash/lpc/network/client/*.java src/arakash/lpc/network/server/*.java src/arakash/lpc/network/shared/*.java -d .

to run the Game (under Linux):

java -classpath lib/*:kryonet-1.04/kryonet/lib/*:kryonet-1.04/*:. -Djava.library.path=lib/ arakash/lpc/base/MyGame

to run the Server:

java -classpath lib/*:kryonet-1.04/kryonet/lib/*:kryonet-1.04/*:. -Djava.library.path=lib/ arakash/lpc/network/server/GameServer

I noticed that under openjdk a "bad file descriptor" can occur when i try to start the server. In that case I can start the game first and the server next without the issue. I submitted a 'fix' to my repository; but as it is hard for me to recreate this error I'm not 100% sure it will fix it for good.

 (https://www.assembla.com/code/alchemist-game/git/nodes)

If you could post the console Log and a description of the Problem I could investigate more in the issue.

Tuesday, December 4, 2012 - 09:38

Hi, I'm the creator of the Alchemist Game. I tested my game to run under openjdk, that shouldn't be a Problem.

Do you test the game on a virtual Machine like in the 'Game build result' Thread? If so, then could you look in the answer i wrote there? The Problem is practically that the vm already has their own lwjgl native librarys which are in the /tmp/natives folder.

okay, I was able to reprodce the error of Alchemist Game on the VM. Here is how i fixed it:

1. delete the /tmp/natives* Folders, they seem to get in the way of the librarys (and native libs) the game is packed with :/

2. start Server as normal with java -jar GameServer_Lin.jar  and dont Minimize it! I don't know why, but for some reason the VM doesn't update minimized windows. (EDIT: ugh. Its the games fault, not the VMs. It is set to not update when not visible, my fault.)

3. start the Game with java -jar AGame_Linux.jar and proceed as normal.

The Game will flicker when it joins the game (for a few seconds), thats 'normal'. A good way to check if the Server is responding while ingame is to try to absorb a element (water/earth/lava). If the Server doesn't send you updates, you will hear no sound and no absorb animation will play.

Please let me know if that fixed the issue. If other Problems occur i will do my best to support fixing them.

P.S.: Please note, that while on a VM, the Performance of the game may vary (the game should stay at 60fps, but i noticed that it breaks down to 50s sometimes and feels somehow not as smooth). If possible it would be best to play it without a VM :/

PPS.: also dont start the game and the Server at the same time while on a VM, the game will not be able to load properly.

 

If deleting the native Librarys is not a option, i can try to make some 'export $' magic happen. If the Problem lies elsewhere, please let me know what behaviour you're experiencing and i will try my very best to locate the error.

Monday, August 20, 2012 - 07:33

yes. I would have liked to implement that deature, as it was planned (hence the 'options' menu entry). But i couldn't press it in the time frame.

 

Monday, August 20, 2012 - 06:34

Hi MCMic.

Why did you have to switch your keyboard to qwerty, what was the problem? I'm using a QWERTZ keyboard layout myself and dont seems to have problems?(oh, you mean you used like dvorak or neo layout?)

The weird teleportion and them getting stuck is a known bug, which i didn't have time fixing. I hope that doesn't affects the game too much.

the server window is an unfortunate side effect of a library i use, i can't change that and when i develop the game more it will come in handy showing different stuff related to the server.

Edit: Your Exception though is another story, i will have to look in to that

Wednesday, August 15, 2012 - 13:41

thanks :)

I really appreciate your interest in my game. <3

Wednesday, August 15, 2012 - 11:41

No direct PvP, but your Magics do effect (but not damage) other Players, so Water does slow them and Earth will push them back. So It is possible to hinder other players enough to get them killed (and half of their precious points stolen).

 

Wednesday, August 15, 2012 - 07:33

Thanks for the hilarious review!

The Game really is cruel (since dying is somewhat part of the concept), but will get easier the more Player play on the same server.

 

I read your other Reviews too, you have a really great writing style!

Sunday, August 5, 2012 - 14:50

okay, I was able to reprodce the error of Alchemist Game on the VM. Here is how i fixed it:

1. delete the /tmp/natives* Folders, they seem to get in the way of the librarys (and native libs) the game is packed with :/

2. start Server as normal with java -jar GameServer_Lin.jar  and dont Minimize it! I don't know why, but for some reason the VM doesn't update minimized windows. (EDIT: ugh. Its the games fault, not the VMs. It is set to not update when not visible, my fault.)

3. start the Game with java -jar AGame_Linux.jar and proceed as normal.

The Game will flicker when it joins the game (for a few seconds), thats 'normal'. A good way to check if the Server is responding while ingame is to try to absorb a element (water/earth/lava). If the Server doesn't send you updates, you will hear no sound and no absorb animation will play.

Please let me know if that fixed the issue. If other Problems occur i will do my best to support fixing them.

P.S.: Please note, that while on a VM, the Performance of the game may vary (the game should stay at 60fps, but i noticed that it breaks down to 50s sometimes and feels somehow not as smooth). If possible it would be best to play it without a VM :/

PPS.: also dont start the game and the Server at the same time while on a VM, the game will not be able to load properly.

Saturday, August 4, 2012 - 11:02

heres mine (Alchemist Game), but the entry i submitted already has the executables in it. So this is the exact same as the one i posted.

http://ubuntuone.com/0CbEusVaJNICYf9tnnAq03

(you need java 1.7 to execute the .jar files)

Saturday, August 4, 2012 - 05:56

Hi, I'm the creator of Alchemist Game. I only have 2 test machines and I am unable to reproduce the Problems. I will guess, since you are using Ubuntu, you start the jars properly with 'java -jar AGame_Linux.jar' and 'GameServer_Lin.jar'.

Since you are using 10.04, could you check if you are using Java 1.7? This is the only error possibility I see  right now.

You can check your java version by typing 'java -version' in Console. An example output would look like this:

java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)

Pages