本帖最后由 调兵虎符 于 2013-6-15 23:47 编辑
又发现个问题,游戏记录日志的时间慢8小时,但是DZ论坛的时间是正常的
我用了个临时的解决办法:
把source\plugin\nkflash\nkflash.inc.php中的- $db->query("INSERT INTO {$tablepre}nkflash_log (uid, game_id, game_title, fullmoney, score, start_time, dateline)
- VALUES ('$discuz_uid', '$gamelist[game_id]', '$gamelist[game_title]', '$fullmoney', '$fscore', '$storestart', '$timestamp')");
复制代码 修改为- // 20130615 zhaoyn update
- $storestart = $storestart+28800;
- $timestamp = $timestamp+28800;
- $db->query("INSERT INTO {$tablepre}nkflash_log (uid, game_id, game_title, fullmoney, score, start_time, dateline)
- VALUES ('$discuz_uid', '$gamelist[game_id]', '$gamelist[game_title]', '$fullmoney', '$fscore', '$storestart', '$timestamp')");
- // 20130615 zhaoyn update
- $storestart = $storestart-28800;
- $timestamp = $timestamp-28800;
复制代码 哈哈,貌似解决了,同时没有影响pre_nkflash表和pre_nkflash_player表的时间,还希望作者能给个科学的解决方法!!! |