Skip to content

Latest commit

 

History

History

w3gsclient

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

GoWarcraft3/w3gsclient

Build Status Build status License: MPL 2.0

A mocked Warcraft III game client that can be used to add dummy players to games.

Usage

./w3gsclient [options] [host address]

Flag Type Description
-lan bool Find a game on LAN
-tft bool Search for TFT instead of ROC games (only used when searching local) (default true)
-v uint Game version (only used when searching local) (default 30)
-e uint Entry key (only used when entering local game)
-c uint Host counter (default 1)
-dial bool Dial peers (default true)
-l int Listen on port (0 to pick automatically)
-n string Player name (default fakeplayer)

Example

➜ ./w3gsclient -lan -n niels
[niels] 12:00:00 Joined lobby with (ID: 2)
[niels] 12:00:00 PLAYERONE has joined the game (ID: 1)
# Type "hello" in terminal
[niels] 12:00:05 [CHAT] niels (ID: 2): hello
[niels] 12:00:15 [CHAT] PLAYERONE (ID: 1): hi

Download

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

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