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.

eggdrop en channel banlist

Old posts that have not been replied to for several years.
Locked
G
Gandalf2000

eggdrop en channel banlist

Post by Gandalf2000 »

When eggdrop joins channel it will synchronize with the channels banlist (bans not set by bot) when an operator removes the ban from the channels banlist it wil remain in the bot. Is there a way to avoid this synchronisation ? Some channelops don't have partyline rights or don't want to remove bans via bots partyline.
Now one of the sysops/bot owners will remove the channelbans when bot disvconnects en reconnect and perform a .reset to synchronize (empty bots ban list)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

OK - so you are saying, these bans are not set inside the bot itself, with .+ban.

By this, I mean, before or after the ban in manualy placed.
User avatar
Yourname
Master
Posts: 358
Joined: Mon Sep 24, 2001 8:00 pm
Location: Toronto

Post by Yourname »

I think maybe he's talking about the userbans setting. :-?

Gandalf, you need to .help chaninfo and read the settings description for userbans. You can .chanset #channel +userbans to see if it solves your problem.
Dormant egghead.
G
Gandalf2000

Post by Gandalf2000 »

No, that is not the case, channelops en owners are able to set normal channelbans (/mode +b). The are also able to remove the channel bans.
the problem is : when bot leaves channels and returns in channel it looks like it is reading the channel banlist en is putting these bans also in its internernal banlist. When a channel ops is removing the ban or its removed because its a timed ban this ban will stay insite the bots intrnal banlist. The symtoms are: user is not in channel banlist but only in bots banlist. When such a user joins the channel (or keeps on joining the channel) this user is being kicked of the channel.

What I just want is that bot when joines channel it will NOT read channel banlist and put these bans in his internel banlist.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

OK, first off, what IRC network are you on, and what IRCD software doers it use?

Eggdrop will read and store the channel ban list in memory. This is so, when a user joins the channel, and a ban is there, it kicks tehn according to the settings.

However, once a channel op removes the ban from the channel ban list (on the IRC server, not eggdrop), eggdrop should also remove it from memory, thus avoiding what you are seeing.

This sounds like one of four possible issues.

1: It is a bug, where the bot automaticaly adds the ban, to the eggdrop managed banlist.

2: It is a bug, where the bot is not removing it from memory, when it should.

3: It is a RFC issue, where the IRC server is sending an invalid mode string, and eggdrop can't parse it.

4: You are running a script, that is adding the ban to the bot, when it is added tot he channel.

After the ban has been added to the channel, performt he following
1: Change the console channel to the channle in question (".console #channel")
2: Perform a ".bans all"

Now look through the output, and see if there are two repeated entries for the ban. If there are, please paste both entries.

If your original post, you stated about the ".reset" command.
After the ban is removed from the channel, and a ".reset" is performed, does it fix things?

If not, then all issues point towards item 4
G
Gandalf2000

Post by Gandalf2000 »

the irc network eggdrop is on is a 3 multi processor system linked dutch network (chatcity.hetnet.nl,6667) running
(i cant help it that its company policy :-) microsoft exchange chat ... windows 2k server

the only kick/ban manipulating scripts i'm running are : banflood.tcl and repeat.tcl
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<chatbot> I am IrcOP, running eggdrop v1.6.13: 25 users (mem: 270k)
<chatbot> Online for 3 days, 22:35 (background) CPU 27:54 cache hit 14.4%
<chatbot> Admin: Gandalf <email: Gandalf2000@Hetnet.nl>
<chatbot> Config file: chatcity.cfg
<chatbot> OS: CYGWIN_NT-5.0 1.3.15(0.63/3/2)
<chatbot> Tcl library: C:/Chatbot/lib/tcl8.4
<chatbot> Tcl version: 8.4.1 (header version 8.4.1)
<chatbot> Channels: #nachtclub, #huiskamer, #cybercafe, #plein, #jongeren,
<chatbot> #kantine, #vrouw, #Operators
<chatbot> Online as: ChatBot!Chatmaster@net112s (/msg ChatBot hello)
<chatbot> Server 194.151.104.169:6667 (connected for 3 days)
<chatbot> #nachtclub: 223 members, enforcing "+tn" (bitch)
<chatbot> #huiskamer: 127 members, enforcing "+tn" (bitch)
<chatbot> #cybercafe: 59 members, enforcing "+tn" (bitch)
<chatbot> #plein : 71 members, enforcing "+tn" (bitch)
<chatbot> #jongeren : 38 members, enforcing "+tn" (bitch)
<chatbot> #kantine : 6 members, enforcing "+tn" (bitch)
<chatbot> #vrouw : 5 members, enforcing "+tn" (bitch)
<chatbot> #Operators: 9 members, enforcing "+tn" (auto-op, bitch)
------------------------------------------------------------------------------------------------------------------------------------------------
channel setting eggdrop config :
channel add #cybercafe {
chanmode "+nt"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
aop-delay 0
flood-chan 5:10
flood-deop 3:10
flood-kick 3:10
flood-join 15:60
flood-ctcp 3:10
flood-nick 3:60
}
channel set #cybercafe -enforcebans
channel set #cybercafe -dynamicbans
channel set #cybercafe +userbans
channel set #cybercafe -autoop
channel set #cybercafe +bitch
channel set #cybercafe -greet
channel set #cybercafe +protectops
channel set #cybercafe +statuslog
channel set #cybercafe +stopnethack
channel set #cybercafe -revenge
channel set #cybercafe -autovoice
channel set #cybercafe -secret
channel set #cybercafe -shared
channel set #cybercafe +cycle
channel set #cybercafe +dontkickops
channel set #cybercafe -seen
channel set #cybercafe -dynamicexempts
channel set #cybercafe -userexempts
channel set #cybercafe -dynamicinvites
channel set #cybercafe -userinvites
channel set #cybercafe -protectfriends
channel set #cybercafe -revengebot
channel set #cybercafe -protecthalfops
channel set #cybercafe -autohalfop

set net-type 5

----------------------------------------------------------------------------------------------------------------------------------

[ACCESS list: #cybercafe]
Status: DENY - Hostmask: *adolf*!*@*
[End ACCESS list]

<Gandalf> .console #cybercafe
<chatbot> Set your console to #cybercafe: - (none).
<Gandalf> .bans all
<chatbot> Global bans: (! = not active on #cybercafe)
<chatbot> Channel bans for #cybercafe: (! = not active, * = not placed by bot)
<chatbot> * [ 1] *adolf*!*@* (server existent) (active 762:55) <====== this was the only channel ban when bot joined channel

* Gandalf sets mode: -b *adolf*!*@*
<Gandalf> .bans all
<chatbot> Global bans: (! = not active on #cybercafe)
<chatbot> Channel bans for #cybercafe: (! = not active, * = not placed by bot)
<chatbot> * [ 1] *adolf*!*@* (server existent) (active 767:07) <=== ban removed from channel banlist (ircserver) and it still remains

/access #cybercafe clear
#cybercafe * Clear
<Gandalf> .reset
<chatbot> Resetting channel info for all channels...
<Gandalf> .bans all
<chatbot> Global bans: (! = not active on #cybercafe)
<chatbot> Channel bans for #cybercafe: (! = not active, * = not placed by bot)
<chatbot> (There are no bans, permanent or otherwise.)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Your most likely problem is the fact it is IRCX (thats the windows irc server).

Do a search for ircx on the fourms, for details on downloads, that will help rectify most issues.
Locked