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.

problems with sentinel.tcl

Old posts that have not been replied to for several years.
Locked
C
CrazyEgg
Halfop
Posts: 47
Joined: Thu Jul 28, 2005 4:02 pm

problems with sentinel.tcl

Post by CrazyEgg »

well today i make update to one of the bots with
netbots.tcl v4.10
and sentinel.tcl component script

i find out minnor errors like:

missing proc and giving error: invalid command name "nb_killutimer"

this is the proc what missing:

Code: Select all

proc nb_killutimer {cmd} {
  set n 0
  regsub -all -- {\[} $cmd {\[} cmd ; regsub -all -- {\]} $cmd {\]} cmd
  foreach tmr [utimers] {
    if {[string match $cmd [join [lindex $tmr 1]]]} {
      killutimer [lindex $tmr 2]
      incr n
    }
  }
  return $n
}
next error was :
Tcl error [sl_pfloodk]: can't read "sl_flooded(#......)": no such variable
Tcl error [sl_jflood]: can't read "sl_locked(#......)": no such variable

I found this mistake:

Code: Select all

nb_killutimer "sl_unlock $chan*"
the correct code i thing that is :

Code: Select all

nb_killutimer "sl_unlock $chan *"
cause Slennox is bussy as i read to the forum can someone tell me if that what i made was correct?
If are correct then is mutch better to upload netbots4.10 corrected.
Thanks a lot
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

From netbots.tcl:

Code: Select all

proc nb_killutimer {cmd} {
....... etc
}
From sentinel.tcl:

Code: Select all

set sl_flooded($chan) ... etc
I'd suggest downloading netbots archive again and start from scratch.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked