BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Oplink on January 01, 2005, 03:49:21 pm

Title: Getting error on bot login
Post by: Oplink on January 01, 2005, 03:49:21 pm
(Duplicate entry '0' for key 1)





 (Duplicate entry '0' for key 1)



[2005-01-01 14:45:51]   [ROOSTER]       [UPDATE]        Rooster update complete. Added 71 members, removed 0.
[2005-01-01 14:45:51]   [LOGIN] [STATUS]        Logging in
<br />
<b>Warning</b>:  socket_write() unable to write to socket 6 [32]: Broken pipe in <b>/home/shared/bebot/AOChat.php</b> on line <b>299</b><br />
Read error: EOF
Read error: EOF
[2005-01-01 14:45:51]   [CONN]  [ERROR] Bot has disconnected. Reconnecting in 60 seconds.


any ideas what this can be ??
Title: Getting error on bot login
Post by: Blondengy on January 01, 2005, 07:57:35 pm
Hmm. Might be that the cron is getting called before the login is complete.

In the Bot.conf change "$cron_delay" to a higher value than 30.
Suggest you take 120 or something like that and try it again.
If that was the problem please give me some feedback here and I'll change the code so that it doesn't happen in future versions.
If it doesn't work I'll have to think again. >.<
SimplePortal 2.3.7 © 2008-2024, SimplePortal