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.

Unreal3.2.3 and channel mode +f

General support and discussion of Eggdrop bots.
Post Reply
T
TamOShanter
Voice
Posts: 5
Joined: Tue Jan 03, 2006 4:09 pm

Unreal3.2.3 and channel mode +f

Post by TamOShanter »

Does anyone have a problem with their eggdrop thinking a channel is moderated if mode +f [m] is set using Unreal 3.2.3?

The actual channel modes are:
[+CfnrtT]

My eggdrop is interpreting the channel modes as:
[+mCRtMrn]

The problem only occurs when mode +f [m] is set BEFORE the eggdrop joins the channel. The eggdrop then thinks that the channel is moderated (channel mode +m), and, as a result, commands such as ".act #chan test" cannot be executed.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Change the 'net-type' setting to whatever suits the UnrealIRCD in your .conf file, see if that helps.
Once the game is over, the king and the pawn go back in the same box.
T
TamOShanter
Voice
Posts: 5
Joined: Tue Jan 03, 2006 4:09 pm

Post by TamOShanter »

I've always used net type 5 with unreal.

It has worked with no problems until the network I am on started using channel mode f.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

That mode is probably not supported by eggdrop1.6.17 (or older).
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Maybe this topic can be of help, try the code given by demond but on +f instead of +z.
T
TamOShanter
Voice
Posts: 5
Joined: Tue Jan 03, 2006 4:09 pm

Post by TamOShanter »

Thanks for the code.

As far as I can see, this code works when the eggdrop is in a channel, then a user joins, and a user mode is set (by the eggdrop, services, or someone else).

The problem I have occurs when an eggdrop joins a channel where mode f[m] is already set. The eggdrop joins and detects the channel modes, incorrectly interpreting mode +f[m] as modes +fm.

Maybe I can put on my Christmas 2006 wishlist a new release of eggdrop that has Unreal as a separate net type :)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I think I have already said this before but anyway:

eggdrop shouldn't have chan- and usermodes hardcoded; it should interpret numeric 005 (ISUPPORT) server reply, just as mIRC does, and thus learn about non-standard modes (Unreal, as lame as it is, supports 005 - or so I think)

hopefully eggheads will eventually implement such flexibility, nowadays mandatory for any IRC client (eggdrop is, after all, a special kind of IRC client), ot at least follow-up on this
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

A good suggestion for 1.6.19 ;). I personally think eggdrop should really use the 005 and fallback to channel mode if still unkown. There is no reason to believe the IRC server wants to send the bot a fake mode that doesnt reall exist :D. Threating it as an unknown channel mode should be safe, so no harm can be done anyway.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

bump (hardcoded modes)

Post by rosc2112 »

Has anyone made a patch to do this? Would be quite useful I think.

Similar discussion links (since I had a difficult time finding these =)
http://forum.egghelp.org/viewtopic.php?p=43723#43723
http://forum.egghelp.org/viewtopic.php?p=52224#52224
Post Reply