This commit is contained in:
aozhiwei 2024-03-22 20:58:17 +08:00
parent 731401fc17
commit 33589caa1d
2 changed files with 5 additions and 5 deletions

View File

@ -379,11 +379,11 @@ func (this *team) genStartGameInfo() {
func (this *team) genNextCopyTeam() {
nextCopyIdx := this.copyIdx + 1
oldId := q5.ToString(this.zoneId) + "_" +
q5.ToString(this.nodeId) + "_" +
oldId := q5.ToString(this.nodeId) + "_" +
q5.ToString(this.zoneId) + "_" +
q5.ToString(this.copyIdx) + "_";
newId := q5.ToString(this.zoneId) + "_" +
q5.ToString(this.nodeId) + "_" +
newId := q5.ToString(this.nodeId) + "_" +
q5.ToString(this.zoneId) + "_" +
q5.ToString(nextCopyIdx) + "_";
this.nextTeamUuid = strings.Replace(this.GetTeamUuid(), oldId, newId, 1)
if this.nextTeamUuid == this.GetTeamUuid() {

View File

@ -49,7 +49,7 @@ func (this *teamMgr) genTeamUuid(zoneId int32, nodeId int32, copyIdx int32) stri
func (this *teamMgr) internalGenTeamUuid(zoneId int32, nodeId int32, copyIdx int32) string {
this.curIdx++
teamUuid := q5.ToString(zoneId) + "_" + q5.ToString(nodeId) + "_" + q5.ToString(copyIdx) + "_" +
teamUuid := q5.ToString(nodeId) + "_" + q5.ToString(zoneId) + "_" + q5.ToString(copyIdx) + "_" +
q5.Md5Str(q5.ToString(f5.GetApp().NewUuid()) + q5.ToString(f5.GetApp().GetPid()) +
q5.ToString(this.curIdx) +
mt.Table.MatchCluster.GetIp() + "520d8eAbB(8cf1^#$^&!@d833a42c820432PDAFE^^)")