This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

*** WARNING: error found when loading netbots/botnetop.tcl

Old posts that have not been replied to for several years.
Locked
L
Loki
Voice
Posts: 13
Joined: Sat Jun 14, 2003 4:50 am

*** WARNING: error found when loading netbots/botnetop.tcl

Post by Loki »

Hi, i'm running netbots 4.09 and i have one hub that is not on irc and i cant find why i get this error on my hub

Loading netbots.tcl v4.09 by slennox..
*** WARNING: error found when loading netbots/botnetop.tcl:
bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, dcc, disc, evnt, filt, link, load, lost, nkch, note, rcvd, sent, time, tout, unld
Userfile loaded, unpacking...
Tcl error in script for 'timer116':
invalid command name "botonchan"

Can anyone help me pls ?
Best regards
Loki
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Re: *** WARNING: error found when loading netbots/botnetop.t

Post by egghead »

Loki wrote:Hi, i'm running netbots 4.09 and i have one hub that is not on irc and i cant find why i get this error on my hub

Loading netbots.tcl v4.09 by slennox..
*** WARNING: error found when loading netbots/botnetop.tcl:
bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, dcc, disc, evnt, filt, link, load, lost, nkch, note, rcvd, sent, time, tout, unld
Userfile loaded, unpacking...

Can anyone help me pls ?
what version of eggdrop are you running?
L
Loki
Voice
Posts: 13
Joined: Sat Jun 14, 2003 4:50 am

Post by Loki »

I´m using eggdrop v1.6.10
Best regards
Loki
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Loki wrote:I´m using eggdrop v1.6.10
I can't check from here if new binds were introduced after 1.6.10 which are now used in netbots. But this is likely the reason for the warning. Note also that your bot doesn't recognise the command [botonchan]. Try upgrading to 1.6.15 or 1.6.13.
L
Loki
Voice
Posts: 13
Joined: Sat Jun 14, 2003 4:50 am

Post by Loki »

thank you, im gonna try that :)
Best regards
Loki
L
Loki
Voice
Posts: 13
Joined: Sat Jun 14, 2003 4:50 am

Post by Loki »

nope still the same
.rehash
Rehashing.
Rehashing ...
Listening at telnet port 50121 (all)
Loading netbots.tcl v4.09 by slennox..
*** WARNING: error found when loading netbots/botnetop.tcl:
bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, dcc, disc, evnt, filt, link, load, lost, nkch, note, rcvd, sent, time, tout, unld
Userfile loaded, unpacking...

Tcl error in script for 'timer116':
invalid command name "botonchan"

i upgrade to eggdrop v1.6.15
Best regards
Loki
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Loki wrote:nope still the same
.rehash
Rehashing.
Rehashing ...
Listening at telnet port 50121 (all)
Loading netbots.tcl v4.09 by slennox..
*** WARNING: error found when loading netbots/botnetop.tcl:
bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, dcc, disc, evnt, filt, link, load, lost, nkch, note, rcvd, sent, time, tout, unld
Userfile loaded, unpacking...

Tcl error in script for 'timer116':
invalid command name "botonchan"

i upgrade to eggdrop v1.6.15
What modules have you loaded? It feels as if you don't have the irc module loaded. Can you copy and paste what you get in the shell when you start the bot or what you get when you do a .restart?
L
Loki
Voice
Posts: 13
Joined: Sat Jun 14, 2003 4:50 am

Post by Loki »

.restart
restart
Restarting.
Restarting ...
Module unloaded: console
Sending 'share end' to all sharebots...
Creating resync buffer for egg1
Creating resync buffer for egg2
Creating resync buffer for egg3
Creating resync buffer for egg4
Unloaded sharing module, flushing tbuf's...
Module unloaded: share
Unloading transfer module, killing all transfer connections...
Module unloaded: transfer
Module unloaded: channels
Listening at telnet port 50121 (all)
Module loaded: channels
Module loaded: transfer (with lang support)
Module loaded: share
Module loaded: console (with lang support)
Loading netbots.tcl v4.09 by slennox..
*** WARNING: error found when loading netbots/botnetop.tcl:
bad type, should be one of: act, away, bcst, bot, chat, chjn, chof, chon, chpt, dcc, disc, evnt, filt, link, load, lost, nkch, note, rcvd, sent, time, tout, unld
Userfile loaded, unpacking...
Running netbots.tcl v4.09

This hub is not on irc
Best regards
Loki
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

i havent really tried netbots so i dont know its inner workings.

but i dont see why you'd run a botnet-oping script on a limbo hub :-?
photon?
L
Loki
Voice
Posts: 13
Joined: Sat Jun 14, 2003 4:50 am

Post by Loki »

dont i have to have this enable because my hub controls 5 others ?

If i take out botnetop.tcl in netset.tcl i get this
*** WARNING: error found when loading netbots/chanlimit.tcl:
i disable chanlimit.tcl then i get
*** WARNING: error found when loading netbots/repeat.tcl

and so on, do i not need to have this feature enabled ?
Best regards
Loki
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

It looks like you're trying to load those components on a limbo hub. A limbo hub doesn't have required modules like server and irc loaded, so the scripts will give an error if you try to load them.

On a limbo hub, you should load the netbots.tcl core and components/scripts that don't do anything IRC-related.
L
Loki
Voice
Posts: 13
Joined: Sat Jun 14, 2003 4:50 am

Post by Loki »

:) now my netset.tcl look like this

set nb_component(aidle) 1
set nb_component(extras) 1
set nb_component(botnetop) 0
set nb_component(chanlimit) 0
set nb_component(logfile) 1
set nb_component(mainserver) 0
set nb_component(mass) 1
set nb_component(repeat) 0
set nb_component(sentinel) 0

And no error exept

Tcl error in script for 'timer21':
invalid command name "botonchan"

Will my botnet still work the same? and should i put all the nb_component on my limbo to 0 ?
Best regards
Loki
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

could the "botonchan" error be triggered because
there are NO channels defined in the conf. ?
I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

doc/tcl-commands.doc:

botonchan [channel]
Returns: 1 if the bot is on the specified channel (or any channel if no channel is specified); 0 otherwise
Module: irc
M
Moonster
Halfop
Posts: 95
Joined: Wed Nov 13, 2002 5:39 pm
Location: Manchester NH USA
Contact:

Post by Moonster »

You guys are missing the big picture here.

He said OFFLINE HUB

Why would an Offline Hub Require BOTNETOP?

They cant ask him for ops cuz he cant do anything.

OFFLINE HUBS dont use most of the modules required for many netbots components.
"Knowledge is Power"
BeastNH/Moonster on Undernet/EFnet IRC Network
Locked