Mirage Source
Better GetTickCount Alternative? - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+----- Thread: Better GetTickCount Alternative? (/showthread.php?tid=2624)



Better GetTickCount Alternative? - Nean - 16-03-2009

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.


Re: Better GetTickCount Alternative? - William - 16-03-2009

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 Tongue

And also, I didn't know TickCount was so unprecise Tongue


Re: Better GetTickCount Alternative? - Matt - 16-03-2009

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.


Re: Better GetTickCount Alternative? - William - 16-03-2009

Your refering to his dbltickcount?


Re: Better GetTickCount Alternative? - Doomy - 16-03-2009

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


Re: Better GetTickCount Alternative? - William - 16-03-2009

Verr did a couple of good things here:
-bitmap util
-dbl tickcount
-byte arrays
-iocp sucks.


Re: Better GetTickCount Alternative? - Matt - 16-03-2009

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.


Re: Better GetTickCount Alternative? - Anthony - 17-03-2009

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.


Re: Better GetTickCount Alternative? - Doomy - 17-03-2009

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


Re: Better GetTickCount Alternative? - Tony - 17-03-2009

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.


Re: Better GetTickCount Alternative? - Pbcrazy - 17-03-2009

he's doom, he's already doing that...


telling him will only accelerate the process...


Big Grin :twisted: Big Grin :twisted:


Re: Better GetTickCount Alternative? - Doomy - 17-03-2009

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


Re: Better GetTickCount Alternative? - JokeofWeek - 17-03-2009

Just throwing this out there Tongue

viewtopic.php?f=69&t=4259


Re: Better GetTickCount Alternative? - Matt - 17-03-2009

JokeofWeek Wrote:Just throwing this out there Tongue

viewtopic.php?f=69&t=4259

I tried that first. It didn't work.


Re: Better GetTickCount Alternative? - GIAKEN - 17-03-2009

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.


Re: Better GetTickCount Alternative? - JokeofWeek - 18-03-2009

No no, I was just pointing out that my tut was the same as that article Tongue Tis fine