Author Topic: Gathertools  (Read 6965 times)

0 Members and 1 Guest are viewing this topic.

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Gathertools
« on: November 15, 2008, 02:55:29 pm »
Script Name: Gathertools
Script Description Gatherbot
Author: zakath
Compile Test: Passed
Core Version: 2.6.4
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
A Gatherbot that I wrote for #soldat.mapping very basic but might be useful to some ppl perhaps, Its written in c++ for *nix. To compile it type make in source dir. then edit gatherbot.cfg to suit your needs. add GatherTools to the servers as well ctf_Lobby gathermaplist.txt and mapslist.txt.
commands on irc are:
!help
!<type>on
  • <amount>

!<type>off<server> (ops only)
!<type>add

!del
!status
!overkill
!<type>players<server>
!<type>spec<server>
!<type>sub <server> <amount>
!<type>sadd
!banpoint <auth> <hours> <reason>
!clearban <auth>
!info<servernr>
!enable
!disable
!die
!<type>unbanlast<servernr>
!<type>command<servernr> <command>
Ingame its:
!map <map_name> - changes map
!random - random map
!alpha !bravo !spec - sends you to specific team
!currentmaps - show current maps
!p !pause - pause
!up !unpause - unpause
!r !restart - restarts game
!ub !unbanlast - unbans last player
Credits goes to:
AutoGather by SpiltCoffee, modified by me.
And Ramirez for soldatinfo.h

-Update Added tracking of users joining/leaving/changing nicks + some bugfixes
-Update Fixed an issue when the bot was spammed with commands and would overflow the server
-changed so now its much more dynamically and now it can support pretty much any gamemode even new subgamemodes etc.
-Added !<type>players command that show players on server
-Update fixed a few bugs with the name lookup also fixed !off
-Added !overkill which is the old !status and the new !status just shows ongoing gathers
-Added possilbity to hidehost(by config) on quakenet like networks
-Readded the old way to lookup hosts which can be chosen by a define in soldatadmin.cpp which allows it to be compiled on cygwin and run on windows
-Added Tiebreaker generation from textfiles
-Changed looks are now configurable in config file
-Fixed a couple of bugs concerning op/voice
-Added authsystem with banpoints
-Added voiced gathers
-Fixed some non critical issue with the authsystem
-Fixed a bug with spec and added some default templates.
-Small update for 1.5
-Rewrote the code for keeping tracking of channels/users so voiced/op command should work better now also fixed a few bugs as well as adding !info command
-Fixed a small bug concerning the !sub command
-Fixed some issues with pause(ingame)
-Added !enable !disable !unbanlast !command !die
-Added daemonmode and changed irc output to logfile
-Fixed som case issues with !add and !del
-Added Teamspeak url support for voiced gathers



(Size 54.37 KB)
- http://soldatcentral.com/index.php?page=script&f=72 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **
« Last Edit: May 31, 2009, 06:59:31 am by zakath »

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #1 on: November 16, 2008, 04:19:51 pm »
Found a bug in the bot with the !spec command so I have updated it

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #2 on: January 18, 2009, 08:16:36 am »
Updated the bot so now it has multimode support, which you define in the configuration file.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #3 on: February 27, 2009, 05:14:15 am »
Fixed quite a few bugs, added som flooding protection as well as changed some commands and such.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Gathertools
« Reply #4 on: February 27, 2009, 09:47:41 am »
You could debug this bot forever and ever. :P
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #5 on: February 27, 2009, 02:13:28 pm »
hehe probably ;)

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline scarface09

  • Veteran
  • *****
  • Posts: 1153
  • Arsenal Supporter For Life
Re: Gathertools
« Reply #6 on: March 03, 2009, 12:43:39 am »
cool script...very useful in gathering!
Football is the other face of the world. If you don't like it, then you can get the hell out!

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #7 on: March 23, 2009, 04:44:12 pm »
I updated the bot to include templates for looks, Generating tiebreaker, voiced gathers, and banpointsystem. Also fixed some bugs here and there.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #8 on: April 18, 2009, 05:15:44 pm »
Updated the bot for 1.5 Fixed a couple of bugs as well as rewriting part of the tracking code for channels/users which should make op/voiced commands work better also added !info command.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Gathertools
« Reply #9 on: April 19, 2009, 05:33:24 am »
Have you updated the AutoGather script bundled in this, zakath?
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #10 on: April 19, 2009, 05:34:10 am »
Have you updated the AutoGather script bundled in this, zakath?
Yeah. should work with 1.5

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #11 on: April 27, 2009, 09:48:52 am »
everything should now be working with 1.5 as well as some newly added features like daemon mode with startup script as well as som adminstrative commands.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: Gathertools
« Reply #12 on: May 02, 2009, 04:39:05 am »
Hmm.. it doesn't connect to servers after I updated it.

Nvm, my mistake. Zakath told me how to fix it.
« Last Edit: May 02, 2009, 05:10:16 am by Leo »

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #13 on: May 31, 2009, 07:01:47 am »
Updated the bot to also generate teamspeak urls for voiced gathers allowing for more competive gathers ;)

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #14 on: May 31, 2009, 11:55:01 am »
Fixed a bug when parsing userchanlist which affected op/voice commands.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #15 on: July 21, 2009, 01:51:43 pm »
Added !ginfo that shows gather info ingame as well as some code documentation that should have been done long time ago.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: Gathertools
« Reply #16 on: July 31, 2009, 10:16:57 am »
fixed a small !status bug regarding subs as well as hopefully fixed the last bug concerning keeping track of users op/voice status. this will probably be the last update of this bot in its current state. Planning to rewrite it to use the servers in a better way.

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic