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.

Bot in channel, but 'not there'?

Old posts that have not been replied to for several years.
Locked
A
Altor

Bot in channel, but 'not there'?

Post by Altor »

lo all, I have a very weird problem here:

the bot has one static channel and atm about 4 dynamic chans added

he joins all this chans without problem, but when trying to op a user or do any action in one of the dynamic chans (via DCC), the bot says 'I'm not in #channel', while he IS present there... setting the chan + and then -inactive (part/join of the bot) solves the problem...

my guess is it has something to do with nickserv or so... having a registered nick, I do the /pass *** command in my init_serv thingie, but I think there goes something wrong there... while wiating for the pass, he probably tries to join the channels, and succeeds in that later then expecting, making it think he didn't join or so...

making multiple channels static, broadens the problem to ALL channels...
Bot says he's not there, whilst he sits happily in the chan, taking no action whatsoever

Normally it can't be any problem with a script/module, the problem exists when not loading extra scripts/modules other then the basic ones...

Any idea how to solve this would be very welcome, as my bot reconnects ervery 36h, and I can't get online every time to make him cycle all thsoe channels :p

ty!
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Out of chance, can you make all channels dynamic, and see the outcome.

This issue has been raised before, and has somthing to do with the reply from the who command. It also seems to be network specific.

Other things to check, see if converting some more of the dynamic channels to static (not all) helps.
A
Altor

Post by Altor »

hmm, making them all static doesn't work...

is there a way to make the bot wait say.. 10-15 seconds after connect, then join the channels?
That would solve the problems I think...

*mod*: tried making them all dynamic.. doesn't help also... :(
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

What about splitting the channels between dynamic and static, rather than one static, rest dynamic.

Does setting 2 static and the rest dynamic change anything.
A
Altor

Post by Altor »

well, I tried 2 static, rezst dynamic, and still had the same problem...

It mostly is ok for the first chan listed, and rest has problems...
or even all of them have the problem...
I wrote a little script to leave all chans by setting +inactive, and then joining with -inactive, and then I have the problem also...
doing it by hand one by one, then it works...

maybe it joins the channels too fast after each other?
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Maybe does the server have some sort of low sendq or flood protection? Is it a major network or a private ircd?
A
Altor

Post by Altor »

tainted wrote:Maybe does the server have some sort of low sendq or flood protection? Is it a major network or a private ircd?
private... I think max 100-150 ppl on it...

btw, my ping is mostly lower then 1sec... so that can't be it also... (128kbit upload connection)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

It is doubtful this is to do with lag.

As mentioned in a previous post to this thread, this issue has been seen before, but has not been tracked down, as it does not affect every person.
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Try turning on raw logging to see what's going on.

Wcc
A
Altor

Post by Altor »

Well, we have an idea what's going on...
the server throttles too fast... It has the specs to run 5k clients and 500 rooms, and we don't have that many by far...

So 2 things I'm thinking about are:
1. write a script that sets all channels +inactive upon reconnect, and then lets the bot join them all with 2-3sec intervals (but I have no idea how to do this... tcl n00b :p) Script can then be executed in the init_serv section...
2. host the bot on a slower server on my own box (so it stays there 24/24 online) and let that server connect to the big one as a leaf... when my IP changes, a netsplit occurs and the 2 SERVERS reconnect, merging the channels again...

I'd prefer solving it without an extra server... so if anyone knows of a script capable of doing this (or can write one... don't think it's a VERY difficult thing to do), that would be great...

It SHOULD be the server... we tested it with a bot unregged to nickserv, and the same problem occurs... and the dynamic/static thingies have been tried also... So this is the last remedy I can think of...
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Allthough this will not present a quick solution, I hope to get to the bottom of this, as it has plagued users of eggdrop for sometime, without showing any sign of consistancy.

Once I have my ADSL connection,a dn a computer to work with in quite, I will look to see what is sent by a IRC server, when, and in what order.

For now, I would like to see if any1 has ever had a simalar situation. If you have, I need to know the server address in question.

The problem can range anything from recieving a command while in the wrong take, thus confusing the bot, to eggdrop totaly skipping somthing due to a mismatch.

This could even be affected by the class a bot ends up in, as set in i-lines.
Locked