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.

having problems with egg_fu_2.0.2

Old posts that have not been replied to for several years.
Locked
w
wizzo
Voice
Posts: 2
Joined: Mon Aug 08, 2005 3:26 am

having problems with egg_fu_2.0.2

Post by wizzo »

Well i configured the eggdrop and every thing works fine with all the scripts i have added but only one is giving me problems. i get the following error when using egg_fu_2.0.2.tcl

TCL error in file 'eggdrop.conf:

expected integer but got "09" (looks like invalid octal number)

while executing
"expr [lindex [split $args :] 1] + ([unoctal [lindex [split $args :] 0]] * 60)"
(prcedure "mconv" line 1)
invoked from within
"mconv [getdate time"
(procedure "myage" line 6)
invoked from within
"myage"
invoked from within
"putlog "\002egg\002-\002fu\002 \002$eggfu\002 loaded! (age: [myage], sex: $sex)
"(file "scripts/egg-fu_2.0.2.tcl" line 940)
invoked from within
"source scripts/egg-fu-2.0.2.tcl"
(file "eggdrop.conf" line 1351)


i think the problem is this line in the tcl file but i have no idea what

proc mconv {args} {return [expr [lindex [split $args :] 1] + ([unoctal [lindex [split $args :] 0]] * 60)]}

i've search this board for a while now for a solution and couldn't find anyone with similar problems to mine.

p.s. i am using eggdrop not windrop and cygwin

after running it again i now get this error

[13:14] Tcl error in file 'eggdrop.conf':
[13:14] syntax error in expression "00\]\] + (12 * 60)": extra tokens at end of
expression
while executing
"expr [lindex [split $args :] 1] + ([unoctal [lindex [split $args :] 0]] * 60)"
(procedure "mconv" line 1)
invoked from within
"mconv [lindex $bdate 1"
(procedure "myage" line 7)
invoked from within
"myage"
invoked from within
"putlog "\002egg\002-\002fu\002 \002$eggfu\002 loaded! (age: [myage], sex: $sex)
"
"
(file "scripts/egg-fu_2.0.2.tcl" line 940)
invoked from within
"source scripts/egg-fu_2.0.2.tcl"
(file "eggdrop.conf" line 1349)
[13:14] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

obviously the arguments of that [expr] are not properly checked/guaranteed to be numbers
w
wizzo
Voice
Posts: 2
Joined: Mon Aug 08, 2005 3:26 am

Post by wizzo »

demond wrote:obviously the arguments of that [expr] are not properly checked/guaranteed to be numbers
that argument is in the orginal script i downloaded from slennox's eggpage and its not been tampered with so i need a solution to fix it if possible.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

then either contact the author or post the script (using

Code: Select all

 tags) and hope for the best (i.e. someone here to bother to fix it)
Locked