BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: Lordhastur on August 13, 2010, 07:40:14 pm

Title: wrong time
Post by: Lordhastur on August 13, 2010, 07:40:14 pm
Hi when i use !time i got always shown the wrong time 2h behind actual time.
Where can i set the right timezone?????


regards
Jérôme
Title: Re: wrong time
Post by: Khalem on August 14, 2010, 12:59:02 am
If the bot is showing 2 hours behind the displayed timezone, the time on the server itself needs to be adjusted as it is off.

For changing the timezone the bot displays, you will need to alter the module itself at present as we have no setting for it.
Title: Re: wrong time
Post by: Lordhastur on August 14, 2010, 11:31:20 am
The Bot runs on my home server system and the timezone is gmt+01:00 everything on the server works fine so i still dont understand why i get the wrong time displayed in orgchat with the !time cmd
when the bot should requesting the time from the server he´s running on? what do i miss?????


regards
Jérôme
Title: Re: wrong time
Post by: Khalem on August 14, 2010, 04:30:54 pm
If the time is incorrect with !time, there is something off with your system time.

Either you have the wrong timezone configured but the time set correct for the timezone you are actually in, or you have the correct timezone but the time set incorrectly.

The bot, and by extension PHP relies on the time it is given by the server it's run on only. The only thing that can be changed within PHP is which timezone the time should be output in. And that wouldnt do anything to fix the problem if the time itself is off on the server.
Title: Re: wrong time
Post by: Lordhastur on August 14, 2010, 09:55:33 pm
hm so it looks like im just to stupid for this-.-
thx for ya time anyway



regards
Jérôme
SimplePortal 2.3.7 © 2008-2024, SimplePortal