| Mirage Source http://miragesource.net/forums/ |
|
| Better GetTickCount Alternative? http://miragesource.net/forums/viewtopic.php?f=193&t=5265 |
Page 1 of 1 |
| Author: | Nean [ Mon Mar 16, 2009 6:09 pm ] |
| Post subject: | Better GetTickCount Alternative? |
http://gpwiki.org/index.php/VB:Tutorials:WINAPI:Timers Thought some of you might find that interesting, especially since Matt was having problems with GetTickCount, and had to convert to something else. |
|
| Author: | William [ Mon Mar 16, 2009 6:34 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
It's good reading but not usefull in a Msource. We always check if the time is more than; but if we would want to use equal to - this would be a good idea And also, I didn't know TickCount was so unprecise |
|
| Author: | Matt [ Mon Mar 16, 2009 6:45 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
Verrigan's method is super precise. Down to the nanoseconds. Lol. It doesn't mess up the system if it loops to a negative number either. |
|
| Author: | William [ Mon Mar 16, 2009 6:49 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
Your refering to his dbltickcount? |
|
| Author: | Doomy [ Mon Mar 16, 2009 6:50 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
Matt wrote: Verrigan's method is super precise. Down to the nanoseconds. Lol. It doesn't mess up the system if it loops to a negative number either. who is this verrigan i always hear you guys saying really good stuff about them |
|
| Author: | William [ Mon Mar 16, 2009 6:52 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
Verr did a couple of good things here: -bitmap util -dbl tickcount -byte arrays -iocp sucks. |
|
| Author: | Matt [ Mon Mar 16, 2009 7:04 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
He was also the very first person to release anything with seamless maps. He didn't finish it though, you had to do the rest yourself. Misunderstood optimized Verrigan's system. |
|
| Author: | Anthony [ Tue Mar 17, 2009 4:53 am ] |
| Post subject: | Re: Better GetTickCount Alternative? |
doomteam1 wrote: Matt wrote: Verrigan's method is super precise. Down to the nanoseconds. Lol. It doesn't mess up the system if it loops to a negative number either. who is this verrigan i always hear you guys saying really good stuff about them Why did you press enter after who is this? Lol. |
|
| Author: | Doomy [ Tue Mar 17, 2009 8:23 am ] |
| Post subject: | Re: Better GetTickCount Alternative? |
Anthony wrote: doomteam1 wrote: Matt wrote: Verrigan's method is super precise. Down to the nanoseconds. Lol. It doesn't mess up the system if it loops to a negative number either. who is this verrigan i always hear you guys saying really good stuff about them Why did you press enter after who is this? Lol. Don't blame me I speak doomglish |
|
| Author: | Tony [ Tue Mar 17, 2009 1:14 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
doomteam1 wrote: Anthony wrote: doomteam1 wrote: Matt wrote: Verrigan's method is super precise. Down to the nanoseconds. Lol. It doesn't mess up the system if it loops to a negative number either. who is this verrigan i always hear you guys saying really good stuff about them Why did you press enter after who is this? Lol. Don't blame me I speak doomglish Go to hell. |
|
| Author: | Pbcrazy [ Tue Mar 17, 2009 2:50 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
he's doom, he's already doing that... telling him will only accelerate the process... |
|
| Author: | Doomy [ Tue Mar 17, 2009 6:35 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
Tony wrote: doomteam1 wrote: Anthony wrote: doomteam1 wrote: Matt wrote: Verrigan's method is super precise. Down to the nanoseconds. Lol. It doesn't mess up the system if it loops to a negative number either. who is this verrigan i always hear you guys saying really good stuff about them Why did you press enter after who is this? Lol. Don't blame me I speak doomglish Go to hell. im already here |
|
| Author: | JokeofWeek [ Tue Mar 17, 2009 11:33 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
Just throwing this out there viewtopic.php?f=69&t=4259 |
|
| Author: | Matt [ Tue Mar 17, 2009 11:36 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
JokeofWeek wrote: I tried that first. It didn't work. |
|
| Author: | GIAKEN [ Tue Mar 17, 2009 11:50 pm ] |
| Post subject: | Re: Better GetTickCount Alternative? |
Yeah...timeGetTime had problems for me. I think it was the timeBeginPeriod. When I tried to connect to my game, the loop at ConnectToServer would never finish. So I had to restart. I ended up just using Verrigan's method with GetSysTimeMS. It works beautifully. |
|
| Author: | JokeofWeek [ Wed Mar 18, 2009 3:09 am ] |
| Post subject: | Re: Better GetTickCount Alternative? |
No no, I was just pointing out that my tut was the same as that article |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|