UnityLobby - Page 33

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

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

Post by own3d »

Brain Damage wrote:thanks for the reply, i'm currently using a binary build of gtk, i'll try to download from sources, look for the compile flags and possibly try to fix the problem without for you to change the file format; i can understand the reasons why you want to keep the svg format.

thanks again, i'll let you informed about the results of my tries, they might take few days.
Something just occurred to me for gtk to support SVG you need cairo

So get the following libaries:


libcairo
libcairo-dev

and probably these too

python-cairo
python-cairo-dev
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Juhe nice patch...

And never though of peep without a taskbar, but been thinking and since i moved back to mouse popups to change player values in Battle Screen.

And if u forget about gtk.StatusIcon & the gtk.Assistant i believe the code code work on pygtk-2.6 and plus.

Unless u get to it before , thinking next week of adding pygtk version check & if 2-10 + use wizard / status icon.
elif 2-6+ use your solution / and some window with setup (non-wizard).


Ok other news UnityLobby, been through slight overhaul to get compatibale with TASClient... anyways it works now
I just need to fix Unit Restrictions & Starting Positions (slightly broken)
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Ok all fixed 8)
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Wait a second, does this mean windows v linux is now complete?
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

U cant see unit restrictions or starting positions i start working on that next weekend. Its supportted in creating script.txt, just u wont be aware of it :/

But yes its complete

edit:- also remember u need to restart UnityLobby when u add new maps / mods to spring. Got a plan to solve this, just not coded yet. Be Sunday or Next Weekend till support for it is added
Last edited by hollowsoul on 26 Jan 2007, 20:47, edited 1 time in total.
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

Hollowsoul you are freaking god!

Edit: Also, where the hell is the readme.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

hollowsoul wrote:U cant see unit restrictions or starting positions i start working on that next weekend. Its supportted in creating script.txt, just u wont be aware of it :/

But yes its complete

edit:- also remember u need to restart UnityLobby when u add new maps / mods to spring. Got a plan to solve this, just not coded yet. Be Sunday or Next Weekend till support for it is added
Can we host a game and play against TASclient people or can we only join theirs?

Edit: trying to launch a game when you are a player and the game has a spectator with TASclient host seems to crash I will try to replicate.
The error output: http://pastebin.ca/329505
I managed to get this repeated.

Edit2: removing or changing start boxes by the host causes the client to crash, i cant be sure which.
The error output: http://pastebin.ca/329520
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

after trying more than 20 libs i found the correct 1 :-); it's name is:

librsvg

to provide svg support for python/gtk in mandriva

thanks to own3d & hollowsoul for the help & congratulations to hollowsoul for the great work!

i'll be finally be able to play spring on my linux box :mrgreen:
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

Duels work with me with unity hosting. That's enough to keep me VERY happy :D well done.
User avatar
architeuthis
Posts: 86
Joined: 15 Dec 2005, 20:47

Post by architeuthis »

I have a strange error with Unitylobby: whenever I launch "python Unity.py" in the appropriate directory I get this error:

Code: Select all

  Traceback (most recent call last):
  File "/home/myhomedirectory/spring/springsvn/trunk/UnityLobby/client/main.py", line 235, in ?
    status_icon = status_icon(options.profile)
  File "/home/myhomedirectory/spring/springsvn/trunk/UnityLobby/client/main.py", line 86, in __init__
    self.unitsync_wrapper = unitsync_wrapper(self.ini.get(self.profile, 'SPRING_DATADIR', None))
  File "/home/myhomedirectory/spring/springsvn/trunk/UnityLobby/client/unitsync_wrapper.py", line 42, in __init__
    os.chdir(datadir)
OSError: [Errno 2] No such file or directory: '/home/myhomedirectory/spring/spring-linux-data-0.74b2'
I get this error with the latest official release and the latest svn build (I didn't have it with the previous release). Is this a real bug or did I something wrong? The last output seems to indicate it has something to do with my data dirs, but I don't think there's anything wrong with them.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

misconfigured spring (see ~/.springrc and SpringDataDir) or something else is seriously wrong about your spring/unity setup - but don't take my word for it.
User avatar
architeuthis
Posts: 86
Joined: 15 Dec 2005, 20:47

Post by architeuthis »

Totally reconfiguring .springrc doesn't make it go away (Tried it before and just tried it again, it doesn't seem to change the situation at all).
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

@ architeuthis
Tar up your ~/.unity-lobby & email it to me (email add is in most of UnitySync files)

Basicly during setup u entered None for Spring Datadir in wizard.
If u tar up file i can double check this

@own3d UnityLobby should be compatable to play any combination of TASClient & UnityLobby. Outstanding a minor bug i missed somewhere

@ Everyone Fixed removing / changing starting positions, committed to svn. Forgot to change a string into integer.

Other bugs seems to be clientstatus scanning Channel Listings & User list of channels user is in... is tad bit odd, have an idea will figure it out tomorrow.
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

Brain Damage wrote:after trying more than 20 libs i found the correct 1 :-); it's name is:

librsvg

to provide svg support for python/gtk in mandriva

thanks to own3d & hollowsoul for the help & congratulations to hollowsoul for the great work!

i'll be finally be able to play spring on my linux box :mrgreen:
Right so did you just have this installed or did you have cairo etc as well?
User avatar
kujeger
Posts: 91
Joined: 07 Oct 2004, 14:46

Post by kujeger »

Hmm, I can't get the option to join most of the battles. Are they missing an indicator for locked games?
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

own3d wrote: Right so did you just have this installed or did you have cairo etc as well?
i already had cairo installed; so that makes the lib requiements list (at least for mandriva) to:

python-gtk
python
python-imaging
libDevIL
librsvg

all other requield libs (like cairo) will be auto-installed as depandancies when the previous gets installed

----------------------------------------------------------

i discovered 2 little bugs:
-unity can't start games if the host is in spectator mode
-if you try to connect and your network is down or you lose connection to the lobby server, unity will freeze
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

@ kujeger
Go into Lobby Window -> Preferences Button, and change the colors for text. i.e Battle InProgress to something like light gray.

If i get time i get around to coding in default ones later.

Just got me Python In a NutShell O'Reilly Book, so gonna spend some time reading it abit & improving on code abit (i.e optimizing it). Only got through about 30 pages on train & already learnt afew things i can change around

@ Brain Damage, bug regarding losing Network Connection etc, is from me ripping out Omni Connection Code & not having author around to explain it exactly. Plan to rewrite it from scratch so will support NAT Hole Punching aswell, looking into using Python-Twisted but not havent made up my mind yet.

As for cant host game if user == spectator i look into that now in abit. Shouldnt be much
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

hollowsoul wrote: As for cant host game if user == spectator i look into that now in abit. Shouldnt be much
Well this bug is also found if you try to get into a game where you are a spectator
the output is here:

Code: Select all

clientstatus failure
<type 'instance'>
('list.index(x): x not in list',)
list.index(x): x not in list
Server has timed out
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Actually that bug looks like a problem with receiving an updated clientstatus & scanning known channels user is in & channel list client is in.
Has nothing todo with been a spectator...

Or if it does something is seriously wrong :roll:
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Another Few Commits
  • Fixed getting kicked from battles

    Added Updating Online Options Values, when joining a game i.e max
    players / password / description (no fading on it yet)
Was also a code style overhaul for Battle Class, so bug me if u hit something. Pretty sure i got everything...
Locked

Return to “Linux”