egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)
Goto page Previous  1, 2, 3 ... 83, 84, 85 ... 88, 89, 90  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
bombshellz
Voice


Joined: 30 Apr 2011
Posts: 1

PostPosted: Sat Apr 30, 2011 1:14 pm    Post subject: Drones Reply with quote

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.

Code:

 qhubekela [qhubekela@bombshellz/user/...]
qhubekela was kicked from #bombshellz by BattleStar [Possible random drone detected. (*qh*) :: [Sat Apr 30
          11:45:48 2011] - Banned 0 minutes ·43·]


However, I had put an exempt in configuration:
Code:

#
## 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):


It's not exempting drones as expected?
Back to top
View user's profile Send private message
tappy
Voice


Joined: 31 May 2011
Posts: 1

PostPosted: Tue May 31, 2011 4:47 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Razor
Voice


Joined: 19 Nov 2009
Posts: 17

PostPosted: Mon Jun 13, 2011 7:44 am    Post subject: Reply with quote

giantpanda wrote:
Every time I make the bot joined to a channel, I got this kind of error

Quote:

[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.
Quote:

Debug (eggdrop v1.6.20) written Wed Apr 27 15:00:00 2011
Full Patch List:
Tcl library: /usr/local/lib/tcl8.5
Tcl version: 8.5.6 (header version 8.4.9)
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: touch
Context: stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/255, []
stats:tclstats.c/66 []

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.


Quote:
./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)


Quote:
Debug (eggdrop v1.6.20) written Mon Jun 13 04:44:00 2011
Full Patch List:
Tcl library: /usr/local/lib/tcl8.5
Tcl version: 8.5.9 (header version 8.5.9)
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: touch
Context: main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
main.c/948, []
tclhash.c/218, []
tclhash.c/242 []

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
3 43155A09 6969 (telnet) * lstn 6969
4 00000000 0 (dns) dns (ready)

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 6 (file), done.

_________________
\dev\null
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Jun 13, 2011 1:43 pm    Post subject: Reply with quote

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...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Razor
Voice


Joined: 19 Nov 2009
Posts: 17

PostPosted: Tue Jun 14, 2011 4:53 am    Post subject: Reply with quote

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.

The eggdrop 64-bit patch can be found here: http://trac.eggheads.org/attachment/ticket/2/eggdrop1.6-64bit.patch

CVS version (snapshot): ftp://ftp.eggheads.org/pub/eggdrop/source/snapshot/eggdrop1.6-snapshot.tar.gz

Credits to: pseudo.
_________________
\dev\null
Back to top
View user's profile Send private message
gasak
Halfop


Joined: 09 Aug 2010
Posts: 45

PostPosted: Tue Jun 14, 2011 11:49 am    Post subject: Bugs Reply with quote

Hi Opposing,

I got this bug on the ALL PROTECTION 4.7 TCL:

Code:
Debug (eggdrop v1.6.20) written Tue Jun 14 18:26:57 2011
Full Patch List:
Tcl library: /usr/local/lib/tcl8.5
Tcl version: 8.5.6 (header version 8.4.9)
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H 
Link flags: gcc
Strip flags: touch
Context: tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *chon:notes, param:  $_chonof1 $_chonof2]
         tclhash.c/721, []
         tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *chon:channels:chon, param:  $_chonof1 $_chonof2]
         tclhash.c/721, []
         tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *dcc:notes, param:  $_dcc1 $_dcc2 $_dcc3]
         tclhash.c/721, []
         tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *dcc:+chan, param:  $_dcc1 $_dcc2 $_dcc3]
         tclhash.c/721, []
         tclhash.c/706, []
         tclhash.c/710, [Tcl proc: *raw:irc:join, param:  $_raw1 $_raw2 $_raw3]
         tclhash.c/706, []
         tclhash.c/710 [Tcl proc: ::AllProtection::joins clones, param:  $_jp1 $_jp2 $_jp3 $_jp4]

SOCK ADDR     PORT  NICK      HOST              TYPE
---- -------- ----- --------- ----------------- ----
3    CCBCD94D 20202 (telnet)  *                 lstn  20202
4    00000000     0 (dns)                       dns   (ready)
7    D063C182  6667 (server)  swiftco.dal.net   serv  (lag: 0)

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 7 (inbuf: 01C8), 8, 9 (file), done.


Please help,
Thanks
_________________
Learning Knows No Boundaries!!
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Jun 14, 2011 12:56 pm    Post subject: Reply with quote

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.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Jul 02, 2011 2:38 am    Post subject: Re: Drones Reply with quote

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.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Tue Jul 05, 2011 12:31 pm    Post subject: Reply with quote

speechles wrote:
Code:
# 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.. Wink
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... Sad
Back to top
View user's profile Send private message
fremd
Voice


Joined: 18 Aug 2011
Posts: 1

PostPosted: Thu Aug 18, 2011 4:51 pm    Post subject: Reply with quote

Hello

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.

Sorry for my bad English
Back to top
View user's profile Send private message
^CJ^
Voice


Joined: 10 Sep 2005
Posts: 12

PostPosted: Sat Nov 05, 2011 6:46 pm    Post subject: Reply with quote

Hi,

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!
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Nov 08, 2011 9:04 am    Post subject: Reply with quote

^CJ^ wrote:
Hi,

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.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
xddddd
Voice


Joined: 04 Sep 2011
Posts: 5

PostPosted: Thu Nov 10, 2011 11:55 am    Post subject: Reply with quote

Hi...

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)

Thanks
Back to top
View user's profile Send private message
BlackDragon
Voice


Joined: 09 Sep 2005
Posts: 15
Location: Greece - Salonika

PostPosted: Tue Jan 17, 2012 9:44 pm    Post subject: weird thing.... Reply with quote

warning messages don't show up :S

[03:42:53am] <DraGoNeTi> [20:45:00] AP: Warned warnednick on #darknet: Warning: You've triggered adverting protection, advertisements are not allowed.


but on nick warnednick i get nothing :/
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
BlackDragon
Voice


Joined: 09 Sep 2005
Posts: 15
Location: Greece - Salonika

PostPosted: Wed Mar 21, 2012 10:48 am    Post subject: Reply with quote

*bump*
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 83, 84, 85 ... 88, 89, 90  Next
Page 84 of 90

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber