UnityLobby - Page 32

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 »

check u got gtk-2.10

And appears UnityLobby is incompatiable to TASClient atm,

Due to different Team / Ally sorting when creating script.txt
And launching games atm, so it be awhile till i get it sorted out.....
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Hollow tasclient luanches when all are ready and host clicks luanch button, it isn't auto.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Either way main bug is to fix up generating script.txt (abit of work required), also need to find out how TASClient decides Team Numbering for AI only teams ??

i.e
AI Teams First
AI Teams Last
Player & AI Teams decided upon order of added / joined to battle.

Can code till i find out the above...

UnityLobby V UnityLobby should work, havent got to compile latest spring version so not sure if spawning spring == working right atm
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

On a related note, when i joined a game with unity to a game running TASCLient it always made me join team 1 which often meant i was com sharing!
User avatar
Michilus_nimbus
Posts: 634
Joined: 19 Nov 2004, 20:38

Post by Michilus_nimbus »

Yesterday I was playing around with a chat bot, and I noticed ZellSF was sending a huge amount of CLIENTSTATUS commands with the exact same status. If he was using Unity, I think you might want to look into it.
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

Arggh
*hollow's head implodes*

damnit thx for noticing it.

Only 2 secs to discover where....
Using a thread that runs to monitor if spring is alive (runs ever second atm),
and if it is alive to send a mystatus where client = ingame.

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

Post by hollowsoul »

Almost finished code for generating script.txt thats compatiable with TASClient ordering of teams / allys

So far got the ordering of Teams & Allys done, and redone loading of team values using first player / ai (recieved from Lobby Server == small compat bonus if ever a lobby server bug)

All i need todo now is a small rewrite of code that writes the values to script.txt
Will finish it off tomorrow night...
Getting abit late atm...

Only other thing left todo to make 100% compatiable ( not major thing is added GUI Button to launch a battle when host & all players == ready). And also to change code to launch spring when host enters a game.

U will be able to get games to work aslong as host enters games relative soon after it starts untill i get above coded
User avatar
Masse
Damned Developer
Posts: 979
Joined: 15 Sep 2004, 18:56

Post by Masse »

sounds awesome ! go hollow go hollow... u will have maaany linux fans after this :D
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Mate your gonna be famous when you finish this :).

Looking good, and sounds like your finishing it up in time for when i sort out linux on my laptop, great work buddy!
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

hollowsoul wrote: Only other thing left todo to make 100% compatiable ( not major thing is added GUI Button to launch a battle when host & all players == ready). And also to change code to launch spring when host enters a game.
Can you create labeled "Ready" and "Go" or "start game" buttons please since its easier for the end user to understand than just using images. Either that or use both text and images.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

it appears i have gtk

gtk+: 2.10.3

what else could i miss that generates the problem?

thanks for the support
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

Brain Damage wrote:it appears i have gtk

gtk+: 2.10.3

what else could i miss that generates the problem?

thanks for the support
Obvious question but, have you run

Code: Select all

scons configure
and

Code: Select all

scons
In the ?/trunk directory of the source tree?

If the command scons is not found then you need to install that too.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

yes, i already builded spring & copied unitsync; the spring binary works fine; but when i try to run Unity i do get the error i previously posted; again here's the backtrace:
Traceback (most recent call last):
File "/home/cloud/spring/UnityLobby/client/main.py", line 231, in ?
status_icon = status_icon(options.profile)
File "/home/cloud/spring/UnityLobby/client/main.py", line 97, in __init__
self.register_iconsets([('unitylobby-bot', bot_image_location)])
File "/home/cloud/spring/UnityLobby/client/main.py", line 220, in register_iconsets
pixbuf = gtk.gdk.pixbuf_new_from_file(file)
gobject.GError: Impossible to recognize the image format for the file «/home/cloud/spring/UnityLobby/resources/status/bot.svg»
i can't realize myself from the error log is the error is related to a missing lib in my computer or due to a bug or even something else (ps. i do have all the requied libraries wich are listed in the first post in this thread + gtk+, + DevIL); so any help will be appreciated, thanks
own3d
Posts: 129
Joined: 25 Aug 2006, 16:31

Post by own3d »

The libraries you need, this is for Ubuntu but it should be similarly named on mandrake:
subversion
scons
libsdl-dev
libopenal-dev
libglew-dev
libboost-dev
libboost-thread-dev
libboost-regex-dev
libdevil-dev
libfreetype6-dev
python2.4-dev
zip
7zip

For unity lobby:

pygtk-2.10
pygtk-2.10-dev
gtk-2.10
gtk-2.10-dev
python-2.4
python-2.4-dev
python imaging library (PIL)
python imaging library (PIL) dev

the names might not be the same especially for the last two but find their equivalents.


my first guess if you have all the required spring libraries and Unity lobby libraries is to try the svn version

Code: Select all

svn co https://taspring.clan-sy.com/svn/spring/trunk/
hollowsoul
Posts: 665
Joined: 06 Jun 2006, 19:49

Post by hollowsoul »

@ Brain Damage
It appears your gtk isnt supporting svg image type for some reason.

I look into it in awhile, when i get home, worse case scenario i use a different image type instead.

Just prefer to use svg where possible since it resizes alot better.

As for ready button, certainly possible and will be done, not sure if i get it done today or not. Since it will require afew scattered changes to code
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Post by BrainDamage »

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.
juhe
Posts: 3
Joined: 24 Jan 2007, 18:37

main window for unity lobby

Post by juhe »

Hello,

I'd like to suggest following patch so also people without task bar can easily use unit lobby. It adds the command line option + code to display main window. Use it, modify or discard it - as you wish. You can find the patch here:

https <colon> <double-slash> www <dot> hck <dot> sk <slash> spring <slash> unity_lobby_main_window.diff

PS: Sorry for the cryptic address, but newbies aren't allowed post hyperlinks or email addresses (the patch contains at sign which is considered part of email address - bah...)
User avatar
kujeger
Posts: 91
Joined: 07 Oct 2004, 14:46

Re: main window for unity lobby

Post by kujeger »

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

Re: main window for unity lobby

Post by own3d »

kujeger wrote:
There. :)
how can i try this out?
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Post by Relative »

The readme is down, anyone have a copy?
Locked

Return to “Linux”