View previous topic :: View next topic |
Author |
Message |
Casey952 Voice
Joined: 24 Jun 2008 Posts: 15
|
Posted: Sun Nov 16, 2014 8:35 am Post subject: |
|
|
I am having some issues with the AntiSpam bot.
In DCC it says AntiSpam connecting to server, and says it a few times before it gets connected.
Then it gets disconnected connection timed out after a minute or so, and then reconnects with a second bot name and then another bot name about 3 of them in the channel.
When you join the channel, and you get the checking for spam message the bot sends you, you get several checking for spam messages from the one bot.
The bots in the channel do not get disconnected from the network being a dead connection. When you die the bot from DCC, all bots disconnect.
This is with a plain 4.7 with nothing touched and AntiSpam enabled
Eggdrop 1.6.21 AllProtection 4.7
Charybdis Server on a VPS my network
I have tried to bypass the connection class limits and tried another port and server which didn't help. |
|
Back to top |
|
 |
simo Revered One
Joined: 22 Mar 2015 Posts: 1047
|
Posted: Wed Jun 10, 2015 9:51 am Post subject: |
|
|
greetings i was wondering how to get this script set ban first then do the kick
to prevent quick rejoin after kick since it seems to do the kick first than the ban |
|
Back to top |
|
 |
aleepervaiz Voice
Joined: 18 Apr 2012 Posts: 10 Location: Pakistan
|
Posted: Tue Aug 25, 2015 1:53 am Post subject: |
|
|
Hi Sir,
Hope you are doin great. i need some help from you. I want to add kick counter in my current tcl. i want my eggdrop to add the kick number in the kick message. i am already using allprotection which comes with kick counter and it saves the text file of kick numbers. So now i wanted to add the kick counter in another tcl and that should read the kick number from that text file and also add +1 in the existing text file
Regards,
Ali Pervaiz |
|
Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1193
|
Posted: Tue Aug 25, 2015 9:00 am Post subject: |
|
|
aleepervaiz wrote: |
....that should read the kick number from that text file
...
|
This should help get your started:
http://forum.egghelp.org/viewtopic.php?p=33712#33712
p.s.
aleepervaiz:
It would probably be best for you to find the proper area here in the forums, and start your own thread.  _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
Back to top |
|
 |
aleepervaiz Voice
Joined: 18 Apr 2012 Posts: 10 Location: Pakistan
|
Posted: Wed Aug 26, 2015 2:39 am Post subject: |
|
|
thanks willyw |
|
Back to top |
|
 |
simo Revered One
Joined: 22 Mar 2015 Posts: 1047
|
Posted: Mon Jan 25, 2016 2:36 am Post subject: ban first then kick |
|
|
i am using allprotection.tcl for a while and was wondering why kick is executed first and not ban setting cause many client have the option for instant join after kick so it seems inieffiecient so set kick first then the ban part
is there a way to change that
tnx |
|
Back to top |
|
 |
