bnstat1
Battle.net statisics client
Usage
bnstat [options]
[servername
[serverport]]
Overview
bnstat is a simple Battle.net client emulator that can be used to gather player statistics. It is also compatible with FSGS servers, but has difficulty with real Battle.net servers.
If no servername is specified, localhost is assumed. If no serverport is specified, 6112 is assumed. If no player is specified on the command line, bnstat(1) will connect to the server and prompt for one from stdin. All avaliable statistics for the emulated client type are formatted and displayed on stdout.
Options
-
-b -
Causes
bnstatto emulate a Brood Wars client.
-
--client -
Causes
bnstatto emulate a specific client. The following client tags are recognized: DRTL DSHR STAR SSHR SEXP W2BN. There are short options which may be used instead for the common clients.
-
--bnetd -
Also attempt to gather bnetd(1) specific information.
-
-d -
Causes
bnstatto emulate a Diablo client.
-
--fsgs -
Also attempt to gather FSGS specific information.
-
-h --help --usage -
Print usage information and exit.
-
-k --cdkey -
Causes
bnstatto report an alternate key to the bnetd(1) server.
-
-o --owner -
Causes
bnstatto report an alternate owner to the bnetd(1) server.
-
-p --player -
Gather statistics only for the specified player and then exit. This also avoids using login and terminal functions allowing it to be used in shell scripts.
-
-s -
Causes
bnstatto emulate a Starcraft client.
-
-v --version -
Print its version number and exit.
-
-w -
Causes
bnstatto emulate a Warcraft II BNE client.
Notes
The current version is available with the bnetd distribution at:
http://www.bnetd.org/
Releases
12 releases since Debian 3.0 (Woody); the text changed 4 times.