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: command window - unable to find StartBot.php file  (Read 4763 times)

0 Members and 1 Guest are viewing this topic.

Offline mairenne

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
command window - unable to find StartBot.php file
« on: August 10, 2012, 09:04:19 am »
I'm almost positive I've got everything set up right.  Followed the instructions and got to the point where i just need to start the bot.  However it won't work.

I'm using Windows 7.

Quote
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”.


got the command window open no problem.  The StartBot.php (it's not called start.php) file is in a folder called 'Bot' in my C drive.  So to run the start.php, I typed C:/Bot/php StartBot.php and I get the error that the system cannot find the file.

What am I doing wrong?  I've checked upper/lower case.  I've checked the path. I've googled it so much I can't see any new sites to look at.  But I can't get it.

Any help?  And please - I'm a noob at this so speak slowly. :p

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: command window - unable to find StartBot.php file
« Reply #1 on: August 11, 2012, 01:23:12 am »
I suggest you cd to c:\bot before running startbot.bat (you are on windows, so this is the proper command).

Shelly

Offline mairenne

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: command window - unable to find StartBot.php file
« Reply #2 on: August 17, 2012, 06:46:13 am »
Well I got to the c:\bot just fine, but any time I tried to start the php or the bat file, neither would work.  I kept getting some kind of 'stty' password error or something.  No screenshot so I can't remember exactly what it said. :(

Offline dragonjr

  • BeBot Apprentice
  • ***
  • Posts: 131
  • Karma: +0/-0
Re: command window - unable to find StartBot.php file
« Reply #3 on: August 19, 2012, 12:37:40 am »
when you did phase 4 on reate a datbase abd database user for bebot did you use localhost  or did yo use 127.0.0.1 thats what i ahd to do to get my bot runign when you make the user. i could be wrong but im lookin gat my notes when i installed the bot. i hope this helps

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: command window - unable to find StartBot.php file
« Reply #4 on: August 20, 2012, 11:29:47 pm »
Any logs you can find would help...

Try this:

1. open an administrative cmd window (Right-click on "All Programs/Accessories/Command Prompt" and run as administrator.
In the window... Type:
2. C:\
3. cd C:\bot
4. php -f StartBot.php YourBotName
5. Capture the results and post here so we can see.

 :)
Shelly
« Last Edit: August 20, 2012, 11:36:15 pm by Shelly »

 

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