OPAgusta Voice
Joined: 27 Jan 2016 Posts: 4
|
Posted: Tue Apr 19, 2016 2:27 pm Post subject: Antispam bot connecting to different server |
|
|
I first used this script on Dalnet and antispam bot connected to Dalnet, no problemo.
The problem came when I decided to move to another server. I edited the bot.conf file accordingly, delete my bot.chan files. The main bot connects to another server, no problem, but the antispam bot still connects to Dalnet.
The antispam bot is disabled by default so I used .chanset command, and I could see it connected to dalnet. I went to dalnet and whois the antispam bot and it is there.
Any help will be greatly appreciated, thanks. |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed May 11, 2016 12:15 pm Post subject: Migrated to Github! |
|
|
Hello everyone,
It's been a while!
Given that there are several feature requests or issues reported here that I never found the time to address, I've decided to move the source code into my Github page so others (and perhaps myself as well) would easily be able to contribute with Pull requests (or even be added as collaborators).
Feel free to open issues and submit your PRs!
Link: https://github.com/sirfz/allprotection.tcl
Note: v4.8 is the same as v4.7, only changes are synthetic.
Thank you! _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat May 14, 2016 1:07 pm Post subject: Re: ban first then kick |
|
|
simo wrote: | i am using allprotection.tcl for a while and was wondering why kick is executed first and not ban setting cause many client have the option for instant join after kick so it seems inieffiecient so set kick first then the ban part
is there a way to change that
tnx |
I had some time on me so I played around with the script and did some changes and what not. Implemented the bk (ban + kick) punishment method. Please try it out in version 4.9b from https://github.com/sirfz/allprotection.tcl/releases
OPAgusta wrote: | I first used this script on Dalnet and antispam bot connected to Dalnet, no problemo.
The problem came when I decided to move to another server. I edited the bot.conf file accordingly, delete my bot.chan files. The main bot connects to another server, no problem, but the antispam bot still connects to Dalnet.
The antispam bot is disabled by default so I used .chanset command, and I could see it connected to dalnet. I went to dalnet and whois the antispam bot and it is there.
Any help will be greatly appreciated, thanks. |
As far as I'm concerned, the spambot connects to the same server as your Eggdrop (it uses the settings from your bot's config). Is it possible you forgot a DALnet server in the server list and the spambot connected to it?
aleepervaiz wrote: | Hi Sir,
Hope you are doin great. i need some help from you. I want to add kick counter in my current tcl. i want my eggdrop to add the kick number in the kick message. i am already using allprotection which comes with kick counter and it saves the text file of kick numbers. So now i wanted to add the kick counter in another tcl and that should read the kick number from that text file and also add +1 in the existing text file
Regards,
Ali Pervaiz |
you can call AllProtection's getkcount to get the kick numbers and integrate it in your script. For example
Code: | putquick "KICK $chan $nick :get out of here! kick #[::AllProtection::getkcount]" |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
gasak Halfop
Joined: 09 Aug 2010 Posts: 45
|
Posted: Thu Jun 23, 2016 6:09 am Post subject: |
|
|
I try the new version 4.9b but comes with this error:
Code: | Tcl error [::AllProtection::pubms swear]: invalid command name "punishments(kb)"
Tcl error [::AllProtection::pubms repeatl]: invalid command name "punishments(k)"
Tcl error [::AllProtection::pubms textc]: invalid command name "punishments(kb)" |
Please advice. Thanks. _________________ Learning Knows No Boundaries!! |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Jun 25, 2016 9:25 am Post subject: |
|
|
gasak wrote: | I try the new version 4.9b but comes with this error:
Code: | Tcl error [::AllProtection::pubms swear]: invalid command name "punishments(kb)"
Tcl error [::AllProtection::pubms repeatl]: invalid command name "punishments(k)"
Tcl error [::AllProtection::pubms textc]: invalid command name "punishments(kb)" |
Please advice. Thanks. |
Thanks for the feedback gasak. My TCL skills are in ruins, and I'm not testing any of the new changes (relying on user feedback). Please try the new release v4.9b3: https://github.com/sirfz/allprotection.tcl/releases/tag/v4.9b3 _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
creasy Voice
Joined: 05 Mar 2016 Posts: 24
|
Posted: Tue Aug 09, 2016 3:29 am Post subject: |
|
|
Hello!
I've been having this error with v4.8 when I rehash the bot:
Code: | can't read "_VERSION": no such variable
while executing
"ezilamn $_VERSION"
(procedure "load" line 63)
invoked from within
"load"
(in namespace eval "::AllProtection" script line 2642)
invoked from within
"namespace eval AllProtection {
# Basic declarations: (don't touch)
variable declr
foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
(file "scripts/allprotection.tcl" line 153)
invoked from within
"source scripts/allprotection.tcl" |
When I start the bot it starts up fine, but when I rehash it it crashes. Any ideas what could be wrong? |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Aug 09, 2016 6:26 am Post subject: |
|
|
creasy wrote: | Hello!
I've been having this error with v4.8 when I rehash the bot:
Code: | can't read "_VERSION": no such variable
while executing
"ezilamn $_VERSION"
(procedure "load" line 63)
invoked from within
"load"
(in namespace eval "::AllProtection" script line 2642)
invoked from within
"namespace eval AllProtection {
# Basic declarations: (don't touch)
variable declr
foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
(file "scripts/allprotection.tcl" line 153)
invoked from within
"source scripts/allprotection.tcl" |
When I start the bot it starts up fine, but when I rehash it it crashes. Any ideas what could be wrong? |
I thought I've already fixed this issue way back but seems it never got to this branch (my bad). Re-download it now from https://github.com/sirfz/allprotection.tcl/releases/tag/v4.8
I'd appreciate it if you could try out the more recent and slightly improved version 4.9b3 and give feedback if possible. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
creasy Voice
Joined: 05 Mar 2016 Posts: 24
|
Posted: Tue Aug 09, 2016 8:50 am Post subject: |
|
|
Thank you that fixed it! Both versions seem to be working fine. |
|
Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Aug 09, 2016 3:27 pm Post subject: |
|
|
creasy wrote: | Thank you that fixed it! Both versions seem to be working fine. |
Great, thanks for the feedback. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
Back to top |
|
 |
|