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 

Connection Issues

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


Joined: 24 Sep 2011
Posts: 10

PostPosted: Sat Sep 24, 2011 5:44 pm    Post subject: Connection Issues Reply with quote

I am trying to connect a bot to: irc.synirc.net

I can get it to connect for a short period of time and then it suddenly disconnects.

When trying to join channels it states (trying), often the end result is it will ether not join the channel or joins after an extended delay.

Any idea what I may be doing wrong? Sad
Back to top
View user's profile Send private message
Pyr3x
Voice


Joined: 24 Sep 2011
Posts: 10

PostPosted: Sat Sep 24, 2011 11:47 pm    Post subject: Reply with quote

I was able to get in the channels and and can verify this using my mirc client.

However, when I use .status it reports that it's not in the channels.

It states that it is (trying).


Any ideas?
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Sep 25, 2011 8:56 am    Post subject: Reply with quote

"trying" or "pending"?

I am reminded of this thread and even it doesn't come to a solid conclusion.

What version of bot are you using?
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sun Sep 25, 2011 11:31 am    Post subject: Reply with quote

Sounds like a mismatched net-type setting. What you've set there? Could you post the IRCd net-type, and IRCd version when you connect? Example:
Quote:

irc.****.com Unreal3.2.8.1 iowghraAsORTVSxNCWqBzvdHtGp lvhopsmntikrRcaqOALQbSeIKVfMCuzNTGj

_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Sep 25, 2011 11:40 am    Post subject: Reply with quote

Pyr3x wrote:
I am trying to connect a bot to: irc.synirc.net


I just logged in there.
Is this the info you needed?
Quote:

Your host is moonlight.se.eu.synirc.net, running version Unreal3.2.8.1
This server was created Tue Aug 2 2011 at 17:47:33 CEST
Back to top
View user's profile Send private message
Pyr3x
Voice


Joined: 24 Sep 2011
Posts: 10

PostPosted: Sun Sep 25, 2011 7:47 pm    Post subject: Reply with quote

My bot is: 1.6.20

I compiled it with: TCL 8.4

Running on: Ubuntu Server

It says "trying" not "pending".

Code:

# What is your network?
#   0 = EFnet
#   1 = IRCnet
#   2 = Undernet
#   3 = DALnet
#   4 = +e/+I/max-modes 20 Hybrid
#   5 = Others
set net-type 5

Code:

#set opchars "@"
set opchars "~&@%"


^ is that right?

Won't even join the channel today:

Code:

I am ABot, running eggdrop v1.6.20: 1 user (mem: 85k).
Online for 00:00 (background) - CPU: 00:00 - Cache hit: 17.6%
Admin: Pyr3x <email: nothing@gmail.com>
Config file: abot.conf
OS: Linux 2.6.38-8-server
Tcl library: /usr/share/tcltk/tcl8.4
Tcl version: 8.4.19 (header version 8.4.19)
Tcl is threaded.
Socket table: 20/100
Loaded module information:
    Channels: #TiSnetworks (trying)
    Online as: Abot!Abot@removed.net (Pyr3x)
    Server irc.synIRC.net:6667 (connected for 00:00)
    #TiSnetworks        : (not on channel)


Note: It is ON the network! Just will not join channels!
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Sun Sep 25, 2011 8:47 pm    Post subject: Reply with quote

Pyr3x wrote:
My bot is: 1.6.20

I compiled it with: TCL 8.4

Running on: Ubuntu Server

It says "trying" not "pending".



Ok.
Tnx for reply.
With the info you are providing, perhaps someone else can discern something.

Quote:

Code:

# What is your network?
#   0 = EFnet
#   1 = IRCnet
#   2 = Undernet
#   3 = DALnet
#   4 = +e/+I/max-modes 20 Hybrid
#   5 = Others
set net-type 5

Code:

#set opchars "@"
set opchars "~&@%"


^ is that right?



Not sure.
I can say that some bots that I have, on ircd running version Unreal3.2.8.1
all use:
net-type 3

Take that for what it is worth.

Experiment.. see if it makes a difference.

Quote:



Won't even join the channel today:

Code:

I am ABot, running eggdrop v1.6.20: 1 user (mem: 85k).
Online for 00:00 (background) - CPU: 00:00 - Cache hit: 17.6%
Admin: Pyr3x <email: nothing@gmail.com>
Config file: abot.conf
OS: Linux 2.6.38-8-server
Tcl library: /usr/share/tcltk/tcl8.4
Tcl version: 8.4.19 (header version 8.4.19)
Tcl is threaded.
Socket table: 20/100
Loaded module information:
    Channels: #TiSnetworks (trying)
    Online as: Abot!Abot@removed.net (Pyr3x)
    Server irc.synIRC.net:6667 (connected for 00:00)
    #TiSnetworks        : (not on channel)


Note: It is ON the network! Just will not join channels!


You have checked... the bot is not banned on these channels... right?


Other ideas, just for fun, to try:

Try some other channels. Just make a new channel, and see if bot can join it.

Try a completely different network. Again, just make a new channel, and have bot join it.

See what happens.


I assume that if you were seeing anything that might be a clue, in the partyline, you would have mentioned it by now.

Perhaps you'd see more, if you enable raw logging in eggdrop.conf, then in partyline do : .console +r

I'm sorry that I am not able to provide a simple answer for you, and I hope somebody else comes along that can.
Back to top
View user's profile Send private message
Pyr3x
Voice


Joined: 24 Sep 2011
Posts: 10

PostPosted: Sun Sep 25, 2011 9:04 pm    Post subject: Reply with quote

Set my network type to: 3

Still wont join the channel.

I can see it on the network however.

Secondly: .console +r says nothing important...

Edit:

I tried another server and got the same effect.

Let it be known that I compiled this version because the Ubuntu package I got from apt0get was doing the same thing. What within my environment would cause this?
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Mon Sep 26, 2011 1:33 am    Post subject: Reply with quote

That's weird, some users set 'net-type' to 3 and worked. Did you '.restart' the bot after the change? If you did, then try with setting 'net-type' to 0 and then do a '.restart' and let us know the results.
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Pyr3x
Voice


Joined: 24 Sep 2011
Posts: 10

PostPosted: Mon Sep 26, 2011 3:42 am    Post subject: Reply with quote

I did reload after and same results.

I tried type 0 and it joined the server and failed to join channel.
Back to top
View user's profile Send private message
Pyr3x
Voice


Joined: 24 Sep 2011
Posts: 10

PostPosted: Tue Sep 27, 2011 10:25 pm    Post subject: Reply with quote

it seems to have something to do with ubuntu I went and purchased a cheap shell for testing and my config works just fine. any ideas?
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Wed Sep 28, 2011 2:09 am    Post subject: Reply with quote

Reload (rehash) or restart?
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Pyr3x
Voice


Joined: 24 Sep 2011
Posts: 10

PostPosted: Wed Sep 28, 2011 1:43 pm    Post subject: Reply with quote

Ok this is driving me crazy!

I can get ONE bot to connect to the iRC and it works as expected, responds to DCC etc...

I did this by un-commenting and setting the NAT setting in the config.

OK, now this would seem like something I can now work with. I clone the config and simply change all the misc name related attributes, pid, log etc

I then try and run a 2nd bot and it goes back to acting like it did in the past! Won't join channel, won't respond to DCC but joins irc server!

I tried stopping the working bot and only starting the 2nd bot and it still fails!

I start the working bot and it connects perfectly!

what the hell is going on here.... It's not conflicting port bindings I checked that....

Help.. Sad
Back to top
View user's profile Send private message
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