暂无描述

Paul Klumpp 11fd53140c no compilation in while loop 10 年之前
libqwclient @ 7747d25b93 97b45ed341 Added libqwclient as a submodule 10 年之前
.gitmodules 97b45ed341 Added libqwclient as a submodule 10 年之前
ActiveClient.cpp f09326232b Pinger uses active clients list directly. 10 年之前
ActiveClient.h f09326232b Pinger uses active clients list directly. 10 年之前
App.cpp f09326232b Pinger uses active clients list directly. 10 年之前
App.h f09326232b Pinger uses active clients list directly. 10 年之前
Client.cpp 82550b2cb3 Parsing umlauts Issue #2 10 年之前
Client.h 8253cb3b41 New .spam and .qw timing proposal, anti-flooding. 10 年之前
Pinger.cpp 8561216f2e Added password support. 10 年之前
Pinger.h 8561216f2e Added password support. 10 年之前
README.md 65ba5bd3e4 qwbot.cfg in readme 10 年之前
ServerQuery.cpp 8a5010daca Parsed colored text Issue #5 and converted code to compile on QT5. 10 年之前
ServerQuery.h e4dcb883da Added new commands: 10 年之前
Settings.cpp 8a5010daca Parsed colored text Issue #5 and converted code to compile on QT5. 10 年之前
Settings.h 8561216f2e Added password support. 10 年之前
SshClient.cpp 82550b2cb3 Parsing umlauts Issue #2 10 年之前
SshClient.h e4dcb883da Added new commands: 10 年之前
cimsqwbot.pro e4dcb883da Added new commands: 10 年之前
install.sh 9582fedc3f copying should work 10 年之前
install_cmp_qwbot.sh e311ae5ef7 Install script updated 10 年之前
main.cpp a5b666178f Cleaned up unused stuff. 10 年之前
start_cmp_qwbot.sh 11fd53140c no compilation in while loop 10 年之前
startcimsqwbot.sh 562e389321 tee -a at all outputs 10 年之前

README.md

QuakeWorld Bot

You want to install this QuakeWorld Bot, or want to get more information about it? You've come to the right place. So to say, one of the right places. ;) You can also find the devs on irc://irc.quakenet.org/qwnet.

How to install it

We got an installation script to do the work of getting the source files off the git repositories and compile it. It will even run the bot for the first time. Why? Because, on the first run, it will create a configuration file. You only need to have git, gcc(g++), Qt(libs: qt-core, libqt4-dev(debian)) and the usual make installed on your system. They're pre-requisites. The script checks for them too. If they don't exist on your system, you can either install them, or you could ask the devs for a statically linked binary package.

So, here's the thing. Put this into your user shell (not root!) and all the magic happens:

curl -L https://gitlab.netdome.biz/community-messaging-project/qwbot/raw/master/install_cmp_qwbot.sh | bash

If you don't like magic, get the installation script of that http location first, have a look into it, then run it. ;)

How do I get the Bot to connect to a server?

There are two ways to do that; the automatic way, when connected to the "central" and the manual way, by configuring the config file.

Add a server via config file:

In the config file (currently named qwbot.cfg) there is the [Servers] section. First, set the "size" - the count of the servers that are to be monitored. Then, set the server addresses themselves.

Example:

[Servers] size=2 1\address=123.123.123.123:27101 2\address=hostname:27500

We know, this is not really intuitive, but the whole thing is designed to normally work automatically, controlled by a "central" server - and that's the other method.