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: Got problem, what do i wrong ?  (Read 13489 times)

0 Members and 2 Guests are viewing this topic.

Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« on: January 23, 2005, 12:56:26 pm »
ok i did everything they told me to do
now i am doing :

Starting the bot:
-----------------

Open a console (In windows press "Start" => "Run" => enter "cmd" and press
enter).
Now run the start.php
Windows: Navigate to the directory of your bot assuming you have the php.exe
in the same directory and write "php start.php".
Linux: Assuming your can run php4 from anywhere navigate to your bot
directory and write "php4 start.php" (assuming your php binary is named
"php4").





This doenst work  :cry:  :cry:  Could any1 tell me what i do wrong
I hope the window typ in cmd, works...
Then i typ in start.php .... doenst work.... even not php4 start.php
( working with windows )

Offline Sputnik

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
Got problem, what do i wrong ?
« Reply #1 on: January 23, 2005, 06:58:24 pm »
did you download the php files from this site.  If you did make sure you  edit the php.ini file and add extension=php_sockets.dll to it.  Then make sure you edit your start.php to where instead of php4 it says php.exe. I made a batch file to run the bot. But open up cmd prompt. go into your bebot dir and type php start.php and it should run if you got the mysql stuff set up right.

Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #2 on: January 23, 2005, 09:37:02 pm »
It doesnt work...

I realy dunno what i do wrong

Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #3 on: January 23, 2005, 09:40:03 pm »
I realy cunfussed  :?  :?

Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #4 on: January 23, 2005, 09:42:54 pm »
Ok first problem is gone now
It says AOChat class needs the sockets extension to work.
must i change it in the AOChat.php so yes must it in this :

Quote

  if((float)phpversion() < 4.2)
  {
    die("AOChat class needs PHP version >= 4.2.0 to work.\n");
  }
 
  if(!extension_loaded("sockets"))
  {
    die("AOChat class needs the Sockets extension to work.\n");
  }

  if(!extension_loaded("gmp") && !extension_loaded("bcmath"))
  {
    die("AOChat class needs either GMP or BCMath extension to work.\n");
  }



And what must i edit ?

Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #5 on: January 23, 2005, 09:59:38 pm »
Hope some1 knows this

Anyways time to sleep now will be back laterz :D

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Got problem, what do i wrong ?
« Reply #6 on: January 23, 2005, 10:50:30 pm »
In start.php in your bebot folder, edit the line:
   $php_bin = "php4";
to:
   $php_bin = "php";

This means it will use the bin php.exe as opposed to php4.exe which you don't have.

After you've changed this, navigate to your bebot folder, then type:

php start.php

Also, make sure you have the files:
php_bz2.dll
php_sockets.dll
php.exe
php.ini
php4ts.dll

All in your bebot directory.

And to clarify things, you are on a windows machine right?
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #7 on: January 24, 2005, 09:00:04 am »
Quote from: "craized"
In start.php in your bebot folder, edit the line:
   $php_bin = "php4";
to:
   $php_bin = "php";

This means it will use the bin php.exe as opposed to php4.exe which you don't have.

After you've changed this, navigate to your bebot folder, then type:

php start.php

Also, make sure you have the files:
php_bz2.dll
php_sockets.dll
php.exe
php.ini
php4ts.dll

All in your bebot directory.

And to clarify things, you are on a windows machine right?



yes i use windows machine....

it still says :  AOChat class needs the sockets extension to work.

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Got problem, what do i wrong ?
« Reply #8 on: January 24, 2005, 10:29:11 am »
Make sure in your php.ini, it includes this line:
extension_dir = ./

I don't know why it wouldn't, but its my last idea for now.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #9 on: January 24, 2005, 11:24:55 am »
dont work

Offline DirX

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Got problem, what do i wrong ?
« Reply #10 on: January 24, 2005, 12:56:14 pm »
Had the same problem. Change your php.ini to look like this:

extension_dir = ./
extension=php_sockets.dll

and give it a bit seemed to work for me

Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #11 on: January 24, 2005, 01:10:11 pm »
it still saying AOChat class needs the sockets extension to work.

Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #12 on: January 25, 2005, 01:42:49 pm »
o_0

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Got problem, what do i wrong ?
« Reply #13 on: January 26, 2005, 06:08:14 am »
Its a long shot, but try removing

if(!extension_loaded("sockets"))
{
die("AOChat class needs the Sockets extension to work.\n");
}

like you suggested earlier. There is always a chance that it for some reason isn't registering, but the chances are very slim. Always worth a shot though.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Paganizer

  • BeBot Rookie
  • *
  • Posts: 14
  • Karma: +0/-0
    • http://s6.invisionfree.com/Clan_Phoenix_Rising/
Got problem, what do i wrong ?
« Reply #14 on: January 26, 2005, 10:00:44 am »
that worked.. now i dunno if any1 can help me with the MySQL.conf
I dont know what the i.p and stuff is for AO-RK2 :oops:

 

* 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: 432
  • 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