UnityLobby - Page 20

UnityLobby

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

Moderator: Moderators

Locked

What would u like to see implentent next (after next release should be tomorrow or day after at most)???

Poll ended at 20 Jul 2006, 01:04

Direct IP Multiplayer Games
7
54%
Chatroom (chat only for the moment)
1
8%
More Options for Configure Section
2
15%
More Options for Skirmish Section i.e colors teams spectators etc
3
23%
 
Total votes: 13

hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Image

Just an update of current screenshot.
Torrasque
Posts: 1022
Joined: 05 Oct 2004, 23:55

Post by Torrasque »

It's cool to see that you're still in !
You seem to be the guy who will give linux user the ability to play easly :)

But I cannot see the picture you just posted..
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

looks really good, I seem unable to drag it off svn for some reason. I assume you will be doing one large commit later?
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Not on svn yet.
Due to it not completely ready yet, and of course user proof.
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

/me drools

Heh, if you need any help debugging you know i'm always in the #taspring channel when i'm awake.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Notes about Current Version commited to svn.

Requires
  • Pygtk 2.10
    Gtk 2.10
Battle Code is not functional yet. I.E cant be used to start an online game yet... Still got some things to code in

But if u look @ UnityLobby/documenation/bugs.txt u see what needs to be done atm.
So if u want to help take alook @ it plz. There is also some proper comments for GUI_Lobby.py & Battle.py added aswell.

Theres atleast 3 bugs.
  • 1 Not sure where it is yet its somewhere in Lobby Code. Gonna try out a new debugger tomorrow.
    1 Is regards to Battle Chat only sending / receiving (or both) 1 word will fix tomorrow
    1 GUI freeze for warning dialog popup for Lobby
And my first 2 real regession bug is not remembering sizes of UnityLobby Window Sizes.
Also forgot to fix Player Name for Battles

Atm
UnityLobby Single Player (with some of the missing battle options added)
And Spring Config Options == working.
Also changed flags over to same as TASClient is using.


Side Note. Mainly commited, incase someone wants to help. And also handier for me to look @ svn changes so i can track down a bug when a new one crops in my local changes. Been driving me crazy debugging in python threads.

Also got some rough plans for down the road regarding user about updating & informing user about AI / Spring updates. But thats for a different day.

Lastly plz commit on GUI overhaul, good & bad. If u get around to testing it thx.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

I will probably get on the edgy beta which has this new pygtk 2.10.1 library does the fact is 2.10.1 make any difference? as its been tested with 2.10

EDIT i also noticed that on http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.10/ python 2.10.3 is now available.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Blah shhh
There just minor revisions to pygtk 2.10 & gtk 2.10 i.e bug fixes.

UnityLobby requires it due to some new GUI features that were adding in i couldnt live without.
Anyway should work.

Just minimal requirements is
  • Python 2.4 (Python 2.5 may or may not work depends on if the timer class in UnityLobby got broken or not)
    PyGtk 2.10
    Gtk 2.10
    Python Imaging Library (havent got time yet, to see if i can replace it using new pygtk features yet)
edited :- U could have just asking in irc u logged on & then off :P
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

2 more commits today
  • 1 = Fix for hardcoded path to system tray app image
    2 = Improved UI for PMing Users. Still need to add support for when user leaves lobby server though

For those running the non kde / gnome desktops.

http://www.freedesktop.org/wiki/Standar ... mtray-spec

Above link is for specs on dockapp gtk 2.10 is using. Incase u want to check if your WM of choice supports it, or if WM dev's are working on adding support for it
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Ok due to concerns about dock app & WM.
Plz make a reply here stating which WM its not working for u & version & distro u using aswell (incase they added custom patchs).

I will then test out & try to solve problems here & find out @ website forum's / irc / email & dev's if i need to.
pheldens
Posts: 191
Joined: 12 Aug 2006, 21:35

Post by pheldens »

