collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: BOT not active. Going online, offline randomly.  (Read 5678 times)

0 Members and 1 Guest are viewing this topic.

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
BOT not active. Going online, offline randomly.
« on: June 10, 2009, 11:58:03 am »
Hi all,

Just since a few days the bot seems to come online in our guild, is online a bit. And then reacts like always. And then it dissapears. Does not react to anything anymore. When I send a tell he is online but does not act like a bot in anyway. Its like I am sending a tell to a player and not the bot :)

After a few 10/15 minutes it comes online in the guild and is acting normally again for a few mins and then dissapears again. This continues 24/7.

Anyone has an idea about what could be wrong here?

Thanks.
 

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: BOT not active. Going online, offline randomly.
« Reply #1 on: June 10, 2009, 10:37:51 pm »
if the bot stops responding and doesnt go offline, it prob hanging for some reason
this could be something todo with the server its on

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #2 on: June 11, 2009, 07:42:23 am »
Yes that's what I was thinking. But other bots on server Crom are not having any difficulties.
I have rechecked all my configs on my linux server but everything is working perfectly.

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #3 on: June 15, 2009, 11:57:17 pm »
If the bot comes online then goes away and later comes online, it sounds like it is crashing and the loop in the startbot.php code is automatically restarting the bot each time.

If you can watch your console screen where the bot runs when you send it a command, you should see if its reporting module/line error.

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #4 on: June 16, 2009, 10:59:45 pm »
Ok I still am having this issue even with a server reinstall...

I tested it out with the latest source code and now it goes even faster:
Code: [Select]
bot [2009-06-16 20:54:53]   [SETTINGS]      [LOAD]  Loaded settings from database.
bot [2009-06-16 20:54:53]   [ROSTER]        [UPDATE]        Roster update ran less than 6 hours ago, skipping!
bot [2009-06-16 20:54:53]   [GROUP] [MSG]   [******] bot: Bot is online ::: Roster update not scheduled ::: System ready
Read error: EOF
bot [2009-06-16 20:55:27]   [CONN]  [ERROR] Bot has disconnected. Reconnecting in 60 seconds.


Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: BOT not active. Going online, offline randomly.
« Reply #5 on: June 17, 2009, 07:45:27 am »
EOF usually means a disconnect
EOF = End of File, for socket connection it mean more of a no longer connected

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #6 on: June 17, 2009, 08:21:51 am »
Hi,

Ok never mind that message I last posted. I fixed that issue.

But the main issue still remains:
The thing is. The bot does not crash. he is active as I am having it in my terminal. Also its reacting to commands but just does not show it to the player nor does it show it in the guild chat.

Maybe this is something?
!online

Code: [Select]
::: 3 members online in Guild. :::
<img src=tdb://id:GFX_GUI_FRIENDLIST_SPLITTER>
Bear Shaman
<img src=tdb://id:GFX_GUI_FRIENDLIST_SPLITTER>
 - Lvl 57 ***** :: ****'s Alt
<img src=tdb://id:GFX_GUI_FRIENDLIST_SPLITTER>
Barbarian
<img src=tdb://id:GFX_GUI_FRIENDLIST_SPLITTER>
 - Lvl 80 ****** :: Owner :: Details ::
<img src=tdb://id:GFX_GUI_FRIENDLIST_SPLITTER>
Herald of Xotli
<img src=tdb://id:GFX_GUI_FRIENDLIST_SPLITTER>
 - Lvl 70 ****** :: ****'s Alt
--------------------------------------------------------------
::: 0 characters in privategroup ::
« Last Edit: June 17, 2009, 08:46:28 am by Shakor »

Offline plugz

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #7 on: June 18, 2009, 02:31:36 am »
Code: [Select]
PHP Warning:  Could not connect to the AO Chat server (chat.d1.funcom.com:7101): The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for.
this is the error coming across from my PHP logs
Hope this will help one of your wizards in looking at this

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #8 on: June 18, 2009, 09:14:51 am »
Code: [Select]
PHP Warning:  Could not connect to the AO Chat server (chat.d1.funcom.com:7101): The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for.
this is the error coming across from my PHP logs
Hope this will help one of your wizards in looking at this

Did you update with the latest 0.6.3 release they updated the chat servers.

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #9 on: June 18, 2009, 09:25:57 pm »
Code: [Select]
Warning: socket_read(): unable to read from socket [110]: Connection timed out in /AOChat.php on line 274
Read error: Connection timed out
Bot [2009-06-18 19:23:36]   [CONN]  [ERROR] Bot has disconnected. Reconnecting in 120 seconds.

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #10 on: June 18, 2009, 10:50:20 pm »
Hi,

I really need some help with this. The bot issue is still there. I have tried reinstalling different Linux OS's. 32 and 64Bit. Tried a different AoC account. Tried clean 0.6.2 sources and clean 0.6.3 sources.

It comes online and does it job. After a few minutes the bot stops responding to players and guild. It did not crash. It is sending replies to the players and the guild. But they are transparent or something. I can see the bot reply on my terminal. But ingame it looks like its being blocked or something.

Picture me sending commands. and not receiving anything back:



And the terminal info:
bot [2009-06-18 20:37:14]   [TELL]  [INC]   Manella: !ginfo
bot [2009-06-18 20:37:14]   [TELL]  [OUT]   -> Manella: [link]Guildname[/link]
bot [2009-06-18 20:38:06]   [TELL]  [INC]   Manella: !ginfo
bot [2009-06-18 20:38:06]   [TELL]  [OUT]   -> Manella: [link]Guildname[/link]
bot [2009-06-18 20:38:11]   [TELL]  [INC]   Manella: !help
bot [2009-06-18 20:38:11]   [TELL]  [OUT]   -> Manella: [link]Help[/link] (page 1 of 3)
bot [2009-06-18 20:38:11]   [TELL]  [OUT]   -> Manella: [link]Help[/link] (page 2 of 3)
bot [2009-06-18 20:38:11]   [TELL]  [OUT]   -> Manella: [link]Help[/link] (page 3 of 3)

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: BOT not active. Going online, offline randomly.
« Reply #11 on: June 22, 2009, 03:58:40 am »
try using a different character see what happens

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #12 on: June 24, 2009, 05:13:20 pm »
Same thing happend. I have moved the bot to another server and works perfect. It was my eth0 being faulty :)

Offline Shakor

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: BOT not active. Going online, offline randomly.
« Reply #13 on: July 05, 2009, 02:24:51 pm »
ok this is it:

Warning: socket_read(): unable to read from socket [110]: Connection timed out in /bot/Sources/AOChat.php on line 300
Read error: Connection timed out
Thorgal [CONN]  [ERROR] Bot has disconnected. Reconnecting in 60 seconds.
^C

What does this mean?

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: BOT not active. Going online, offline randomly.
« Reply #14 on: July 05, 2009, 06:10:35 pm »
It means that traffic is prevented from flowing either due to a firewall or due to internet routing.
BeBot Founder and Fixer Kingpin

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 523
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal