- Notifications
You must be signed in to change notification settings - Fork51
GHost++, the Warcraft III game hosting bot
License
uakfdotb/ghostpp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GHost++ is a Warcraft III game hosting bot. As the original project on Google Code is no longer available,https://github.com/uakfdotb/ghostpp contains the most "official" version of GHost++.
- Github:https://github.com/uakfdotb/ghostpp
- Website:https://www.ghostpp.com/
GHost++ is no longer actively maintained. Nevertheless, GHost++ remains widely used for hosting Warcraft III games, and there are no major known bugs.
Here are alternatives that are actively being developed as of 31 August 2018:
- Aura: simple bot to host games from a server, with greatly modernized core but with many features (MySQL support, autohosting) stripped out
- maxemann96/ghostpp: a few additional features like votestart, commands from terminal
For 1.30, putWarcraft III.exe
in thebot_war3path
. (You should name itWarcraft III.exe
to avoid Battle.net connection issues, but you may also name itwarcraft.exe
.)
For automatic extraction ofcommon.j
andblizzard.j
Also put the entireData
Subdirectory and the file.build.info
inbot_war3path
. (Actually, it is recommended that you extract common.j and blizzard.j yourself and put them inbot_mapcfgpath
, since the new CASC file is very large.)
War3Patch.mpq
,War3x.mpq
,war3.exe
,game.dll
, andstorm.dll
are no longer needed.
Bot hanging on authenticating? The bncsutil in this repository has recently been updated, and fixes a bug in the authentication step that occasionally causes hanging. So try recompiling bncsutil.
For 1.29, putWarcraft III.exe
in thebot_war3path
. You may name itWarcraft III.exe
orwarcraft.exe
.
war3.exe
,game.dll
, andstorm.dll
are no longer needed.
Also, useWar3x.mpq
instead ofWar3Patch.mpq
. (Actually, it is recommended that you extract common.j and blizzard.j yourself and put them inbot_mapcfgpath
, since the new MPQ file is very large. Make sure to also exclude War3x.mpq frombot_war3path
so that the host bot does not attempt to read the archive.)
GHost++ depends on cmake, libboost, libgmp, zlib, libbz2, and libmysqlclient. These steps should suffice to compile GHost++ on Ubuntu 16.04:
sudo apt-get install -y cmake git libboost-all-dev build-essential libgmp-dev zlib1g-dev libbz2-dev libmysql++-devgit clone https://github.com/uakfdotb/ghostppcd ghostppcd bncsutilmkdir buildcmake -G "Unix Makefiles" -B./build -H./cd build && make && sudo make installcd ../../StormLib/mkdir buildcmake -G "Unix Makefiles" -B./build -H./cd build && make && sudo make installcd ../../CascLib/mkdir buildcmake -G "Unix Makefiles" -B./build -H./cd build && make && sudo make installcd ../../ghost/make
See MANUAL orthe ghostpp.com wiki for more in-depth but possibly outdated guides on other platforms.
Generally, it is recommended to copydefault.cfg
toghost.cfg
, and update options there. GHost++ will readdefault.cfg
first, and then overwrite the configuration with any options that appear inghost.cfg
.
Once configured, start GHost++:
./ghost++
You can pass a command-line argument to use a different secondary configuration filename, instead ofghost.cfg
:
./ghost++ /opt/myconfig.cfg
See MANUAL orthe ghostpp.com wiki for instructions on using GHost++.