Server Time [RESOLVED]

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
morfiuz
Posts: 90
Joined: Sun Sep 19, 2010 5:45 pm
Location: Brasil

Server Time [RESOLVED]

Post by morfiuz »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4422:
L2JDP Revision 7669:

Hello!

Sorry my english! (Google Translator)
I searched the forum too, but the search engine did not help me.

I need to adjust the time on my server, this three hours early because of time zone.

How do I do that?

Thanks ...
Last edited by morfiuz on Sun Nov 14, 2010 10:49 pm, edited 2 times in total.
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: Server Time

Post by Naonah »

set system timeat your dedicated machine
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
User avatar
morfiuz
Posts: 90
Joined: Sun Sep 19, 2010 5:45 pm
Location: Brasil

Re: Server Time [RESOLVED]

Post by morfiuz »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4422:
L2JDP Revision 7669:

My dedicated computer has the correct time!

Look this
Image

2 hours late...
Again, my dedicated computer has the correct time zone and time

How do I do that? :(
Last edited by morfiuz on Sun Nov 14, 2010 10:49 pm, edited 1 time in total.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Server Time

Post by jurchiks »

what time zone are you in?
afaik l2jserver has always taken it's time from GMT+0
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
morfiuz
Posts: 90
Joined: Sun Sep 19, 2010 5:45 pm
Location: Brasil

Re: Server Time [RESOLVED]

Post by morfiuz »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4422:
L2JDP Revision 7669:

My dedicated computer (GMT -3:00) Brasilia
The computer players also.

I want change this! Is allowed? Is possible?

Where do I change?

Thanks...
Last edited by morfiuz on Sun Nov 14, 2010 10:49 pm, edited 2 times in total.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Server Time

Post by _DS_ »

Correctly setup timezone of the server in the operation system.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Server Time

Post by jurchiks »

he already said he has the right timezone...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
morfiuz
Posts: 90
Joined: Sun Sep 19, 2010 5:45 pm
Location: Brasil

Re: Server Time [RESOLVED]

Post by morfiuz »

Combining the information, jurchiks and _DS_

I changed the server time zone to GMT +0 and set the clock for my time.

Result
Image

thanks for helping me!
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Server Time [RESOLVED]

Post by _DS_ »

For me server correctly display time for +3 timezone. Windows.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Server Time [RESOLVED]

Post by jurchiks »

Well, this isn't the first time, there have been reports of sieges starting at wrong times too...
So obviously something is wrong, but it only triggers small percent of people. Gotta find out how to find out what causes it, but I have no idea really...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Naonah
Posts: 357
Joined: Sun Apr 04, 2010 11:12 pm

Re: Server Time [RESOLVED]

Post by Naonah »

Why for all ppl it works fine but only for you not? :D

Try to set your server correctly, use a guide (which is done perfectly) and all should be OK.

btw: get some knowledge about operating systems (Windows, Linux)
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Server Time [RESOLVED]

Post by jurchiks »

I have enough knowledge, I'm just saying that there have been issues before and nobody ever found out why it doesn't work with the CORRECT settings (i.e. the correct timezone and time).
If you noticed, the starter of this topic had to change his timezone to GMT+0 which is NOT his timezone.

L2j shouldn't care about timezone at all, it should ONLY read the TIME of OS.

If, for some reason, there is an issue between "Regional and Language Options>Location" and timezone, then it has nothing to do with l2j, but otherwise...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
web
Posts: 32
Joined: Wed Jul 08, 2009 3:09 am

Re: Server Time [RESOLVED]

Post by web »

on centos i really don't have any problem with the time, server shows the box time even if i chnage the timezone.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Server Time [RESOLVED]

Post by janiii »

l2j uses the time from the java engine. end the java engine takes time from the os. there is no explicit setting for timezone in l2j, it takes the time from java.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Server Time [RESOLVED]

Post by jurchiks »

well then what could cause it to show wrong time even though the timezone and time is correct...? Could it really be some issue with java in general?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply