package
1.6.0
Repository: https://github.com/ancientice/gowarcraft3.git
Documentation: pkg.go.dev

# README

GoWarcraft3/bncsclient

Build Status Build status License: MPL 2.0

A mocked Warcraft III chat client that can be used to connect to BNCS servers.

Usage

./bncsclient [options] [server address]

FlagTypeDescription
-ustringUsername (will query if omitted)
-pstringPassword (will query if omitted)
-npstringNew password (used by -changepass, will query if omitted)
-bpathPath to game binaries (will guess if omitted)
-eistringOverride exe version string
-evuintOverride exe version number
-ehuintOverride exe hash
-rocstringROC CD-key
-tftstringTFT CD-key
-verifyboolVerify server signature
-sha1boolSHA1 password authentication (used in old PvPGN servers)
-createboolCreate account
-changepassboolChange password

Example

Loading version and CD-key info from the default Warcraft III installation directory:

➜ ./bncsclient -u niels europe.battle.net
Enter password:
12:00:00 Succesfully logged onto [email protected]:6112
12:00:00 Joined channel 'W3 En-21'
12:00:00 niels has joined the channel (ping: 31ms)
12:00:00 [INFO] There are currently 2391 users playing 393 games of Warcraft III The Frozen Throne, and 15384 users playing 11699 games on Battle.net.
12:00:00 [INFO] Last logon: Fri Jul 6  7:52 PM
# Type "hello" in terminal
12:00:05 [CHAT] niels: hello
12:00:05 [INFO] No one hears you.

Preset version and CD-key info, SHA1 (PvPGN) password authentication:

➜ ./bncsclient -sha1 -u niels -roc FFFFFFFFFFFFFFFFFFFFFFFFFF -tft FFFFFFFFFFFFFFFFFFFFFFFFFF -ev 0x011b01ad -eh 0xaaaba048 rubattle.net
12:00:00 Succesfully logged onto [email protected]:6112
12:00:00 Joined channel 'Warcraft III RUS-1'
12:00:00 niels has joined the channel (ping: 41ms)
12:00:00 [INFO] Obey the law, rules are the law!
12:00:00 [INFO] Hello niels, welcome to Rubattle.net!

Download

Official binaries for tools are available. Simply download and run.

Note: additional dependencies may be required (see build instructions).