[Linux Lobby] AFLobby Beta 3.9.7 - Page 35

[Linux Lobby] AFLobby Beta 3.9.7

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

Moderator: Moderators

Drezil
Posts: 33
Joined: 08 Mar 2007, 13:32

Post by Drezil »

minor bug:
only the first line of the settings->on Login-File is executed under linux.
maybe another /r/n vs. /n -error?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I noticed on my laptop that it still doesnt load newlines from settings, which is quite annoying as its all set up to use the system default newline separator. I'm at a loss as to how to fix this issue, rest assured it works perfectly under windows.
Drezil
Posts: 33
Joined: 08 Mar 2007, 13:32

Post by Drezil »

can u show me the source? maybe i'm able to find some solution inside the java-api.. ;)

edit: i dunno what function u use, but this one should do it:
http://java.sun.com/j2se/1.5.0/docs/api ... eader.html
method: readLine()

should be not more than a while(row = br.readLine) handleLine(row);
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I've already posted the class in this thread as a link to a pastebin

edit::I cant find the link *_*
User avatar
theHive
Posts: 124
Joined: 13 May 2007, 06:54

Post by theHive »

Ummm... I can't seem to see people in the battle window.

The list of people only shows the host for me...

Any idea why? I'll keep looking to see if I've done something to it...
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

I can confirm Hive's bug.

http://pastebin.ca/605969
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Changelog Beta 1.3

-Fix: Battle player list colours fixed
-Fix: Battle player list will no longer cause lag in GUI when allies join or leave
-Fix: Player tab in main view will no longer lag the GUI either
-Fix: Battle player list now shows all players fixing a formatting bug in beta 1.2
-Fix: A minimap bug caused crashes in beta 1.2 and has been fixed.

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

Post by Relative »

I'm still getting hat bug where AFlobby locks up after spring exits from a game. I'm not sure if this happens once a game starts or when it ends, and there is nothing in the terminal output.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

fixed.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

I'd like to try the latest version but the link in the first post is dead and the AFLobby Gallery site on Darkstars only throws PHP errors.. :(

edit: The link three posts ago also doesn't work for me..

They both redirect me to http://xlphp.net/aboutus.php/.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

What browser are you using? If its firefox then no wonder. Blame byethost, the link should be valid, I'm moving servers again soon.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

Hmm, you're right.. Works with wget.. But I bet nearly everyone on this forum uses Firefox ;)..
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

56% firefox, 38% IE, 12% Opera

Ill use google pages to host it if I haven't switched servers yet for 1.4

As a side note, I tried implementing the UI for restricted units and ran into unitsync crashes, I must be doing something wrong but there's no documentation and the only examples are in tasclient buried in mounds fo unintelligible delphi code
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

AFLobby beta1 Release candidate
aflobby.sh: line 2: 11483 Speicherzugriffsfehler java -Djava.library.path=. -jar aflobby.jar
Speicherzugriffsfehler=File access error
I remember this error but I don´t know how to fix it.
Using Java 1.6.
Drezil
Posts: 33
Joined: 08 Mar 2007, 13:32

Post by Drezil »

falsche rechte. vielleicht als root entpackt oder die dateirechte passen nicht? mach mal ein
chmod -R 777 *
in dem AFLobby-Verzeichnis.

maybe wrong privileges. maybe inzipped as root or files owned by wrong user/group?
try doing a
chmod -R 777 *
in the aflobby-root.
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

No doesn´t work. It happens if aflobby loads unitsync.so. But I downloaded my compiled unitsync.so.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

translation?
User avatar
Agon
Posts: 527
Joined: 16 May 2007, 18:33

Post by Agon »

I had translated it .
But here again:
AFLobby beta1 Release candidate
aflobby.sh: line 2: 11483 storage access error java -Djava.library.path=. -jar aflobby.jar
I used the command chmod -R 777 * and now Spring calls the same error: "Speicherzugriffsfehler" means "storage access error".
infolog.txt:
Using read-write data directory: /usr/share/games/spring/
Using read-only data directory: /usr/lib64/
Using script Commanders
Map: Mars.smf
Mod: "NOTA v1.30" from NOTA130.sd7
Edit:
Fixed both. It was a access problem. I changed every group from root to users. And it worked. I thought it is enough to change the user and not the user and the group. Maybe I changed a missing user property from root to "me".

Maybe Aflobby could check his authorizations. Same for Spring. Would be good to found out which file is not under user control.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I dont run linux youll have to provide me with unambiguous pseudocode to check this that isnt specific to your setup.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Beta 2 Progress

I've made some progress since beta 1.3. I've made a new GUI control for chat messgs so I can update everything at once rather than making the update to every single instance, which means private messages and the battle window should now have smiley support amongst other improvements.

I've also corrected a bug that could cause the lobby GUI to block when spring starts, for this reason Im fastracking beta2 RC1. A few swing GUI work outside the GUI thread was found int eh PM window class which has been corrected too.

The battle window has had a few updates including a larger minimap which has been moved inside the player list pane, formatting fixes, and an attempt at restricted units support. The colour of the player list has been corrected as it was a few shades too dark, and the black border removed.

Image

If I can get restricted units support working Ill start revamping the UI for it to show a list with a custom renderer to show unit build pictures in RC2, surely a pretty list with images is better than a bog standard list of internal unit names in a small dialog box?

I'm also in the process of working on a starting box drawing tab, however this isnt a priority for RC1.

Image

The user would see the minimap in that box, they'd press AddBox and a new box would appear in the centre.

The user can then drag that box into position and resize the box accordingly and press update battle. They could then save the boxes for a later date.

A mapper could then package that box file with their map putting boxes.box in their root archive folder, so that AFLobby cna laod it when 'load reccomended boxes' is pressed.

I've yet to decide howto add corner and north v south east v west boxes yet.

In other news its my birthday tomorrow!(12thjuly(19))
Post Reply

Return to “Linux”