BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Athalwulf on October 30, 2011, 11:54:06 pm

Title: Having some issues getting the bot to run
Post by: Athalwulf on October 30, 2011, 11:54:06 pm
Here are the issues I'm experiencing:

(http://img543.imageshack.us/img543/255/bebot.png)

I'm playing on the Wiccana server, all directions were followed as explained in the read me/wiki page.
Title: Re: Having some issues getting the bot to run
Post by: uberjon on October 31, 2011, 01:16:43 am
that would be a php config error, your php time isn't set properly.
Title: Re: Having some issues getting the bot to run
Post by: Athalwulf on November 01, 2011, 03:31:02 pm
Any suggestions on how to fix it?

I am using the default AOChat.php as I assumed it would have no errors.
Title: Re: Having some issues getting the bot to run
Post by: uberjon on November 01, 2011, 03:43:23 pm
its actually not bebot that needs fixed, its the php version your using.
Title: Re: Having some issues getting the bot to run
Post by: Athalwulf on November 02, 2011, 01:08:41 am
I'm using the latest version.  Should I revert to a later one?
Title: Re: Having some issues getting the bot to run
Post by: Getrix on November 02, 2011, 08:55:12 am
Quote
Warning: trigger_error(): It is not safe to rely on the system's timezone settings.
You are *required* to use date.timezone settings or the date_default_timezone_set() function.
In case you used any of those methods and youa re still getting this warning, you most likely misspelled the timezone identifier.
We selected "America/Los_Angeles" for "-7.0/DST" instead inf C:\BeBot\Sources\AOChat.php on line 204

This error is PHP related.
Fix your "date.timezone" settings in php.ini or "date_default_timezone_set" in "BeBot/Main.php" line 54
More about timezone in php: http://php.net/manual/en/function.date-default-timezone-set.php
And supported timezones: http://www.php.net/manual/en/timezones.php

You may have two problems, but start with fixing your time error.
Title: Re: Having some issues getting the bot to run
Post by: Athalwulf on November 02, 2011, 08:55:00 pm
There is no timezone in either of those files.
Title: Re: Having some issues getting the bot to run
Post by: uberjon on November 02, 2011, 10:21:12 pm
are you using the standard documentation php setup?

I personally don't have much experience with php on windows, I will go over the documentation and try and give you a better response.

edit:

Something looks strange.. Is your bebot download recent? try re-downloading the latest version.

In my version I see nothing in AOChat.php about timezones, rather in Main.php on like 54-55 I have this:

Code: [Select]
// Set the time zone to UTC
date_default_timezone_set('UTC');
SimplePortal 2.3.7 © 2008-2024, SimplePortal