Page 32 of 41
Posted: 22 Jan 2007, 23:37
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.....
Posted: 23 Jan 2007, 12:20
by clericvash
Hollow tasclient luanches when all are ready and host clicks luanch button, it isn't auto.
Posted: 23 Jan 2007, 19:26
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
Posted: 23 Jan 2007, 21:45
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!
Posted: 23 Jan 2007, 22:07
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.
Posted: 23 Jan 2007, 22:14
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
Posted: 24 Jan 2007, 00:49
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
Posted: 24 Jan 2007, 08:45
by Masse
sounds awesome ! go hollow go hollow... u will have maaany linux fans after this :D
Posted: 24 Jan 2007, 12:52
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!
Posted: 24 Jan 2007, 14:03
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.
Posted: 24 Jan 2007, 14:21
by BrainDamage
it appears i have gtk
gtk+: 2.10.3
what else could i miss that generates the problem?
thanks for the support
Posted: 24 Jan 2007, 15:01
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
and
In the ?/
trunk directory of the source tree?
If the command scons is not found then you need to install that too.
Posted: 24 Jan 2007, 15:14
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
Posted: 24 Jan 2007, 17:02
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/
Posted: 24 Jan 2007, 19:25
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
Posted: 24 Jan 2007, 20:58
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.
main window for unity lobby
Posted: 24 Jan 2007, 21:06
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...)
Re: main window for unity lobby
Posted: 25 Jan 2007, 16:43
by kujeger
Re: main window for unity lobby
Posted: 25 Jan 2007, 17:19
by own3d
Posted: 25 Jan 2007, 20:47
by Relative
The readme is down, anyone have a copy?