当前位置:网站首页>After Huawei online battle service players quickly match, different players receive different lists of players in the same room
After Huawei online battle service players quickly match, different players receive different lists of players in the same room
2022-06-23 04:23:00 【Huawei Developer Forum】
Problem description
Huawei online battle service provides players with fast matching , Different players receive different lists of players in the same room . For example 1V1 Game mode , Two players pass Client.matchPlayer After matching successfully , In callback room The player list in the instance is inconsistent , Received by the owner room In the example, there is only 1 Players , Not received by the homeowner room In the case of 2 Players .
Problem analysis
Communicate with Huawei technicians to analyze the reasons :
In the process of player matching , Once the match is successful , In the backstage, a certain player will create a room as the owner , Another player joins the room . When the owner creates a room, he has only one player , So back room The example is that it has its own . Another player got it room The example is two players .
Solution
Client.matchPlayer After callback , If new players join the room , All other players will receive Room.onJoin Callback , It is recommended to call the refresh room interface in this callback Room.update, To ensure that all players get the latest room information .
The address of Huawei's bill of lading :
https://developer.huawei.com/consumer/cn/support/feedback/#/add/89?level2=201650609502456486
边栏推荐
- 在 KubeSphere 上部署 Apache Pulsar
- Google Earth engine (GEE) - long time series monthly VCI data extraction, analysis and area calculation (Mexico as an example)
- [OWT] OWT client native P2P E2E test vs2017 build 2: test unit construction and operation
- 浅析2022年物联网现状
- Zhongang Mining: the demand for fluorite in the new energy and new material industry chain has increased greatly
- Code refactoring Guide
- 【二叉樹進階】AVLTree - 平衡二叉搜索樹
- How to solve the problem that the web page fails to log in after the easycvr service is started?
- P1363 phantom maze (DFS)
- 电商如何借助小程序发力
猜你喜欢

Getting started with tensorflow

8 key indicators to measure technology debt in 2022

How to process large volume xlsx/csv/txt files?

Redis启动有问题

1-1 introduction to VMWare

flutter系列之:flutter中的Wrap

Black horse PostgreSQL, why is it black in the end

Efficient remote office experience | community essay solicitation

炫酷鼠标跟随动画js插件5种

浅析2022年物联网现状
随机推荐
P1347 排序(topo)
【二叉树进阶】AVLTree - 平衡二叉搜索树
Talk about memory model and memory order
PTA:7-85 数据的间距问题(重载+函数模板)
APM 工具 SkyWalking 是什么
What is the APM tool skywalking
How the innovative use of adobe international certification 𞓜 3D changes the entire industry
TDesign update weekly report (the second week of January 2022)
AI video cloud vs narrowband HD, who is the favorite in the video Era
MySQL data recovery (.Ibdata1, bin log)
电商如何借助小程序发力
无线网络安全的12个优秀实践
浅析2022年物联网现状
元素的常用事件
QMainWindow
Halcon胶线检测—模板匹配、位姿变换、胶宽,胶连续性检测
粒子动画背景登录页面particles.js
在线文本过滤小于指定长度工具
[OWT] OWT client native P2P E2E test vs2017 construction 4: Construction and link of third-party databases p2pmfc exe
mysql,字段问题