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 

local eggdrop connection thru psyBNC...not seeing chnl info

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer Help
View previous topic :: View next topic  
Author Message
ZvOO
Voice


Joined: 20 Jan 2005
Posts: 22

PostPosted: Wed Aug 31, 2005 9:46 am    Post subject: local eggdrop connection thru psyBNC...not seeing chnl info Reply with quote

Hi,
I have an eggdrop botnet in which most of the bots reside on remote shell boxes. But also, I use a few relay bots that link channels on several IRC networks. These relay bots reside on a private LAN. I used to have them connected through BNC2.9.x, but have recently changed over to psyBNC2.3.2-x. It seems to work very well, except for one problem. The part that works well is that I have psy running on several shell boxes and these relay bots connect and relay traffic very nicely... however, the part that doesn't work so well is that these local eggdrops won't retrieve the channel information for all channels that psy is connected to. For example, if psy is connected to #channel-A, #channel-B, #channel-C, and #channel-D on an IRC network, when the eggdrop connects to psy, only #channel-A and #channel-C show that they are active channels from the telnet session with the eggdrop. The other 2 channels show up, but they show up as "(pending)" status with zero users in them. Even so, the eggdrop still sees the traffic on these channels so it's actually really on them, it just doesn't know anything about them (example: the number of users, who the users are, who has ops, who joins/parts, etc.). The only way I know of to recycle the bot's record of the channel status is to kick each bot instance from the affected channels (I do it from a separate client), then when the instance rejoins the channels, the channel information is accurately refreshed to the bot. My guess is that the problem happens because the eggdrops connect too quickly to psy. I could be wrong though. One thing is for sure: the more channels the bot is connecting to at once (whether already running on psy or not), the more channels the bot fails to get information for. I've tried using the .reset command from the eggdrops, but it doesn't refresh the missing channel status info at all. Does anyone know how I can get this to work without having to kick the bots' nicks from the affected channels?
Thanks in advance.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Aug 31, 2005 12:27 pm    Post subject: Reply with quote

obviously a psybnc bug; don't use eggdrop through psybnc, or at least use the latest version (psybnc)
Back to top
View user's profile Send private message Visit poster's website
ZvOO
Voice


Joined: 20 Jan 2005
Posts: 22

PostPosted: Wed Aug 31, 2005 2:36 pm    Post subject: Reply with quote

demond wrote:
obviously a psybnc bug; don't use eggdrop through psybnc, or at least use the latest version (psybnc)


It's ver 2.3.2-7 which I believe is the newest release. The thing is that I want to keep the lag to a minimum (which having all of the relay bots in the same box behind my LAN router achieves nicely), and I want the bouncer to stay connected if my LAN goes down. I could put all of the relay eggs on the same remote shell box I guess. But then I'd have an additional process charge for each one to add to my many others that I already pay for. If this is a bug (and it may well be) it's hard to believe that others haven't tried to do this lots of times before and had the same problem and bitched to psy's author to fix it. Oh well, I guess :\

Thanks.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Aug 31, 2005 3:36 pm    Post subject: Reply with quote

the right solution of your problem would be a multiserver bot

unfortunately however, eggdrop developers seek to explore whatever other features they deem useful but this
Back to top
View user's profile Send private message Visit poster's website
ZvOO
Voice


Joined: 20 Jan 2005
Posts: 22

PostPosted: Wed Aug 31, 2005 4:33 pm    Post subject: Reply with quote

demond wrote:
the right solution of your problem would be a multiserver bot


Yes, if it were available, a multiple server bot would indeed do the job. Aside from this funky channel info problem my setup actually works quite well. I've been using this same system (but with BNC2.9.x) for years and besides not having the "always connected" feature that psy affords, it's pretty damn good. But I still don't understand why issuing the .reset command from egg won't cause it to get the channel info. I thought that's what it was supposed to do. If this command would work I think I could live with running it that way.
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Aug 31, 2005 4:48 pm    Post subject: Reply with quote

.resetchan doesn't work because eggdrop has that channel in pending state, it has it in pending state probably because it hasn't seen "End Of /NAMES" yet (or end of its WHO #channel request), and it hasn't seen those likely because of psybnc resynching bug
Back to top
View user's profile Send private message Visit poster's website
ZvOO
Voice


Joined: 20 Jan 2005
Posts: 22

PostPosted: Wed Aug 31, 2005 5:37 pm    Post subject: Reply with quote

Hmm, that sounds logical to me. Then issuing a .chanset +inactive for each pending channel followed by a .chanset -inactive would presumably make it prompt the server for the chan info, I would think. I'll have to try it. Unfortunately it'll be a bit of a hassle to do it for all the channels I'm running upon every reconnect of psy. Arghh!
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Aug 31, 2005 8:13 pm    Post subject: Reply with quote

that might not help since eggdrop would still skip resynching pending channels (I haven't checked with the code though so I might be wrong), but you could at least try it
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer 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