egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[SOLVED] Linking 1.6 eggdrop and 1.8 eggdrop

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
ndrp
Voice


Joined: 06 Jun 2013
Posts: 9

PostPosted: Tue Feb 25, 2014 12:44 pm    Post subject: [SOLVED] Linking 1.6 eggdrop and 1.8 eggdrop Reply with quote

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
Back to top
View user's profile Send private message
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Tue Feb 25, 2014 1:57 pm    Post subject: Reply with quote

Try this :

Master Bot:
Code:

.+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:

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
Back to top
View user's profile Send private message MSN Messenger
ndrp
Voice


Joined: 06 Jun 2013
Posts: 9

PostPosted: Tue Feb 25, 2014 2:50 pm    Post subject: Reply with quote

I deleted HubBot and LeafBot and tried to add bots as you suggested. All I got was:
Code:
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
Back to top
View user's profile Send private message
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Tue Feb 25, 2014 3:24 pm    Post subject: Reply with quote

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

Scripts: Relay | Store Text | TvMaze
Back to top
View user's profile Send private message MSN Messenger
ndrp
Voice


Joined: 06 Jun 2013
Posts: 9

PostPosted: Wed Feb 26, 2014 8:08 am    Post subject: Reply with quote

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:
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
Back to top
View user's profile Send private message
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Wed Feb 26, 2014 8:34 am    Post subject: Reply with quote

Great to hear Smile
_________________
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Back to top
View user's profile Send private message MSN Messenger
ndrp
Voice


Joined: 06 Jun 2013
Posts: 9

PostPosted: Wed Feb 26, 2014 8:44 am    Post subject: Reply with quote

Fire-Fox wrote:
Great to hear Smile


Thanks for helping. Problem shared is half solved.
Back to top
View user's profile Send private message
Fire-Fox
Master


Joined: 23 Sep 2006
Posts: 270
Location: /dev/null

PostPosted: Wed Feb 26, 2014 9:42 am    Post subject: Reply with quote

No problemo Smile
_________________
GreatZ
Fire-Fox | Denmark

Scripts: Relay | Store Text | TvMaze
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber