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.

need-invite not responding (i think)

Old posts that have not been replied to for several years.
Locked
C
CosmicD
Op
Posts: 102
Joined: Sat Dec 11, 2004 3:46 pm

need-invite not responding (i think)

Post by CosmicD »

Hello,

I have a channel that my bot has ops on, the chanserv also added a j flag wich means that the bot can join on invite even if it's banned.

the need-op is

Code: Select all

putserv "PRIVMSG K :op #channel"
the need-invite is

Code: Select all

putserv "PRIVMSG K :invite #channel"
i wonder what happens when the bot is banned, doesnt it try to join anymore ? i 'd like to be able to see what K says to the bot when its banned, but im sure the invite command is correct but I dont see the bot joining on that channel untill the ban is gone,

cd
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Re: need-invite not responding (i think)

Post by ^DooM^ »

CosmicD wrote:Hello,

I have a channel that my bot has ops on, the chanserv also added a j flag wich means that the bot can join on invite even if it's banned.

the need-op is

Code: Select all

putserv "PRIVMSG K :op #channel"
the need-invite is

Code: Select all

putserv "PRIVMSG K :invite #channel"
i wonder what happens when the bot is banned, doesnt it try to join anymore ? i 'd like to be able to see what K says to the bot when its banned, but im sure the invite command is correct but I dont see the bot joining on that channel untill the ban is gone,

cd
The bot retries to join the channel every 10 seconds if memory serves. you can see what 'K' is saying to your bot if you are in the partyline. do

Code: Select all

.console +msd
This will show you private messages / server messages / debug messages. you can turn them off again afterwards if you wish.

I Dont know what IRCd you are on but on a lot of the big networks to be able to join the channel even if you were banned the bots host would need to be added to the exempts +E of that channel. I have never encountered +j before.

Hope this helps a little. Post back what 'K' is saying to your bot. :wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
C
CosmicD
Op
Posts: 102
Joined: Sat Dec 11, 2004 3:46 pm

Post by CosmicD »

strange,

i don't see anything but when I typed .msg K invite #channel it worked and the bot could enter because the service allowed the invite...

could it be that need-invite is not coded to start working when the bot is banned ? how could you achieve that ?

I guess it's only a way to avoid the ban b ut it is more effective than an exempt because only this bot sets its own exempt and it may not have time to do so when being obstructed or tampered with by rogue ops or something....
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

ahh

need-invite is only triggered when the channel is set +i

in this case it isnt its saying you are banned.

you could try altering need-unban to msg k to invite. ??

Worth a shot eh :wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
C
CosmicD
Op
Posts: 102
Joined: Sat Dec 11, 2004 3:46 pm

Post by CosmicD »

nope, it doesnt seem to work, even with the debug and server messages on the bot doesnt seem to do anything :(

shouldnt the bot notice that its being banned and then try to send the privmsg invite to the chanserv ? wonder why the chanserv doesnt answer it ansers to the op message though.....
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Could be a config error. did you set net-type 5 ?
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
C
CosmicD
Op
Posts: 102
Joined: Sat Dec 11, 2004 3:46 pm

Post by CosmicD »

nope its ircnet type...
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

IRCNet Does not have Services. And i Presume your bot is not even on IRCNet.

This is where your problem lies.

You need to configure your eggdrop to run on Net-type 5

ReRead the advanced config file for your eggdrop making sure to set all the correct settings in the net-type 5 areas.

Different networks work slightly different and eggdrop compensates for this by using slightly different settings for each network.

Because it is set to 1 its trying to use IRCNet's settings to work and is effectivly blind. I had the same problem when i switched a bot from IRCNet to an UltimateIRCd server. the bot worked for a short while then just sat there. Kept saying it wasnt in channel when it blatantly was :)
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
C
CosmicD
Op
Posts: 102
Joined: Sat Dec 11, 2004 3:46 pm

Post by CosmicD »

but wont that give a problem with exempts and invites ?
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

CosmicD wrote:but wont that give a problem with exempts and invites ?
No because in the net-type 5 settings you define if you want to use invites/exempts

Basically net-type 5 allows you to finetune the network settings to whatever you want.

Eggheads added the net-type 0 - 4 to make your lives easier and not have to worry about all the fine tuning settings for the major networks.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
C
CosmicD
Op
Posts: 102
Joined: Sat Dec 11, 2004 3:46 pm

Post by CosmicD »

well,

i've found it.. i have loaded so many tcls that I almost need to have a n in file search thingy that seeks for rogue procedure calls that have stupid settings,

i iliminated certain procedures with need invite settings and now it works..

then i allowed raw messages for a few moments and so I cound see that the bot got the invitation that it requested and then it joined!

thx, up to the next question :)
Locked