大改联网的lock子模块,大改对战的玩家数据结构,重做联网对战准备界面

This commit is contained in:
MrZ626
2021-04-08 23:43:10 +08:00
parent 2bdbc4d792
commit ca267fd565
8 changed files with 104 additions and 100 deletions

View File

@@ -222,7 +222,7 @@ function Player:setConf(confStr)
end
end
else
LOG.print("Bad conf from "..self.userName.."#"..self.userID)
LOG.print("Bad conf from "..self.username.."#"..self.uid)
end
end
@@ -340,7 +340,7 @@ function Player:attack(R,send,time,line,fromStream)
if self.type=="human"then--Local player attack others
ins(GAME.rep,GAME.frame)
ins(GAME.rep,
R.subID+
R.sid+
send*0x100+
time*0x10000+
line*0x100000000+
@@ -350,7 +350,7 @@ function Player:attack(R,send,time,line,fromStream)
if fromStream and R.type=="human"then--Local player receiving lines
ins(GAME.rep,GAME.frame)
ins(GAME.rep,
self.subID+
self.sid+
send*0x100+
time*0x10000+
line*0x100000000+