#
## 21 ## Random drones.
#
# Use .chanset #channel ap:drones + <btime> <pmeth> <btype> (in DCC to enable)
# Set default value here: (+ enabled, - disabled)
# If you set <pmeth> to a positive-integer then the bot will only kick the drone once.
# So if the drone rejoins within this amount of seconds it won't be kicked again.
lappend ap:udefs {ap:drones "+ 180 45 2"}
# Random drones: What masks to exempt? (remember to change these or remoce them)
set droneexempts(global) { *!*@bombshellz/user/* *!*@*.bombshellz.net }
set drone(kmsg) "Possible random drone detected. $kckcount(form)"
set drone(wmsg) "Warning: You've triggered random drones protection, change your nick now."
## Edit the following only if you choose a punish method above 5 (oper commands):
Hello,
Love this script great job on this. I am having a problem with it crashing the bot each time color codes it seems. Users connect to the channel thru a site using mibbit. So using these codes are very easy. Here is the debug info that I found in the bot dir.
solved it by using a different system. The install must of been bad.
giantpanda wrote:Every time I make the bot joined to a channel, I got this kind of error
[13:31:57] * Last context: stats:tclstats.c/66 []
[13:31:57] * Please REPORT this BUG!
[13:31:57] * Check doc/BUG-REPORT on how to do so.
[13:31:57] * Wrote DEBUG
[13:31:57] * SEGMENT VIOLATION -- CRASHING!
Connection closed by foreign host.
it's happen if I added AllProtection.tcl to my eggdrop.
and this one the DEBUG file.
SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
3 CCBCD916 17777 (telnet) * lstn 17777
4 00000000 0 (dns) dns (ready)
5 DEADF00D 8036 livestats * lstn port
Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 5 (listen), 7 (file), done.
I used AllProtection version 4.7 stable one.
If someone have a solution?
Thank you
Bump.
I seem to have the same issue. I'm currently on FreeBSD 8.2 (64bit version) - Is there something to do with the libraries on the system being all new and stuff or could it be that it's incompatibile with the compiler(s)?
Kindly advice.
./eggdrop eggdrop.conf
Eggdrop v1.6.20 (C) 1997 Robey Pointer (C) 2010 Eggheads
[06:11:16] --- Loading eggdrop v1.6.20 (Mon Jun 13 2011)
[06:11:16] Listening at telnet port 6969 (all).
[06:11:16] Module loaded: blowfish
[06:11:16] Module loaded: dns
[06:11:16] Module loaded: channels
[06:11:16] Module loaded: server
[06:11:16] Module loaded: ctcp
[06:11:16] Module loaded: irc
[06:11:16] Module loaded: notes (with lang support)
[06:11:16] Module loaded: console (with lang support)
[06:11:16] Module loaded: wire (with lang support)
[06:11:16] Module loaded: uptime
[06:11:16] Loading dccwhois.tcl...
[06:11:16] Loaded dccwhois.tcl
[06:11:16] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[06:11:16] use '.help userinfo' for commands.
[06:11:16] * Last context: tclhash.c/242 []
[06:11:16] * Please REPORT this BUG!
[06:11:16] * Check doc/BUG-REPORT on how to do so.
[06:11:16] * Wrote DEBUG
[06:11:16] * SEGMENT VIOLATION -- CRASHING!
Segmentation fault: 11 (core dumped)
The best way to answer those questions, are to recompile your eggdrop with extended debugging (make debug && make install), and follow the instructions in the doc/BUG-REPORT file.
In order to dump a core-file, you might have to use the ulimit command to raise the maximum core file size prior starting your eggdrop. 10Mb should be sufficient...
My issue has be resolved. This is due to (FreeBSD on) 64-bit. All I had to do was to download "eggdrop1.6-64bit.patch" and patch it before compiling the eggdrop-core script (Btw, I used the CVS version for this).
Once the eggdrop is patched and compiled, I was told to use "env MALLOC_OPTIONS='Dm' ./eggdrop eggdrop.conf" to start the eggdrop, as the traditional "./eggdrop eggdrop.conf" was giving me the same error mentioned above even after patching.
gazak:
Like the previous issues, this is not a bug related to the AllProtection script, but a bug in the eggdrop core. Please see my previous post for details on a proper bug-report.
bombshellz wrote:I have a interesting behavior and I am not quite sure how to fix it?
I have user on my channel who comes in with a specific Nick get's kick'd from the channel.
...
However, I had put an exempt in configuration:
...
Please use the .ap:add command to add to the exempt list. Adding them directly into the script will NOT update the lists unless the script is loaded for the first time.
# AntiSpamBot basic settings
# You can edit all these settings as you wish
# example: set antispam(nick) AntiSpamBot
set antispam(nick) $altnick
set antispam(altnick) ${altnick}1
# ADD HERE
set antispam(nicks) {
nick1
nick2
nick3
}
...
putlog "\002AP\002: AntiSpamBot: Cycling $c..."
putdcc $antispam(idx) "part $c"
# ADD:
putdcc $antispam(idx) "nick [lindex $antispam(nicks) [rand [llength $antispam(nicks)]]"
# REPLACE: putdcc $antispam(idx) "join $c" WITH:
timer 5 [list putdcc $antispam(idx) "join $c"]
Try this..
It will part, then change nickname randomly, then wait the 5 minutes to rejoin with it's new randomly selected nickname. In this way users in the channel don't witness the event.
The antispam bot just change the nick once after that it wil stuck on that nick. Help please...
i have installed allprotect the first time. Some Questions:
1. How can i setup the Bantime and Bantype for a badword ban?
2. When a User sets manuell a Ban for a User the Bot dont kick the User with the Manuell Ban.
we are running your script and it works perfectly on most channels. However, on chans with underscores in the channel name (e.g. #chat_german), it does not react. Is there any way this could be fixed?
we are running your script and it works perfectly on most channels. However, on chans with underscores in the channel name (e.g. #chat_german), it does not react. Is there any way this could be fixed?
Thank you!
Hi ^CJ^, I can't see why an underscore (or any other character) could cause a problem. Please check the AP settings on those channels (.chaninfo) and try to test the script. If there are any error messages, please share them.
Sorry my bad english...
I
'm on a 1000 user channel and there are some nicks random in caps lock, everytime an user uses the nick completion with tab to that user, gets warned by my egg (if is configured in ap:caps 50:12 for example). All that I want is the script determines if is a NiCK in the list in caps (and don't send a warning or a punishment who is using nick completion or writting manual from nick list) or is real caps (not in the nicklist)