Sad thing is, I actually have had this functionality running as a separate module for a long time, just never gotten around to include it in BeBot :(
nice mod, I just removed the hole spam about raid in progress.
perhaps it would be a nice idea to make it more configurable: instead of switching everything on via spam= on use to switches spam = on, wave = on
as im running mupliti bots with the same files, a option with inidivdual timers would be cool also
Hey guys.It depends on how you have your relays setup.
What do i need to change to get this wavecounter relayed to other bots aswell?
hmm i got Spam and Channel on both, but it isnt working :/Download the latest version from the begining of this thread. :)
[org] bot: Warning Alien General INCOMING!!
[org] bot: Warning
One thing i even cant find in the code i get a empty Warning after the Gen warningCode: [Select][org] bot: Warning Alien General INCOMING!!
[org] bot: Warning
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, -2, 0, "", "");
The relay into the PG still isn't working :/
/tell bot !settings AlienAttack
And look at the channel settings (set it to Both).Hey shelly,
thx for looking into this :)
Wave_spam does only have the option gc or tells or both, but not pg.
Channel is set to both, but i can see in the commandline of the relaybot (yes im using a 3th bot as relay) that no output of orgbot1 is relayed into the pg.
Global: On
Description: Are all timers global? Notices for global timers are sent both to guild chat and private group. Global timers are listed in every timer listing too.
Change to: [ On | Off ]
GuestChannel: both
Description: Should an timer started in guestchannel or org-chat show up in both those channels or just in the channel of origin?
Change to: [ both | origin ]
.
.
.
Relay: On
Description: Should new timer be relayed to all relay bots using the established relay network (See module/Relay.php for more informations about relaying)?
Change to: [ On | Off ]
Hey Shelly,
if set everything u said, a PublicTimer about the cloak is enabled or disabled is relayed to each bot.
But that doesnt do anything with the wave_spam :/
I tried the 1st time to look trough the code.
Maybe the $channel setting isnt for extprivgroup?
Because in the doc, it is mentioned that there is a privgroup (i think of the bot itsself) and a extprivgroup (i think of the realybot).
So maybe "both" or "pgroup" isnt for a realyvbot or extpgroup ?
I noticed at the preg_match() functioned that there is a $msg at the end of the command, and does commands relay trough each other, maybe thats a problem?
With ur DB methode, does the wave_spam even be relayed or only the Public_cloakreminder_Timer ?
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, -2, 0, "", "Alien General Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 120, "", "8th Alien Wave Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 240, "", "7th Alien Wave Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 360, "", "6th Alien Wave Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 480, "", "5th Alien Wave Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 600, "", "4th Alien Wave Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 720, "", "3rd Alien Wave Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 840, "", "2nd Alien Wave Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 990, "", "1st Alien Wave Incoming");
$nextid = $this -> bot -> core("timer") -> create_timer_class_entry($classid, $nextid, 1290, "", "The City Cloak has been Dropped!!");
$this -> bot -> core("timer") -> add_timer(false, "city", 1290, $player." wave", "internal", 0, "AlienWave");
Hi guys,
My Bebot orgbot doesn't give me a wave counter, so I figured I would use this module. But which of the two files should I get? Shelly posted both AlienAttack.php and AlienAttack_mod4.php. Do I need both? One in core and one in custom? Or only one of them? If so, what is the actual difference between these two files? "Less spam" it says, but what does that entail?
parent::__construct(&$bot, get_class($this));