Tremulous Forum

General => General Discussion => Topic started by: meren on December 02, 2007, 02:42:44 am

Title: WhereIsKevin.py
Post by: meren on December 02, 2007, 02:42:44 am
Hi,

I have not so much time to play tremulous and I want to spend my time in trem with people I like to play with. It would have been so nice if I could know when a friend of mine gets online on any trem server... So I wrote a small python library to solve this problem for me. The code is here (http://sudrap.org/repository/users/meren/WhereIsKevin.py) (it's a 40 mins of work, so be prepared) and It can be used from the command line as well:


Code: [Select]
meren@shrimp ~ $ python WhereIsKevin.py -u OPP

* '++Beer Garden++ Tremulous' (72.36.180.26:27960)
    - [OPP] Angry Scottsman

meren@shrimp ~ $ python WhereIsKevin.py -u FA

* 'AAFallin-Angels.org' (206.222.31.250:30725)
    - |FA|nt
    - |FA|DragonHeart
    - |FA|AciD

* ' Dretch*Storm ' (74.52.14.98:30720)
    - [fa] chris

Then I wrote a little client onto that library (it's another 30 mins of work). Basically I have a users.list file with bunch of names in it. And if any of them gets online it shows me a pop-up like this one (you can write your own clients top of that small library):

(http://cekirdek.pardus.org.tr/~meren/temp/whereiskevin.png)

I just wanted to let you know in case you may want to do something with it.. Stalking people FTW.


Best,
Title: Re: WhereIsKevin.py
Post by: Paradox on December 02, 2007, 02:50:51 am
Nice program, very useful.
Title: Re: WhereIsKevin.py
Post by: NiTRoX on December 02, 2007, 07:44:39 am
Sweet!

Nice job man
Title: Re: WhereIsKevin.py
Post by: Caveman on December 02, 2007, 07:54:11 am
Verry nicccce!
Thanks.

+1
Title: Re: WhereIsKevin.py
Post by: BeerBastard on December 02, 2007, 09:57:41 pm
Sort of like a built in friends list, but in a forceful kind of way :).
Title: Re: WhereIsKevin.py
Post by: Yarou on December 03, 2007, 12:55:42 am
It's a nice program, to be sure.
A nice alternative for those who can't run R1's server browser.
Title: Re: WhereIsKevin.py
Post by: meren on December 03, 2007, 03:03:37 am
It's a nice program, to be sure.
A nice alternative for those who can't run R1's server browser.

I checked R1's server browser, I think it's not an alternative (or this one is not an alternative to R1's server browser; people who can't run R1's server browser can browse servers with tremulous itself instead of using this library :)).
Title: Re: WhereIsKevin.py
Post by: Matt2k10 on December 03, 2007, 11:43:29 pm
I love you.
Title: Re: WhereIsKevin.py
Post by: daenyth on December 09, 2007, 03:08:59 pm
Very nice work!
Title: Re: WhereIsKevin.py
Post by: Lava Croft on December 15, 2007, 12:12:39 am
Yep, apart from the used language (harhar) you made a totally awesome application! Make moar!
Title: Re: WhereIsKevin.py
Post by: blood2.0 on December 15, 2007, 01:55:07 am
xfire (http://www.xfire.com) works really well too.
    *  See when your friends are online, what game they're playing, and what server they're on
    * Join in on their games with one click
    * See what the friends of your friends are playing
!GREAT!

Title: Re: WhereIsKevin.py
Post by: Rocinante on December 15, 2007, 02:01:15 am
xfire (http://www.xfire.com) works really well too.

Meh.. I farted around with the xfire plugin for Adium, it mostly sucked.  Haven't bothered looking for one for Linux, it'll probably suck just as much.  Which means xfire is great, if you use Windows - and based on the screenshot in the OP, he does not.