Hi, my bot disconnects every day at 8.31 when I read the logs the following appears:
[08:28] Last message repeated 2 time(s).
[08:28] netbots: error - update check is unable to connect to server (must be down or something).
[08:31] (!) timer drift -- spun 2 minutes
[08:31] -ERROR from server- Closing Link: DS-bot by Flanders.Be.Eu.Undernet.org (Ping timeout)
I've got this with every server, the shell server where it runs op is my home server (pentium II 233) there is only running a bg at and i'm on a cable connection.
He also says netbots.. but I don't use netbots anymore.
Honestly seems very peciliur and odd. Wake up early one morning or whatnot, and have a program like top running.. See what happens at exactly 8:31. Does the bots process become extremely CPU intensive? etc.
[08:28] netbots: error - update check is unable to connect to server (must be down or something).
...
He also says netbots.. but I don't use netbots anymore.
Looks to me like netbots.tcl is still loaded.
Unload it properly or disable the nb_update feature to fix the problem.
that was the problem I removed netbots but he still thought it was there even if I did rehash or a restart. I just made a clean eggdrop again and used the same config file and the problem was gone...
The problem is that the feature is not non-blocking, which means that when your bot is attempting to access the update page it is unable to do anything else. Some bots never have a problem with this, others do. I haven't bothered looking at asynchronous / non-blocking requests (I think it just involves a callback proc?), but I'll get around to it one day.