[Linux Lobby] AFLobby Beta 3.9.7 - Page 46

[Linux Lobby] AFLobby Beta 3.9.7

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

Moderator: Moderators

User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

- Added more ladder integration
- Added basic springmark stats, namely the spring mark score, the cpu model, and the ram. No further data is planned to be included and it shall remain 100% informative.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Great work AF, am downloading java runtime at the moment in ubuntu to play around with your lobby :)
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

What do i need to do for the lobby to pick up my maps and mods?? It won't pick them up :(

edit > fixed it no worries
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Could you put here what the problem was and how it was solved? It might help other users

Progress

I have partial ladder integration.
Ladder Todo list:
  • Set up minimum and maximum ally sizes
  • Set up filtering mod and map lists
  • Report games when finished
I've made a lot of little changes and tweaks. Rattles request that channels remember wether they use aim/msn style line formatting or IRC style formatting is done, and the labels been tweaked accordingly to make it clearer. Starting rectangles can now be saved and loaded, and a few bugs with logging in and not detecting disconnects have been fixed.

I've made updates on smoths forums in the form of windows installers but a beta 4 isnt too far away rather than call it beta 4 though Ill call it beta 3.9. The last installer on smoths forums has one or two issues and is 3-4 days old.

Most importantly.

Usually if I wake up and Im in a daze or I have a minute or two, I open up AFLobby and this thread and look for small requests, little things that dont take long to implement or small minor bugs, and I do them. But lately the well of minor bug reports and features has dried up and Im left in a daze with nothing todo, with either not enough time to implement a larger feature or a lack of focus for it.

So make big long lists of small requests, report that little mistake I made that doesnt really matter but would look better, your not being a pain in doing so, your helping me improve the lobby.

Remember, if something annoys you and you flag it as 'not implemented yet' and dont bother mentioning it, step back, if something small is annoying report it as a bug, and if it really is small itll be done in the following few hours.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

For my error i think the settings program i had accidently overwritten springrc data directory. Nothing to do with your wonderful lobby.

My only suggestion right now, make drawing boxes easier please, i would like it so we can just draw on the map straight away like tasclient can, click a button to draw one, then clicking to draw again and then having to click update. Kinda annoying!

Other than that great work!
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

filtering/marking battles i can/cannot join because of map/mod present on my machine comes to mind

the lobby could be more verbose on errors: server unreachable, starting a battle where not all players have the right map/mod, etc.

adding (remembering) manually entered servers to the server list

one thing i haven't noticed until now when actively looking for things to improve: when i click on host in the host game tab, the new window that opens gets the standard gnome window decorations, not the substance ones. any idea why? if you know that you've changed something that mighty affect this since 3.5 release i will try out svn version. (link please)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

That's because none of the windows use the substance decorations. The main aflobby window is undecorated and has custom close/minimize buttons etc. Rather than re-implement this for all the other windows I just made them decorated so they'd have the OS' resizing behaviours applied.

For starting rectangles would it be an immediate improvement if simply clicking on the mini map picture did the same as clicking on 'add box'?

koshi can you give examples of servers? Aside from the request, if they're common servers then they should be added to the list by default anyway.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

That would deffinatly be an improvement, it is annoying having a button you have to click to add a rectangle, when the sole purpose of that part of the lobby is to add rectangles, so why create an extra step for users?

:)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Then try this:

http://rapidshare.com/files/57430143/af ... 7.zip.html

UF hates me for some reason.

