Hello,
our ex SoS player Ito (aka Ichi) writed a little program in perl. The program shows where your friends (from a friendlist) are playing and you can directly join to server in which they are playing.
An example:
:: Starting OPENARENA FRIENDS FINDER v0.4
:: Copyright 2010 Simone Sclavi 'Ito'
:: This is free software with ABSOLUTELY NO WARRANTY
:: For details type 'v' in the menu below
::
:: getting players...
:: found 4 player/s
::
[1] *SoS*Adr!aNo ROFL CTF 4 FISHES 0.8.5
10/12 ctf oa_ctf4ish
[2] LoL-Elendr1L ROFL CTF 4 FISHES 0.8.5
10/12 ctf oa_ctf4ish
[3] /GaNja/^L!ght3r PURPLE DEFRAG
5/18 dm dkr02
[4] betA,SilentCobra PURPLE DEFRAG
5/18 dm dkr02
::
:: # AVAILABLE COMMANDS #
:: [number] choose friend from 'friends list'(if present)
:: [s:number] show stats of the server your friend is playing in
:: [r] refresh friends list
:: [l] launch OA without connecting to any server
:: [v] print version and license information
:: [q] quit program
::
>1
:: preparing to reach *SoS*Adr!aNo
ioq3+oa 1.36 linux-i386 Jan 3 2010
[cut]
Since version 0.4 you can see also stats of the server where a friend is playing (ping, frags and more):
:: # AVAILABLE COMMANDS #
:: [number] choose friend from 'friends list'(if present)
:: [s:number] show stats of the server your friend is playing in
:: [r] refresh friends list
:: [l] launch OA without connecting to any server
:: [v] print version and license information
:: [q] quit program
::
>s:1
# SERVER STATS #
address: 91.121.201.15:27961
players: 10/12
map: oa_ctf4ish
gametype: ctf
name: ROFL CTF 4 FISHES 0.8.5
PING FRAGS NAME
48ms 67 *SoS*Adr!aNo
96ms 59 Quake|-|Na$sim
55ms 52 .
54ms 33 gibon
29ms 26 UnnamedLagger
51ms 20 pi.fakeman
88ms 14 Dark
82ms 7 MiK
95ms 7 Quwertzuiop
70ms 0 LoL-Elendr1L
DOWNLOAD:oaff 0.4.1 (manual
included)
oaff 0.4 (manual down here)
I recommend you to download oaff 0.4.1.
The program works on GNU/Linux and on MS Windows. License:
GNU GPL3Manual for oaff 0.4:
Instruction (GNU/Linux):The program requires Perl> = 5.10 (normally installed by default), plus two modules usually downloaded through the repository, LWP and HTML: TokeParser:: Simple
For example, if you are using Ubuntu just run:
sudo apt-get install libwww-perl libhtml-tokeparser-simple-perl
If you have installed from your distrobutions repositories, no need to do anything at this point, just run the program with
$ perl oaff.pl
or by giving execute permission (for example with chmod u + x oaff.pl)
$ ./oaff.pl
.
Otherwise you will need to open the file with a text editor and identify
the following piece of code:
when ('linux')
{
$OPENARENA_BIN = q{openarena};
#uncomment the following lines if you didn't install oa from repository
#and change q{openarena} with q{./openarena.i386} or
#q{./openarena.x86_64} according to your system
#
#$OPENARENA_PATH = q{/home/simone/Desktop/openarena-0.8.1};
#chdir $OPENARENA_PATH || die "ERROR! Check your installation!\n";
}
Done this you are going to remove the '#' sign from the last two lines and replace '/ home/simone/Desktop/openarena-0.8.1' with your path of installation. You must also correct the executable OpenArena, replacing q{openarena} with q{./openarena.i386} o q{./openarena.x86_64} based on your machine. So I recommend to install from the repositories of your distro and all get well.
Instruction (Windows):There are several ports of Perl for Windows, I recommend you to install ActivePerl because it has a convenient graphic manager package for installation of optional modules from CPAN.
Take out the latest release from here (
http://downloads.activestate.com/ActivePerl/releases/5.12.1.1201/ActivePerl-5.12.1.1201-MSWin32-x86-292674.msi) and install it. When installation completed, open "Perl Package Manager" (under All Programs> ActivePerl), then select View menu> All Packages.
After that write in the search bar "HTML-TokeParser-Simple", select from the menu below and click the right mouse button and "Install".Then repeat the process this time looking for "Win32-Process-Info".
Start the installation of modules selected by clicking the green arrow (it is right of the search bar).
Finally open oaff.pl with a text editor (NOT notepad, use wordpad, but I recommend Notepad + + (
http://notepad-plus-plus.org/)) and locate the following code:
when (/^mswin/)
{
$OPENARENA_BIN = q{openarena.exe};
#IMPORTANT! change with full path of your oa installation!
$OPENARENA_PATH = q{C:\Documents and Settings\Simone\Desktop\openarena-0.8.1};
chdir $OPENARENA_PATH || die "ERROR! Check your installation!\n";
}
Replace "C: \ Documents and Settings \ Simon \ Desktop \ OpenArena-0.8.1"
with the path of your installation and then you are ready to run and oaff.pl by simply double clicking on it.
If you want that the program close automatically when you are reaching a friend, then do this:
- create a new text file in the same folder as oaff.pl
- write this in it:
perl oaff.pl -t
- rename to "oaff.bat" and launch it
____________________________________________
You can modify the friendlist in oaff.pl (now on line 179). For now it contains this:
my @friends = (
'Evil|',
'supeR,',
'*SoS*',
'=SC=',
'[CZ]',
'GoD',
'betA,',
'Fu$!oN',
'LoL',
'/GaNja/',
'(sos)',
'RN|',
'(alPha)',
'/NIN/',
'Fu$!0n',
'CreW/',
'Var',
);
BB and a big THX to Ito.