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.

Linking Problem

General support and discussion of Eggdrop bots.
Post Reply
Z
Zorb
Voice
Posts: 22
Joined: Tue Oct 17, 2006 8:14 am

Linking Problem

Post by Zorb »

It seems that when the hub bot gets disconnected and comes back they all unlink. Then when I try to manually link them again using ".link botname" it says there already linked.

Here is the error message:

Code: Select all

(12:24:37) <Me> .link botname
(12:24:38) <botname> Already linking to that bot.
I followed everything carefully on linking the bots on the main page of this site. When there linked it's fine just they seem to unlink as stated above.
Z
Zorb
Voice
Posts: 22
Joined: Tue Oct 17, 2006 8:14 am

Post by Zorb »

Excuse for the double post but does anybody know?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

One of the joys of modern technology is that every now and then there is a "glitz" in the works.

The problem usually sorts itself out. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
B
BoaR
Halfop
Posts: 48
Joined: Fri Jul 20, 2007 1:36 am

Post by BoaR »

this is because when an eggdrop gets disconnected from the irc server it doesnt mean it's not running on the shell background, this means even though it disconnects from the irc server, the bot is still running and other bots are still connected on the botnet to that eggdrop. Now if the bot 'dies' this means all connections are dropped since the bot is no longer running. If the bot just disconnect from the irc server all the bots are still linked so u dont need to relink them, this explains why when u try to relink the bots it says already linked.

hope this helps feel free to reply if you didnt understand and i will try to explain it in a different way :D
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

As your hub drops all connections like that, it would seem your hosting it on a computer with an unreliable uplink. In any case, to your query:

The error is, to be honest, pretty obvious; you are trying to initiate a link to another bot, that has already been started.
The cause for this? One of eggdrop's features to make botnets slightly easier to maintain.
Any and all bots will check their botrecords for any bots with "h" (hub) or "a" (althub) botflags. A bot will always try to keep a direct link with any "h"-bot (that is, automatically try to link if we're not linked to it directly). A bot will also try to link with all "a"-bots if there is no "h"-bot linked at the moment. In your case, as soon as your hub-bot drops its connections, the leafs will try to reestablish the link with your hub, and hence you get the error-message when you yourself try to link them aswell.
NML_375
Post Reply