| View previous topic :: View next topic |
| Author |
Message |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Mon Jul 28, 2008 1:35 am Post subject: Bot leave channel after rehash |
|
|
Hello all
i m having a problem eachtime i rehash my bot. Right after a rehash, bot quit the channel, and i see this in the partyline :
| Quote: | <valkyrie> [00:56] No longer supporting channel #quizz
<valkyrie> [00:56] Ignored masks for channel(s): #quizz
<valkyrie> [00:56] Userfile loaded, unpacking... |
When i do .status, the channel #quizz dont appear in the list.
When i do in the partyline : .+chan #quizz , the bot come back to the channel, and when i do .chaninfo #quizz, i see that the bot has back almost all the dynamic settings. So why the bot quit the channel after a rehasing and say that the channel isnt supported anymore, but when i make him come back again i find exactly the dynamic settings i set before ?
What can be the problem ? How can i solve it ? |
|
| Back to top |
|
 |
tmyoungjr Voice
Joined: 24 Aug 2007 Posts: 14
|
Posted: Mon Jul 28, 2008 11:33 am Post subject: |
|
|
| are you certain the channel exists in your config? as silly as it sounds it feels as simple as your eggdrop.conf is just missing the appropriate channel statement |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Jul 28, 2008 11:54 am Post subject: |
|
|
This could also indicate some issues with your channels-file.
This error would generally occur if a dynamic channel is removed from the channels-file when your eggdrop rehashes; that is, your eggdrop did not find a record for the channel in it's channels-file that it previously thought it kept track of.
What if you manually save channel-settings after adding the channel using .+chan?
| Code: | .+chan #quiss
.chaninfo #quiss
.chanset #quiss ...
...
.chansave |
Once saved, could you check the channels-file to make sure it has a record for the channel in question? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Tue Jul 29, 2008 1:45 am Post subject: |
|
|
Thank for the reply
I have to specify that the channel #quizz isnt defined in the conf file, but i have added it longtime ago using the command .+chan , to be able to remove it with .-chan whenever i want without editing the conf file.
Like nml375 asked me, after a .+chan, .chaninfo showing having back the dynamic settings by magic, I saved the chanfile with .chansave, and checked the chanfile, the record for #quizz was there. I did a rehash, and the bot didnt quit the channel, which is good.
The problem is that after, i did a .restart, and and the bot joined the channel with no problem, having all the dynamic settings. But when i rehashed after, the bot left the channel ! Means that a .rehash wont affect the bot. A .restart wont affect the bot. But a .restart followed by a .rehash will make the bot leave the channel ! i tested this many times. What can be the problem in your opinion ?
By the way, in general, when i .restart the bot, it shows no quit/left message, but this time it shows the following message :
| Quote: | | Quizz (quizz@Quizz.users.undernet.org) has left #quizz (Left all channels) |
|
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Jul 29, 2008 9:47 am Post subject: |
|
|
My best guess, is that your channel's file is not properly saved when your eggdrop unloads the channels module upon .restart.
You most likely retain the channel settings as the chanset linked list (holding each channel record in memory) really isn't reset during a restart...
As to why it isn't properly saved, I have no clues yet. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|