当前位置:网站首页>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
边栏推荐
猜你喜欢

Google Earth engine (GEE) - long time series monthly VCI data extraction, analysis and area calculation (Mexico as an example)

在线文本过滤小于指定长度工具

Compilation, installation and global configuration section description of haproxy

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

浅析2022年物联网现状

基于HAProxy实现网页动静分离

深度学习 简介

城链科技董事长肖金伟:践行数据经济系国家战略,引领数字时代新消费发展!

Differences between MyISAM and InnoDB of MySQL storage engine

QMainWindow
随机推荐
理想汽车×OceanBase:当造车新势力遇上数据库新势力
虫子 日期类 下 太子语言
Talk about memory model and memory order
[Zeng shuge's laser slam notes] gmapping filter based slam
Halcon glue line detection - template matching, pose transformation, glue width, glue continuity detection
最新编程语言排行榜
What is the APM tool skywalking
Pytoch --- pytoch customizes the dataset
[tcapulusdb knowledge base] [list table] sample code of asynchronous scanning data
深度学习 TensorFlow入门
Mysql, field problem
Insert sort directly
Adobe international certification 𞓜 how IIT Madras brings efficiency and accessibility to scholars through Adobe e Acrobat
摆烂LuoGu刷题记
[pycharm] ide Eval resetter
Similar to RZ / SZ, trzsz supporting TMUX has released a new version
顺序表查找
[tcapulusdb knowledge base] [list table] example code for deleting the data at the specified location in the list
How to process large volume xlsx/csv/txt files?
背景彩带动画插件ribbon.js