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.

netbots 1.16 bug maybe?

Support & discussion of released scripts, and announcements of new releases.
Post Reply
z
zaxxon202
Voice
Posts: 15
Joined: Fri Nov 23, 2007 4:41 pm

netbots 1.16 bug maybe?

Post by zaxxon202 »

When I do .netbots It shows all the bots, but also shows most are either offline or not linked. And thier both. Im no expert, but Im stumped.

Any thoughts?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Re: netbots 1.16 bug maybe?

Post by speechles »

zaxxon202 wrote:When I do .netbots It shows all the bots, but also shows most are either offline or not linked. And thier both. Im no expert, but Im stumped.

Any thoughts?
It's certainly not a bug, you probably haven't set up netbots properly. Realize .bots and .netbots are two completely different commands. Netbots has always worked flawlessly for me. You probably haven't linked/hubbed/leafed your bots yet so of course, netbots can't work. They cant communicate until you set up a bot entry with hostmask/bot port/address/etc for them all..

Type .bots and you should see almost exactly what you see when typing .netbots. If you only have one bot show up when typing .bots you have forgot to create your botnet before installing netbots.

What you should do is reread and follow exactly the procedure, outlined below..
http://www.egghelp.org/netbots/doc_netbots.htm wrote:SETUP

NOTE: netbots.tcl is not a bot linking and sharing tool. Your botnet should already be linked (and sharing if desired) before you set up netbots.tcl.

1) netbots.tcl is split into several files - netset.tcl contains the script settings and netbots.tcl contains the code. Additional component scripts (e.g. aidle.tcl, botnetop.tcl, etc.) are also included. To setup the netbots.tcl script, netset.tcl is the only file you'll need to edit.

2) To get netbots.tcl up and running, you only need to change two settings in the netset.tcl file. You can deal with the rest of the settings later if you wish. Near the top of the file, you'll see the lines set nb_key "changethis" and set nb_flag N. Change nb_key to a short, random set of alpha-numeric characters, e.g. "e9g4bMu". The nb_flag setting is explained in the components documentation.

3) In each bot's directory, create a new directory named netbots. Copy the netset.tcl, netbots.tcl, and additional component scripts (e.g. aidle.tcl, botnetop.tcl, etc.) to this new directory. The netbots.tcl script, settings file, and any component scripts you wish to use must be placed in this directory for the script to work properly.

4) At the end of each bot's config file, add the line source netbots/netbots.tcl.

5) Rehash each bot on the botnet (note that if you have any of my old standalone scripts installed, you should probably restart each bot instead of just rehashing). The basic netbots component with the default settings will be loaded on each bot.

6) If you have nb_flag set to a custom netbot flag (i.e. "N" or another upper-case alphabet letter), you will need to setup the netbot flags on your bots. On the hub bot, type .netbots add <leaf> for each leaf bot. On each leaf bot, type .netbots add <hub>. You can also specify a list of bots to add when using the command, e.g. .netbots add NiceBot,CuteBot,FatBot instead of using the command multiple times to add several bots. Note that this command does not make a special netbot list anywhere - it simply gives the specified bots the netbot flag.

Tip: On any netbot, you can type .netbots to see which bots on the botnet are currently recognised as other netbots.

7) Type .netinfo on a few of the bots (on control bots only if you've specified them in the nb_ctrlbots setting). If all the other netbots reply, the script is working. If some netbots don't reply (or if none of them do), you probably haven't set up the netbot flags completely on that particular bot, and should read step 6 again. If you get a "What? You need '.help'", the script is not loaded and you need to go back to step 1.
Repeat this process without omitting any steps at all, and you should find netbots works perfectly.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Get on a bot, type .netbots, and pick one of the bots that is incorrectly shown as offline or not linked. Then type .whois <that bot's handle>. Does its user record have the netbot flag (default "N") set? If not, then on each bot you need to set that flag for every other netbot, or you can change the netbot flag setting so that you don't need to set netbot flags (but that can reduce security).

Note that the netbots documentation quoted above won't fully apply to 1.16, which was a much simpler script without all the crapware bundled :)
z
zaxxon202
Voice
Posts: 15
Joined: Fri Nov 23, 2007 4:41 pm

Post by zaxxon202 »

OK. My handleg in eggdrop.h was default at 9. I forgot all about that. Once I fixed that everything was ok. Alot of my bots are more than 9 chars. And THOSE were the ones not linked.

Thanks for all that help tho. Appreciate it
Post Reply