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

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

Author Topic: Error starting Bebot  (Read 7529 times)

0 Members and 1 Guest are viewing this topic.

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: Error starting Bebot
« Reply #15 on: January 31, 2011, 04:20:39 pm »
Did you even try to start the bot with:
Code: [Select]
/usr/bin/php -c ./  Main.php

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: Error starting Bebot
« Reply #16 on: January 31, 2011, 04:32:46 pm »
Kentarii I love...
Its running....

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: Error starting Bebot
« Reply #17 on: January 31, 2011, 04:36:54 pm »
Nice, so that means you can modify the StartBot.php file to use the /usr/bin/php binary to start the bot.

Find and replace
Code: [Select]
$php_bin = trim(shell_exec('which php'));with
Code: [Select]
$php_bin = "/usr/bin/php";
Then you should in theory be able to start the bot with
Code: [Select]
php StartBot.php

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: Error starting Bebot
« Reply #18 on: January 31, 2011, 05:02:32 pm »
If I do so...
PHP not found

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: Error starting Bebot
« Reply #19 on: January 31, 2011, 07:17:34 pm »
Weird... just use what's working for you then.

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: Error starting Bebot
« Reply #20 on: February 05, 2011, 04:57:38 pm »
I got this message when I start:

Warning: Error while reading rpc header. () in .../BeBot/Sources/AOChat.php on line 503

Warning: handleRPCPackets: Packet is not an object (no RPCPacket?) in .../BeBot/Sources/AOChat.php on line 725
Zornbot [CONN]   [ERROR]   Failed authenticating to server. Retrying in 60 seconds.

Is there a problem today?

Offline sarakant

  • BeBot User
  • **
  • Posts: 27
  • Karma: +0/-0
Re: Error starting Bebot
« Reply #21 on: February 05, 2011, 07:54:48 pm »
working again...
seems to be a problem at aoc chat server

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 187
  • 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