|
发表于 2008-10-27 20:31:32
|
显示全部楼层
来自 中国–浙江–杭州–西湖区
这个并不是国人开发的
其实几年前的一篇关于 srcds 的 tickrate 维基文中就有提到:
http://whisper.ausgamers.com/wiki/index.php/Tickrate
Instructions:
... ...
3. To change the Windows Kernel Timer Resolution (pingboost a server) all you need to do is run Windows Media Player. It does not need a file open, it just has be running in the background, if you do not do this, your servers fps will be limited to around 64 frames a second.
You can also use a little app that somebody wrote, which you can find here: srcdsfpsboost.zip
... ...
***source code***
[color="Red"]#include <stdio.h>
#include <windows.h>
int main(void)
{
timeBeginPeriod(1);
printf("Press any key to restore normal timer frequency.\n");
getchar();
timeEndPeriod(1);
return 0;
}
原理跟 wmp 等等一样,提高系统内核时钟频率。 |
|