作者laechan (小太保)
看板mud_sanc
标题[闲聊] 关於心跳秒数
时间Sat Jun 9 17:10:40 2012
/* HEARTBEAT_INTERVAL: define heartbeat interval in microseconds (us).
* 1,000,000 us = 1 second. The value of this macro specifies
* the frequency with which the heart_beat method will be called in
* those LPC objects which have called set_heart_beat(1).
*
* [NOTE: if ualarm() isn't available, alarm() is used instead. Since
* alarm() requires its argument in units of a second, we map 1 - 1,000,000 us
* to an actual interval of one (1) second and 1,000,001 - 2,000,000 maps to
* an actual interval of two (2) seconds, etc.]
*/
#define HEARTBEAT_INTERVAL 2000000
找了一整个下午终於找到设在哪。
嘛,基本上,因为圣殿的主机已经升级了,其实可以嚐试
看看将秒数调回原先的 1000000 甚至 500000。
那因为圣殿还有开 wiz 区,我想 wiz 区的秒数可以维持
在2000000,只调 4002 区这样。(能不能这样调我得研究
一下)
那总之,这个要请 nobu 帮忙,我是希望能实现 1 2 3秒
这三种基本的咏唱差异,最长就 3 秒这样,毕竟 4 秒实
在太长了。
Laechan
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 111.253.165.202