I use ion3, which stock supports windowmaker and kde type tray icons only. But i now run another tray for opendesktop type icons called "docker", "xystray" (sic) should work too.

your code is fine.
pheldens
Posts: 191
Joined: 12 Aug 2006, 21:35

Post by pheldens »

hollowsoul, seems that last md5 fix didnt solve regestiring entirely.

Code: Select all

> svn up
C    trunk/UnityLobby/resources/spring.png
U    trunk/UnityLobby/client/GUI_Lobby.py
G    trunk/UnityLobby/client/main.py
Updated to revision 2379.

> Unity 
> Profile Launched
Traceback (most recent call last):
  File "/home/pheldens/games/spring/svn/trunk/trunk/UnityLobby/client/GUI_Lobby.py", line 310, in register_account
    self.gui_lobby.register_account(server_address, port, username, encoded_password)
AttributeError: gui_lobby instance has no attribute 'register_account'
Traceback (most recent call last):
  File "/home/pheldens/games/spring/svn/trunk/trunk/UnityLobby/client/GUI_Lobby.py", line 310, in register_account
    self.gui_lobby.register_account(server_address, port, username, encoded_password)
AttributeError: gui_lobby instance has no attribute 'register_account'
User avatar
Icebird
Posts: 51
Joined: 29 Jun 2006, 20:17

Post by Icebird »

the dock is working fine on fluxbox anyway
and it's now looking really great!


Otherwise I got an error while trying to select any mod (.sdd, .sdz, .sd7):

Traceback (most recent call last):
File "/home/icebird/ta/trunk/UnityLobby/client/Battle.py", line 630, in ModSelection
sides = self.mod_archive_sides()
AttributeError: battle instance has no attribute 'mod_archive_sides'

e: mmm actually it is working .. only the 'side' (arm/core) is not updated



edit: and unity seems to crash if you provide a wrong password to login .. feature or bug ? :P
pheldens
Posts: 191
Joined: 12 Aug 2006, 21:35

Post by pheldens »

I have seen that side bug too.
And the initial registration process is still broken indeed (see bug above).
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Another fix for registering accounts
And fix for updating side info

Both bugs were caused when i renamed most of the functions. To a nicer code style i.e mod_archive_sides -> ModArchiveSides

Will look @ other bugs later tonight
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Couple more of Battle Hosting & Joining & Battle Chat bugs fixed.

Thx for <spreeuw> for hosting passworded battle with UnityLobby so was alot easier to test against.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Image

Will be uploading in abit.

Optimizing
Optimizing User Data ( Abstracted User Info, should cut down cpu usage afar bit for Lobby Protocol CLIENTSTATUS)

Small Optimizing for gtk.TextBuffer by using same gtk.TagTable. Instead of seperate tag tables for each chat tab.

Addition Changes
Added User defined Options to pick Lobby Text Colors.

Todo
Add option for faded color for user when afk & same color when battle is already started.
Update Battle Code due to changes in abstracting user info.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

I just svn-checked out the (now second) latest version of Unity, nice job! I'll see if I can't kill some of those bugs on your list, assuming you haven't already. :)
Last edited by Kloot on 19 Oct 2006, 20:33, edited 1 time in total.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Be nice if u can :)

btw Just commited 2 secs ago

Code: Select all

deco@hollow ~/UnityLobby/trunk $ svn commit UnityLobby/
Sending        UnityLobby/client/Battle.py
Sending        UnityLobby/client/GUI_Lobby.py
Sending        UnityLobby/client/Lobby.py
Sending        UnityLobby/documentation/readme
Adding  (bin)  UnityLobby/resources/ranks/0.png
Sending        UnityLobby/resources/ranks/1.png
Deleting       UnityLobby/resources/ranks/5.png
Transmitting file data ......
Committed revision 2418.
Btw the whole font-weight thing in userlist. Wont be staying.
In favour of user setting for color for afk user i.e so u can have users greyed out when afk
Locked

Return to “Linux”