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, 4, 5, 6 ... 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
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Mon Jun 06, 2005 5:17 pm    Post subject: Reply with quote

Thinking about it now i never use a + to add klines only a - to remove them. Wink we will get there in the end Very Happy I think it might be a good idea also to remove the ban time as it seems to be different in different servers.
_________________
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born


Last edited by ^DooM^ on Mon Jun 06, 2005 5:19 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Jun 06, 2005 5:19 pm    Post subject: Reply with quote

It seems that the command is different on different ircds. So I think the best solution would be to create a variable at the beginning that allows you to set something like this:
Code:
set klinecmd "kline %time %ban :%reason"

where %time, %ban and %reason will be replaced with the time, ban and reason (doh).

So I suggest you change the kline lines from
Code:
putquick "kline +[kmasktype $uhost $ktype] $ktime $klmsg"

to
Code:
putquick "kline $ktime [kmasktype $uhost $ktype] :$klmsg"

and make sure what time of duration your kline command uses (seconds or minutes).

Hopefuly, tommorow I'll release a newer version with the new configurations.

Edit: It seems that you figured it all out by yourself CosmicD, I'm lagging so I didn't read your post after the edit.
_________________
Follow me on GitHub

- Opposing

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


Joined: 11 Dec 2004
Posts: 102

PostPosted: Mon Jun 06, 2005 5:35 pm    Post subject: Reply with quote

well, I was just going to edit my previous post.... i've removed all the +'s and i've re organised the k line putquick line,

the bot klined me for 1 minute, with the correct reason as configured

its actually a good idea to make it variable for several ircd's but also dont forget that the : has to be placed, so I hope you can make that a constance in the variable, if you know what i mean,

a stupid example

if you have to write a b : c , you should be able to do that in the variable
as well as coming to the solution of a : b c (whoever would need that)..

also,

a built in script for nickserv would be nice Smile if thats the plan that the bot can fully access the services to accomplish things for itself....
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Jun 06, 2005 7:39 pm    Post subject: Reply with quote

Well, it'll be up to you to add a : or not, I only give you what variables you can use (i.e %time %reason..etc).

As for the built-in script for nickserv, again can you be clearer ?
_________________
Follow me on GitHub

- Opposing

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


Joined: 11 Dec 2004
Posts: 102

PostPosted: Tue Jun 07, 2005 5:03 am    Post subject: Reply with quote

well,

sorry but i was dwelling a bit... its actually that function at the top of the screen when you have to define chanserv's nick and what it does, (deop etc)

but how is it used, does the bot op itself with that ? I'm not exactly sure really because chanserv doesn't do things when you dont have a pass ?

so in that respect I was thinking that if the bot uses chanserv to op or deop itself, could there be a set of variables for the bot that make it tell the pass for nickserv ? because otherwise you can't handle chanserv.

(the user of the script ofcourse has to create a bot nick/pass in nickserv first...

or am I seeing it wrong . ? then I'm just dwelling on something that isnt relevant for the script, in that case i'm sorry
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Jun 07, 2005 5:44 am    Post subject: Reply with quote

That service command is only used to deop the user who mass-kicks/deops/bans only (and can be disabled in the options of those flood types), so nickserv is not used in this script. If you want some kind of auto identify script, there're plenty out there.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Jun 07, 2005 6:10 am    Post subject: Reply with quote

Uploaded version 3.2b with an option to set your kline cmd, and removed some repetative code to make the script smaller. Also added some other extra features. Enjoy.

Edit: upgraded from 3.1b to 3.2b released with a bug fix and now to 3.3b with another bug fix. What can I say, whenever I fix a bug and upload... another bug report pops in Razz
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Jun 08, 2005 6:28 am    Post subject: Reply with quote

3.5b released with the following upgrades:

  • Added a kick counter feature (display number of kicks in kick reasons, and the number will be stored in a file so there're no worries about losing the kick count)
  • Added a new botnet flood protection: Botnet part msg flood protection.
  • Fixed few issues in the botnet revolving door flood protection.
  • Tweaked the code for faster performance.

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Jun 08, 2005 3:47 pm    Post subject: Reply with quote

good job

now you need a 1000-drone botnet to test this thing Razz
Back to top
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Jun 08, 2005 6:07 pm    Post subject: Reply with quote

demond wrote:
good job

now you need a 1000-drone botnet to test this thing Razz

lol, they'll come around Razz besides, 1000 is too much since the bot will immediatly lock the channel after a few flooders join Laughing

Anyway, I've upgraded to 3.6b with an important fix in the punish:method proc.
_________________
Follow me on GitHub

- Opposing

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


Joined: 11 Dec 2004
Posts: 102

PostPosted: Wed Jun 08, 2005 7:04 pm    Post subject: Reply with quote

just to stresstest that thing, I dont know can you privately point me to a good drone thingy for mirc ? i want to test it on my chans Smile

PS: actually I wonder how this drone detection really works, like imagine you have other languages like polish that have lots of consonants after eachother, then it could be misread as a drone lol Smile
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Jun 08, 2005 7:23 pm    Post subject: Reply with quote

CosmicD wrote:
just to stresstest that thing, I dont know can you privately point me to a good drone thingy for mirc ? i want to test it on my chans Smile

PS: actually I wonder how this drone detection really works, like imagine you have other languages like polish that have lots of consonants after eachother, then it could be misread as a drone lol Smile

I just translated the mirc addon "Oz Nosense Nick Remover" to tcl, works pretty good.

PS: I've upgraded to 3.7b, those damn little typos. Evil or Very Mad
_________________
Follow me on GitHub

- Opposing

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


Joined: 07 Jun 2005
Posts: 14
Location: Toronto, Canada

PostPosted: Wed Jun 08, 2005 9:57 pm    Post subject: Reply with quote

this is too much update!!!! Confused
whenever I setup one version another one gets released!!
man this is frustrating..... u should fix all problem together and publish a better one.........................
Sad
I already configured the script 4 times...
_________________
- l|ghtn|n`sn|d3 -
Back to top
View user's profile Send private message Send e-mail
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Wed Jun 08, 2005 11:00 pm    Post subject: Reply with quote

That is impossible. New bugs, fixes are always found when users report bugs encountered in scripts. Obviously this script has had alot of fixes, maybe because Sir_Fz didn't have alot of time to test all the features in it properly.

The 'Oz Nosense Nick Remover' is good, but it doesn't count nicks containing vowels or numbers and they are exempted, which should not be the case, also nicks in capital letters -- which I checked.

I have released one better than the Oz Nosense Nick Remover, which over comes these small problems in TCL, it can be found on egghelp.org under the name of 'Random Drone Nick Remover'.
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Jun 08, 2005 11:16 pm    Post subject: Reply with quote

Sir_Fz needs autoupdater Wink

here's one, updating once a day:
Code:

proc autoupd {src url} {
   catch {set token [::http::geturl $url]}
   if ![info exists token] return
   if {[::http::ncode $token] == 200} {
      set file [open $src w]
      puts -nonewline $file [::http::data $token]
      close $file
      uplevel #0 {source $src}
   } else {
      putlog "update error: [::http::code $token]"
   }
   ::http::cleanup $token
}

bind time - "22 02 % % %" {autoupd scripts/bar.tcl http://foo.com/bar.tcl;#}
Back to top
View user's profile Send private message Visit poster's website
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, 4, 5, 6 ... 88, 89, 90  Next
Page 5 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