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

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

Author Topic: StartBot.bat  (Read 9535 times)

0 Members and 2 Guests are viewing this topic.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: StartBot.bat
« Reply #15 on: July 30, 2009, 07:47:18 pm »
I'm not familiar with AoC unfortunately, so i cannot really be of much help there.

But by default it will announce logons and logoffs automatically. However if memory serves, it will only do so for someone after they have spoken in guild chat.

Also note that StartDebugBot.bat is handy because it will keep the cmd window from closing automatically on errors, making debugging easier, but once the bot is working as it should you should start it with StartBot.php
BeBot Founder and Fixer Kingpin

Offline LeonTheTank

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: StartBot.bat
« Reply #16 on: July 30, 2009, 07:50:18 pm »
i started it again, now it sais Curl extension loaded, C:\bebot>Pause press any key to continue. i press any key...and i even tried typing !help in the guild chat. Nothing, what now? Startbot.php?

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: StartBot.bat
« Reply #17 on: July 30, 2009, 07:56:47 pm »
The fact that it pauses means that the script has stopped running for some reason (ie it is not online).

Both StartBot.bat and StartDebugBot.bat are wrappers for windows that call StartBot.php

If you cannot get the bot to start at all, did you make any changes at all?
You can try changing logging level in php.ini from E_ERROR to E_ALL, although all fatal errors should be displayed with E_ERROR
BeBot Founder and Fixer Kingpin

Offline LeonTheTank

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: StartBot.bat
« Reply #18 on: July 30, 2009, 08:02:28 pm »
i changed E_ERROR to E_ALL and this is what i get...

Warning: require_once<./conf/Bot.conf>: failed to open stream: No such file or directory in C:\BeBot\Main.php on line 187

Fatal error: require_once<>: Failed opening required './conf/Bot.conf' <include_path='.;C:\php5\pear;> in C:\BeBot\Main.php on line 187

C:\BeBot>pause
Press any key to continue .   .   .

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: StartBot.bat
« Reply #19 on: July 30, 2009, 08:05:03 pm »
It cannot open your conf/Bot.conf again. Did you move it or change it's permission? Are you trying to start the bot from outside the C:\BeBot\ directory?
BeBot Founder and Fixer Kingpin

Offline LeonTheTank

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: StartBot.bat
« Reply #20 on: July 30, 2009, 08:07:41 pm »
It cannot open your conf/Bot.conf again. Did you move it or change it's permission? Are you trying to start the bot from outside the C:\BeBot\ directory?

no i try from C:\BeBot\ directory and i wrote StartDebugBot.bat  when i changed the php.ini to have E_ALL.  The bot.conf is in the conf folder which is in BeBot directory. here i can send u the conf file.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: StartBot.bat
« Reply #21 on: July 30, 2009, 08:11:46 pm »
It's important that you are inside the BeBot directory when executing the script as it uses relative paths.

If you are certain you are inside the directory, then it is likely some permission issue of sorts. It's very odd in any case. Not sure how much help i can be on this unfortunately as it appears to be an OS side issue.
BeBot Founder and Fixer Kingpin

Offline LeonTheTank

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: StartBot.bat
« Reply #22 on: July 30, 2009, 08:14:10 pm »
i checked the conf file and found that the info i put in like guild name and stuff wasnt there, i wrote it in and i get the same error message.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: StartBot.bat
« Reply #23 on: July 30, 2009, 08:15:44 pm »
Are you sure you did not create a <Botname>.Bot.conf file?

It doesnt really matter what the file contains if your operating system is telling PHP the file does not exist :\
BeBot Founder and Fixer Kingpin

Offline LeonTheTank

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: StartBot.bat
« Reply #24 on: July 30, 2009, 08:19:27 pm »
how do i know if its a <botname> bot.conf file?

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: StartBot.bat
« Reply #25 on: July 30, 2009, 08:22:47 pm »
You will know if one exists in your conf/ directory.... where <botname> is the name of your bot.

In any case, if your Bot.conf contents "vanished" into thin air, there is something very strange going on with your operating system.
BeBot Founder and Fixer Kingpin

Offline LeonTheTank

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: StartBot.bat
« Reply #26 on: July 30, 2009, 08:27:36 pm »
no botname sais Zues, i made it that way. And i've checked it several times, nothing vanished.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: StartBot.bat
« Reply #27 on: July 30, 2009, 08:32:31 pm »
i checked the conf file and found that the info i put in like guild name and stuff wasnt there, i wrote it in and i get the same error message.

That reads like contents vanished to me.

In any case, i'm afraid i can't be of any more help on this. Your operating system is telling PHP that ./conf/Bot.conf does not exist. Why that is, is beyond me since you claim that ./conf/Bot.conf does exist.
BeBot Founder and Fixer Kingpin

Offline LeonTheTank

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: StartBot.bat
« Reply #28 on: July 30, 2009, 08:33:39 pm »
damn :(

do you know anyone else on the server that might be of help to me?

Offline altera

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: StartBot.bat
« Reply #29 on: August 01, 2009, 07:42:30 pm »
Hope this isnt off topic, but i first had the problem called out in this post.  Once I moved the php files to the BeBot folder I made it past that step.

now I get the error :
Curl extension loaded

Fatal error: Call to a member function log() on a non-object in C:\Program Files
\Funcom\Age of Conan\BeBot\Sources\MySQL.php on line 164

Any hints on how to solve?

« Last Edit: August 01, 2009, 10:52:12 pm by altera »

 

* Recent Posts
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 ]


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

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