UnityLobby
Moderator: Moderators
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
For gentoo I thik it will pass some time until pygtk2.10 is available - now it is in 'earyly testing' stages (no idea how long it will take... ).
http://packages.gentoo.org/search/?sstring=pygtk
http://packages.gentoo.org/search/?sstring=pygtk
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Actually 2.10 is in gentoo now just need to unmask it.
By default gentoo doesnt unmask anything unless its been a stable a month i.e look @ which is latest stable driver for nvidia binary drivers.
There are exceptions to that rule, depending on maintainer / package
Theres just some really nice additions though :/
By default gentoo doesnt unmask anything unless its been a stable a month i.e look @ which is latest stable driver for nvidia binary drivers.
There are exceptions to that rule, depending on maintainer / package
Theres just some really nice additions though :/
- User beening able to reordering tabs
System tray icon *drools*, have some very nice ideas for that down the road.
More control over cell rendering in gtk.TreeView i.e use it for lobby player list / player list in Battle / map list / mod list. Can also add spin buttons into player list i.e be nicer to select army / ally / bonus. And possible might not need PIL anymore
And a much nicer way to code text completation i.e auto complete for nicknames in lobby chat.
And a url link widget. i.e could use it in lobby code, so when u click on url will start it up in your default webbrowser.
Yes, I know about unmasking, but it is not available 'by default' in the distro... - this is how I interpreted your question, anyway anyone can build it from source if they really want it.
(and about maked packages in gentoo I tried unmasking gnome 2.16 and it wasn't a very smooth process...)
But I think you should use the pygtk (nice features you listed). People who use linux generally know how to obtain what they want
(in this case a working pygtk2.10 for their distribution) and in a few months it will be available...
(and about maked packages in gentoo I tried unmasking gnome 2.16 and it wasn't a very smooth process...)
But I think you should use the pygtk (nice features you listed). People who use linux generally know how to obtain what they want

-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Yeah looks like i going use pygtk 2.10 & gtk2.10
Srry to other people that will wait till its in stable packages for there distros.
But to many nice additions to pass up.
Besides new gnome stable release is out. So distros should be updating soon enough to new gtk
Anyway current plans = the following been brain storming since got pygtk-2.10 & gtk+-2.10 installed
Some of these need 2.10 some dont. But these are current plans to get done over weekend
Srry to other people that will wait till its in stable packages for there distros.
But to many nice additions to pass up.
Besides new gnome stable release is out. So distros should be updating soon enough to new gtk
Anyway current plans = the following been brain storming since got pygtk-2.10 & gtk+-2.10 installed
Some of these need 2.10 some dont. But these are current plans to get done over weekend
- Remove needing Python Imaging Library
System tray icon with menu / blinking (thinking for nick highlighting / ringing )
There some sort of helper widget still got to try out. wonder if its like clippy for windows i.e might use for profile setup
User will be able to reorder tabs for lobby chat.
Got example for new widget that will let me allign widgets properbly. instead of current scenario where in options screen widgets arent aligned.
Also got example for dynamicly resizing the widgets when window is resized. i.e Battle Screen, Map Preview resizing with window resizing :)
Should also be able to put spinbuttons for Army / Side / Bonus picking. Not sure what todo yet fors sides yet (arm/core). Also might be able to add if u click on color on battle screen & it pops up color selector for picking the player / ai color.
Also add url widget which will open a webbrowser when user clicks on a link
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Anyone know of a decent linux screenshot program.
So damn annoying cant take screenshot with popup menus / tooltips
Anyway current WIP
Still have to add buttons for selecting color text for lobby chat i.e join / leave / motd etc...
Anyway should have it uploaded tomorrow
Note new dependences == pygtk-2.10 gtk+2.10 python 2.4
Anyone care to make a svg of spring logo ?

So damn annoying cant take screenshot with popup menus / tooltips
Anyway current WIP
- Splash Screen = Gone
New Dock App (top right in screenshot == taspring logo) = Popup menu to pick battle / lobby / options.
Battle / Lobby / Options = In there own windows (only able to open 1 of each)
When updating Map / Mod Cache Files. Popup menu for dock app is disabled & if u hover over it there is a tooltip showing current progress in text. It will also flash when its done till u click on it.
Lobby Server settings moved to Lobby Perfernces, nearly done Lobby perfernces screen
Also when click on X to close window its hidden. i.e u right click on dock app for battle / lobby / options & its back again. Should be nice to save desktop room & for people that like sitting in lobby chat.
Moved all unitsync calls into there own class. Should make it easier to add a worker thread just for unitsync down the road *hopes*

Still have to add buttons for selecting color text for lobby chat i.e join / leave / motd etc...
Anyway should have it uploaded tomorrow
Note new dependences == pygtk-2.10 gtk+2.10 python 2.4
Anyone care to make a svg of spring logo ?

-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Just minor update had very little time to code last few days. Still around
Hopefully get some done over weekend.
Also there is a new gentoo ebuild for latest svn version (well should work, unless svn got changed drasictly in last week)
Hopefully get some done over weekend.
- Got the Single Clicking On gtk.Treeview sorted out i.e Map / Mod List / Profiles.
Much nicer Lobby Preferences (Lobby Server Options moved into preferences) its basicly a popup window.
Looks alot like X-Chat Settings -> Preferences Window.
Also small GUI changes in generally, and a new ready button & ready icons in Battle List. Small change for in preparing for Lobby Battle Code which was needed.
Still having troubles with new some of the new features for pygtk i.e rendering combobox / spinners in gtk.TreeView. If anyone knows how todo plz give me a PM.
If anyone interesting in helping me code app, give a pm plz
Also there is a new gentoo ebuild for latest svn version (well should work, unless svn got changed drasictly in last week)
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Still waiting on release to upload to svn.
Dont want to upload till after release. Due to app requiring pygtk 2.10 & gtk 2.10. Which isnt available yet on most distros.
Anyway here is current screenshot.
Look @ the highlighted game in the Game List
Almost there to playing online.

Also added missing Battle Options i.e Limited DGun, Diminishing MM's etc
Dont want to upload till after release. Due to app requiring pygtk 2.10 & gtk 2.10. Which isnt available yet on most distros.
Anyway here is current screenshot.
Look @ the highlighted game in the Game List

Almost there to playing online.

Also added missing Battle Options i.e Limited DGun, Diminishing MM's etc
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Slowly been fixing some bugs.
I hopefully have new version uploaded on weekend. With limited battle code & a test server aswell thx to fnordia & betalord for setting up.
Code End
But if any that knows python got spare time.
Be nice if u could look over UnityLobby/client/Lobby.py
Its pretty much omni code to connect to lobby server. I just changed the functions it calls on below for GUI stuff etc & rewrote the timers so it didnt need wx.Timer.
Anyway noticed problem (not confirmed to late atm & about to get some sleep) is omni doesnt have exception handing for when Lobby Server gets restarted but server ip can still be pinged.
This will ofcourse cause the timer to fault on me & will freeze the GUI. If anyone got some spare time to look @ it plz do. All need is exception handly for it & i will add the remaining GUI code.
As i only roughly understand the code in question & i been busy adding Lobby Battle Code atm.
Graphics End
Need small & basic spring logo in png & transparent for window icon.
Would also be nice to get Lobby rank icons in png & transparent (instead of the white). U can find my rough png's using in svn under UnityLobby
I hopefully have new version uploaded on weekend. With limited battle code & a test server aswell thx to fnordia & betalord for setting up.
Code End
But if any that knows python got spare time.
Be nice if u could look over UnityLobby/client/Lobby.py
Its pretty much omni code to connect to lobby server. I just changed the functions it calls on below for GUI stuff etc & rewrote the timers so it didnt need wx.Timer.
Anyway noticed problem (not confirmed to late atm & about to get some sleep) is omni doesnt have exception handing for when Lobby Server gets restarted but server ip can still be pinged.
This will ofcourse cause the timer to fault on me & will freeze the GUI. If anyone got some spare time to look @ it plz do. All need is exception handly for it & i will add the remaining GUI code.
As i only roughly understand the code in question & i been busy adding Lobby Battle Code atm.
Graphics End
Need small & basic spring logo in png & transparent for window icon.
Would also be nice to get Lobby rank icons in png & transparent (instead of the white). U can find my rough png's using in svn under UnityLobby
- Michilus_nimbus
- Posts: 634
- Joined: 19 Nov 2004, 20:38
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Most of lobby battle code todo is simple enough.
And really is just tying the protocol to GUI.
As for data stores for info. Using gtk datatypes to store battle / user / lobby info etc i.e gtk.ListStore. So when it gets updated, GUI gets updated aswell.
Only really hard thing todo for battle is GUI code for drawing squares / rectangles on map to pick start locations & displaying Map starting locations.
Also will need to add a python thread to lauch spring & wait for it to finish for Battle Chat & updating client status when in/out of a game. But thats not critical to get done yet. Just be nice for advancing ranks.
Basicly most of GUI framework is done for Battle Code.
Just tedious adding in code for each protocol to update Battle Screen. Simply enough todo, just freetime todo work is whats taking so long.
Will upload to svn sometime this weekend.
Really be nice if someone could hunt down the bug in my previous post.
Or if someone knows how to write a python threading class with exception handling.
That will run a (outside of timer class) function @ specific intervals & beening able to stop / run thread. That would serious help me alot in debugging whats going wrong when i add some code.
And really is just tying the protocol to GUI.
As for data stores for info. Using gtk datatypes to store battle / user / lobby info etc i.e gtk.ListStore. So when it gets updated, GUI gets updated aswell.
Only really hard thing todo for battle is GUI code for drawing squares / rectangles on map to pick start locations & displaying Map starting locations.
Also will need to add a python thread to lauch spring & wait for it to finish for Battle Chat & updating client status when in/out of a game. But thats not critical to get done yet. Just be nice for advancing ranks.
Basicly most of GUI framework is done for Battle Code.
Just tedious adding in code for each protocol to update Battle Screen. Simply enough todo, just freetime todo work is whats taking so long.
Will upload to svn sometime this weekend.
Really be nice if someone could hunt down the bug in my previous post.
Or if someone knows how to write a python threading class with exception handling.
That will run a (outside of timer class) function @ specific intervals & beening able to stop / run thread. That would serious help me alot in debugging whats going wrong when i add some code.