![]() |
Tutorials - 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: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Tutorials (/showthread.php?tid=1352) |
Tutorials - William - 18-10-2007 I cant find verrigans tutorial to double the tickcount. And I was also interested in seing pingus ini tut but couldn't find any of them xD Re: Tutorials - Robin - 18-10-2007 Double tickcount? If you mean the replacement, he did it in another topic, it isn't in it's own. I'll let you find it though ![]() Re: Tutorials - William - 24-10-2007 Found it: viewtopic.php?f=70&t=772&st=0&sk=t&sd=a&hilit=tickcount Re: Tutorials - Spodi - 24-10-2007 I put something similar to this in vbGORE, but not too happy with it and haven't used it again since. The problem with it is its resolution - its pretty low. I think it is around 24 milliseconds. It works well for an engine of Mirage's speed, and also vbGORE's (though may be cutting it a little closer, but still fine), but anything very time critical where you're simulating any form of physics on the server (client/server physics simulations like in a FPS or sidescroller) it is not good. The rollover time really isn't too much of a problem, either, since its often good to reset at least once every two weeks, if not every week, since no matter your coding and no matter the OS you're using, the server will always perform better after a reset then it will after a week of running. Re: Tutorials - William - 24-10-2007 Yes, but people used speed hacks in my game, and I'd like to get that fixed. What do you mean with the resolution being low? Re: Tutorials - Spodi - 24-10-2007 Resolution is the frequency that the timer updates. For example, an output of a few counters: Template code: Code: Private last GetTickCount: Code: 0. 6890312 timeGetTime + timeBeginPeriod: Code: 0. 6954644 GetSystemTime: Code: 0. 12837730444578.1 And just for fun, QueryPerformanceCounter + QueryPerformanceFrequency: Code: 0. 7222.254 |