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.

Error After .netupdate

Old posts that have not been replied to for several years.
Locked
r
rudenstam

Post by rudenstam »

After I edited the netset on the hub i did the .netupdate commands.. then i restarted them.. My hub restarted normally but on the leaf i got this..

Eggdrop v1.6.7 (C)1997 Robey Pointer (C)2001 Eggheads
[02:50] --- Loading eggdrop v1.6.7 (Tue Jan 1 2002)
[02:50] Listening at telnet port 2000 (bots)
[02:50] Listening at telnet port 4000 (users)
[02:50] Module loaded: dns
[02:50] Module loaded: channels
[02:50] Module loaded: server
[02:50] Module loaded: ctcp
[02:50] Module loaded: irc
[02:50] Module loaded: transfer (with lang support)
[02:50] Module loaded: share
[02:50] Module loaded: notes (with lang support)
[02:50] Module loaded: console (with lang support)
[02:50] Module loaded: blowfish
[02:50] Module loaded: uptime
[02:50] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[02:50] use '.help userinfo' for commands.
[02:50] Loading netbots.tcl v4.05 by slennox..
[02:50] TCL error in file 'fur.conf':
[02:50] can't use non-numeric string as operand of "!"
while executing
"if {!$nb_component($nb_lcomponent)} {continue}"
("foreach" body line 2)
invoked from within
"foreach nb_lcomponent [lsort [array names nb_component]] {
if {!$nb_component($nb_lcomponent)} {continue}
set nb_lsource $nb_dir/$nb_lcomponen..."
invoked from within
"if {[info exists nb_component]} {
foreach nb_lcomponent [lsort [array names nb_component]] {
if {!$nb_component($nb_lcomponent)} {continue}
..."
(file "netbots/netbots.tcl" line 2299)
invoked from within
"source netbots/netbots.tcl"
(file "fur.conf" line 997)
[02:50] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)


Anybody who can help me ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Check through all your nb_component settings (the ones which tell the bot, what components it should load).

It looks like (as the error sugests, you have used a value that is not a number, IE (you didn't use the 1 or 0 as stated in the documentation.
r
rudenstam

Post by rudenstam »

Hmmzz.. Think i did.. but I'd better check that out.. thnx a lot
r
rudenstam

Post by rudenstam »

But it must be right..

I have the exact copy on my other bot.. used .netupdate.. then it copys the netset.tcl.. don't it ?

It worked perfectly fine on my other bot.. but not thisone
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Yes and no.

Yes it copies it over, but that does not mean that the settings are going to be the same on each bot.

If you use the nb_set command, alond with a nb_component setting, then you can efectivly use different settings for each bot.

You may have created a nb_component setting with the nb_set command, to include only this leaf bot, and not the hub. Thus the hub is fine, but the leaf is reading a different setting, and causing crashes.

You should netupdate, then read through the leaf's netset.tcl, and see where the problem is.

I have a few advanced tips you could use to find out the exact setting, that is casuing trouble.

Place this code at the bottom of your netset.tcl file on the hub (this can be handy as a debug tool, before the actual components are loaded.

Code: Select all

foreach {A_ B_} [array get nb_component] {
  putlog "Changed nb_component setting for "${_A}" - now set to "${_B}""
}
After netbots.tcl reads in it's settings, this code will write to the eggdrop's logfile, stating exactly what the nb_component values are. This includes changes made by nb_set commands.

See if this helps you get anywhere.
Locked