| View previous topic :: View next topic |
| Author |
Message |
zaxxon202 Voice
Joined: 23 Nov 2007 Posts: 15
|
Posted: Fri Jan 25, 2008 9:16 pm Post subject: netbots 1.16 bug maybe? |
|
|
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? |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Sat Jan 26, 2008 2:08 pm Post subject: Re: netbots 1.16 bug maybe? |
|
|
| 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. |
|
| Back to top |
|
 |
slennox Owner

Joined: 22 Sep 2001 Posts: 593
|
Posted: Sat Jan 26, 2008 10:02 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
zaxxon202 Voice
Joined: 23 Nov 2007 Posts: 15
|
Posted: Wed Jan 30, 2008 8:36 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|