Coder Social home page Coder Social logo

awesomesk1ll / ghost.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from w3gh/ghost.js

0.0 1.0 0.0 19.59 MB

Try to port Warcraft3 Game Host Ghost++ to js

License: MIT License

JavaScript 0.01% Shell 0.03% TypeScript 4.45% C++ 41.55% CMake 0.57% Lua 0.07% Batchfile 0.08% C 48.39% Objective-C 0.49% Makefile 0.02% Dockerfile 0.02% Assembly 4.26% Python 0.08%

ghost.js's Introduction

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

ghost.js's People

Contributors

jilizart avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.