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 ... 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 2:25 pm    Post subject: Reply with quote

Sir_Fz wrote:
I thought that when you kline someone, the user should automatically get killed. Anyway, I'll add a kill line too and fix that error.


Hmm He must have an odd IRCD lol Every IRCD i have used has killed on a Kline. Maybe because he was opered up when he was tested. (Server should protect opers) Maybe that is why he wasn't killed.
_________________
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
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 2:29 pm    Post subject: Reply with quote

Well I uploaded the new version (2.8b) in which I've fixed that missing " error and added a kill line before every kline. If the kill line is not needed, please tell me so I'd remove it in the next version.
_________________
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 2:36 pm    Post subject: Reply with quote

I use a java client with another user to test all those things, that one sees my local IP, and i'm opered but i'm not testing on myself,

if I do a /kline, it kills, but when the bot does it I just get a notice that the K line is [constant].. but it must be an active K line..

Guess I'm going to run all my flags trough the bot for his oper command, without the admin flag ofcoruse....
Back to top
View user's profile Send private message
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Mon Jun 06, 2005 2:41 pm    Post subject: Reply with quote

Well if it doesn't hurt to kill with kline then it may be wise to leave it in then.
_________________
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
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 2:52 pm    Post subject: Reply with quote

yeah, it could also increase the safety settings, I could only let my bot run as local operator with minimal rights, only to Kline and kill.. and then let the script do the rest
Back to top
View user's profile Send private message
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Mon Jun 06, 2005 3:03 pm    Post subject: Reply with quote

Sounds like a plan Wink
_________________
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
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 3:17 pm    Post subject: Reply with quote

damn, this is most unfortunate:

the IRCD i'm having acts weird on the k-lines. Theres actually other types of bans instead of the regular channel bans

it's not *!*@* but its *@* without the !

when the bot tries to K line a user it always uses that ! but that doesn't seem to help to keep him off, aaarg, how irritating...

the "ban type 2 (*!*@user.host.tld) would be kinda ok'ish but without the ! Sad

I wonder if its much work to modify this.. or to add a substructure for "k line types" .. its maybe easy to just copy everything from the normal masks but without the nick categories and the ! ..

If I could program i'd try to do it myself , i might be find the routines but i'm scared that i'll not place it right or so .. Sad

I can already say that it actually does follow the punishment sceme, only now its that prob.. and I don't know if it's like that with all ircd's but it is with ultimateircd , it gives an example for K lines in the help like :Example: /kline 60 *@127.0.0.6 :This is almost local host

guess a server kick is not a channel kick and doesnt require the nick structure .. and it might be this reason why the kill actually never became active, because I did this manually on my host and the server warned me that its not going to kick my hoset...

so when I gave my host like *!*@my.host.tld, it wouldnt work , but when i left the first * and ! it started to warn me, so i guess thats the thing that has to be done
Back to top
View user's profile Send private message
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Mon Jun 06, 2005 3:26 pm    Post subject: Reply with quote

the kline host should only be ident@host. Wink

kline [+|-]<user@host | nick> [<time to ban> <reason>]

This could be a small problem. I do know that /kline ident@host will work on 99% of servers so it may be a good idea to just leave out the time. we can manually remove the kline if neccesary. I mean If they get klined in the first place then they deserve to be permanently removed Wink
_________________
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 3:30 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 3:28 pm    Post subject: Reply with quote

I think it's probably like that on all ircds. I will modify it to make a ident@host kline instead of nick!ident@host, if other ircds need nick!ident@host then I might add an option at first to ask what type of masks does the kline command take on his ircd and react depending on this option.

Edit: Good thing you mention the +/- thing there ^DooM^, I think now we can do without the kill line before kline, since that was probably our error. And I used <reason> <time> instead of <time> <reason> (my bad).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts


Last edited by Sir_Fz on Mon Jun 06, 2005 3:46 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
^DooM^
Owner


Joined: 26 Aug 2003
Posts: 772
Location: IronForge

PostPosted: Mon Jun 06, 2005 3:31 pm    Post subject: Reply with quote

Doh was editing while you were posting Sir_fz sorry
_________________
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
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 3:46 pm    Post subject: Reply with quote

OMG sir-Fz thats going to be a kickass script ,

looking forward to test it and ..

it might not be longger needed to have the extra kill line then like i suggested befor if this works out
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 3:55 pm    Post subject: Reply with quote

I've uploaded version 2.9b which has separate kline mask types to choose from (and not the same as ban types), also removed the kill line before kline as I don't think it's needed with the correct syntax of kline.
_________________
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 4:50 pm    Post subject: Reply with quote

Ok,

it does something weird, it adds a kline for:

+*@full.user.host.tld (on kline type 2)

so the + is too much Smile

I found the routines for the types where you set the + befor the [ where the banmask type begins, is it safe to just remove those ? or does it have tobe omitted somehow so the script still thinks it has to add things ?

DOnt want to confuse anyone cause Im not THAT good with tcl...

Also, some of the advertisement types were off, you had a space between some of the wildcards and determiniers , I changed them in my coppy of the script

Code:

# Advertising triggers.
set adv(words) {
  "*#*"
  "*ftp://*"
  "*http://*"
  "*/server*"
  "*www.*"
  "*//write*"
}
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 4:59 pm    Post subject: Reply with quote

You got me confused now, we should know the correct syntax for the kline command. What about the time, is the kline expiring in the right time (that's if you've specified a kline time higher than 0) ?

If you want to fix this for now, just remove the + from the lines that say
Code:
putquick "kline +[kmasktype $uhost $ktype] $ktime $klmsg"


And you can edit adv(words) as you wish since you're supposed to edit these configurations.
_________________
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:06 pm    Post subject: Reply with quote

Syntax: /kline <duration> <mask> :<reason>
Example: /kline 60 *@127.0.0.6 :This is almost local host
If you don't specify a duration the default of 30 minutes is used.
Once again if you specify 0 as a duration, the server will add the ban
to the kline config means it will be permanent.

Thats what my server returns, so i've seen it working, its just the + that caused the kline to be just a ghost Smile...


So if i'm good: that has to be
Code:

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


with the advertising thingy, all works as expected except for the time Smile

got myself K lined for 30 minutes because thats standard and the reason didnt come out quite well Smile i guess thats because the : wasnt added ? and the time is in the wrong place

and the values you can enter for K-lines are in minutes, not seconds Smile
Back to top
View user's profile Send private message
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 ... 88, 89, 90  Next
Page 4 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