11000+款5星资源
8.5万+用户参与评分
10万+社区成员鼎力支持
每款资源都经过 Unity 审核
1/6
Direct Connection Matchmaking is designed to allow direct connection matchmaking through the use of UPnP, and a MySQL based matchmaking server.
Advantages:
• Establishes a direct connection if the host's router supports UPnP (The vast majority do).
• Direct connection bypasses Unity's relay servers, which saves you money and reduces latency.
• Only a MySQL server is needed to facilitate matchmaking, which is cheap / free compared to other server / database types.
• If the host's router doesn't support UPnP, the Unity relay service will be automatically used.
• MySQL database PHP code is secure and protected against SQL injection. MD5 hashing is used for transmitted data. Passwords for servers are never sent or stored in plain text.
• Documented API and instruction manual.
• Tested on Windows standalone and Android builds. It should work on other build platforms except WebGL.
How it works:
1. The host searches for a connected UPnP compatible device (router) when starting a match.
2. If found, a suitable port is determined and opened using UPnP.
3. The data needed for clients to join the match is sent to the MySQL server and listed.
4. Clients query the MySQL server for a suitable match and join through direct connection.
5. If a UPnP compatible device is not found, then a match will be created using Unity’s relay servers.
6. Both types of matches can be joined.
What is needed:
• A server running MySQL, and with PHP access.
Advantages:
• Establishes a direct connection if the host's router supports UPnP (The vast majority do).
• Direct connection bypasses Unity's relay servers, which saves you money and reduces latency.
• Only a MySQL server is needed to facilitate matchmaking, which is cheap / free compared to other server / database types.
• If the host's router doesn't support UPnP, the Unity relay service will be automatically used.
• MySQL database PHP code is secure and protected against SQL injection. MD5 hashing is used for transmitted data. Passwords for servers are never sent or stored in plain text.
• Documented API and instruction manual.
• Tested on Windows standalone and Android builds. It should work on other build platforms except WebGL.
How it works:
1. The host searches for a connected UPnP compatible device (router) when starting a match.
2. If found, a suitable port is determined and opened using UPnP.
3. The data needed for clients to join the match is sent to the MySQL server and listed.
4. Clients query the MySQL server for a suitable match and join through direct connection.
5. If a UPnP compatible device is not found, then a match will be created using Unity’s relay servers.
6. Both types of matches can be joined.
What is needed:
• A server running MySQL, and with PHP access.
Direct Connection Matchmaking
(暂无评分)
48 users have favourite this asset
(48)
$5
席位
1
更新的价格和增值税在结算时计算
退款政策
安全结账方式:

高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
语言
USD
EUR