Page 24 of 41

Posted: 01 Dec 2006, 23:34
by trepan
Maybe something like this would help you:

bitmask = (1 << bitnum)

Code: Select all

   def isBot(self):
      status = self.status
      if (status & (1 << 6)) != 0:
         return True
      else:
         return False

Posted: 03 Dec 2006, 14:16
by hollowsoul
Thx trepan works like a treat.
Another small commit, added Bot Image to UserList Panels in Chat tabs now.
Screenshot below
Image

Looks like no rush atm since peep got TASClient to work via wine, so gonna take time to polish some things off.

Posted: 03 Dec 2006, 22:10
by Word
Lookin great hollowsoul.

Posted: 04 Dec 2006, 15:10
by clericvash
I'm with word on this one, looks mighty awesome!

Posted: 05 Dec 2006, 10:02
by nicko117
I use TASClient with wine at the moment ... but if I could use UnityLobby instead I WOULD USE IT !!

A native lobby would be far far far ... far better (got nasty windowmanager problem with TAS/Wine), but unfortunately I can't use Unity as my glib/gtk/python package versions are too old (2.8 I think ...), and upgrading these little libs seems to be mission impossible according to the deps ...

(will upgrade my distribution in a few days, so the problem should be solved)

This post is here to support your efforts on UnityLobby !

Thank you for all your work

Posted: 05 Dec 2006, 10:51
by imbaczek
+1

Posted: 05 Dec 2006, 12:32
by AF
What exactly can Unity lobby do atm and what's left to support?

Is there a list of protocol commands that currently have no support or partial support? Other than commands for updating such as OFFERFILE.

Posted: 05 Dec 2006, 18:18
by hollowsoul
AF i put together alist of missing protocols later tonight & upload (guess i should have done that before).

But if u want hard way of figuring it, read trunk/UnityLobby/documentation/readme.txt

To bottom of file u see supported protocols all the - represent missing ones. The list is in same order as Betalord documentation on Lobby Protocol.

Only thing not in file is, UnityLobby currently ignores the time part of Channel Topics.

edit:-
UnityLobby has the following
Options < Needs to be updated or overhauled to load xml file >
SinglePlayer versus AI (no net connection needed)
Map Listings cached in a file (minus previews)
Lobby Chat
Start of Lobby Battle Code

Posted: 05 Dec 2006, 21:15
by kaiserbert
Hi all,

why you can`t use XQF as Lobby?

bye bert

Posted: 05 Dec 2006, 23:30
by malric
From what I seen from XQF site it is more oriented to shooter games and it is not available for Windows. (I use linux, but it would be better if we would have a lobby that works both on windows and linux)

And yes, maybe support for Spring could be programmed into XQF - but I do not think that is a trivial task... (I do not know that much about XQF)

But in any case, it's not like we could use it tommorow and nobody uses it.... :|

Posted: 06 Dec 2006, 17:55
by own3d
An error on launching the profile from a clean install:
UnityLobby$ ./Unity*
UnityLobby$ Profile Launched
Traceback (most recent call last):
File "/home/josh/apps/svn/trunk/UnityLobby/client/main.py", line 236, in ?
status_icon.main()
File "/home/josh/apps/svn/trunk/UnityLobby/client/main.py", line 212, in main
self.create()
File "/home/josh/apps/svn/trunk/UnityLobby/client/main.py", line 132, in create
self.battle.Create()
File "/home/josh/apps/svn/trunk/UnityLobby/client/Battle.py", line 537, in Create
map_treeselection.select_iter(self.map_liststore.get_iter_first())
TypeError: iter should be a GtkTreeIter

Posted: 06 Dec 2006, 17:58
by hollowsoul
Got no linux working atm & cant download a fresh svn checkout till i get broadband limit increased. Which wont be until Tuesday at latest till its done :/


Can u just confirm u got maps installed plz...
Also check u setup the datadir right. Or define the datadir via /etc/spring/datadir
I get to fixing it asap

Posted: 06 Dec 2006, 19:42
by own3d
There is no linux data for this version (latest svn) that I am aware of so I made the mistake of assuming it was in SVN. It would seem not and there are no mods or maps.

The game also crashes before it gets going complaining about luxi.ttf
Luxi.ttf: FT_New_Face failed: no error

The error with unity lobby still persists with a map installed I will try installing a mod too to see how it works out.

EDIT STILL PERSISTS.

Posted: 06 Dec 2006, 20:03
by hollowsoul
PM send & also
http://developer.berlios.de/project/sho ... up_id=4358

Has a datadir it contains Nanoblobs need to download other Mods compatiable with AI seperately

Posted: 06 Dec 2006, 22:33
by AF
Did you get that documentation together hollow?
AF i put together alist of missing protocols later tonight & upload (guess i should have done that before).

Posted: 18 Dec 2006, 02:37
by BvDorp
hollow, how are you?

Now this Lin-Win sync finally works, many ppl are really looking forward to this lobby! I read this thread eagerly waiting for nice stuff to pop up :)

Well, just to show some support. Have fun coding!

Posted: 18 Dec 2006, 18:35
by 10053r
Yes. Yes. Yes. Lobby please. Please?

Posted: 18 Dec 2006, 20:38
by Torrasque
Yeah, it could be cool to have it bundled with the linux package of the next version !

Posted: 21 Dec 2006, 18:01
by hollowsoul
WIll get to work on lobby on weekend (have nearly 2 weeks off for holidays :) )
Been busy at work with christmass coming up, i.e was working 12 hours yesterday.

Plan for next commit is to finish off code for wizard step through for setting spring up. And it will also check user entered in correct value.

Posted: 22 Dec 2006, 05:03
by CompWiz
i cant wait for this this
the main reason i use windows is for spring...