We've just released WS 3.04, and it's been edited to remove a few bugs, and now also contains the brand-new Wallerscript Botnet method, which Cinder (Rob), Waller (Richard) and I (Chris\laser) developed between us today.
We've sucessfully implemented this method onto our botnet, and we even had a cause to use it, when a link failed, the botnet self fixed itself.
Here's the contents of the BOTNET file included in the .tar.gz, which sums up what it is, and how to use it.
Wallerscript 3.04 Botnet guide.
The WS botnet commands are designed to work as follows:
Uberhub
|
------------------
| |
Hub Hub (If uberhub fails, hubs roll over to one another.)
| |
Bots Bots (If the bot for that hub fails, the bots roll over onto
the other hub)
However, if you don't use the botnet features in WS 3 (i.e., set up your own botnet), then
you can do it whatever way you want.
Please note that this method isn't all you need to do!
As of WS3.04, you need to do the following commands in a place where all your bots will see it.
(Usually, $hubchan) after setting up your botnet using .addbot:
!tcl if {[getuser Megami-sama BOTFL] == ""} { botattr Megami-sama +gap }
!tcl if {[getuser Kami-sama BOTFL] == ""} { botattr Kami-sama +gap }
!tcl foreach bot [userlist b] { setuser $bot PASS $::botnetkey }
Obviously replacing Megami-sama and Kami-sama with the name of your first and second hubs.
If you're going to start your botnet again from nothing (the recommended way, it took me about
2 hours to redo our botnet of 40 bots), then you'll need to do the following, again in the hubchan.
!tcl unlink $::hubbot
!tcl foreach bot [userlist b] { deluser $bot }
!tcl addbot $::botnick animebots.co.uk <-- Replace with your Vhost.
!tcl chattr $::botnick +L
Now, DCC into your uberhub, and type .setbot uberhub and DCC into your 2 hubbot's and type .setbot hub
The remaining bots have already been set up as Leaf using the commands above.
Now, for each bot, type .addbot BOTNAME PORT on the respective hubbot (a 50/50 split of the bots on
the hubbots works well) and on the respective bot, type .addbot HUBNAME PORT hub. Now, on the uberhub,
type .addbot HUBNAME PORT hub for each hub, and on the hubs, type .addbot UBERHUB PORT uberhub to add
the uberhub and .addbot HUBNAME PORT hub to add the opposing bot to roll over.
This procedure will probably be much improved in the near future, but it works.
Animebots Dev Team.
17.09.03