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 ... 15, 16, 17 ... 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
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Wed Nov 23, 2005 2:07 pm    Post subject: Some errors Reply with quote

Hi,

Im testing your tcl right now, but i got to following errors.
Quote:

<Bot> [18:58] Tcl error [clones:kick]: expected integer but got ""
<Bot> [18:58] Tcl error [rev:door]: expected integer but got ""
<Bot> [19:02] Tcl error [adv:kick]: expected integer but got ""

And this is by all types. I have done correctly the config. Where can be the problem. Thanks in advance
Back to top
View user's profile Send private message Visit poster's website
Linux
Halfop


Joined: 04 Apr 2004
Posts: 71
Location: Under The Sky

PostPosted: Wed Nov 23, 2005 2:29 pm    Post subject: Reply with quote

Which version you are using? (I think you're using the old version)
Did you try v4.4b20? If not then Download:
allprotection4.4b20.zip
MIRROR
Smile
_________________
I'm an idiot, At least this one [bug] took about 5 minutes to find...
Back to top
View user's profile Send private message
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Wed Nov 23, 2005 3:16 pm    Post subject: hmm Reply with quote

I have the only one avaible for download ... version 4.3. Somebody have to update the link in tcl archive to the aktual version
Thank u I will try the newer version... omg i have to make make again all of the config .... 1200 lines Crying or Very sad
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 Nov 23, 2005 3:17 pm    Post subject: Reply with quote

If you're using 4.4b20, that error should not show up. Incase you are using it, please post the whole .set errorInfo output to see where the problem occurs.

My PC is out of order right now and I'm not finding time to fix it, thus I'm not working on the script to release a new complete version, I'll try to fix it this weekend and the rest is yet to be seen.

Edit: that error shouldn't occur in v4.3 either, you must've done something wrong while editing.
_________________
Follow me on GitHub

- Opposing

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


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Wed Nov 23, 2005 3:33 pm    Post subject: Reply with quote

Im sure i havent done anythink wrong !
Hmm i have downloaded the newest release 4.4b20 and I saw that u are using the demond's idea to set all of the settings through partyline. This is actually a great idea, but I had a problem with this, when I restart my eggdrop (1.6.17 the newest release from www.eggheads.org) and all the settings I have done are gone. And always when I restart my eggdrop I have to make all settings again. Do u have the same problem or this is somehow fixed ?
Back to top
View user's profile Send private message Visit poster's website
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Wed Nov 23, 2005 3:38 pm    Post subject: I forgot... Reply with quote

I tried already to .set errorInfo but this have to be disabled in the eggdrop.conf because I got nothing. I dont remember the exactly setting in the conf file, if u tell me the settingsname I can post the errorInfo.
Back to top
View user's profile Send private message Visit poster's website
Linux
Halfop


Joined: 04 Apr 2004
Posts: 71
Location: Under The Sky

PostPosted: Wed Nov 23, 2005 3:59 pm    Post subject: Reply with quote

Have your .tcl and .set commands enabled, meaning that you need to open your config and comment out (or remove) the following lines:
Code:
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set

then save the config and restart the bot.
have full backtrace of the error; that means upon receiving TCL error (you must be logged in), immediately type .set errorInfo and save the output, if the bot replies with 'What? You need .help', you need to enable command .set (see above)

(PS: Quote from demond)
_________________
I'm an idiot, At least this one [bug] took about 5 minutes to find...
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Nov 23, 2005 4:18 pm    Post subject: Reply with quote

IRCNick, as long as you're using the same .chan file then no need to reset the channel settings at all after restarting/rehashing.

PS: There're two known bugs in 4.4b20, replace $txtc($uhc)+ and $notccf($uhc) with $o+ and it should work perfectly.
_________________
Follow me on GitHub

- Opposing

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


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Wed Nov 23, 2005 4:44 pm    Post subject: Reply with quote

Thank to the both of you. I have changed the things that Sir_Fz wrote and I will try first the newest release 4.4b20, than if I have some problem with it I will post the errorInfo here. I think all will be fine. Thank you again for the help. Great work
Back to top
View user's profile Send private message Visit poster's website
Linux
Halfop


Joined: 04 Apr 2004
Posts: 71
Location: Under The Sky

PostPosted: Wed Nov 23, 2005 6:34 pm    Post subject: Reply with quote

IRCNick,
just have a look what Sir_Fz said:

Sir_Fz wrote:
that error shouldn't occur in v4.3 either, you must've done something wrong while editing.

be careful while editing the script, anyway you welcome anytime Smile
_________________
I'm an idiot, At least this one [bug] took about 5 minutes to find...
Back to top
View user's profile Send private message
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Thu Nov 24, 2005 4:40 pm    Post subject: There is the same problem Reply with quote

Same errors...

Code:

 <BotName>  Tcl error [adv:kick]: expected integer but got ""
 <BotName>  Tcl error [nosense:kick]: expected integer but got ""
 <IRCNick> .set errorInfo
 <BotName>  #IRCNick# set errorInfo
 <BotName> Currently: expected integer but got ""
 <BotName> Currently:     while executing
 <BotName> Currently: "incr NumKicks"
 <BotName> Currently:     (procedure "getkcount" line 3)
 <BotName> Currently:     invoked from within
 <BotName> Currently: "getkcount"
 <BotName> Currently:     (procedure "mapall" line 3)
 <BotName> Currently:     invoked from within
 <BotName> Currently: "mapall $km $c $bti"
 <BotName> Currently:     ("kb" arm line 2)
 <BotName> Currently:     invoked from within
 <BotName> Currently: "switch -- $p {
 <BotName> Currently:   "kb" {
 <BotName> Currently:    putquick "KICK $c $n :[mapall $km $c $bti]"
 <BotName> Currently:    putquick "MODE $c +b [set bm [masktype $n!$u $bty]]"
 <BotName> Currently:    if {($bti > 0) && ([..."
 <BotName> Currently:     (procedure "do:p" line 3)
 <BotName> Currently:     invoked from within
 <BotName> Currently: "do:p $p $nick $uhost $chan $kmsg $wmsg $btype $btime $klmsg $ktime $ktype"
 <BotName> Currently:     (procedure "punish:method" line 69)
 <BotName> Currently:     invoked from within
 <BotName> Currently: "punish:method $nosense(pmeth) $nick $uhost $chan [ap:mapr $nosense(kmsg) "random string"] $nosense(wmsg) $nosense(btype) $nosense(btime) $nosense(klms..."
 <BotName> Currently:     (procedure "nosense:ban" line 4)
 <BotName> Currently:     invoked from within
 <BotName> Currently: "nosense:ban $nick $uhost $chan "
 <BotName> Currently:     (procedure "nosense:kick" line 15)
 <BotName> Currently:     invoked from within
 <BotName> Currently: "nosense:kick $_jp1 $_jp2 $_jp3 $_jp4"


But i found the problem. The file kcount.txt or whatever must not be empty and have to exist in the directory(config path). If empty it get backspace and return "" . In the newer version have to check(suggestion), if the file is emtry and if not than write 0 for example.

Somethink else for the adversting
If I write in the channel

Code:
Welcome to #Channel


Its all fine I become a ban Wink
but if I write only

Code:
#Channel


I become no ban.And same is with http:// ftp:// , //write and etc or order is turned( http://example.com -> ban , Welcome to http://example.com -> no ban)
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: Fri Nov 25, 2005 7:54 am    Post subject: Reply with quote

It does check if the file exists or not, but I'll add a check to see if the return is an integer in the next version. Thanx for the notice.

As for your advertising issue, that depends on the words you put in the list of advertising words.
_________________
Follow me on GitHub

- Opposing

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


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Sat Nov 26, 2005 2:07 pm    Post subject: Another bug Reply with quote

Code:

[18:45] * BotName sets mode: +l 120
[18:46] * BotName sets mode: +l 120
[18:46] * Joins: Nick1 (~taka87@somecool.host.com)
[18:46] * Joins: Nick2 (~kristian_@another.cool.domain.com)
[18:47] * AnotherBot sets mode: +l 119
[18:48] * Joins: Nick3 (~Ral@blqblq.domain.Net)
[18:48] *** Quits: Nick4 (Client Quit)
[18:48] * Joins: Nick5 (VpjkPz@Ip.home.com)
[18:48] *** Quits: Nick6 (Client Quit)
[18:49] *** Quits: Nick7 (Client Quit)
[18:49] * AnotherBot sets mode: +l 118
[18:50] *** Quits: Nick8 (Some cool quitmsg)
[18:50] * BotName sets mode: +l 121
[18:50] * BotName sets mode: +l 123
[18:50] * BotName sets mode: +l 120
[18:50] *** Quits: Nick9 (Quit: Another quitmsg)
[18:50] * BotName sets mode: +l 116


Why set the bot so many times the limit,when there are no changes (usercount) I think this isnt normal? In the config I have setted the timer to check every 1 min. Need fix Wink or ?
Back to top
View user's profile Send private message Visit poster's website
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Sat Nov 26, 2005 6:22 pm    Post subject: Some extention Reply with quote

The limit proc is totally buged Wink
My settings are to add +10 above. The egg add normally +10 but not always
Example (log again)
There are 78 users in the channel:
Code:

[23:13] * AnotherBot sets mode: +l 88
[23:15] * MyBot sets mode: +l 99
[23:15] * MyBot sets mode: +l 96
[23:15] * AnotherBot sets mode: +l 88
[23:15] * MyBot sets mode: +l 93


I think, that this proc must be fixed.

PS. Sry for reporting bugs, but we all want, that the tcl work fine Wink

Greet
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: Sat Nov 26, 2005 7:49 pm    Post subject: Reply with quote

Quote:
.chanset #channel ap:limit 10

and everything works fine, no several limits and no invalid limits.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
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 ... 15, 16, 17 ... 88, 89, 90  Next
Page 16 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