[Linux Lobby] AFLobby Beta 3.9.7 - Page 43

[Linux Lobby] AFLobby Beta 3.9.7

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Can you run aflobby in the terminal with this command:

Code: Select all

cd /home/*user*/path/to/aflobby/ && java -jar AFLobby.jar
Then post the output of the terminal here after you try to login and the errors.

Edit:

Also, here is a link to the latest pre-release for beta 3:

http://spring.unknown-files.net/file/35 ... release_8/
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

System.getProperty("user.dir")

This does not return the folder aflobby.jar is in. It returns the working directory.

So if I go to D:\ drive in a command prompt and type java -jar C:\aflobby.jar it will print D:\ not C:\

CoolyOriginal. you need to modify settings.tdf to point to the exact path+filename of unitsync including correct capitalisation. Also you need a Java aware unitsync, if when building spring you did not have the Java sdk then your unitsync either failed to build or it had the Java bindings removed.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

sorry for my confusion, i thought that was what you needed.

http://forum.java.sun.com/thread.jspa?t ... tstart=135
suggests a somewhat hackish solution
CoolyOriginal
Posts: 21
Joined: 03 Sep 2007, 15:57

Post by CoolyOriginal »

Image

thats the error
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Not the error, we know about that, what we need is the output from the terminal. Just copy and paste it to here.
CoolyOriginal
Posts: 21
Joined: 03 Sep 2007, 15:57

Post by CoolyOriginal »

where can i get that ?
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

You are starting aflobby with this command right?

Code: Select all

cd /home/*user*/path/to/aflobby/ && java -jar AFLobby.jar
You should then get an output in the terminal:

Image

Copy and paste the text.
CoolyOriginal
Posts: 21
Joined: 03 Sep 2007, 15:57

Post by CoolyOriginal »

i dont open it by console i use right click and sun java 6 :roll:
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

CoolyOriginal wrote:i dont open it by console i use right click and sun java 6 :roll:
That's the problem! AF is currently working on that problem if you read the past few posts. However, for now in order to run aflobby correctly run it via the terminal with the command I gave you!

cd /home/*user*/path/to/aflobby/ && java -jar AFLobby.jar
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Lol, in pre-release 9 the smilies now work, but the flags and ranks are borked again :P
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Updates on pre-release 9:

Known problems:
Pictures not right when people join and in the player list (flags and ranks messed up too)
On linux, middle mouse button brings up menu in battles tab, instead of the right mouse button

#aflobby is now unlocked, so it wont join it automatically; instead add"/j #aflobby" in the meantime
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Another little thing AF. The default settings in setting.tdf aren't the typically default locations. Try using these instead of the current ones:

Code: Select all

springpath=/usr/games/spring;
unitsyncpath=/usr/lib/spring/unitsync.so;
CoolyOriginal
Posts: 21
Joined: 03 Sep 2007, 15:57

Post by CoolyOriginal »

here is the log, and now aflobby client don't open :?

cooly@cooly-desktop:/usr/share/games/spring$ cd /usr/share/games/spring && java -jar AFLobby.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
at java.awt.EventQueue.invokeLater(libgcj.so.70)
at javax.swing.SwingUtilities.invokeLater(libgcj.so.70)
at aflobby.Main.main(Main.java:130)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: n├âãÆ├é┬úo ├âãÆ├é┬® poss├âãÆ├é┬¡vel abrir objecto partilhado: Ficheiro ou directoria inexistente
at java.lang.Runtime._load(libgcj.so.70)
at java.lang.Runtime.loadLibrary(libgcj.so.70)
at java.lang.System.loadLibrary(libgcj.so.70)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.forName(libgcj.so.70)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
...3 more
cooly@cooly-desktop:/usr/share/games/spring$
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

You will have to wait for AF to take a look at that Cooly, but you can try the latest pre-release that fixes the problem I mentioned earlier in the prior pre-releaes.

http://spring.unknown-files.net/file/35 ... elease_9a/

You no longer have to run it by terminal. Just "double click", or right click the AFlobby.jar and select "Sun Java 6 Runtime" to run.

Just a reminder for when you get the new version, make sure the settings.tdf in /lobby/aflobby/ is edited to point towards the unitsync.so and spring executable. You can try the locations I posted just above, which seem to be the typical default locations.

Code: Select all

springpath=/usr/games/spring;
unitsyncpath=/usr/lib/spring/unitsync.so;
Edit: o yeah, just a warning to cooly and anyone else who tries per-release 9a and below. When aflobby starts up correctly it attempts to join #aflobby. However, AF recently removed the password lock on #aflobby, which causes AFLobby to be unable to connect as it still sends a password. When you login please join #aflobby manually via either the channels tab or "/j #aflobby" command in a channel chat box.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

CoolyOriginal wrote: Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: n├âãÆ├é┬úo ├âãÆ├é┬® poss├âãÆ├é┬¡vel abrir objecto partilhado: Ficheiro ou directoria inexistente
not a language i understand, but i'm guessing you don't have the gimp toolkit installed. try installing libgtk1.2 and libgtk2.0-0 via your package manager (synaptic if you're on ubuntu) or "sudo apt-get install libgtk1.2 libgtk2.0-0" (if you're normally using aptitude substitute that)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Cooly Original.

You are not running Sun Java you are running gcj

gcj != Sun Java

I specifically state sun java.

GCJ is not supported

GCJ != standard Java

please uninstall GCJ and install the official Sun Java 6 release.
cooly@cooly-desktop:/usr/share/games/spring$ cd /usr/share/games/spring && java -jar AFLobby.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
at java.awt.EventQueue.invokeLater(libgcj.so.70)
at javax.swing.SwingUtilities.invokeLater(libgcj.so.70)
at aflobby.Main.main(Main.java:130)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: n├âãÆ├é┬úo ├âãÆ├é┬® poss├âãÆ├é┬¡vel abrir objecto partilhado: Ficheiro ou directoria inexistente
at java.lang.Runtime._load(libgcj.so.70)
at java.lang.Runtime.loadLibrary(libgcj.so.70)
at java.lang.System.loadLibrary(libgcj.so.70)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.forName(libgcj.so.70)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
...3 more
cooly@cooly-desktop:/usr/share/games/spring$
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

It hs come to my attention that satirik likes to complain about the french translations then immediatly log off to try and annoy me.

To this I say:

Translations are easy to modify. Open the French language .property file and simply modify the values, its all plain text, no complicated values or syntax its a simple this=that with each on a separate line. Its not hard, and you don't need to do it all at once, you can modify one or two values and let someone else do the rest.

I am not a native French speaker, I just use Google translate. If people are unhappy with the translations all they need is a text editor.
User avatar
nemppu
Posts: 417
Joined: 25 Jun 2007, 22:27

Re: [Linux Lobby] AFLobby Beta 2 Final

Post by nemppu »

AF wrote:ImageImageImage
ImageImageImage
ImageImageImage

Download AFLobby Beta 2 RC1.1 here
Download source code(alpha24)

Word of advice: These are beta builds, also known as pre-release builds, AFLobby is incomplete and what you see today are mostly placeholder interfaces, and is very likely to be torn out and rebuilt, however, AFLobby has basic functionality needed of a linux client.

Launcher/menu image:
Image
i dotn have linux(((
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

This also works under windows.
User avatar
nemppu
Posts: 417
Joined: 25 Jun 2007, 22:27

Post by nemppu »

Relative wrote:This also works under windows.
windows potr of linux program which make windows funktion to linux ????lol
Post Reply

Return to “Linux”