Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CF: stable crossfire ?
"Mark Wedel" on wrote...
| On Jan 17, 1:07pm, Peter Mardahl wrote:
| > Subject: Re: CF: stable crossfire ?
| > > "Mark Wedel" on wrote...
| > > A meta-server to allow people to find currently running servers, version
| > > number and (at last udp report to meta-server) number of people playing.
| > >
| > > A bit like the xpilot meta-server.
| > >
| > > Without this it is very difficult locating servers, especially with the
| > > old and aging websites listing non-running servers.
|
| This of course requires that the meta server list is actually updated
| better than the current server list.
|
Only one meta server is required (generally auto set by default).
All crossfire servers send an occasional udp packet (don't care if it
gets their or no, no wait, not bind) to the meta-server with basic info
location, port, number players, version, (map verson?), up since
The meta-server then logs that info in a database, displays it to people
who connect via telnet and marks (down since ??) if it hasn't recived a
packet from a server for some period (24 hours?) and removes a server
entry if it hasn't heard from it for a month, (or for longer than when
server entry was first was created - for transients).
It is relativally simple, shouldn't slow the server, can be turn off
for `secret servers', and is fine on machines without IP connection.
For a good example here is a session for the xpilot meta-server...
(List truncated by me)
=======8<--------CUT HERE----------axes/crowbars permitted---------------
:::::> telnet xpilot.cs.uit.no 4400
Trying 129.242.16.101...
Connected to lgserv1.cs.uit.no.
Escape character is '^]'.
Welcome to the XPilot Meta server.
These are the available ports on the Meta server:
4400: This port. The interactive user port.
4401: The program port. It lists all info in one go and terminates.
4402: The FAQ port. It will give you the FAQ in one go and terminate.
4403: The nickname port. This will give you the current nick name
list.
Type "help" to list possible commands.
E-mail problems to xpilot@xpilot.org.
>list
3.6.2 :sunkaw.MI.Uni-Koeln.DE :15345 :0 :29d 18.29 :Tourmination
3.6.2 :hal21.cmt.tuwien.ac.at :15345 :0 :6d 16.35 :Tourmination
4.0.0 :pp2.kph.tuwien.ac.at :15345 :0 :18d 15.43 :Robot's Xpilot-Tournament
3.6.2 :miss.wu-wien.ac.at :15345 :0 :0.00 :The Globe
3.5.1 :hibernia.math.mun.ca :15345 :0 :3d 17.24 :The Globe
4.1.0-DynaRank :sanctuary.nslug.ns.ca :15345 :0 :8.07 :Xpilot-Tournament Map (Blood's
3.6.1 :slab1.ethz.ch :15345 :1 :2d 21.52 :New Dark Hell
3.6.2 :linux.tecwell.com.cn :15345 :1 :1.01 :The Globe
4.0.0 :ruby.eli.czn.com :15345 :0 :3d 2.28 :The Globe
3.6.2 :agdsr.techphys.nat.tu-bs.de :15345 :0 :16.24 :Ooerprus' Home
3.6.2 :daisy.ge.infm.it :15345 :0 :10d 14.06 :Fireball
3.6.2 :speedbird.jaist.ac.jp :15345 :0 :20d 23.43 :The Globe
4.0.0 :cava.phys.human.nagoya-u.ac.jp:15345 :0 :54d 19.04 :Battle of Battle
4.0.0 :adonis2.jks.is.tsukuba.ac.jp :15345 :0 :10d 4.04 :The Globe
4.1.0 :qed.e.u-tokyo.ac.jp :15345 :0 :70d 19.21 :Grand Prix II
4.1.0 :jcleland.clark.net :15345 :0 :5.15 :The Globe
3.6.1 :holly.building.clark.net :15345 :0 :2d 1.25 :The Globe
3.6.1 :holly.building.clark.net :15345 :0 :2d 1.22 :The Globe
4.1.0 :lanrunner.megsinet.net :15345 :0 :7d 7.21 :Lost in Space
4.0.0 :ghost.panews.press.net :15345 :0 :12d 14.17 :The Globe
... truncated ...
>quit
Connection closed by foreign host.
=======8<--------CUT HERE----------axes/crowbars permitted---------------
this shows in order
version, host, port, players, uptime, and battle map
EG: at this time it in the middle of the night in most places so it is
not suprising that only a couple of servers have any players at all!
With this I can use a quick script to find a server here in Australia
and avoid the .3 sec delay through the satalite link.
(mconnect is a sun provided program that telnets without using a
psuedo-tty, Thus I can pipe commands into it)
find_xpilot
=======8<--------CUT HERE----------axes/crowbars permitted---------------
#!/bin/sh
#
# Find Australian Xpilot Servers
#
# Traceroute :-
# 22 hops xpilot.cs.uit.no (primary metaserver)
# 26 hops xpilot.mc.bio.uva.nl (secondary metaserver)
#
( echo list
echo quit
) | mconnect -p 4400 xpilot.cs.uit.no |\
egrep "${1:-\.(au|oz|nz) }"
echo ""
=======8<--------CUT HERE----------axes/crowbars permitted---------------
Running show me athat their are NO xpilot servers in australia at this
point in time. :-) So I'd better run my own.
| > the metaserver could also serve as a player database, eventually.
| > This is just an idea, I dunno how practical it would be. Perhaps
| > an import of a char from the metaserver would have to be ok'd by
| > the server god.
|
| Yeah - this can get problematic. If someone is playing on say
| whitestar, they probably still want to be able to play even if the metaserver
| is down.
|
The meta server is NOT for this purpose, but it will let you find a
server that is close and up-to-date :-)
If this is wanted than it could be added but that is NOT its purpose!
Anthony Thyssen ( System Programmer ) http://www.sct.gu.edu.au/~anthony/
- --------------------------------------------------------------------------- -
Error reading from device Brain - (A)bort, (R)etry, (G)et a coke?
- --------------------------------------------------------------------------- -
PGP Public Key available -- finger -l anthony@lyrch.cit.gu.edu.au
-
[you can put yourself on the announcement list only or unsubscribe altogether
by sending an email stating your wishes to crossfire-request@ifi.uio.no]