Efficient Timing
#1

Suggest the most efficient (for performance) global timing system:

1) A timer gets server time (GetTime) each second, compares it with custom server variables (hh, mm ,ss), if they not same - makes them same, updates time (SetPlayerTime) for all players using a loop every next minute.

2)Same system, but "GetTime" replaced with a counter (ss++, mm++ and so on).

I know 1st variant would work more sharp, but 2nd variant gives an ability to set time directly in game.

EDIT: seems like noone have a clue, nevermind then.
Reply


Messages In This Thread
Efficient Timing - by Audiophr3ak - 21.09.2012, 05:03
Re: Efficient Timing - by Babul - 21.09.2012, 11:09
Re: Efficient Timing - by Audiophr3ak - 21.09.2012, 12:00
Re: Efficient Timing - by Basssiiie - 21.09.2012, 12:40
Re: Efficient Timing - by nickdodd25 - 21.09.2012, 20:39
Re: Efficient Timing - by Mauzen - 21.09.2012, 21:15
Re: Efficient Timing - by Audiophr3ak - 22.09.2012, 09:36

Forum Jump:


Users browsing this thread: 2 Guest(s)