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.

[SOLVED] Linking 1.6 eggdrop and 1.8 eggdrop

General support and discussion of Eggdrop bots.
Post Reply
n
ndrp
Voice
Posts: 9
Joined: Thu Jun 06, 2013 5:39 am

[SOLVED] Linking 1.6 eggdrop and 1.8 eggdrop

Post by ndrp »

Hi

I'm trying to link bots. HubBot is version 1.6 and LeafBot is version 1.8.

I get errors:

LeafBot v1.8
[18:12:00] Telnet connection: leaf.host.com/xxxxx
[18:12:00] Received challenge from HubBot... sending response ...
[18:12:00] Bad password on connect attempt to HubBot.
[18:12:00] Lost Bot: HubBot
[18:12:00] Sent STARTTLS to HubBot...
[18:12:00] Challenging HubBot...
[18:12:00] Response (password hash) from HubBot incorrect
[18:12:00] Bad Password: [HubBot]xxxx@leaf.host.com/xxxxx

First time after deleting passworks I Got:
[18:05:06] Sent STARTTLS to HubBot...
[18:05:06] Challenging HubBot...
[18:05:06] Non-matching handle lengths with HubBot, they use 9 characters.


HubBot v1.6
[18:12] Telnet connection: leaf.host.com/57317
[18:12] Timeout/EOF ident connection
[18:12] Challenging LeafBot...
[18:12] Response (password hash) from LeafBot incorrect
[18:12] Bad Password: [LeafBot]telnet@leaf.host.com/xxxxx
[18:12] Received challenge from LeafBot... sending response ...
[18:12] Bad password on connect attempt to LeafBot.
[18:12] Lost Bot: LeafBot

I have deleted all password lines from user files and restarded bots but that didn't help.

What's wrong?
Last edited by ndrp on Wed Feb 26, 2014 8:46 am, edited 1 time in total.
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

Try this :

Master Bot:

Code: Select all

.+bot <botname>
.chattr <botname> +fo
.botattr  <botname> -s (-s / dont share userfile)
and this for all new bots you wanna link with master

change that to bot-nick in your .conf file

Code: Select all

on the new bot do: 
.+bot <another botname> IP PORT (NO : between ip and port)
.chattr <another botname> +fo
.botattr <another botname> +p
.botattr  <another botname> +h
.link <another botname>
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
n
ndrp
Voice
Posts: 9
Joined: Thu Jun 06, 2013 5:39 am

Post by ndrp »

I deleted HubBot and LeafBot and tried to add bots as you suggested. All I got was:

Code: Select all

HubBot v1.6
[20:30] Telnet connection: leaf.host.com/56843
[20:30] Timeout/EOF ident connection
[20:30] Non-matching handle lengths with LeafBot, they use 32 characters.
[20:31] Telnet connection: leaf.host.com/53917
[20:31] Timeout/EOF ident connection
[20:31] Challenging LeafBot...
[20:31] Bad Password: [LeafBot]telnet@leaf.host.com/53917

LeafBot v1.8
[20:30:45] #User# link HubBot
[20:30:45] Linking to HubBot at hub.host.com:xxxx ...
[20:30:45] Non-matching handle lengths with HubBot, they use 9 characters.
[20:31:00] Password required for connection to HubBot.
[20:31:00] Bad password on connect attempt to HubBot.
[20:31:00] Lost Bot: HubBot
The bots are on IrcNet. Do I need to compile version 1.8 without SSL support? Nicks are not longer than 9 characters. Another version 1.6 leaf bot connect to HubBot without any problems but verion 1.8 is problematic.
Last edited by ndrp on Tue Feb 25, 2014 3:36 pm, edited 1 time in total.
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

You must do something wrong, the way i postet allways works for me.
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
n
ndrp
Voice
Posts: 9
Joined: Thu Jun 06, 2013 5:39 am

Post by ndrp »

Fire-Fox wrote:You must do something wrong, the way i postet allways works for me.
It seems that Eggdropd 1.8.0 and 1.6 are not compatible by default.

I found the way how to change the default handle length in Eggdrop 1.8 (http://forum.egghelp.org/viewtopic.php?p=56894)

Code: Select all

scr/ehhdrop.h
/*
 * HANDLEN note:
 *       HANDLEN defines the maximum length a handle on the bot can be.
 *       Standard (and minimum) is 9 characters long.
 *
 *       Beware that using lengths over 9 chars is 'non-standard' and if
 *       you wish to link to other bots, they _must_ both have the same
 *       maximum handle length.
 *
 * NICKMAX note:
 *       You should leave this at 32 characters and modify nick-len in the
 *       configuration file instead.
 */
#define HANDLEN 32   /* valid values 9->NICKMAX  */
#define NICKMAX 32  /* valid values HANDLEN->32 */
I changed HANDLEN from 32 to 9 and reconpiled Eggdrop 1.8. Now the bots wered linked together without any problems. There were no bad Password errors.
Last edited by ndrp on Wed Feb 26, 2014 8:36 am, edited 1 time in total.
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

Great to hear :)
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
n
ndrp
Voice
Posts: 9
Joined: Thu Jun 06, 2013 5:39 am

Post by ndrp »

Fire-Fox wrote:Great to hear :)
Thanks for helping. Problem shared is half solved.
User avatar
Fire-Fox
Master
Posts: 299
Joined: Sat Sep 23, 2006 9:01 pm
Location: /dev/null

Post by Fire-Fox »

No problemo :)
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Post Reply