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.

Chanmode randomly forced, and spam happens.

General support and discussion of Eggdrop bots.
Post Reply
p
pzOr
Voice
Posts: 8
Joined: Fri Feb 26, 2010 12:43 am

Chanmode randomly forced, and spam happens.

Post by pzOr »

My problem, i need this specific channel to have "-n" chanmode to accept notices.

So i did .+chan, .chanset, and set the mode. All was fine!
I also changed it in Q at the same time (otherwise spam occurs, that's the problem).

What happens, is that randomly.. 1 hour, 2 hours.. even after restarting, and etc, and everything is ok, it's set in the files to -n, etc.

He starts going insane, he sets +n, Q sets -n, like 100times in 1 minute.

This is what i tried. Changing the protected modes to "" (meaning: NONE), and it said "None", and it was working.. till again at a random time, he started forcing +n, and in the .chaninfo, i noticed the "None" was replaced by "+tn".

Then i decided to eliminate all channels, i reconfigured the eggdrop, and added the channel statically, i specified again "-n", and "", and both times again, he randomly started forcing "+n".

I then removed all dynamic channels, leaving only the specific channel statitically in the .conf, i added not only in the chanmode there "-n" but also, set the global chanmode protection to "-n", and again randomly he started going +n

Scripts I am running?

I have ChannelHelper - Which might be the problem? .. -

[by the way: if anyone knows a better script for the same purpose (interacting with Q, auto voice, remember users, welcome messages, topic saving, etc..), please say so.
THIS SCRIPT has a chanmode protect thing, that might (i don't know, not that experienced) be messing with the configs?i have set it to off, and when on, i also set it to -n] same thing still happened..

Link: http://www.egghelp.org/cgi-bin/tcl_arch ... ad&id=1552


Others Scripts:

I have incith-google, Hal's learn and bseen.
All can be found in egghelp's tcl archive.

P.S: If there's a way to either stop (other than the following) the bot from forcing chanmodes or the Q to stop forcing it right back, that will do i guess.

Thanks. :cry:
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

The ChannelHelper Script would appear to override any channel settings you make when the bot joins a channel. I'd think more about what scripts you put on your bot.
p
pzOr
Voice
Posts: 8
Joined: Fri Feb 26, 2010 12:43 am

Post by pzOr »

It's not ChannelHelper, i removed it, same story.
I have a temporary fix, by adding Q with the +m flag, so he can change the flags, without him freaking out.
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

is Q oped (+o) and on your channel? If its just the fact that eggdrop is flooding modes when Q changes a mode it's most likely down to your channel settings, like nodesynch.
p
pzOr
Voice
Posts: 8
Joined: Fri Feb 26, 2010 12:43 am

Post by pzOr »

Yes, Q is on the channel and is OP.

After a few hours, the bot starts +n, while Q does -n, and until i go to the bot partyline again, and change it AGAIN, it keeps that constant mod changing.

I'm not really happy i couldn't fix this, through chanset, and why he resets it to +nt, even tho i have specified everywhere he should -n+t.

But adding Q to the bot, with the +m flag, makes him accept everything he does on the channel. and I'm not really worried Q will takeover :)
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

pz0r:
Did you remember to restart your bot (.rehash is not enough) when you removed the ChannelHelper script?
None of the other scripts you've listed should alter the chanmode settings of any channels.
NML_375
p
pzOr
Voice
Posts: 8
Joined: Fri Feb 26, 2010 12:43 am

Post by pzOr »

Yes i did.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Odd.. None of the other scripts you've listed have any capabilities to change the chanmode settings, and eggdrop will not reset this on it's own.

Could you test if the .log dcc command is still available?
NML_375
p
pzOr
Voice
Posts: 8
Joined: Fri Feb 26, 2010 12:43 am

Post by pzOr »

That command is available, but it only shows the server is on, and the partyline door is listening in.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Then ChannelHelper is still loaded...
Please re-check your config-files and make certain there is no reference to it whatsoever; also try renaming/removing any and all files related to ChannelHelper.
Finally kill your bot and start it again.
NML_375
p
pzOr
Voice
Posts: 8
Joined: Fri Feb 26, 2010 12:43 am

Post by pzOr »

I've put it back on, since i've tried and noticed it wasn't ChannelHelper that was doing it.

And i know i did, i went and killed the process, removed the loading script form the bot, removed the script from the scripts folder, run the eggdrop again, and there was no loading message from the script, plus, theres was no available options in the channel, etc.

But since i know it's not it, it's a decent script, i want it.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Only thing else I can think of would be some other channel master, master, channel owner, or owner changing the chanmode settings..

Be adviced, that there are two procs in ChannelHelper that do set the chanmode setting to +nt for a specific channel or all channels:
  • user:check:chansettings - triggered by a time binding (once an hour, 20 minutes past the hour)
  • bot:join - triggered from user:msgbot, which is triggered by a pubm binding
Also a hint for tracking down bugs, when you have some odd behaviour like this, keep removing scripts until the behavior disappears, don't (re)add scripts. Or even better, start without any scripts, then load one at a time and observe, until you see the odd behaviour again.
NML_375
Post Reply