UNET Online Match Making?
I am developing a 2d multiplayer online game.there will be 8 players in every room. But ı cant find that how can ı create a online match making with UNET. there is already a local multiplayer system included in UNET.but ı want to make that players can connect each other from internet
ı used legacy unity networking.and in legacy networking we can create servers and register on master server without making any payment. peoples creates their own rooms on their machines and clients could be joined rooms.
ı dont want to use Photon Cloud because of price. Is there any option for free?
Answer by fredfishgames · Jul 28, 2016 at 09:35 PM
I'm afraid there is no free option, however unity matchmaking does come with a few spaces for free development. You could try making a server browser(like team fortress 2), or setting up a website(like Minecraft) that people can show their own hosted servers on. Also you could code your own matchmaking system that has integrates unet by having a central server which contains ips of user hosted servers.
Unity networking does work over the internet, you just need to port forward the port that is shown in the network manager (default 7777), and there are plenty of guides available on how to do that.
Hopefully some of that makes sense and helps you.
how can ı create a server browser on Unet? There is not a $$anonymous$$asterServer in UNET,or there is? ı think ı have to create a $$anonymous$$YSQL DB and PHP script for registering ip of hosts on Database and list from database again.But this means so much effort.
Is there any option for listing hosts in UNET?(Not only on same network,all peoples must see other players's servers ) ?
ı dont need a direct match making system.if ı can list servers...ı can create my own match making system.
I think the only way to do that is to program that yourself. You could make the hosts send the ip address to the master server that you'd set up already, and that could add it to the server list that it contains. However I have no idea how to do that and it will take a lot of time, effort and experience.
ı can create a $$anonymous$$YSQL DB and a PHP for inserting ip and other properties on database. and then ı can create a button in unity for listing servers.but ı have to delete in game and full servers.ı have to check rooms and player counts when every player joined.
this is realy stpid.realy my fiend.why the Unity wanted to change the older one to this system? ı think unity wants that all developer have to use their servers.they buyed photon servers too. this is very bad.
now there is 2 option for me.. 1-I will develop my game in unity 4 with older legacy multiplayer system. 2,ı will change my main game developing engine.