UnityLobby - Page 38

UnityLobby

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

Moderator: Moderators

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

Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

if your wired networking doesn't work then you need to shoot your computer with a shotgun. Wireless is understandable though depending on the card. You should hop in the #ubuntu channel on freenode.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

Hollowsoul for the most part Ubuntu is the most managable distro ive seen fredora etc are a pain to find packages for and upgrade generally avoid them like the plague!!!
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

own3d i wont be using the distro except for testing
Main machine i am using Gentoo.

Just happen to have fedora on dvd recent enough version & decided it be prob easier way for me to test gtk-2.6 frontend with. And also rpm distro so if i get time i throw together a few rpms including a src rpm
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

.debs ftw :P
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

autopackage is worth checking out, works quite well.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

I have yet to find a distributuion which suppports it :o C&R Might revolutionise things but i just dont know yet.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

I guess none will support it in the predictable future, but it's meant to be distro-agnostic, so it doesn't matter. I installed 2 (two) autopackages and was very pleasantly surprised that it just worked. (Warzone 2100 from wz2100.net just yesterday ^^)
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

i also installed warzone a few months ago the same way but i'd rather have spring's source use a more familiar system i.e. ./configure make then checkinstall so you have a package that you can easily upgrade / remove.
malric
Posts: 521
Joined: 30 Dec 2005, 22:22

Post by malric »

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 :P )
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

There is a deb for debian (or its in the works) believe it be in offical repo
There is a gentoo ebuild obviously, thus my reason to use an rpm based distro for second machine. Anyway i get to work on rpm later today, and UnityLobby Lobby code.
Will post more screenshots when i can
10053r
Posts: 297
Joined: 28 Feb 2005, 19:19

Post by 10053r »

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
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

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

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]
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

Post by Masse »

do you mean that its released tomorrow if we are lucky ? :D *trys not to get too exited yet*
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

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
Image

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
Word
Posts: 80
Joined: 12 Jun 2006, 09:59

Post by Word »

TA Spring + Unity lobby > sliced bread


'Nuff said.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Just another small teaser..
Warning Dialog, cant believe i missed gtk.MessageDialog first time i was writing UnityLobby. (was using gtk.Dialog)

Image Image

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
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

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

Code: Select all

TASServer
DENIED
ACCEPTED
REGISTRATIONDENIED
REGISTRATIONACCEPTED
Next to do is obviously the rest of protocol.
Anyway a very tiny preview screenshot.
Image

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....
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Very nice hollow, the look of it is much more polished than the older version, very nice, i hope you actually go through and finish this version more than the other one.

We really need a working linux lobby.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

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
Image
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Cool, nice one :), once i find a distro that can out-of-the-box work my wireless i will try it out, may be years before that happens though haha!
Locked

Return to “Linux”