| View previous topic :: View next topic |
| Author |
Message |
Sib Voice
Joined: 10 Aug 2013 Posts: 4
|
Posted: Sat Aug 10, 2013 6:32 pm Post subject: Eggdrop not able to automatically join a channel |
|
|
Hi,
This is a very weird problem I'm having with my eggdrop. But first, let me start by telling you that I'm using the last version available and that I'm running it on a Debian 7 server.
Before I started adding scripts to the eggdrop, it would normally connect on the specified server and the chan I had setup. And that, automatically.
Now, even though it is setup for that specific chan, it just won't come in automatically. If I do want to make him come there, I have to go in partyline. And then when I do .+chan #chan, it says that the chan already exists, which is the case. But still, it dosn't make him go there. To have it go there, I have to do .-chan and then .+chan. Then he comes. So I do .save, .restart to see if the problem will be fixed but nope, same as before, he just doesn't join.
I checked in the bot.chan and just so you know, it's not on +inactive. Oh, and when I didn't use that previous trick, I tried using the partyline command to have the -inactive mode and then, magically, the bot arrived.
I even tried uninstalling and recompiling everything, followed by a complete server restart: no change. I just dont understand what changed between before and now. CHMOD, maybe?...
This is my bot.chan by the way:
| Quote: |
#Dynamic Channel File for (eggdrop v1.6.20) -- written Fri Feb 18 12:40:37 2011
channel add #chan { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 1 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 15:60 flood-ctcp 3:60 flood-join 5:60 flood-kick 3:10 flood-deop 3:10 flood-nick 5:60 aop-delay 5:30 ban-type 5 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet +protectops -protecthalfops +protectfriends +dontkickops -statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
|
|
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sun Aug 11, 2013 6:02 am Post subject: |
|
|
I don't see anything in the settings to make it behave like you mentioned, so the culprit must be one of the scripts you load. Add one at a time until you find it and either post on the forum about it maybe we can fix it or find an alternative. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Sib Voice
Joined: 10 Aug 2013 Posts: 4
|
Posted: Sun Aug 11, 2013 8:21 am Post subject: |
|
|
I tried running it without the extra scripts loaded (which work, though) and the bot automatically joins the chan.
Tried to add each and every of those scripts once at a time and the problem comes back. Could it be the encoding of the file that messes up the bot or something? I modify my conf and tcl files with Notepad++ but I'm not quite sure that the encoding chosen is right or not. But a weird thing is that even if those scripts have that undesirable consequence, they work. For instance, I added the auth.tcl script which is supposed to auth me to Q on Quakenet.org and it does auth me properly. |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sun Aug 11, 2013 12:05 pm Post subject: |
|
|
Have you tried running the bot with the -n switch?
" -n Don't background; send all log entries to console. "
Do:
./eggdrop -h
to see a list of the various switches.
This way, perhaps you will be able to see what is happening, when the bot tries and fails to join the channel. |
|
| Back to top |
|
 |
Sib Voice
Joined: 10 Aug 2013 Posts: 4
|
Posted: Mon Aug 12, 2013 9:04 am Post subject: |
|
|
I did try that just now. Nothing particular showed up in my shell console. Nothing more than what I see in partyline when I do a .restart.
Basically, when it doesn't join, it stops at the auth lines.
When it does join (without any scripts), it adds "Botname joined #chan" |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Mon Aug 12, 2013 9:24 am Post subject: |
|
|
| Sib wrote: |
...
Basically, when it doesn't join, it stops at the auth lines.
|
"auth lines?"
What do you mean?
| Quote: |
When it does join (without any scripts), it adds "Botname joined #chan" |
If you believe it is caused by a script - and you seem to indicate that - then carefully determine exactly which script is causing it.
Once you know which script it is, then you can decide what to do then.
Either quit using the script, or figure out what is wrong with it. |
|
| Back to top |
|
 |
Sib Voice
Joined: 10 Aug 2013 Posts: 4
|
Posted: Mon Aug 12, 2013 9:44 am Post subject: |
|
|
| Problem solved thanks to Madalin with a simple conf file and a new auth script. Thanks! |
|
| Back to top |
|
 |
|