优化联网游戏体验(统计数据结算、远程玩家死亡结算时机)

This commit is contained in:
MrZ_26
2022-10-28 16:33:19 +08:00
parent 6b16fcd5f5
commit e291a070f3
4 changed files with 21 additions and 5 deletions

View File

@@ -411,6 +411,7 @@ function PLY.newRemotePlayer(id,mini,p)
P.sid=NET.uid_sid[p.uid] or p.uid
P.group=p.group
P.netAtk=0-- Sum of lines sent in stream, will be compared with P.stat.send for checking stream legal or not
P.loseTimer=false-- Will be set to 26 when receive player_finish signal
if not (P.group%1==0 and P.group>=1 and P.group<=6) then P.group=0 end
_loadRemoteEnv(P,p.config)