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.

one bot - multiple channels where did +shared go?

Old posts that have not been replied to for several years.
Locked
P
Photon
Op
Posts: 170
Joined: Wed Aug 28, 2002 8:00 am
Location: Liverpool, England

one bot - multiple channels where did +shared go?

Post by Photon »

Right .. this probably has to do with the problems that other people are having with flags being lost, but I'm not going to add to that thread ..

but here we go .. I have one bot sat in two channels. Recently it was being a right pain in the backside, because it always seemed to have a different userfile to all the rest of the bots in the channel, resulting in bots getting de-opped, and so on.

today I sat down to sort it out, and made this discovery. Although the channel it shared with the other bots was set to +shared in the .conf file it wasnt sharing the channel. I chacked the .chan file - its also set to +shared in there too. It even has +shared as a default channel setting!!! In fact it seemed to have lost all channel flags alltogether (and thus described itself as lurking) even though the other channel (first in the .conf file suspiciously) seems to be fine.

In fact, it wasnt until I did a .chanset #chan +shared that it worked. I am informed though that this will only last until restart/rehash. I'm only running 1.6.8 (something I intend to change soon) but has anyone got suggestions as to why this happens?

after studying the .conf religiously - and the only thing I can see is that possibly you have to do the channel add {} with the channel set straight after it..

currently its:

channel add #1
channel add #2

channel set #1
channel set #2

Anyone know if this makes sense?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

What you discribe is a bug, and such, it should be submitted.

However, this doesn't prove the existance, nor where the blame is, that the other threads discribe.

Having said that, is could just as easily be the same problem (or a result of the same problem).

Maybe this whole idea of a share module bug should be looked into more deeply, as it seems that there has not been any discusion on the mailing lists.
Locked