Author Topic: WhereIsKevin.py  (Read 5399 times)

meren

  • Posts: 37
  • Turrets: +18/-2
    • http://meren.org/
WhereIsKevin.py
« 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 (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):



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

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: WhereIsKevin.py
« Reply #1 on: December 02, 2007, 02:50:51 am »
Nice program, very useful.

∧OMG ENTROPY∧

NiTRoX

  • Posts: 1453
  • Turrets: +41/-200
Re: WhereIsKevin.py
« Reply #2 on: December 02, 2007, 07:44:39 am »
Sweet!

Nice job man

Caveman

  • Guest
Re: WhereIsKevin.py
« Reply #3 on: December 02, 2007, 07:54:11 am »
Verry nicccce!
Thanks.

+1

BeerBastard

  • Posts: 276
  • Turrets: +25/-21
    • Home of [OPP]
Re: WhereIsKevin.py
« Reply #4 on: December 02, 2007, 09:57:41 pm »
Sort of like a built in friends list, but in a forceful kind of way :).
Feeling Oppressed?
You Down with [OPP]?


-[OPP]Beerbastard

Yarou

  • Posts: 218
  • Turrets: +43/-109
Re: WhereIsKevin.py
« Reply #5 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.


Currently:
{&}Yarou

meren

  • Posts: 37
  • Turrets: +18/-2
    • http://meren.org/
Re: WhereIsKevin.py
« Reply #6 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 :)).
http://meren.org/
"Never argue with an idiot. He'll drag you down to his level and beat you with experience."

Matt2k10

  • Posts: 144
  • Turrets: +11/-8
Re: WhereIsKevin.py
« Reply #7 on: December 03, 2007, 11:43:29 pm »
I love you.

daenyth

  • Posts: 230
  • Turrets: +21/-26
Re: WhereIsKevin.py
« Reply #8 on: December 09, 2007, 03:08:59 pm »
Very nice work!
Quote from: Bullislander05
It's like trying to take apple seeds out of a zebra to plant a giraffe tree.

Lava Croft

  • Guest
Re: WhereIsKevin.py
« Reply #9 on: December 15, 2007, 12:12:39 am »
Yep, apart from the used language (harhar) you made a totally awesome application! Make moar!

blood2.0

  • Guest
Re: WhereIsKevin.py
« Reply #10 on: December 15, 2007, 01:55:07 am »
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

  • Posts: 642
  • Turrets: +252/-668
    • My Homepage
Re: WhereIsKevin.py
« Reply #11 on: December 15, 2007, 02:01:15 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"