jackemoney 发表于 2008-5-22 09:19:32

PS3排名系统问题请帮忙解答,读取日志错误

在读取服务器日志的时候出现下列错误请问怎么解决
Processing L0516011.log (62 lines ps / 6 KBps)
* Called from PS::Map::halflife::cstrike(50)->PS::Map(186)->PS::DB(628)->
PS::DB(295)->PS::DB(512) >>>
Error executing DB query:
UPDATE ps_c_map_data SET `ctkills`=`ctkills` + 4, `bombexploded`=`bombexploded`
+ 1, `games`=`games` + 1, `connections`=`connections` + 23, `terroristwon`=`terr
oristwon` + 9, `bombrunner`=`bombrunner` + 1, `onlinetime`=`onlinetime` + 2134,
`terroristkills`=`terroristkills` + 9, `terroristlost`=`terroristlost` + 2, `kil
ls`=`kills` + 13, `lasttime`=IF(`lasttime` > '1210903999', `lasttime`, '12109039
99'), `ctwon`=`ctwon` + 2, `ctlost`=`ctlost` + 9, `bombplanted`=`bombplanted` +
1, `rounds`=`rounds` + 30, lastdate='2008-05-16', `bombexplodedpct`=IFNULL(`bomb
exploded` / `bombplanted` * 100, 0.00), `bombplantedpct`=IFNULL(`bombplanted` /
`rounds` * 100, 0.00), `terroristwonpct`=IFNULL(`terroristwon` / (`terroristwon`
+ `ctwon`) * 100, 0.00), `rescuedhostagespct`=IFNULL(`rescuedhostages` / `touch
edhostages` * 100, 0.00), `ffkillspct`=IFNULL(`ffkills` / `kills` * 100, 0.00),
`bombrunnerpct`=IFNULL(`bombrunner` / `rounds` * 100, 0.00), `bombdefusedpct`=IF
NULL(`bombdefused` / `bombdefuseattempts` * 100, 0.00), `ctwonpct`=IFNULL(`ctwon
` / (`ctwon` + `terroristwon`) * 100, 0.00) WHERE `mapid`='2'
Out of range value adjusted for column 'onlinetime' at row 1
--end of error--
PsychoStats v3.0.4b exiting (elapsed: 00:00:10; logs: 0):confused: :confused:
:cry:

311890 发表于 2008-5-22 11:05:55

回复: PS3排名系统问题谢谢解答

在线时间数据出错,你把产生该错误的LOG文件删掉就行了!
另外,建议升级PS,你的3.0.4也太老了点!

jackemoney 发表于 2008-5-22 12:42:25

回复: PS3排名系统问题谢谢解答

谢谢!!!!:):):)
论坛应该有升级的帖子吧!!
升级能导入原先的玩家数据库吧???

SWBLF 发表于 2008-5-26 14:01:20

回复: PS3排名系统问题谢谢解答

2楼这方面是高手,嘿嘿

jackemoney 发表于 2008-5-27 11:44:30

回复: PS3排名系统问题谢谢解答

删除不行,后面的日志一样也出现同样的问题,
Processing L0523014.log (98 lines ps / 14 KBps)
* Called from PS::Map::halflife::cstrike(50)->PS::Map(186)->PS::DB(628)->
PS::DB(295)->PS::DB(512) >>>
Error executing DB query:
UPDATE ps_c_map_data SET `ctkills`=`ctkills` + 185, `bombexploded`=`bombexploded
` + 24, `games`=`games` + 1, `connections`=`connections` + 282, `terroristwon`=`
terroristwon` + 28, `bombrunner`=`bombrunner` + 11, `onlinetime`=`onlinetime` +
2997, `terroristkills`=`terroristkills` + 330, `terroristlost`=`terroristlost` +
2, `kills`=`kills` + 515, `lasttime`=IF(`lasttime` > '1211523824', `lasttime`,
'1211523824'), `ctwon`=`ctwon` + 2, `bombplanted`=`bombplanted` + 26, `ctlost`=`
ctlost` + 28, `rounds`=`rounds` + 32, `ffkills`=`ffkills` + 8, lastdate='2008-05
-23', `bombexplodedpct`=IFNULL(`bombexploded` / `bombplanted` * 100, 0.00), `bom
bplantedpct`=IFNULL(`bombplanted` / `rounds` * 100, 0.00), `terroristwonpct`=IFN
ULL(`terroristwon` / (`terroristwon` + `ctwon`) * 100, 0.00), `rescuedhostagespc
t`=IFNULL(`rescuedhostages` / `touchedhostages` * 100, 0.00), `ffkillspct`=IFNUL
L(`ffkills` / `kills` * 100, 0.00), `bombrunnerpct`=IFNULL(`bombrunner` / `round
s` * 100, 0.00), `bombdefusedpct`=IFNULL(`bombdefused` / `bombdefuseattempts` *
100, 0.00), `ctwonpct`=IFNULL(`ctwon` / (`ctwon` + `terroristwon`) * 100, 0.00)
WHERE `mapid`='2'
Out of range value adjusted for column 'onlinetime' at row 1
--end of error--
PsychoStats v3.0.4b exiting (elapsed: 00:02:52; logs: 0)

jackemoney 发表于 2008-5-27 11:46:33

回复: PS3排名系统问题请帮忙解答,读取日志错误

会不会是玩家的ID造成的??还是数据库的问题??

jackemoney 发表于 2008-5-28 08:58:55

回复: PS3排名系统问题请帮忙解答,读取日志错误

请求解答~~~!:cry: :cry: :cry: :cry: :cry:

311890 发表于 2008-5-28 12:34:10

回复: PS3排名系统问题请帮忙解答,读取日志错误

我以前遇到过一次的情况,这个应该是数据库读取数据的时候产生错误!
临时解决办法:删除出错的LOG,但在之前应该先停止服务器,不然以后产生的LOG也会出同样的问题!但后来发现过了几天以后又出现这个问题了!
彻底解决办法:重新初始化数据库,或者安装新版本的PS,不要使用升级的方式,这样更新会不完全!论坛上面有人已经发布过了最新的PS3.1,你可以试试!个人觉得还是不错的,修正了很多问题。

jackemoney 发表于 2008-5-28 13:32:09

回复: PS3排名系统问题请帮忙解答,读取日志错误

谢谢~~~~~~!我安装PS3.1试试

SWBLF 发表于 2008-5-28 13:56:31

回复: PS3排名系统问题请帮忙解答,读取日志错误

这个PS就是捉摸不定,但又没有更好的RANK系统,苦闷。
页: [1]
查看完整版本: PS3排名系统问题请帮忙解答,读取日志错误