Skip to content

omgbebebe/qBotNetworkPlugin

Repository files navigation

qBotNetworkPlugin

provide network interface for bots

Preparation

This plugin use couple headers from main Warzone reposition. You can copy it from there or use git subtree magick:)

git remote add -f wz git@github.com:omgbebebe/warzone2100.git
git merge -s subtree --squash wz/master

Now you can commit to both repos from one place.

Build

The shell.nix derivation has been prepared for your convenience. You can gather all dependencies and build tools by hand or just type nix-shell ./warzone2100/shell.nix. It will drop you to preconfigured development environment. Then build it as usual.

Build Warzone

pushd warzone2100
./autogen.sh
./configure --prefix=/tmp/wz-dev --with-qtplugins=yes
make -j8 && make install
popd

Build qBotNetworkPlugin

mkdir -p build && pushd build
cmake ../
make -j8
cp plugins/libQBotNetworkPlugin.so /tmp/wz-dev/plugins/

Test

Now you can run /tmp/wz/bin/warzone2100 and check the logs for debug messages from loaded qBotNetworkPlugin.

Mockup server

For development purposes you can use mocked server... [WIP]

About

provide network interface for bots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published