latest svn version. It should have a lot of little improvements that should be useful like the Settings UI for picking unitsync and spring out or picking wether to use substance native or java swing themes.(those aren't in 3.5 already are they?).

edit:: forgot that I lost the change for saving rectangles in a power cut so it only loads in that build oops..
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

AF wrote:That's because none of the windows use the substance decorations. The main aflobby window is undecorated and has custom close/minimize buttons etc. Rather than re-implement this for all the other windows I just made them decorated so they'd have the OS' resizing behaviours applied.
So I guess the substance decorations are somewhat ugly? Aside from the needed effort, wouldn't it be best to customize substance to your likings? That way you won't have to do the decorations manually for every window and your lobby would have a more consistent look.
AF wrote: ... if they're common servers then they should be added to the list by default anyway.
Just my home server

just checked out the svn-version, some thoughts:
- lobby seems to react faster. goody!
- ui settings tab has v/h scroll bars with default sized window, maybe don't use fixed size?
- on login tab has an icon, seems a little misplaced to me as no other tab has one as well
- you once again included startscripts. the first line should contain a shebang like

Code: Select all

#!/bin/bash
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

It seems my university is stuck with Java 5 SE =( So Im going to have to start porting things again for Java 5.

That doesn't mean its ok to keep Java 5 when Java 6 is available, if only because Java 6 runs faster and has fewer bugs and more features.

btw relative, I added a function call to Socket.SetSoTimeOut for 5 seconds, Im not sure if the timeout has a value by default or if its indefinate (which would explain your issue).

Todo::
  • Fix Force teams not updating the User Interface
  • Finish integrating the ladder
  • Sort out decimators (and others) request for putting the battle list on the bottom rather than in a tab
  • Saving starting rectangles
  • Some code cleanup and tweaking here and there
  • Possibly put smiley selection comboboxes in the private message window and in the battle window (they still work its just easier/prettier to use the combobox e.g. type :pikachu: in a battle window and send)
  • possibly possibly put in a replacement method for highlighting urls (unlikely)
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

A bug: Please when i click start in the battle window, don't let me click start again, i clicked start, waited and nothing happend, clicked again and it all fucked up as it was actually loading from the first time i clicked start.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

@clericvash: done

I've also made it so the msgbox gains the focus when switching to a channel tab.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Done::
  • Fix Force teams not updating the User Interface
  • Fix initial values of team and ally team not being updated in the GUI
  • Fix chat highlighting bug
  • Correct focus bug
  • Made channel msgbox gain focus when channel is shown
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Hey AF, any news on the deal that was messing with funta and CA?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

get someone to run spring with aflobby through a debugger with FunTA. AFLobby does exactly as its supposed to its spring that gives the error. I can only go so far on my side of the divide at the moment.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

AFLobby as of r4456. Windows XP SP2, java 1.6.0_02.

nothing appears after "connecting" screen when connecting to localhost or http://www.osrts.info, even though AFLobby recieves and is able to respond to traffic (and even pops up a PM window, despite the main ui being broken - as in, not redrawing itself.)


exceptions:
during join. the address changes every time and it never works. kinda scared that it tries to call home to several different locations without warning.

Code: Select all

java.io.FileNotFoundException: http://netfast.org/blog
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at java.net.URL.openStream(Unknown Source)
        at aflobby.Misc.getURLContent(Misc.java:274)
        at aflobby.CUnitSyncJNIBindings.LoadUnitSync(CUnitSyncJNIBindings.java:51)
        at aflobby.CSync.Setup(CSync.java:61)
        at aflobby.LoginTask.run(CLoginPanel.java:31)
...
upon recieving pm (while main ui is dysfunctional)

Code: Select all

Exception in thread "Timer-3" java.lang.NullPointerException
        at aflobby.CChatPanel.ParseChatText(CChatPanel.java:148)
        at aflobby.CChatPanel.AddMessage(CChatPanel.java:49)
        at aflobby.CPrivateMsgWindow.Add(CPrivateMsgWindow.java:371)
        at aflobby.CPrivateMsgWindow.NewEvent(CPrivateMsgWindow.java:433)
        at aflobby.CPlayers.NewEvent(CPlayers.java:121)
        at aflobby.LMain.ProcessEvents(LMain.java:576)
        at aflobby.LMain.Update(LMain.java:450)
        at aflobby.UpdateTask.run(LMain.java:43)
        at java.util.TimerThread.mainLoop(Unknown Source)
        at java.util.TimerThread.run(Unknown Source)
...
on sending a reply (while main ui is dysfunctional)

Code: Select all

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at aflobby.CChatPanel.ParseChatText(CChatPanel.java:148)
        at aflobby.CChatPanel.AddMessage(CChatPanel.java:49)
        at aflobby.CPrivateMsgWindow.Add(CPrivateMsgWindow.java:371)
        at aflobby.CPrivateMsgWindow$3.run(CPrivateMsgWindow.java:115)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

For those of us who are really interested but aren't coders per se...

Could you repeat that in relatively easy to understand terms?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

AFLobby calls home to report statistics for unitsync. The link is:

http://www.darkstars.co.uk/linkcount.php

These stats are em testing though and a few successful logins before it borked.

However, there's a big problem in that I currently use byethost as my webhost and byethost have slowly and silently been removing the odd feature from their free hosting without telling anybody. A few days after I released aflobby builds that reported the stats, byethost started treating AFLobby as if it were accessing an unknown url, and when byethost does this instead of saying 404 it redirects to a blog full of adverts, aka the sites you get listed in those stack traces.

However that stack trace is not a crash its an exception being caught then printed.

The chat pane crashes with pms don't really make as much sense, were you running with -verbose flag? If Java crashes in the dispatch thread it wont show unless verbose is specified.

I have just amde a few minor changes to try and help clarify things though in the login process, and cleaned up a little slightly..

@Foreboding

I cant find anything wrong with aflobby at the moment that could cause this, I think running spring through a debugger with aflobby would reveal more in figuring out why spring locks up at the end of loading, and why it only seems to do it for Fun TA and CA.

However I will do some research into it
Post Reply

Return to “Linux”