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.

Some scripts not working as netbots components

Old posts that have not been replied to for several years.
Locked
T
Techdude

Post by Techdude »

I loaded greetd2.tcl and auto-away.tcl as netbots components (both load, but dont do anything)
Everything else works though...
what can cause this?!
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Paste the following:

1. The things you put in netset.tcl to load the scripts as components.
2. Everything the bot spits out when you use .rehash
T
Techdude

Post by Techdude »

# greetd2.tcl settings
set nb_component(greetd2) 1
set greetd(dccaccess) "n"
set greetd(show) 0
set greetd(eval) 1
set greetd(method) "NOTICE"
set greetd(hosts-allow) "*!*@*"
set greetd(hosts-deny) ""
set greetd(file) "greetd.dat"
set greetd(wait) 5
set greetd(ignore) 5
set greetd(mustbelinked) 1
set greetd(key) "8fhrmcv7"

# Auto-AWay.tcl settings
set nb_component(auto-away) 1

as for rehash...
[23:30:20] <Techdude> .rehash
[23:30:20] <Yes> [20:34] #Techdude# rehash
[23:30:21] <Yes> Rehashing.
O_o
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Your console modes aren't allowing you to see all the info required when you rehash. Type .console mcobxs then .rehash again, and paste the output.
T
Techdude

Post by Techdude »

[15:53] #Techdude# rehash
Rehashing.
[15:53] Writing user file...
[15:53] Greetd: Saved data file
[15:53] Writing channel file...
[15:53] Rehashing ...
[15:53] Listening at telnet port 4300 (all)
[15:53] Can't load modules dccsilly: /home/techbot/eggdrop/modules/dccsilly.so: cannot open shared object file: No such file or directory
[15:53] Can't load modules megahal: /home/techbot/eggdrop/modules/megahal.so: cannot open shared object file: No such file or directory
[15:53] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[15:53] use '.help userinfo' for commands.
[15:53] Loaded Morse (DLF)
[15:53] (4: 4MEM) Loaded: Memos v1.02 by ClubCX <tom@botservice.net>
[15:53] (4: 4MEM) A BotService Production -- http://www.botservice.net
[15:53] Loading language "en" from language/gseen.en.lang...
[15:53] Loading language "de" from language/gseen.de.lang...
[15:53] Loading netbots.tcl v4.09 by slennox..
[15:53] Greetd: Loaded data file
[15:53] Greetd2 1.0.3 by KuNgFo0, guppy and MC_8 loaded
[15:53] StormBot ver. 3.1.beta.2.5a by Xone <xone@bothouse.org> and Domino Rose-Mystagic <domino@bothouse.org> Loaded!
[15:53] A BService Production (#Bothouse @ ChatNet)
[15:53] Bot responding to: 'TechBot', 'TBachu' and 'Tt.'
[15:53] Loaded components: aidle, auto-away, botnetop, chanlimit, extras, greetd2, logfile, mass, netbots, repeat, sentinel, stormbot, udp
[15:53] Userfile loaded, unpacking...

User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

The greetd2 and auto-away scripts appear to be loading correctly based on what you've pasted. It's possible that the scripts themselves are not working properly or are misconfigured.

Remove the scripts from netset.tcl, add some ordinary source lines in the bot's config file, then restart the bot. Do the scripts miraculously begin to work? If so, reverse the changes (i.e. go back to loading them as netbots components) and restart the bot again. Do the scripts suddenly stop working? If the answer to both these questions is yes, then the netbots component style loading is having an effect which would require closer examination.
Locked