| View previous topic :: View next topic |
| Author |
Message |
ndrp Voice
Joined: 06 Jun 2013 Posts: 9
|
Posted: Tue Feb 25, 2014 12:44 pm Post subject: [SOLVED] Linking 1.6 eggdrop and 1.8 eggdrop |
|
|
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 |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Tue Feb 25, 2014 1:57 pm Post subject: |
|
|
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 |
|
 |
ndrp Voice
Joined: 06 Jun 2013 Posts: 9
|
Posted: Tue Feb 25, 2014 2:50 pm Post subject: |
|
|
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 |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Tue Feb 25, 2014 3:24 pm Post subject: |
|
|
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 |
|
 |
ndrp Voice
Joined: 06 Jun 2013 Posts: 9
|
Posted: Wed Feb 26, 2014 8:08 am Post subject: |
|
|
| 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 |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Wed Feb 26, 2014 8:34 am Post subject: |
|
|
Great to hear  _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
ndrp Voice
Joined: 06 Jun 2013 Posts: 9
|
Posted: Wed Feb 26, 2014 8:44 am Post subject: |
|
|
| Fire-Fox wrote: | Great to hear  |
Thanks for helping. Problem shared is half solved. |
|
| Back to top |
|
 |
Fire-Fox Master

Joined: 23 Sep 2006 Posts: 270 Location: /dev/null
|
Posted: Wed Feb 26, 2014 9:42 am Post subject: |
|
|
No problemo  _________________ GreatZ
Fire-Fox | Denmark
Scripts: Relay | Store Text | TvMaze |
|
| Back to top |
|
 |
|