Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Try to port Warcraft3 Game Host Ghost++ to js

License

NotificationsYou must be signed in to change notification settings

w3gh/ghost.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Docker usage

Firstly you need downloaddocker fromhttps://www.docker.com/get-startedThen you need to build image with alllibbncsutil andlibstorm librariesAlso you can editconfig.json to provide your own credentials for battle.net, currently only PvPGN is supported

cd path/to/ghost.jsdocker 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 compiledlibbncsutil.dylib orlibbncsutil.so orbncsutil.dll in directory root.

And setup server credentials inconfig.json

git clone https://github.com/w3gh/ghost.js.git ghostcd ghostnpm inpm 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++-devcd bncsutilmkdir buildcmake -G"Unix Makefiles" -B./build -H./cd build&& make&& sudo make installcd StormLibmkdir buildcmake -G"Unix Makefiles" -B./build -H./cd build&& make&& sudo make install

[8]ページ先頭

©2009-2025 Movatter.jp