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.

Unloading components without restarting

Old posts that have not been replied to for several years.
Locked
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

Unloading components without restarting

Post by BiLL »

Is there ANY trick or way to unload a component for netbots?
I have the problem I started all bots with

set nb_component(chanlimit) 1

but now I want to use:
set nb_component(chanlimit) 0

and I can't restart all bots. Is there any way to dynamically unload the chanlimit component?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is no way to unload it, and it will remain in memory until the bot is restarted.

However, to save even unloading it, simply set all your channel in the exclude setting.
M
Moonster
Halfop
Posts: 95
Joined: Wed Nov 13, 2002 5:39 pm
Location: Manchester NH USA
Contact:

Post by Moonster »

Could also try

.netchanset #Channel -l
"Knowledge is Power"
BeastNH/Moonster on Undernet/EFnet IRC Network
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

Post by BiLL »

I tried to add " * " as exempt to the channel list.
But it didn't work too.
Maybe there is another way - except that * - to mark ALL channels as exclude-channel?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This isn't a mask based settings. The docs say it should be a list of channels, seperate by spaces.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Setting cl_chans to an invalid channel will effectively stop the script from setting limits on your channel, and if you're going to do that you may as well increase the cl_timer setting to around 60 to reduce the script's impact on the bots' efficiency (although it's probably miminal anyway).
C
Chrysalis
Voice
Posts: 32
Joined: Wed Oct 10, 2001 8:00 pm
Location: UK

Post by Chrysalis »

I use unloadtcl.tcl to dynamically unload tcls although I have never used it unload a netbots component before, this doesnt require a restart although it wont always unload a tcl properly meaning a restart anyway but does usually work.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

netbots compnents will not work with this script.

netbots uses it's own load system, where you define a variable to load a component, rather than place a "source" line.

The quickest method, is to change the netset.tcl file to reflect what changes should be made, and issue a .restart
Locked