Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-11-2010, 04:49 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Servertime

The server-time listed in the bottom right corner, on the start bar is kind of useless considering it's out of sync and varies from server to server, so why not make it universal.

If possible could it be switched to just use the Login's server-time? Then perhaps server's could plan things around Graal-time and so on.
__________________
Quote:
Reply With Quote
  #2  
Old 01-11-2010, 05:43 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Don't think it's possible for it to be global as it runs off the server clocks, and different servers are on different machines. There'd be no way to sync them without the clocks occasionally losing some time(potentially bad for scripts relying on their accuracy).

The server clocks being so off is a major problem, but Stefan has stated concern with updating them because it could put some server clocks back as far as a day or so, meaning that scripts that run checks on timevar2 would be a day behind(thus, say if a server used timevar2 to lock you out from something, it'd be open a day earlier suddenly). More important scripts like banks or something could be potentially more dangerous.
Reply With Quote
  #3  
Old 01-11-2010, 06:08 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
I'm not looking to have the values of timevar and timevar2 change, just the time displayed in the clock in the bottom right corner. So really it's just displaying what time it is on the Login server.

Pretty sure the login script could just store whatever value it's based off on login (assuming it's timevar), and then use the offset between it and clientside timevar2.

Kind of like how it's done here: Scripted Timevar3
__________________
Quote:
Reply With Quote
  #4  
Old 01-11-2010, 06:18 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by fowlplay4 View Post
I'm not looking to have the values of timevar and timevar2 change, just the time displayed in the clock in the bottom right corner. So really it's just displaying what time it is on the Login server.

Pretty sure the login script could just store whatever value it's based off on login (assuming it's timevar), and then use the offset between it and clientside timevar2.

Kind of like how it's done here: Scripted Timevar3
It's the same method I use for clientside/serverside timevar2 accuracy, but the problem is probably going to be transferring data between servers(the offset between login and whatever server you're on). Ideally he could possibly just code it to send updates periodically like how global buddies are done.
Reply With Quote
  #5  
Old 01-11-2010, 06:20 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
I'd love to see timevar2 fixed as well. I don't think any servers rely on it enough that it would mess anything up majorly if it was corrected.
__________________
Reply With Quote
  #6  
Old 01-11-2010, 06:21 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by cbk1994 View Post
I'd love to see timevar2 fixed as well. I don't think any servers rely on it enough that it would mess anything up majorly if it was corrected.
He could easily give servers a heads up so they could disable important NPCs that rely on it until it catches up.
Reply With Quote
  #7  
Old 01-11-2010, 06:27 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by DustyPorViva View Post
It's the same method I use for clientside/serverside timevar2 accuracy, but the problem is probably going to be transferring data between servers(the offset between login and whatever server you're on). Ideally he could possibly just code it to send updates periodically like how global buddies are done.
Well from what I just saw the clientside timevar2 (on the Windows client anyway) is how long the client has been up so I don't think switching servers will be much of a problem.

Quote:
Originally Posted by cbk1994 View Post
I'd love to see timevar2 fixed as well. I don't think any servers rely on it enough that it would mess anything up majorly if it was corrected.
Ever since time-jailing became the standard there hasn't really been anything time-critical (at least on Zodiac), worst case scenario kids in jail get out a little sooner.
__________________
Quote:
Reply With Quote
  #8  
Old 01-11-2010, 06:35 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by fowlplay4 View Post
Well from what I just saw the clientside timevar2 (on the Windows client anyway) is how long the client has been up so I don't think switching servers will be much of a problem.
Indeed, but I know the taskbar doesn't use that, as it would be off I imagine. I'd figure he's either calculating offset of clientside and serverside, or doing something more complex to keep it accurately reflecting the servertime instead of the client up-time.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.