GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - w3gh/ghost.js: Try to port Warcraft3 Game Host Ghost++ to js

BranchesTags
Open more actions menu

Latest commit

 

History

151 Commits
151 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bin
bin
 
 
mapcfgs
mapcfgs
 
 
maps
maps
 
 
scripts
scripts
 
 
src
src
 
 
vendor
vendor
 
 
war3
war3
 
 
.babelrc
.babelrc
 
 
.dockerignore
.dockerignore
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.jshintrc
.jshintrc
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bncsutil.dll
bncsutil.dll
 
 
config.json
config.json
 
 
gproxy.json
gproxy.json
 
 
libbncsutil.dylib
libbncsutil.dylib
 
 
libbncsutil.so
libbncsutil.so
 
 
libstorm.dylib
libstorm.dylib
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
storm.dll
storm.dll
 
 
test_config.json
test_config.json
 
 
tsconfig.json
tsconfig.json
 
 
w3g_actions.txt
w3g_actions.txt
 
 
w3g_format.txt
w3g_format.txt
 
 

Repository files navigation

GHost.js

Ghost++ — is a Warcraft III game hosting bot. As the original project https://github.com/w3gh/ghostplusplus based on https://github.com/w3gh/ghost,

This version is a try to port ghost++ to js

Docker usage

Firstly you need download docker from https://www.docker.com/get-started Then you need to build image with all libbncsutil and libstorm libraries Also you can edit config.json to provide your own credentials for battle.net, currently only PvPGN is supported

cd path/to/ghost.js
docker build -t w3gh/ghost.js .

After, when image successfully builds, you need run it

docker run w3gh/ghost.js

And you will see log of running bot

Usage

You need compiled libbncsutil.dylib or libbncsutil.so or bncsutil.dll in directory root.

And setup server credentials in config.json

git clone https://github.com/w3gh/ghost.js.git ghost
cd ghost
npm i
npm start

Preview

it will display colored chat info like on screenshot below

asciicast

Manual compilation of bncsutil and storm libs

sudo apt-get install -y cmake git libboost-all-dev build-essential libgmp-dev zlib1g-dev libbz2-dev libmysql++-dev

cd bncsutil
mkdir build
cmake -G "Unix Makefiles" -B./build -H./
cd build && make && sudo make install

cd StormLib
mkdir build
cmake -G "Unix Makefiles" -B./build -H./
cd build && make && sudo make install

About

Try to port Warcraft3 Game Host Ghost++ to js

Topics

battle-netbattlenetbnetbotghostghostpphostjavascriptmpqwar3warcraftwarcraft3

Resources

Readme
MIT license
Activity
Custom properties

Stars

30 stars

Watchers

9 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.