- Home /
Network Lan Lobby
Hey There
Atm I'm creating a Lan lobby for a Lan game I'm making.
I would like all who wants to join a game on the Lan to have a list showing all current open games that they can join. But I'm not sure what the best way to do this is.
Picture yourself Warcraft 3 on Lan, you have a list of games if you don't want to join any of them you can create your own game. then this game would show up on the list for others to see on your Lan network.
Answer by whydoidoit · Sep 21, 2012 at 11:15 AM
Obviously you can buy components that provide game lobbies - if you are cooking it yourself you should use a MasterServer - this is the documentation. Makes it pretty easy to get a list of games and register new ones.
Thing is i don't have a server running, and as far as i know you need at least one computer on the network to play server if you want masterserver to work(correct me if I'm wrong).
Not sure that I get what you mean - a $$anonymous$$asterServer is a separate server that controls the lobby - you can use the Unity $$anonymous$$asterServer for testing (and some people use it for deployment - but it has been known to break down).
Yeah that was what i thought, and i could use that except for the fact that i shouldn't need to have "dedicated server" on the LAN
As in my example before Warcraft 3, C&C generals, stronghold all these games they have a Lobby screen when running on LAN network. If 3 ppl are both in that lobby screen 2 of them can create there own game and it will show up on the last persons list of games, where he then can join either game 1 or game 2.
You need some kind of discoverability then without using a remote server?
Hmmm, that could be tricky -I guess you need to use some kind of multi-cast UDP port protocol that everything tries to subscribe to and transmits their IP address to identify them as a potential client. $$anonymous$$uch easier with a remote off site ad$$anonymous$$istrator but if your LAN isn't connected to the Internet then I guess that wouldn't work.
Yep thats exactly what I'm looking for
I thought it would be faily easy as long as it was on LAN^^, but guess not if i have to implement some kind of UDP protocol
Your answer
Follow this Question
Related Questions
RPC and inheritance 1 Answer
Networkview sync variables two-way? 1 Answer
Network strategies for smartphone games 2 Answers
Network many devices 0 Answers
multi game network 0 Answers