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 1.6.12 /notice problem

Old posts that have not been replied to for several years.
Locked
N
NarL
Voice
Posts: 12
Joined: Thu Oct 03, 2002 3:43 pm

Eggdrop 1.6.12 /notice problem

Post by NarL »

Hi

I run the netbots script on my eggdrop bots. Now on my channel I have set +i (invite) If one bot happens to change server the bots notice everyone on the channel.

Does anyone have any idea how this can be fixed?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

What does this notice say?
N
NarL
Voice
Posts: 12
Joined: Thu Oct 03, 2002 3:43 pm

Post by NarL »

[13:09] -Daniel-:@#mVa- INVITE: #mVa (Daniel- invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -Sarah-:@#mVa- INVITE: #mVa (Sarah- invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -Matt-:@#mVa- INVITE: #mVa (Matt- invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -Cheryl-:@#mVa- INVITE: #mVa (Cheryl- invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -lazy_[censored]:@#mVa- INVITE: #mVa (lazy_[censored] invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -fr-jack0:@#mVa- INVITE: #mVa (fr-jack0 invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -m-moore1:@#mVa- INVITE: #mVa (m-moore1 invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -rachel_s8:@#mVa- INVITE: #mVa (rachel_s8 invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -x-box8:@#mVa- INVITE: #mVa (x-box8 invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -J-Lo2:@#mVa- INVITE: #mVa (J-Lo2 invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -jameson0:@#mVa- INVITE: #mVa (jameson0 invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -jenny_f3:#mVa- jenny_f3 is inviting h-valance to #mVa.
[13:09] -NarL6:@#mVa- INVITE: #mVa (NarL6 invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -Kimberle-:@#mVa- INVITE: #mVa (Kimberle- invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])
[13:09] -rich-[censored]:@#mVa- INVITE: #mVa (rich-[censored] invited h-valance [narl@went.to.jail.for.raping.br1tney-spears.org])



And so on
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I don't know if it's just me, but I am unable to find anything in netbots for the default script, that would cause anything like this.

Additionaly, I am unable to find any code in the source code fo the bot itself to do this.

What other scripts are you running?
N
NarL
Voice
Posts: 12
Joined: Thu Oct 03, 2002 3:43 pm

Post by NarL »

Hmm well netbots is the only script that I am running well I had a channel limiter but that was crap so I deleted it and took it out of the conf file
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

It may be this channel limiter.

When you deleted, and remove the line from the config file, what did you do with the bot?

Rehash? Restart? Die & start?

Using ".rehash" isn't enough. This only re-reads the settings, and any new scripts. It doesn't unload any previous ones from memory.

".restart" and the ".die" & start method, are the only ways to remove it from memory.
N
NarL
Voice
Posts: 12
Joined: Thu Oct 03, 2002 3:43 pm

Post by NarL »

I used the .die command
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I just remembered somthing, this is not the bots problem, and there is nothign you can do about it.

It is a messages generated by the IRC server.

With IRC modes, eg bans, ops, and things like KICK, you can see who did what.

With invite, only the person invited, and the IRC server know. The IRC server generates this, so the channel knows who sent what.
N
NarL
Voice
Posts: 12
Joined: Thu Oct 03, 2002 3:43 pm

Post by NarL »

Well, Someone on irc just told me that if I use 1.6.13 it just says it on the partyline and not to the server
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

That is seriously not possible.

Here is the output from some search commands.

Searching netbots.
[ppslim@services netbots] $ grep -r "invited" ./*
./botnetop.tcl: putlog "botnetop: invited $frombot (using nick $fromnick) to $chan"
./botnetop.tcl: putlog "botnetop: invited $frombot to $chan"
./botnetop.tcl: putlog "botnetop: invited $frombot (using nick $fromnick) to $chan"
./botnetop.tcl: putlog "botnetop: invited $frombot to $chan"
Searching the default Tcl scripts.
This produces 0 results, so there is no point

Searching the eggdrop source code.
[ppslim@services eggdrop1.6.12]$ grep -r "invited" ./*
Binary file ./channels.so matches
Binary file ./irc.so matches
./src/mod/channels.mod/help/chaninfo.help: invited to the channel (i.e. channel has mode +i)
./src/mod/channels.mod/help/channels.help: invited. The "(perm)" means that the invite is "permanent": that
./src/mod/channels.mod/channels.c: dprintf(idx, " To get invited I do: %s\n", chan->need_invite);
./src/mod/channels.mod/channels.c: (Function) NULL, /* [25] used to be isinvited() <cybah> */
./src/mod/channels.mod/channels.h:/* *HOLE* channels_funcs[25] used to be isinvited() by arthur2 <cybah> */
./src/mod/channels.mod/channels.h:#define isinvited(chan, user) ismasked((chan)->channel.invite, user)
./src/mod/irc.mod/chan.c: if (i->lastactive < now - 60 && !isinvited(chan, i->mask)) {
./src/mod/irc.mod/chan.c:/* Make sure that all who are invited on the userlist are actually in fact
./src/mod/irc.mod/chan.c: * invited on the channel.
./src/mod/irc.mod/chan.c: if (!isinvited(chan, ir->mask) && ((!channel_dynamicinvites(chan) &&
./src/mod/irc.mod/chan.c: putlog(LOG_MISC, "*", "%s!%s invited me to %s", nick, from, msg);
Binary file ./src/mod/channels.o matches
Binary file ./src/mod/irc.o matches
The was a issue sin 1.6.10, that caused a certain message to be sent to the server, though it waqs destined for the log file. This has been fixed in 1.6.12.

This isn't the issue here though. As the above output shows, the message you talk about isn't in netbots, the scripts included with eggdrop or the source code itself.

This sugests that the servers your bots are on, generate these messages.
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

"solution": set a key instead :D
photon?
Locked