0 Members and 3 Guests are viewing this topic.
/*************************************************************************** * Copyright (C) 2008 by Zakath * * zakath@hhcrew.net * * * * Permission is hereby granted, free of charge, to any person obtaining * * a copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, sublicense, and/or sell copies of the Software, and to * * permit persons to whom the Software is furnished to do so, subject to * * the following conditions: * * * * The above copyright notice and this permission notice shall be * * included in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.* * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR * * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * * OTHER DEALINGS IN THE SOFTWARE. * ***************************************************************************/
zakath@behaviosec:~/gbot$ tar xvf gatherbot.tar.gzgatherbot/gatherbot/inflist.txtgatherbot/Makefilegatherbot/gos_string.cppgatherbot/cpp_stuff/gatherbot/cpp_stuff/vc/gatherbot/cpp_stuff/vc/vc.dspgatherbot/cpp_stuff/vc/vc.dswgatherbot/cpp_stuff/gsql/gatherbot/cpp_stuff/gsql/gsqlite.cppgatherbot/cpp_stuff/gsql/gsql.cppgatherbot/cpp_stuff/gsql/gsqlite.hgatherbot/cpp_stuff/gsql/gsql.hgatherbot/cpp_stuff/gsql/gmysql.hgatherbot/cpp_stuff/gsql/Makefile.linuxgatherbot/cpp_stuff/gsql/gmysql.cppgatherbot/cpp_stuff/math/gatherbot/cpp_stuff/math/test/gatherbot/cpp_stuff/math/test/Makefilegatherbot/cpp_stuff/math/test/t1.cppgatherbot/cpp_stuff/math/Makefile.windowsgatherbot/cpp_stuff/math/upper_triangular_ndmatrix.hgatherbot/cpp_stuff/math/combination.hgatherbot/cpp_stuff/math/dfunc.hgatherbot/cpp_stuff/math/fixed_16_16.hgatherbot/cpp_stuff/math/d2func.hgatherbot/cpp_stuff/math/func.cppgatherbot/cpp_stuff/math/obb.hgatherbot/cpp_stuff/math/ode.hgatherbot/cpp_stuff/math/d2func.cppgatherbot/cpp_stuff/math/Makefile.cygwingatherbot/cpp_stuff/math/lower_triangular_ndmatrix.hgatherbot/cpp_stuff/math/aprox_math.cppgatherbot/cpp_stuff/math/.#vector3.h.1.4gatherbot/cpp_stuff/math/fitting.hgatherbot/cpp_stuff/math/fitting.cppgatherbot/cpp_stuff/math/bbox.hgatherbot/cpp_stuff/math/fintergrate.hgatherbot/cpp_stuff/math/ndmatrix.cppgatherbot/cpp_stuff/math/tmath.hgatherbot/cpp_stuff/math/func.hgatherbot/cpp_stuff/math/Makefile.solarisgatherbot/cpp_stuff/math/dfunc.cppgatherbot/cpp_stuff/math/quaternion.hgatherbot/cpp_stuff/math/line.hgatherbot/cpp_stuff/math/upper_triangular_ndmatrix.cppgatherbot/cpp_stuff/math/lower_triangular_ndmatrix.cppgatherbot/cpp_stuff/math/matrix3.hgatherbot/cpp_stuff/math/matrix4.hgatherbot/cpp_stuff/math/ode.cppgatherbot/cpp_stuff/math/aprox_math.hgatherbot/cpp_stuff/math/polygon.hgatherbot/cpp_stuff/math/halfplane2d.hgatherbot/cpp_stuff/math/vector2.hgatherbot/cpp_stuff/math/vector3.hgatherbot/cpp_stuff/math/ndmatrix.hgatherbot/cpp_stuff/math/fintergrate.cppgatherbot/cpp_stuff/math/math_gexception.cppgatherbot/cpp_stuff/math/checked_ndmatrix.cppgatherbot/cpp_stuff/math/plane.hgatherbot/cpp_stuff/math/triangle.hgatherbot/cpp_stuff/math/checked_ndmatrix.hgatherbot/cpp_stuff/math/Makefile.linuxgatherbot/cpp_stuff/math/fixed_16_16.cppgatherbot/cpp_stuff/math/line2d.hgatherbot/cpp_stuff/math/math_gexception.hgatherbot/cpp_stuff/text/gatherbot/cpp_stuff/text/Makefile.windowsgatherbot/cpp_stuff/text/tok_stream_string.hgatherbot/cpp_stuff/text/tok.hgatherbot/cpp_stuff/text/Makefile.cygwingatherbot/cpp_stuff/text/tok_stream_file.hgatherbot/cpp_stuff/text/string.cppgatherbot/cpp_stuff/text/tok_stream_file.cppgatherbot/cpp_stuff/text/tok_stream.cppgatherbot/cpp_stuff/text/tok.cppgatherbot/cpp_stuff/text/Makefile.solarisgatherbot/cpp_stuff/text/tok_buffer.hgatherbot/cpp_stuff/text/stream_data.hgatherbot/cpp_stuff/text/tok_buffer.cppgatherbot/cpp_stuff/text/tok_stream.hgatherbot/cpp_stuff/text/tok_stream_string.cppgatherbot/cpp_stuff/text/string.hgatherbot/cpp_stuff/text/Makefile.linuxgatherbot/cpp_stuff/text/stream_data.cppgatherbot/cpp_stuff/cpp_stuff.devgatherbot/cpp_stuff/Makefile.windowsgatherbot/cpp_stuff/gexception.hgatherbot/cpp_stuff/Makefile.cygwingatherbot/cpp_stuff/containers/gatherbot/cpp_stuff/containers/test/gatherbot/cpp_stuff/containers/test/compilegatherbot/cpp_stuff/containers/test/test.cppgatherbot/cpp_stuff/containers/Makefile.windowsgatherbot/cpp_stuff/containers/auto_free.hgatherbot/cpp_stuff/containers/Makefile.cygwingatherbot/cpp_stuff/containers/hashtext.hgatherbot/cpp_stuff/containers/hashset.cppgatherbot/cpp_stuff/containers/hashtext.cppgatherbot/cpp_stuff/containers/buff.hgatherbot/cpp_stuff/containers/dcel.hgatherbot/cpp_stuff/containers/hashset.hgatherbot/cpp_stuff/containers/pointer_vector.hgatherbot/cpp_stuff/containers/Makefile.solarisgatherbot/cpp_stuff/containers/pointer_vector.cppgatherbot/cpp_stuff/containers/list.hgatherbot/cpp_stuff/containers/buff.cppgatherbot/cpp_stuff/containers/inc_mempool.hgatherbot/cpp_stuff/containers/hashbase.cppgatherbot/cpp_stuff/containers/Makefile.linuxgatherbot/cpp_stuff/containers/hashbase.hgatherbot/cpp_stuff/gexception.cppgatherbot/cpp_stuff/gcpp_stuff_settings.hgatherbot/cpp_stuff/Makefile.solarisgatherbot/cpp_stuff/fsystem/gatherbot/cpp_stuff/fsystem/Makefile.windowsgatherbot/cpp_stuff/fsystem/fexception.hgatherbot/cpp_stuff/fsystem/directory.cppgatherbot/cpp_stuff/fsystem/lfile.hgatherbot/cpp_stuff/fsystem/regular_file.cppgatherbot/cpp_stuff/fsystem/lfile.cppgatherbot/cpp_stuff/fsystem/memwrite_file.hgatherbot/cpp_stuff/fsystem/stdin_file.cppgatherbot/cpp_stuff/fsystem/stdout_file.cppgatherbot/cpp_stuff/fsystem/regular_directory.cppgatherbot/cpp_stuff/fsystem/regular_file.hgatherbot/cpp_stuff/fsystem/regular_directory.hgatherbot/cpp_stuff/fsystem/stdout_file.hgatherbot/cpp_stuff/fsystem/fexception.cppgatherbot/cpp_stuff/fsystem/stat.hgatherbot/cpp_stuff/fsystem/stat.cppgatherbot/cpp_stuff/fsystem/Makefile.linuxgatherbot/cpp_stuff/fsystem/stdin_file.hgatherbot/cpp_stuff/fsystem/directory.hgatherbot/cpp_stuff/fsystem/memwrite_file.cppgatherbot/cpp_stuff/gthread/gatherbot/cpp_stuff/gthread/semaphore.cppgatherbot/cpp_stuff/gthread/test/gatherbot/cpp_stuff/gthread/test/Makefilegatherbot/cpp_stuff/gthread/test/boat.cppgatherbot/cpp_stuff/gthread/Makefile.windowsgatherbot/cpp_stuff/gthread/condition.cppgatherbot/cpp_stuff/gthread/Makefile.cygwingatherbot/cpp_stuff/gthread/semaphore.hgatherbot/cpp_stuff/gthread/Makefile.solarisgatherbot/cpp_stuff/gthread/lock.hgatherbot/cpp_stuff/gthread/condition.hgatherbot/cpp_stuff/gthread/lock.cppgatherbot/cpp_stuff/gthread/thread.hgatherbot/cpp_stuff/gthread/Makefile.linuxgatherbot/cpp_stuff/gthread/thread.cppgatherbot/cpp_stuff/Makefile.linux.no_sqlgatherbot/cpp_stuff/Doxyfilegatherbot/cpp_stuff/Makefile.linuxgatherbot/irc.hgatherbot/gos_tok.hgatherbot/stats/gatherbot/stats/maps/gatherbot/stats/maps/Lothic.PMSgatherbot/stats/update.sqlgatherbot/stats/index.phpgatherbot/stats/simplestats/gatherbot/stats/simplestats/.htaccessgatherbot/stats/simplestats/main.phpgatherbot/stats/simplestats/config.phpgatherbot/stats/simplestats/templates/gatherbot/stats/simplestats/templates/htf_tdm_player.htmlgatherbot/stats/simplestats/templates/dm_pm_rm_player.htmlgatherbot/stats/simplestats/templates/dm_pm_rm_main.htmlgatherbot/stats/simplestats/templates/ctf_inf_main.htmlgatherbot/stats/simplestats/templates/ctf_inf_player.htmlgatherbot/stats/simplestats/templates/htf_tdm_main.htmlgatherbot/stats/footer.phpgatherbot/stats/stats.phpgatherbot/stats/header.phpgatherbot/ctflist.txtgatherbot/Readmegatherbot/gatherbot.cfggatherbot/gatherbot.cppgatherbot/soldatadmin.cppgatherbot/soldatadmin.hgatherbot/statslog.cppgatherbot/gcheck.bashgatherbot/statslog.hgatherbot/htflist.txtgatherbot/soldatinfox.hgatherbot/soldatinfo.hgatherbot/dmlist.txtgatherbot/gos_string.hgatherbot/irc.cppgatherbot/gos_tok.cppzakath@behaviosec:~/gbot$
zakath@behaviosec:~/gbot/gatherbot$ makeg++ -O2 -pipe -fomit-frame-pointer -I ./cpp_stuff -w -c -o gatherbot.o gatherbot.cppg++ -O2 -pipe -fomit-frame-pointer -I ./cpp_stuff -w -c -o soldatadmin.o soldatadmin.cppg++ -O2 -pipe -fomit-frame-pointer -I ./cpp_stuff -w -c -o irc.o irc.cppg++ -O2 -pipe -fomit-frame-pointer -I ./cpp_stuff -w -c -o statslog.o statslog.cppcd cpp_stuff && make -f Makefile.linuxmake[1]: Entering directory `/home/zakath/gbot/gatherbot/cpp_stuff'g++ -O3 -fPIC -w -c -o gexception.o gexception.cppg++ -o libgbase.so -shared -Wl,-soname=libgbase.so gexception.oar -rvs libgbase.a gexception.oar: creating libgbase.acd containers && make -f Makefile.linuxmake[2]: Entering directory `/home/zakath/gbot/gatherbot/cpp_stuff/containers'g++ -O3 -fPIC -w -c -o hashset.o hashset.cppg++ -O3 -fPIC -w -c -o pointer_vector.o pointer_vector.cppg++ -O3 -fPIC -w -c -o buff.o buff.cppg++ -O3 -fPIC -w -c -o hashbase.o hashbase.cppg++ -O3 -fPIC -w -c -o hashtext.o hashtext.cppar -rvs libgcontainers.a ./hashset.o ./pointer_vector.o ./buff.o ./hashbase.o ./hashtext.oar: creating libgcontainers.ag++ -o libgcontainers.so -shared -Wl,-soname=libgcontainers.so ./hashset.o ./pointer_vector.o ./buff.o ./hashbase.o ./hashtext.omake[2]: Leaving directory `/home/zakath/gbot/gatherbot/cpp_stuff/containers'cd text && make -f Makefile.linuxmake[2]: Entering directory `/home/zakath/gbot/gatherbot/cpp_stuff/text'g++ -O3 -fPIC -w -c -o tok.o tok.cppg++ -O3 -fPIC -w -c -o tok_stream_file.o tok_stream_file.cppg++ -O3 -fPIC -w -c -o tok_stream_string.o tok_stream_string.cppg++ -O3 -fPIC -w -c -o tok_stream.o tok_stream.cppg++ -O3 -fPIC -w -c -o tok_buffer.o tok_buffer.cppg++ -O3 -fPIC -w -c -o string.o string.cppg++ -O3 -fPIC -w -c -o stream_data.o stream_data.cppar -rvs libgtext.a ./tok.o ./tok_stream_file.o ./tok_stream_string.o ./tok_stream.o ./tok_buffer.o ./string.o ./stream_data.oar: creating libgtext.ag++ -o libgtext.so -shared -Wl,-soname=libgtext.so ./tok.o ./tok_stream_file.o ./tok_stream_string.o ./tok_stream.o ./tok_buffer.o ./string.o ./stream_data.omake[2]: Leaving directory `/home/zakath/gbot/gatherbot/cpp_stuff/text'cd math && make -f Makefile.linuxmake[2]: Entering directory `/home/zakath/gbot/gatherbot/cpp_stuff/math'g++ -O3 -fPIC -w -c -o d2func.o d2func.cppg++ -O3 -fPIC -w -c -o ndmatrix.o ndmatrix.cppg++ -O3 -fPIC -w -c -o upper_triangular_ndmatrix.o upper_triangular_ndmatrix.cppg++ -O3 -fPIC -w -c -o lower_triangular_ndmatrix.o lower_triangular_ndmatrix.cppg++ -O3 -fPIC -w -c -o aprox_math.o aprox_math.cppg++ -O3 -fPIC -w -c -o func.o func.cppg++ -O3 -fPIC -w -c -o checked_ndmatrix.o checked_ndmatrix.cppg++ -O3 -fPIC -w -c -o fixed_16_16.o fixed_16_16.cppg++ -O3 -fPIC -w -c -o ode.o ode.cppg++ -O3 -fPIC -w -c -o fintergrate.o fintergrate.cppg++ -O3 -fPIC -w -c -o math_gexception.o math_gexception.cppg++ -O3 -fPIC -w -c -o dfunc.o dfunc.cppg++ -O3 -fPIC -w -c -o fitting.o fitting.cppar -rvs libgmath.a ./d2func.o ./ndmatrix.o ./upper_triangular_ndmatrix.o ./lower_triangular_ndmatrix.o ./aprox_math.o ./func.o ./checked_ndmatrix.o ./fixed_16_16.o ./ode.o ./fintergrate.o ./math_gexception.o ./dfunc.o ./fitting.oar: creating libgmath.ag++ -o libgmath.so -shared -Wl,-soname=libgmath.so ./d2func.o ./ndmatrix.o ./upper_triangular_ndmatrix.o ./lower_triangular_ndmatrix.o ./aprox_math.o ./func.o ./checked_ndmatrix.o ./fixed_16_16.o ./ode.o ./fintergrate.o ./math_gexception.o ./dfunc.o ./fitting.omake[2]: Leaving directory `/home/zakath/gbot/gatherbot/cpp_stuff/math'cd gthread && make -f Makefile.linuxmake[2]: Entering directory `/home/zakath/gbot/gatherbot/cpp_stuff/gthread'g++ -O3 -fPIC -w -c -o semaphore.o semaphore.cppg++ -O3 -fPIC -w -c -o thread.o thread.cppg++ -O3 -fPIC -w -c -o condition.o condition.cppg++ -O3 -fPIC -w -c -o lock.o lock.cppar -rvs libgthread.a ./semaphore.o ./thread.o ./condition.o ./lock.oar: creating libgthread.ag++ -o libgthread.so -shared -Wl,-soname=libgthread.so ./semaphore.o ./thread.o ./condition.o ./lock.omake[2]: Leaving directory `/home/zakath/gbot/gatherbot/cpp_stuff/gthread'cd gsql && make -f Makefile.linuxmake[2]: Entering directory `/home/zakath/gbot/gatherbot/cpp_stuff/gsql'g++ -O3 -fPIC -w -c -o gmysql.o gmysql.cppg++ -O3 -fPIC -w -c -o gsqlite.o gsqlite.cppg++ -O3 -fPIC -w -c -o gsql.o gsql.cppar -rvs libgsql.a ./gmysql.o ./gsqlite.o ./gsql.oar: creating libgsql.ag++ -o libgsql.so -shared -Wl,-soname=libgsql.so ./gmysql.o ./gsqlite.o ./gsql.omake[2]: Leaving directory `/home/zakath/gbot/gatherbot/cpp_stuff/gsql'cd fsystem && make -f Makefile.linuxmake[2]: Entering directory `/home/zakath/gbot/gatherbot/cpp_stuff/fsystem'g++ -O3 -fPIC -w -c -o stat.o stat.cppg++ -O3 -fPIC -w -c -o stdin_file.o stdin_file.cppg++ -O3 -fPIC -w -c -o directory.o directory.cppg++ -O3 -fPIC -w -c -o lfile.o lfile.cppg++ -O3 -fPIC -w -c -o regular_file.o regular_file.cppg++ -O3 -fPIC -w -c -o memwrite_file.o memwrite_file.cppg++ -O3 -fPIC -w -c -o regular_directory.o regular_directory.cppg++ -O3 -fPIC -w -c -o fexception.o fexception.cppg++ -O3 -fPIC -w -c -o stdout_file.o stdout_file.cppar -rvs libgfsystem.a ./stat.o ./stdin_file.o ./directory.o ./lfile.o ./regular_file.o ./memwrite_file.o ./regular_directory.o ./fexception.o ./stdout_file.oar: creating libgfsystem.ag++ -o libgfsystem.so -shared -Wl,-soname=libgfsystem.so ./stat.o ./stdin_file.o ./directory.o ./lfile.o ./regular_file.o ./memwrite_file.o ./regular_directory.o ./fexception.o ./stdout_file.omake[2]: Leaving directory `/home/zakath/gbot/gatherbot/cpp_stuff/fsystem'ar -rs libgall.a containers/*.o text/*.o math/*.o gthread/*.o gsql/*.o fsystem/*.o ./*.og++ -o libgall.so -shared -Wl,-soname=libgall.so containers/*.o text/*.o math/*.o gthread/*.o gsql/*.o fsystem/*.o ./*.omake[1]: Leaving directory `/home/zakath/gbot/gatherbot/cpp_stuff'g++ -g -lpthread -L/usr/lib/mysql/ -lmysqlclient -lz gatherbot.o soldatadmin.o irc.o statslog.o -o gatherbotzakath@behaviosec:~/gbot/gatherbot$
apt-get install makeapt-get install g++
apt-get install libmysqlclient-dev
# which irc server to useIRCSERVER se.quakenet.org# port to irc serverIRCPORT 6667# nick of your gatherbotIRCNICK multibot# name of the bot that is viewable in a whoisIRCNAME multibot# Hide Host? this is a quakenet feature that hides your hostname in a whois and suchHIDEHOST YES# pass to the server has a ircpassword put it here otherwise leave it as it is IRCPASS NO# spam users with status on joinJOINSPAM YES# ban time in hoursBANTIME 48# use auth/banpoint system# this option is if you want to use quakenet auths as a way to identify users and restrict access to the gatherbot for banned usersAUTHSYSTEM YES# user of the ircbot this is the user displayed in a whois for example of the botIRCUSER multibot# which chan to join this is the channel that the gathers take placeIRCCHAN #gatherchannel# this is an optional private channel where you can run commands and also you get substitute notifications herePRIVCHAN #gather.priv# use auth? if you want to authenticate the bot against Q on quakenet you want thisIRCAUTH YES# anti target spam? only works on networks with cnotice/cprivmsg like quakenet # this is mostly relevant if the bot spams a lot ie channel is really active the bot has to have op on the channel for it to workANTITARGETSPAM YES# How long time in seconds between each msg?# this you can tweak if bot floods the serversMSGSLEEP 2# log stuff?LOG YES# quakenet authuser for Q autenticationIRCAUTHUSER authuser# quakenet authpass for Q authenticationIRCAUTHPASS authpass# MYSQL settings if you dont want to use mysql comment out the followingMYSQLUSER usernamehereMYSQLPASS passwordhereMYSQLPORT 3306MYSQLHOST localhostMYSQLDB gatherstats# Min amount of games required to display statistics for a playerMINGAMES 10# After how many days of inactivity should the statistics be hiddenINACTIVEDAYS 90# every week it will degrade the stats for 5 % degredation you should put 0.95 for 10 % 0.9 for 0 % 1.0DEGRADATION 0.95# define types of gathers these have to be before defining servers# these are types of gamemodes you want to have on the server there is no limit on how many gamemodes you can add etc# the first defined gamemode is the default one and will work without the prefix for commands like !on !add# TYPE - every gamemode must start with this # NAME - here you put the name of the gamemode# PREFIX - this is the prefix before the commands like for example c in the example below means the command will be like !con !cadd # COLOR - This is the IRC color that represents the gamemode from 0-16# DEFAULTSIZE - This is the default size of the gather for example in 3vs3 this should be 3# MAXSIZE - This is the maximum allowed size to start a gather for example 8vs8 then it should 8# MINSIZE - This is the minimum allowed size to start a gather for example if that is 2vs2 it should 2# TEAMS - The amount of teams it should generate for this gather valid amount are 1-4# STATS - If it should attempt to calculate statistics for this gamemode# INGAME - if you want to have ingame commands like !map !r etc.# LOBBYMAP - The Lobby map for this gamemode# MAPLIST - the name of the file containing the maplist for this gamemode# COMMAND - This defines the commands that should run when starting a gather to init the gather can be multiple lines of this one.# END - the gamemode has to stop with an ENDTYPENAME CTFPREFIX cCOLOR 4DEFAULTSIZE 3MAXSIZE 8MINSIZE 1TEAMS 2STATS YESINGAME YESLOBBYMAP LothicMAPLIST ctflist.txtCOMMAND /loadcon soldat.iniCOMMAND /gamemode 3COMMAND /loadwep weaponsENDTYPENAME INFPREFIX iCOLOR 5DEFAULTSIZE 3MAXSIZE 8MINSIZE 1TEAMS 2STATS YESINGAME YESLOBBYMAP LothicMAPLIST inflist.txtCOMMAND /loadcon soldat.iniCOMMAND /gamemode 5COMMAND /loadwep weaponsEND# these are templates for the look of all the messages the bot uses# general cookies: %bold %color %uline# help pmHELPPM Commands: !<type>on<amount> !<type>add !del !spec<servernr> !players<servernr> !status !overkill !info<servernr> !players<servernr> !sub <servernr> <subamount> !<type>sadd *!off<server> *!banauth <nick> <hours> <reason> *!enable *!disable *!die *!update *!command<servernr> <command> !resize !stats <mode> <nick> !modes !unbanlast# Sadd pm cookies: %servernr %clickerSADDPM Server(%bold%servernr%bold) is running, join at: %clicker# Sadd line 1 cookies: %servernr %gametype %gathersize %nickSADDLINE1 %color4SUB%color Server(%bold%servernr%bold) %color10Playing%color(%gametype):%color4 %gathersize%color %bold|%bold%color4 %nick%color# Sadd line 2SADDINE2 %color10-%color %color4x%color# Sub Line 1 Cookies: %servernr %subamountSUBLINE1 %subamount Substitute(s) %color10needed%color in %color4Server%color (%bold%servernr%bold) %color10Use%color %color4!sadd%color %color10 to add.%color# Sub line 2 Cookies: %servernr %gametype %gathersizeSUBLINE2 %color4SUB%color Server(%bold%servernr%bold) %color10Playing%color(%gametype):%color4 %gathersize%color %bold|%bold %color4x%color# Sub line 3SUBLINE3 %color10-%color %color4x%color# Off line Cookies: %gametype %servernrOFFLINE Gather on %gametype server(%bold%servernr%bold) deleted# On line 1 Cookies: %servernr %gametypeONLINE1 Found a free %gametypeserver(%bold%servernr%bold) starting %color7gather%color# On line 2 Cookies: %gametype %gathersize %nickONLINE2 %color10Playing%color(%gametype):%color4 %gathersize%color on Server(%bold%servernr%bold) %bold|%bold %color4%nick%color# On line 3 Cookies: %nickONLINE3 %color10-%color %color4%nick%color# On line 4ONLINE4 No Free Servers found# Add PmADDPM Gather number: %nr Your team is %team - Tiebreaker is %tb join at %clicker# Add line 1 Cookies: %gametype %servernrADDLINE1 %color7Gather%color is full for %gametypeServer(%bold%servernr%bold) Teams have been generated for gather(%nr) - (check pm).# Add line 2 Cookies: %teamADDLINE2 %team:# Add line 3 Cookies: %nickADDLINE3 %nick# Add line 4 Cookies: %tbADDLINE4 %color4Alpha Team%color will pick the first map, %color2Bravo Team%color will pick the second map, if needed %color8%tb%color is the tiebreaker map.# Add line 5 Cookies: %gametype %gathersize %nickADDLINE5 %color10Playing%color(%gametype):%color4 %gathersize%color on Server(%bold%servernr%bold) %bold|%bold %color4%nick%color# Add line 6 Cookies: %nickADDLINE6 %color10-%color %color4%nick%color# Add line 7ADDLINE7 No %color7gathers%color running atm you can start one with %bold!<type>on%bold# Players line 1 %gametype %servernr %statusPLAYERSLINE1 %color7Gather%color %gametypeServer(%bold%servernr%bold) %bold-%bold %status# Players line 2 %gametype %servernrPLAYERSLINE2 %color7Gather%color %gametypeServer (%bold%servernr%bold) %bold-%bold is %boldfree%bold use !on# Status line Cookies: %gametype %servernr %statusSTATUSLINE %color7Gather%color %gametypeServer(%bold%servernr%bold) %bold-%bold %status# Overkill line Cookies: %gametype %servernrOVERKILLLINE %color7Gather%color %gametypeServer(%bold%servernr%bold) %bold-%bold is %boldfree%bold use !on# Spec pm 1 Cookies: %gametype %servernr %clickerSPECPM1 Server(%bold%servernr%bold) is running(%gametype) join at: %clicker# Spec pm 2 Cookies: %gametype %servernr %clickerSPECPM2 No gathers currently playing at %gametypeserver(%bold%servernr%bold)# Delete line 1 Cookies: %gathersize %gametype %nick %servernrDELLINE1 %color10Playing%color(%gametype):%color4 %gathersize%color on Server(%bold%servernr%bold) %bold|%bold %color4%nick%color# Delete line 2 Cookies: %nickDELLINE2 %color10-%color %color4%nick%color# Delete line 3 Cookies: %gametype %servernrDELLINE3 Gather on %gametypeserver(%bold%servernr%bold) deleted# Soldat servers one line / server using the following format# SERVER HOST PORT PASSWORD VOICELINKALPHA VOICELINKBRAVO VOICELINKCHARLIE VOICELINKDELTA# SERVER - starts each server line# HOST - host of the soldatserver# PORT - port of the soldatserver# PASSWORD - adminlog password # VOICELINKALPHA-DELTA - the voice server link for each team with the following cookies %nick theses lines are optionalSERVER host.com 23073 adminpass mumble://%nick:pass@host.com/Gather/SERVER1ALPHA mumble://%nick:pass@host.com/Gather/SERVER1BRAVOSERVER host.com 23074 adminpass mumble://%nick:pass@host.com/Gather/SERVER2ALPHA mumble://%nick:pass@host.com/Gather/SERVER2BRAVO mumble://%nick:pass@host.com/Gather/SERVER2CHARLIE mumble://%nick:pass@host.com/Gather/SERVER2DELTASERVER host.com 23075 adminpass
zakath@behaviosec:~/gbot/gatherbot# ./gatherbotStarting Bot14:09 Trying to Connect to host.com:2307314:09 Trying to Connect to host.com:2307514:09 Trying to Connect to host.com:23074
*/1 * * * * /path/to/check.bash &>/dev/null
$ strace -odebuglog.txt ./gatherbot