Page 43 of 49

Posted: 03 Sep 2007, 18:09
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/

Posted: 03 Sep 2007, 18:13
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.

Posted: 03 Sep 2007, 18:38
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

Posted: 03 Sep 2007, 19:01
by CoolyOriginal
Image

thats the error

Posted: 03 Sep 2007, 19:02
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.

Posted: 03 Sep 2007, 19:05
by CoolyOriginal
where can i get that ?

Posted: 03 Sep 2007, 19:08
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.

Posted: 03 Sep 2007, 19:14
by CoolyOriginal
i dont open it by console i use right click and sun java 6 :roll:

Posted: 03 Sep 2007, 19:35
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

Posted: 04 Sep 2007, 00:32
by Relative
Lol, in pre-release 9 the smilies now work, but the flags and ranks are borked again :P

Posted: 04 Sep 2007, 00:33
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

Posted: 04 Sep 2007, 00:54
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;

Posted: 04 Sep 2007, 13:29
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$

Posted: 04 Sep 2007, 14:21
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.

Posted: 04 Sep 2007, 14:58
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)

Posted: 04 Sep 2007, 20:43
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$

Posted: 04 Sep 2007, 20:53
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.

Re: [Linux Lobby] AFLobby Beta 2 Final

Posted: 04 Sep 2007, 22:54
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(((

Posted: 04 Sep 2007, 22:55
by Relative
This also works under windows.

Posted: 04 Sep 2007, 22:58
by nemppu
Relative wrote:This also works under windows.
windows potr of linux program which make windows funktion to linux ????lol