当前位置:网站首页>How can Huawei online match improve the success rate of player matching
How can Huawei online match improve the success rate of player matching
2022-07-05 21:39:00 【Huawei Developer Forum】
background
When we match players , It is inevitable that the number of online players of the game is small or the difference of player attributes is large, which does not meet the matching conditions and other reasons , As a result, players cannot match the right opponent . At this time, how can we increase the success rate of player matching ?
Solution
Method 1 : Optimize matching rules
When configuring matching rules for Huawei online battle service , Allow configuration of relaxation properties . What does that mean ? When online players cannot be matched within the attribute range of a matching rule , At this time, online players with large attribute differences can match , You can configure the attribute relaxation interval and attribute relaxation duration . When the matching duration exceeds the relaxed condition , That is, trigger the relaxation of attribute interval , That is, players can match in a larger attribute range , To increase the probability of successful matching . This way can better take into account the fairness of players and the playability of the game .
Method 2 : Robot filling
If the above method , The effect cannot be achieved , When players match, there is still a high probability that they cannot match online players , Consider opening the filling function . Opening method : When configuring matching rules , take “ Robot filling ” Options , Select on . After opening the service , When the player matches the overall timeout , Still can't match the real player , Then the system will calculate according to the player information , Return to the robot player who meets the player's ability range , Robot player information includes all player attribute information configured in the matching rules , Developers can construct robot capabilities according to attribute values . Function opening is very simple , What matters is how the game is used .
Above screenshot , After opening robot filling , Players can always match successfully , Developers need to return according to the successful matching room Instance to get the list of players in the room , Analyze players isRobot attribute , If the value is 1 Indicates that the player is a robot player , If the value is 0, Expressed as a real player . The developer determines whether to trigger the game's local robot logic according to the above attributes .
How to synchronize robot operations between different clients ?
Huawei online battle service provides pseudo-random number generator , Developers can generate random numbers at different ends according to this method . Reference documents :https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/gameobe-randomnumber-js-0000001250978031
边栏推荐
- How to send samples when applying for BS 476-7 display? Is it the same as the display??
- 办公遇到的问题--
- 2.2.3 output of documents
- oracle 控制文件的多路复用
- [case] Application of positioning - Taobao rotation map
- KingbaseES V8R3集群维护案例之---在线添加备库管理节点
- Sorting out the problems encountered in MySQL built by pycharm connecting virtual machines
- Objects in the list, sorted by a field
- Teach yourself to train pytorch model to Caffe (I)
- MATLAB | App Designer·我用MATLAB制作了一款LATEX公式实时编辑器
猜你喜欢
2022-07-03-cka- latest feedback from fans
R语言【数据管理】
Some common processing problems of structural equation model Amos software
Deployment of Jenkins under win7
基于vertx-web-sstore-redis的改造实现vertx http应用的分布式session
Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
[case] Application of element display and hiding -- element mask
Teach yourself to train pytorch model to Caffe (2)
PVC plastic sheets BS 476-6 determination of flame propagation properties
Haas506 2.0 development tutorial - Alibaba cloud OTA - PAC firmware upgrade (only supports versions above 2.2)
随机推荐
Deep merge object deep copy of vant source code parsing
资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
Simple interest mode - lazy type
PostGIS installation geographic information extension
MySQL 千万数据量深分页优化, 拒绝线上故障!
Why can't Chinese software companies produce products? Abandon the Internet after 00; Open source high-performance API gateway component of station B | weekly email exclusive to VIP members of Menon w
EBS Oracle 11g 克隆步骤(单节点)
深信服X计划-网络协议基础 DNS
XML modeling
2022-07-03-CKA-粉丝反馈最新情况
What are the requirements of UL 2043 test for drive housing in the United States?
Feng Tang's "spring breeze is not as good as you" digital collection, logged into xirang on July 8!
DBeaver同时执行多条insert into报错处理
Selenium gets the verification code image in DOM
uni-app 蓝牙通信
How to send samples when applying for BS 476-7 display? Is it the same as the display??
Explain various hot issues of Technology (SLB, redis, mysql, Kafka, Clickhouse) in detail from the architecture
Clion configures Visual Studio (MSVC) and JOM multi-core compilation
总结出现2xx、3xx、4xx、5xx状态码的原因
張麗俊:穿透不確定性要靠四個“不變”