UnityLobby
Moderator: Moderators
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
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
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
- Michilus_nimbus
- Posts: 634
- Joined: 19 Nov 2004, 20:38
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
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
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
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
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.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.
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
Obvious question but, have you runBrain Damage wrote:it appears i have gtk
gtk+: 2.10.3
what else could i miss that generates the problem?
thanks for the support
Code: Select all
scons configure
Code: Select all
scons
If the command scons is not found then you need to install that too.
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
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:
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, thanksTraceback (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»
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
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/
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
@ 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
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
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
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.
thanks again, i'll let you informed about the results of my tries, they might take few days.
main window for unity lobby
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...)
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...)
Re: main window for unity lobby
There. :)
Re: main window for unity lobby
how can i try this out?kujeger wrote:There. :)