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: Having some issues getting the bot to run  (Read 2540 times)

0 Members and 1 Guest are viewing this topic.

Offline Athalwulf

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Having some issues getting the bot to run
« on: October 30, 2011, 11:54:06 pm »
Here are the issues I'm experiencing:



I'm playing on the Wiccana server, all directions were followed as explained in the read me/wiki page.

Offline uberjon

  • BeBot User
  • **
  • Posts: 32
  • Karma: +0/-0
Re: Having some issues getting the bot to run
« Reply #1 on: October 31, 2011, 01:16:43 am »
that would be a php config error, your php time isn't set properly.

Offline Athalwulf

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Having some issues getting the bot to run
« Reply #2 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.

Offline uberjon

  • BeBot User
  • **
  • Posts: 32
  • Karma: +0/-0
Re: Having some issues getting the bot to run
« Reply #3 on: November 01, 2011, 03:43:23 pm »
its actually not bebot that needs fixed, its the php version your using.

Offline Athalwulf

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Having some issues getting the bot to run
« Reply #4 on: November 02, 2011, 01:08:41 am »
I'm using the latest version.  Should I revert to a later one?

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: Having some issues getting the bot to run
« Reply #5 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.
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Athalwulf

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Having some issues getting the bot to run
« Reply #6 on: November 02, 2011, 08:55:00 pm »
There is no timezone in either of those files.

Offline uberjon

  • BeBot User
  • **
  • Posts: 32
  • Karma: +0/-0
Re: Having some issues getting the bot to run
« Reply #7 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');
« Last Edit: November 02, 2011, 10:40:38 pm by uberjon »

 

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