News:

Come Chat with us live! Learn how HERE!

Main Menu

WhereIsKevin.py

Started by meren, December 02, 2007, 02:42:44 AM

meren

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 (it's a 40 mins of work, so be prepared) and It can be used from the command line as well:



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):



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


Best,
http://meren.org/
"Never argue with an idiot. He'll drag you down to his level and beat you with experience."

Paradox

Nice program, very useful.

∧OMG ENTROPY∧

NiTRoX


Caveman


BeerBastard

Sort of like a built in friends list, but in a forceful kind of way :).
Feeling Oppressed?
You Down with [OPP]?


-[OPP]Beerbastard

Yarou

It's a nice program, to be sure.
A nice alternative for those who can't run R1's server browser.


Currently:
{&}Yarou

meren

Quote from: 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.

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 :)).
http://meren.org/
"Never argue with an idiot. He'll drag you down to his level and beat you with experience."


daenyth

Quote from: Bullislander05
It's like trying to take apple seeds out of a zebra to plant a giraffe tree.

Lava Croft

Yep, apart from the used language (harhar) you made a totally awesome application! Make moar!

blood2.0

xfire 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!


Rocinante

Quote from: blood2.0 on December 15, 2007, 01:55:07 AM
xfire 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.
}MG{Mercenaries Guild
"On my ship, the Rocinante, wheeling through the galaxies, headed for the heart of Cygnus, headlong into mystery." -- Rush, "Cygnus X-1"