[Linux Lobby] AFLobby Beta 3.9.7
Moderator: Moderators
Progress Report
I have replced the fancy view picker as it wasnt realy working very nicely and was just feature grow. I also added minimize and maximize buttons and fixed a bug with resizing when maximized. I also prevented the window covering the taskbar when maximized.
I also added a new icon on channel tabs with new messages as shown below:

I've changed the login box to allow pressing enter to login as paulomorfeo suggested and I've added checks ot prevent logging in when the boxes arent filled in.
Channel colours are changed too to prevent the sickly orange text or the pale blue. Channels also close properly and give warning when you're kicked. Battles also show a messge when the host quits.
I've also tested a few unitsync VFS functions I've not used before and there'll be changes in the JNI bindings which means someone will have to build a new libjavaunitsync.so at some point.
Minimaps are also saved to lowercase filenames now.
I have replced the fancy view picker as it wasnt realy working very nicely and was just feature grow. I also added minimize and maximize buttons and fixed a bug with resizing when maximized. I also prevented the window covering the taskbar when maximized.
I also added a new icon on channel tabs with new messages as shown below:

I've changed the login box to allow pressing enter to login as paulomorfeo suggested and I've added checks ot prevent logging in when the boxes arent filled in.
Channel colours are changed too to prevent the sickly orange text or the pale blue. Channels also close properly and give warning when you're kicked. Battles also show a messge when the host quits.
I've also tested a few unitsync VFS functions I've not used before and there'll be changes in the JNI bindings which means someone will have to build a new libjavaunitsync.so at some point.
Minimaps are also saved to lowercase filenames now.
Very nice indeed, I can't wait till I can start playing spring again, and this lobby will be so useful since I've moved to linux (gentoo/ubuntu dual boot). It also means I can attract more linux users to spring without having to do workarounds. Now all we will need is an official repository for ubuntu/debian for v75 and this lobby and we can start attracting those RTS starved linux folks!
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Yeah, what is the likelihood that tobi would include Aflobby in the .debs? I would make it easier to promote spring to linux users if everything was in one neat repository.Lippy wrote:Very nice indeed, I can't wait till I can start playing spring again, and this lobby will be so useful since I've moved to linux (gentoo/ubuntu dual boot). It also means I can attract more linux users to spring without having to do workarounds. Now all we will need is an official repository for ubuntu/debian for v75 and this lobby and we can start attracting those RTS starved linux folks!
Also, Aflobby Beta RC1 is working great. The lobby doesn't crash now when the host closes the battle lobby, the hosting issue that I was trying to articulate and failed to do so is no longer an issue, and things feel a little more responsive in general. Only thing problem is the one I made you aware of last night, the random lock-ups when joining channels, but even that is a little less frequent is the current build.
Edit: Also, the spectator issue is now resolved.
http://www.darkstars.co.uk/randomfiles/ ... itSync.cpp
New java unitsync bindings. These add the new Search VFS function. I may add a SearchArchive function soon though along with a rename of JUnitsync to CUnitsyncJNIBinding.
New java unitsync bindings. These add the new Search VFS function. I may add a SearchArchive function soon though along with a rename of JUnitsync to CUnitsyncJNIBinding.
nm:
http://www.darkstars.co.uk/randomfiles/ ... ndings.cpp
adds ListFilesArchive and removes FindFilesArchive, fixes a small error with SearchVFS, and renames the class from JUnitsync to CUnitSyncJNIBindings.
To be plonked into the unitsync project as a replacement for the old JNI bindings file. This version wont work with alpha 23/24 and is intended for beta 1.
http://www.darkstars.co.uk/randomfiles/ ... ndings.cpp
adds ListFilesArchive and removes FindFilesArchive, fixes a small error with SearchVFS, and renames the class from JUnitsync to CUnitSyncJNIBindings.
To be plonked into the unitsync project as a replacement for the old JNI bindings file. This version wont work with alpha 23/24 and is intended for beta 1.
In my research I've discovered why some people get lockups joining large channels.
http://java.sun.com/products/jfc/tsc/ar ... eads1.html
It seems I've not been using swing correctly and making rather ugly calls which can cause the swing GUI thread to cause issues. Examples include retrieving a textboxes contents outside the GUI thread.
http://java.sun.com/products/jfc/tsc/ar ... eads1.html
It seems I've not been using swing correctly and making rather ugly calls which can cause the swing GUI thread to cause issues. Examples include retrieving a textboxes contents outside the GUI thread.
Yes, you can see a single player option on the splash screen albeit its disabled atm as there is no implementation for that yet. I want to work on getting the main functionality of the lobby working and stable as best I can.
Once I have changed a few little things and finished the task of securing all my GUI calls to prevent swing locking up on some users, I'll release. I dont want to release beta 1 and have users suffering from GUI lockups because most of the time they dont report it, and simply label aflobby as bad.
I've got to add an extra call to the unitsync bindings that was added in v0.75 of unitsync, that returns the version of spring, aswell as a call or two to get the AI data such as the AI name (not even tasclient or spring.exe asks skirmish AIs for their names, they just show the filename).
Also would somebody see about creating a deb package for aflobby? I want beta 1 to have an installer program for windows and a package of some kind for linux users.
Once I have changed a few little things and finished the task of securing all my GUI calls to prevent swing locking up on some users, I'll release. I dont want to release beta 1 and have users suffering from GUI lockups because most of the time they dont report it, and simply label aflobby as bad.
I've got to add an extra call to the unitsync bindings that was added in v0.75 of unitsync, that returns the version of spring, aswell as a call or two to get the AI data such as the AI name (not even tasclient or spring.exe asks skirmish AIs for their names, they just show the filename).
Also would somebody see about creating a deb package for aflobby? I want beta 1 to have an installer program for windows and a package of some kind for linux users.
http://www.darkstars.co.uk/randomfiles/ ... ndings.cpp
Updated with spring version and some line ending fixes.
Updated with spring version and some line ending fixes.
Tried ti just now, looks nice, but I couldnt get it to build a package. the GUI app for generating spec files shuts itself down without warning when you try to move from stage 4 to 5.
Also the dev environment package doesnt work properly. I installed it twice yet it still couldnt find any of the programs it says to use in the bash prompt that the package was meant to install.
I tried to follow the quickstart page to no avail. Its a shame really.
Also the dev environment package doesnt work properly. I installed it twice yet it still couldnt find any of the programs it says to use in the bash prompt that the package was meant to install.
I tried to follow the quickstart page to no avail. Its a shame really.
- SwiftSpear
- Classic Community Lead
- Posts: 7287
- Joined: 12 Aug 2005, 09:29