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: can't start bot  (Read 1988 times)

0 Members and 1 Guest are viewing this topic.

Offline eagled2

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
can't start bot
« on: December 25, 2007, 09:06:28 pm »
I am new to bebot and have been trying to get it setup and working. I followed the instructions in the readme file to setup the bot and have created a mysql database. I'm using linux suse 10.3x64 and tried using the php pack I found on this site with wine.
When running using that php and iit says file not found several times and the error log refers to several files such as something.so in the php_extension dir which are not there.
When that didn't work I tried using the php installed on my computer and after installing php sockets and another extension the script was looking for it still wasn't working. I removed the paramater in the unix php section telling it to use -c ./ and the script starts but it still isn't working. It shows that it has connected to the database and there are several php notices and one warning repeated 3 times. The script displays the same information over and over again. Attached is the output of my StartBot.php while using php installed in linux. Oh i've also set the -c ./ while starting by typing "php -c ./ StartBot.php with no change. Any help would be appreciated.

Offline eagled2

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: can't start bot
« Reply #1 on: December 26, 2007, 05:27:24 am »
Ok I tried setting the bot up on my windows machine just to see if it works and it works fine. I then copied the files I used on the windows machine and get the before listed error.
« Last Edit: December 26, 2007, 05:50:57 am by eagled2 »

Offline eagled2

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: can't start bot
« Reply #2 on: December 26, 2007, 09:33:43 am »
After further research into my issue I realized it's the same as the one posted at [url http://bebot.link/index.php/topic,274.0.html]http://bebot.link/index.php/topic,274.0.html[/url].
I followed all the instructions and still couldn't get it. Reading that post made me think of editing php.ini which I did and after uncommenting the 2 extension lines with the .dll files I can use the bot with wine on a linux system. Not ideal I know but at least it works. 

Oh I forgot to get it to run I had to run main.php instead of the start file.
« Last Edit: December 26, 2007, 10:08:47 am by eagled2 »

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: can't start bot
« Reply #3 on: December 26, 2007, 09:43:26 pm »
Those notices should be pretty harmless.

It should be best to use the linux version of php to get bebot running, just make sure you got the socket and mysql extensions for php properly installed.

Offline eagled2

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: can't start bot
« Reply #4 on: December 27, 2007, 07:59:56 am »
Thanks i'll check my php installation.

 

* 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