Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
murklin
Newbie


Joined: 01 Apr 2009
Posts: 7

PostPosted: Tue Nov 03, 2009 4:50 pm   

Tick timer going out of sync
 
Ticks on my mud are 15 seconds, when I set my TS to 15 seconds it's fine for about 2 passes, then it slowly starts to get out of sync.

I assume this is something to do with my system clock not working correctly with zmud? Anyone have any of these issues with vista or windows 7?

It seems 15 seconds on the mud is about .3 seconds faster than what my computer is doing...
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Nov 03, 2009 4:59 pm   
 
You have to account for lag, really, and also variations of time. My MUD, for example, has a tick that happens every 30 seconds, but it's not exactly 30 seconds. The timer will run even if the MUD is lagged, which can offset timers.

Do you get a message when the tick happens? If so, set a trigger to reset the timer when that message happens. That way, you will have a good approximation of when a tick is going to happen.

Also keep in mind that zMUD isn't supported on Vista and Windows 7. You might
consider getting CMUD.

Charneus
Reply with quote
murklin
Newbie


Joined: 01 Apr 2009
Posts: 7

PostPosted: Tue Nov 03, 2009 5:17 pm   
 
but latency would have no effect on a tic timer... it doesn't wait for a response from the server once it's set.

Ive used the ticker before on XP for hours just fine. something else is definitely screwy. also the trigger for setting it is pretty random so it wouldn't be reliable to just have the trigger to #ts 15 active all the time and hope it comes up often enough.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Nov 03, 2009 5:51 pm   
 
The way you put it, I thought you meant it was going out of sync with the MUD. If it's going out of sync with an actual timer (stopwatch, for example) then it might be the OS, though I don't know why.

Not sure what info I can give at this point. Maybe someone will be able to answer it for you.

Charneus
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net