[Linux Lobby] AFLobby Beta 3.9.7
Moderator: Moderators
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);

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);
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
-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
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/.

edit: The link three posts ago also doesn't work for me..
They both redirect me to http://xlphp.net/aboutus.php/.
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
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
I had translated it .
But here again:
infolog.txt:
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.
But here again:
I used the command chmod -R 777 * and now Spring calls the same error: "Speicherzugriffsfehler" means "storage access error".AFLobby beta1 Release candidate
aflobby.sh: line 2: 11483 storage access error java -Djava.library.path=. -jar aflobby.jar
infolog.txt:
Edit: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
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.
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.

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.

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))
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.

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.

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))