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.

SunOS and tcl

Old posts that have not been replied to for several years.
Locked
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

SunOS and tcl

Post by SaPrOuZy »

hello there,
i got a shell account running SunOS and alot of scripts
stopped working. either they don't load at all giving
syntax error when i start the eggdrop or don't function
properly.
does this have to do with the operating system being
SunOS or is it something else?
(the same scripts work fine on my other shell accounts)

Thanks.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

It might help if you posted some of those errors. :wink:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

tcl errors

Post by SaPrOuZy »

<)Resilient> antiflyby: 2 mc.limit_users: 0 mc.limit_grace: 0

<)Resilient> [05:43] Tcl error [mc:afb:part]: need op or halfop
that's from mc.antiflyby.tcl
it tries to ban everyone that leaves
actually whenever someone parts no matter how long they stay
it says it's banning them, but doesn't do it actually

mc.limit_time: 0 means it shouldn't do anything, but still it sets
the limit = users (since limit_users = 0)

[12:46] <)Resilient> [05:52] Tcl error in file 'Res.conf':
[12:46] <)Resilient> [05:52] can't read "olduserinfo-fields": no such variable
[12:46] <)Resilient> while executing
[12:46] <)Resilient> "string tolower ${olduserinfo-fields}"
[12:46] <)Resilient> invoked from within
[12:46] <)Resilient> "foreach field [string tolower ${olduserinfo-fields}] {
[12:46] <)Resilient> if { [lsearch -exact [string tolower ${whois-fields}] $field] >= 0 && [lsearch -exact [string ..."
[12:46] <)Resilient> (file "scripts/userinfo.tcl" line 105)
[12:46] <)Resilient> invoked from within
[12:46] <)Resilient> "source scripts/userinfo.tcl"
[12:46] <)Resilient> (file "Res.conf" line 219)
[12:46] <)Resilient> [05:52] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

that's from userinfo.tcl eventhough the same script works on my other
bots on other shell accounts

[05:54] Tcl error in file 'Res.conf':
[05:54] couldn't read file "netbots/netbots.tcl": no such file or directory
while executing
"source netbots/netbots.tcl"
(file "Res.conf" line 225)
[05:54] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

thats in netbots (again works on others)

those are the errors that i found till now
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

this has nothing to do with SunOS itself, it's due to configuration problems - double-check your configuration - bot, Tcl, config, scripts

if you are using pre-compiled eggdrop, don't use it anymore, compile your own; if the problems still persist, as a last resort you could compile your own Tcl, that is, to link your bot against Tcl libs compiled by you
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

SunOS and tcl

Post by SaPrOuZy »

i tried compiling the bot, even though the one i was using was precompiled by the server admin on
it's still the same, as fro the tcl lib thing you mentioned
i wouldn't bother even thinking how to do it lol
it's easier to switch shell companies
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

tcl version?

Post by SaPrOuZy »

which version of tcl is required for eggdrop scripts to work?
i asked the admin he said it could be the tcl version and is asking me
which version do i want installed
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Try 8.4.7 :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

Post by SaPrOuZy »

the version present is 8.4.1
i mailed the admin about 8.4.7
hopefully it will work even though i have a feeling that
8.4.1 should work too

thanks for the help guys i'll keep you updated
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

SaPrOuZy wrote:i have a feeling that 8.4.1 should work too
You are correct! Have you unloaded all scripts from the eggdrop and tried running it only with the default ones (in the following order)?
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/compat.tcl
source scripts/userinfo.tcl
loadhelp userinfo.help
If not, it's worth a try. :wink:
demond wrote:double-check your configuration
Setting up an Eggdrop
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
SaPrOuZy
Halfop
Posts: 75
Joined: Wed Mar 24, 2004 7:38 am
Location: Lebanon

Post by SaPrOuZy »

[08:59] <)Euphoria> [01:57] can't read "olduserinfo-fields": no such variable
[08:59] <)Euphoria> while executing
[08:59] <)Euphoria> "string tolower ${olduserinfo-fields}"
[09:00] <)Euphoria> invoked from within
[09:00] <)Euphoria> "foreach field [string tolower ${olduserinfo-fields}] {
[09:00] <)Euphoria> if { [lsearch -exact [string tolower ${whois-fields}] $field] >= 0 && [lsearch -exact [string ..."
[09:00] <)Euphoria> (file "scripts/userinfo.tcl" line 105)
[09:00] <)Euphoria> invoked from within
[09:00] <)Euphoria> "source scripts/userinfo.tcl "
[09:00] <)Euphoria> (file "Euph.conf" line 215)
[09:00] <)Euphoria> [01:57] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

still the same
weird...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

yeah, this si weird since olduserinfo-fields is being checked for existance and created if necessary just prior that:

Code: Select all

# If olduserinfo-fields doesn't exist, create it.

if { ![info exists olduserinfo-fields] } { set olduserinfo-fields ${userinfo-fields} }
compile your own Tcl and link your bot with it, it's not that hard
Locked