Skip to content
forked from uakfdotb/ghostpp

GHost++, the Warcraft III game hosting bot

License

Notifications You must be signed in to change notification settings

Stannnnn/ghostpp

 
 

Repository files navigation

GHost++

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++.

GHost++ is no longer actively maintained. Nevertheless, GHost++ remains widely used for hosting Warcraft III games, and there are no major known bugs.

If you are looking for a simple bot to host games from a server, consider Aura, an actively maintained fork of GHost++ with a greatly modernized core but with many features stripped out.

1.29 Note

For 1.29, put Warcraft III.exe in the bot_war3path. You may name it Warcraft III.exe or warcraft.exe.

war3.exe, game.dll, and storm.dll are no longer needed.

Also, use War3x.mpq instead of War3Patch.mpq. (Actually, it is recommended that you extract common.j and blizzard.j yourself and put them in bot_mapcfgpath, since the new MPQ file is very large. Make sure to also exclude War3x.mpq from bot_war3path so that the host bot does not attempt to read the archive.)

Compilation

GHost++ depends on libboost, libgmp, zlib, libbz2, and libmysqlclient. These steps should suffice to compile GHost++ on Ubuntu 16.04:

sudo apt-get install -y git libboost-all-dev build-essential libgmp-dev zlib1g-dev libbz2-dev libmysql++-dev
git clone https://github.com/uakfdotb/ghostpp
cd ghostpp
cd bncsutil/src/bncsutil/
make && sudo make install
cd ../../../StormLib/stormlib/
make && sudo make install
cd ../../ghost
make

See MANUAL or the ghostpp.com wiki for more in-depth but possibly outdated guides on other platforms.

Configuration

Generally, it is recommended to copy default.cfg to ghost.cfg, and update options there. GHost++ will read default.cfg first, and then overwrite the configuration with any options that appear in ghost.cfg.

Once configured, start GHost++:

./ghost++

You can pass a command-line argument to use a different secondary configuration filename, instead of ghost.cfg:

./ghost++ /opt/myconfig.cfg

Usage

See MANUAL or the ghostpp.com wiki for instructions on using GHost++.

About

GHost++, the Warcraft III game hosting bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 72.1%
  • C++ 18.9%
  • HTML 2.2%
  • Visual Basic .NET 1.7%
  • Assembly 1.5%
  • Ada 0.9%
  • Other 2.7%