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.

Bot loosing Authentication

General support and discussion of Eggdrop bots.
Post Reply
D
Donta
Voice
Posts: 5
Joined: Tue Mar 02, 2010 11:28 am

Bot loosing Authentication

Post by Donta »

My bot is running constantly on a Laptop running Winxp. It's running fine, but it sometimes looses authentication, loops between its own Nick, alt nick and a guest nick constantly, all the while spamming "Op me, Plz!" in the channel, annoying the hell out of the users. It's usually fixed for a few more days by restarting it, but the code looks fine to me (Although I am a beginner at both IRC and Windrop).

Anyone have any ideas? This only happens like once a week to once every two weeks, but always when im not online to see it. My users have to email me to tell me it's spamming again. I can probably disable the Op me plz! spam, but i have no idea about the nick roulette..
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

The spam is caused by one of the scripts loaded on your bot. Use a proper identification script which will identify your bot properly to the services. Search the Tcl Archive.
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

I couldn't help but post this, since it sounds wayy to much like you've set the following

Code: Select all

      need-op { putserv "PRIVMSG #channel :Op me, Plz!" }
      need-invite { putserv "PRIVMSG #channel :Op me, Plz!" }
      need-key { putserv "PRIVMSG #channel :Op me, Plz!" } ...
in eggdrop config file
D
Donta
Voice
Posts: 5
Joined: Tue Mar 02, 2010 11:28 am

Post by Donta »

I removed the code to prevent the spam, but theres still the issue of loosing authentication after a few weeks and it cycling nicks. Any ideas?
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

issue of loosing authentication
can you give a bit more information?
As for the bot cycling nicks: Check the settings

Code: Select all

# This setting makes the bot try to get his original nickname back if its
# primary nickname is already in use.
set keep-nick 1
If its set to 1 the bot will cycling nicks, if set to 0 it will just keep the nickname its given when it trys to use a nickname thats been taken
D
Donta
Voice
Posts: 5
Joined: Tue Mar 02, 2010 11:28 am

Post by Donta »

I found the "Op me, Plz" lines below in the channel config file and set need op, invite and key to 0.

But now i find it sometimes after i come online to be switching between its own nick, its alt nick and a guest4567 (random number) nick.

The original Nick is registered so wouldnt that prevent someoe else from taking it? Even if they did, they would have to change it right afterwards and the bot should reclaim it.

If i set the below code to 0, wouldnt it just jump to its alt nick and stay there the next time it happened?
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

It would depend on the Nickname settings, for example, if you have something like "KILL PROTECT" on the nickname, it would prevent others from using it. If not, its possible people can use the nickname, for as long as possible.

If you have set the bot to send an IDENTIFTY command to nickserv on connect, which it sounds like you have. Its seems its more down to services, going offline or the bot not being able to use its old nickname when it pings out (of possibly, not being able to GHOST its old nickname and re-take it).

I couldn't recommend a nickserv script, simply becouse there are too many and I dont use /or have used any of them. But, I would advice that you look for the following features:
1. Ability to GHOST/RECOVER your bots nickname
2. The Ability to IDENTIFY quickly

As for the settings i mentioned in my older post. I probably didn't explain it well enough, but basiclly, what it dose when set to 0 is just use ANY nickname that is finds it has. i.e if its nickname is changed to Guest23989 the bot will use the Guest23989 as its nickname and not try to change nicks.
Post Reply