| View previous topic :: View next topic |
| Author |
Message |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Wed Nov 23, 2005 2:07 pm Post subject: Some errors |
|
|
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 |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Wed Nov 23, 2005 2:29 pm Post subject: |
|
|
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
 _________________ I'm an idiot, At least this one [bug] took about 5 minutes to find... |
|
| Back to top |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Wed Nov 23, 2005 3:16 pm Post subject: hmm |
|
|
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  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Nov 23, 2005 3:17 pm Post subject: |
|
|
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 |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Wed Nov 23, 2005 3:33 pm Post subject: |
|
|
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 |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Wed Nov 23, 2005 3:38 pm Post subject: I forgot... |
|
|
| 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 |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Wed Nov 23, 2005 3:59 pm Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Nov 23, 2005 4:18 pm Post subject: |
|
|
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 |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Wed Nov 23, 2005 4:44 pm Post subject: |
|
|
| 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 |
|
 |
Linux Halfop

Joined: 04 Apr 2004 Posts: 71 Location: Under The Sky
|
Posted: Wed Nov 23, 2005 6:34 pm Post subject: |
|
|
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  _________________ I'm an idiot, At least this one [bug] took about 5 minutes to find... |
|
| Back to top |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Thu Nov 24, 2005 4:40 pm Post subject: There is the same problem |
|
|
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
but if I write only
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Nov 25, 2005 7:54 am Post subject: |
|
|
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 |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Sat Nov 26, 2005 2:07 pm Post subject: Another bug |
|
|
| 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 or ? |
|
| Back to top |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Sat Nov 26, 2005 6:22 pm Post subject: Some extention |
|
|
The limit proc is totally buged
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
Greet |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Nov 26, 2005 7:49 pm Post subject: |
|
|
| 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 |
|
 |
|