UnityLobby
Moderator: Moderators
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
For me Gentoo's portage is the easiest thing to use and it seems easy to maintain also. Anybody is of course free to like/implement something else, but I say just to make a different opinion known.
Of course for the sake of the game there should be probably deb-s or something else like rpm available... But then again I do not know on what distribution will be spring played mostly
.
Can't wait to play with the linux lobby
. (and I will compile from source if necessary
)
Of course for the sake of the game there should be probably deb-s or something else like rpm available... But then again I do not know on what distribution will be spring played mostly

Can't wait to play with the linux lobby


-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
To install spring from .debs, put the following into your /etc/apt/sources.list file:
Code: Select all
http://www.osrts.info/~tvo/deb edgy spring
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Small status update, (while i take abreak)
Have the basic's of GUI Done,
Also got code to connect to Lobby Server, and abstracted data code for Lobby Users & Lobby battle.
Also more importantly got close buttons as in firefox 1.x in tabs for Lobby Channels / PMs done. Will have a screenshot of it later tonight. Love the small things
Still abit todo, hoping for a release tomorrow sometime with abit of luck.
Below is extract from lobby connection logs. May be hardcoded turned on for first release, depending if i get time to add GUI options & would also like to add support for log rotations
Have the basic's of GUI Done,
Also got code to connect to Lobby Server, and abstracted data code for Lobby Users & Lobby battle.
Also more importantly got close buttons as in firefox 1.x in tabs for Lobby Channels / PMs done. Will have a screenshot of it later tonight. Love the small things
Still abit todo, hoping for a release tomorrow sometime with abit of luck.
Below is extract from lobby connection logs. May be hardcoded turned on for first release, depending if i get time to add GUI options & would also like to add support for log rotations
Code: Select all
[21:42:08] [Connecting to taspringmaster.clan-sy.com Port 8200 at Sat Feb 24 21:42:08 2007]
[21:42:08] [Connected at Sat Feb 24 21:42:08 2007]
[21:42:09] [Lost connection:[Failure instance: Traceback (failure with no frames): exceptions.NameError: global name 'processCommand' is not defined
] at Sat Feb 24 21:42:09 2007]
[21:43:06] [Connecting to taspringmaster.clan-sy.com Port 8200 at Sat Feb 24 21:43:06 2007]
[21:43:06] [Connected at Sat Feb 24 21:43:06 2007]
[21:44:12] [Connecting to taspringmaster.clan-sy.com Port 8200 at Sat Feb 24 21:44:12 2007]
[21:44:13] [Connected at Sat Feb 24 21:44:13 2007]
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Hopefully yes...
Just need todo the generating script.txt code.
Should be alot easier since the battle data / code is abstracted now, instead of previously where it was read from the gui widgets
And also need to add all the Lobby Protocol Code again. Wont be much work as bitmasks / most of gui code i can use from previous version without to much changes
Anyway was just doing the LOGIN protocol when realised been doing it really backwards.
Small change that took abit of reworking. U add servers by
Picking Server Name (Just for UI purposes)
Server Address
Server Port
Uponing sucessfull logging into server, u will see the following popup

Where u then put in your username / password. Which is saved into server config file & read later on when connecting to the server. Password is saved in encrypted forum. Still will get the popup regardless.
Will make the popup nicer later on, but for now it will do.
edit: There is also popups for Failed Logins / Failed Registrations
Just need todo the generating script.txt code.
Should be alot easier since the battle data / code is abstracted now, instead of previously where it was read from the gui widgets
And also need to add all the Lobby Protocol Code again. Wont be much work as bitmasks / most of gui code i can use from previous version without to much changes
Anyway was just doing the LOGIN protocol when realised been doing it really backwards.
Small change that took abit of reworking. U add servers by
Picking Server Name (Just for UI purposes)
Server Address
Server Port
Uponing sucessfull logging into server, u will see the following popup

Where u then put in your username / password. Which is saved into server config file & read later on when connecting to the server. Password is saved in encrypted forum. Still will get the popup regardless.
Will make the popup nicer later on, but for now it will do.
edit: There is also popups for Failed Logins / Failed Registrations
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Just another small teaser..
Warning Dialog, cant believe i missed gtk.MessageDialog first time i was writing UnityLobby. (was using gtk.Dialog)

Anyway upon connecting u get login popup, if u get denied logging in u see above, and then after pressing ok. Login Popup is back again. i.e u are still connected to server.
Now need to fixup the Registration Denied after a small break
Warning Dialog, cant believe i missed gtk.MessageDialog first time i was writing UnityLobby. (was using gtk.Dialog)


Anyway upon connecting u get login popup, if u get denied logging in u see above, and then after pressing ok. Login Popup is back again. i.e u are still connected to server.
Now need to fixup the Registration Denied after a small break
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Anyway another small status update.
Havent got todo much code today...
Bloody fedora needs an update about 600mb in total to run (have no time to sort out the problem manually).
Anyway took awhile but finally sorted out a teeting problem i had with twisted & freezing app when trying to close it. Turns out dont need to enter / exit gtk threads with python-twisted, already loving this
.
Unfortantely above took me around 1-2 days to hunt down & delayed me nice bit.
Only got this done, before the above bug forced me to hunt it down
Next to do is obviously the rest of protocol.
Anyway a very tiny preview screenshot.

Also will be looking at hosting this developmental code somewhere, so maybe someone else will help chip in. And so peep can see it is been worked on
edit:- Just though of something. Since battle info is abstracted. Will be able to add some filters. Thinking of a mouse popup menu. i.e Filter Passworded Battles, Ingame Battles, Only Available Mods....
Havent got todo much code today...
Bloody fedora needs an update about 600mb in total to run (have no time to sort out the problem manually).
Anyway took awhile but finally sorted out a teeting problem i had with twisted & freezing app when trying to close it. Turns out dont need to enter / exit gtk threads with python-twisted, already loving this

Unfortantely above took me around 1-2 days to hunt down & delayed me nice bit.
Only got this done, before the above bug forced me to hunt it down
Code: Select all
TASServer
DENIED
ACCEPTED
REGISTRATIONDENIED
REGISTRATIONACCEPTED
Anyway a very tiny preview screenshot.

Also will be looking at hosting this developmental code somewhere, so maybe someone else will help chip in. And so peep can see it is been worked on

edit:- Just though of something. Since battle info is abstracted. Will be able to add some filters. Thinking of a mouse popup menu. i.e Filter Passworded Battles, Ingame Battles, Only Available Mods....
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
I will, last one became unworkable for didnt help having connection code i didnt understand fully. And learned abit since then so going alot nicer now...
Also old version was a nightware to debug due to threading. Using python-twisted for network connections & threading. So should be alot nicer
Anyway just quickly after added MOTD protocol. Next todo the USER Protocols

Also old version was a nightware to debug due to threading. Using python-twisted for network connections & threading. So should be alot nicer
Anyway just quickly after added MOTD protocol. Next todo the USER Protocols

- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05