Server Time [RESOLVED]
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- morfiuz
- Posts: 90
- Joined: Sun Sep 19, 2010 5:45 pm
- Location: Brasil
Server Time [RESOLVED]
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 ...
» 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.
- Naonah
- Posts: 357
- Joined: Sun Apr 04, 2010 11:12 pm
Re: Server Time
set system timeat your dedicated machine
public void l2jserver ()
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
- morfiuz
- Posts: 90
- Joined: Sun Sep 19, 2010 5:45 pm
- Location: Brasil
Re: Server Time [RESOLVED]
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

2 hours late...
Again, my dedicated computer has the correct time zone and time
How do I do that?
» Find Revision
L2J Revision 4422:
L2JDP Revision 7669:
My dedicated computer has the correct time!
Look this

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.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Server Time
what time zone are you in?
afaik l2jserver has always taken it's time from GMT+0
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- morfiuz
- Posts: 90
- Joined: Sun Sep 19, 2010 5:45 pm
- Location: Brasil
Re: Server Time [RESOLVED]
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...
» 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.
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Server Time
Correctly setup timezone of the server in the operation system.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Server Time
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- morfiuz
- Posts: 90
- Joined: Sun Sep 19, 2010 5:45 pm
- Location: Brasil
Re: Server Time [RESOLVED]
Combining the information, jurchiks and _DS_
I changed the server time zone to GMT +0 and set the clock for my time.
Result

thanks for helping me!
I changed the server time zone to GMT +0 and set the clock for my time.
Result

thanks for helping me!
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: Server Time [RESOLVED]
For me server correctly display time for +3 timezone. Windows.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Server Time [RESOLVED]
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...
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- Naonah
- Posts: 357
- Joined: Sun Apr 04, 2010 11:12 pm
Re: Server Time [RESOLVED]
Why for all ppl it works fine but only for you not?
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)

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;
}
{
if (you want l2j server == no problems)
use Linux;
else
use Windows;
}
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Server Time [RESOLVED]
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 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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 32
- Joined: Wed Jul 08, 2009 3:09 am
Re: Server Time [RESOLVED]
on centos i really don't have any problem with the time, server shows the box time even if i chnage the timezone.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Server Time [RESOLVED]
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!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Server Time [RESOLVED]
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.