Znote / ZnoteAAC

Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server.
MIT License
146 stars 127 forks source link

Bug at a Clock system #78

Closed felipetmartini closed 10 years ago

felipetmartini commented 10 years ago

image

how can one char be created after last online time?

also how can i fix my clock at znote cause in my server the hour is like 02 may 12:57 and in znote show Server date and clock is: 02 May 2014 (18:55)

Znote commented 10 years ago

https://github.com/Znote/ZnoteAAC/blob/master/config.php#L39

if ($adjust) $adjust = (1 * 3600); // Adjust to fit your timezone.

This happens because the clock on your server is hosted in a different timezone than your home. You need to adjust Znote AAC to follow the clock appropriately, if you have 1 * 3600 try to change it to 2 * 3600 to see if that fixes it.

To make the server clock match your own timezone you need to adjust the clock on the server machine itself.

felipetmartini commented 10 years ago

my clock now is rigth but the last login not is ok yet

like this

Level: 8 Vocation: Sorcerer Last Login: 02 May 2014 (18:24) Status: OFFLINE Created: 02 May 2014 (13:23)

created now and logged now, dunno why last login say in future that time not is yet

@Znote can you check that??

felipetmartini commented 10 years ago

Maybe can be wrong configuration at TFS? or are something bad with znote lastlogin?

Znote commented 10 years ago

https://github.com/Znote/ZnoteAAC/blob/master/characterprofile.php#L37 Try to change false with true at the end of that line.

felipetmartini commented 10 years ago

now fixes thanks