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's settings "reverting"

General support and discussion of Eggdrop bots.
Post Reply
j
jsl
Voice
Posts: 12
Joined: Wed Nov 01, 2006 9:38 pm

Bot's settings "reverting"

Post by jsl »

When I first conffed my eggdrop, put one channel's settings straight in the .conf file, and had this:

Code: Select all

need-op { putserv "PRIVMSG #hernandos :op" }
I soon learned this is not a good idea as the bot then floods the channel with "op" every minute if it isn't opped... I then removed that from the .conf file and now just have "need-op { }" instead, which means do nothing obviously. I did the same replacement in the .chan file.

However, every time when the eggdrop gets "dropped" from IRC and connects back, or when I make it to rehash, the original line has re-appeared in the .chan file for that one channel! How is this even possible? I've removed it from the .chan file and it sure as hell isn't in the .conf file, hasn't been for a long time now, so where does it get it?? :shock:

---

Then I have a second problem with my other bot: It is opped on four channels. Yet for some reason, it only ops me on one of them when I join the channels. Now it's 100% certain I have the right hostname there and I do have auto-op enabled on those channels and have +ao for myself etc, so it's not that.

When I go to the console (with telnet) and type ".op <mynick> <channel>", the bot even says "Opping <mynick> on <channel>", yet at IRC nothing happens. Then when I cycle (part+join) it ops me! But not when I connect to the server and join the channels. This is really strange, and only happens to the bot that's on QuakeNet. Also it seems to op some people normally, although I'm not the only one it doesn't always op, even when it should.

Now I noticed, that when I opped it, it still says in the console that it's not opped on that channel. So it seems like it doesn't get all the info that's happening at the IRC or something?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Rather then fighting with conffiles, use .chaninfo and .chanset (also remember to .save afterwards).
You might also like to check that there is no script loaded that uses the "need" binding in order to beg for op.

If you do insist on editing your config-file, kill your bot (no, not rehash or restart, kill, kill, kill!!!), edit your configfile and delete/edit your channelsfile, start your bot again.


As for your second query, does the output from .channel #yourchan seem correct when these issues arise?
NML_375
j
jsl
Voice
Posts: 12
Joined: Wed Nov 01, 2006 9:38 pm

Post by jsl »

nml375 wrote:As for your second query, does the output from .channel #yourchan seem correct when these issues arise?
No. It says that there are 20 people on that channel, even though there are actually 26 people there. Also now that I tell it (in the console) to op someone, it says "I'm not on #<channel> right now!", even though it actually is (and has been for many hours now). All in all, it's on 4 channels (as it should be). Yet .status says it's "trying" to get in to two of them, and on the other two, it says (correctly) that it's there but doesn't have ops.

Btw. I mistakenly said that I'm connected to the console with telnet, actually I'm using DCC chat, if that makes any difference...
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

This would, in most cases, indicate a desync'd network.

However, I recall reading something about certain anonymity features on some networks causing issues when eggdrop gathers the list of channel-members. This would result in symptoms such as those you've described. Unfortunately, I don't remember the details on this issue.
NML_375
j
jsl
Voice
Posts: 12
Joined: Wed Nov 01, 2006 9:38 pm

Post by jsl »

Is it a new issue? Because I had an eggdrop on that network (QuakeNet) for years, up until about 2-3 months ago, and never had any problems like this.

Does anyone else know more about this?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

As I recall, this has been an issue for some time. I can't remember if it was related to QuakeNet or some other network however.
NML_375
Post Reply