#Lobby system
1 messages · Page 1 of 1 (latest)
You have no way to send the host connection data to the clients here. Even if they send the lobby code in discord or something, how does that code help the client connect to the Host IP address?
that bit was created by my college on this project dont ask me how does that work xD
also any idea what is this?
Connection approval allows you to decide for every new client connection attempt whether to allow or deny the client to connect.
You guys should probably be using Unity Lobby with Relay
https://docs.unity.com/ugs/manual/lobby/manual/unity-lobby-service
I smell needing of spending money
wait so its free till I hit certain amount of people or?
@mild perch please answer
For Lobby its a bandwidth limit of 10GB per month. I've never heard of any game ever reaching that limit. For relay is 50 average Connected Users per month. which is 36000 player hours
will I have to remake everything probably xD
just the parts that aren't working
so basicly only Co-op? 😄
mind checking this for me?
connecting got approved but the connection sstill failed??
the second one is console from Host
so they see each other even tho my friends stupid ass lobby but they cant connect to each other
If you are using Unity 6 then check out the Sessions API it makes things super simple
How are they seeing each other? Or is this on the same PC?
different Pcs
just on local wifi
Where are you setting the client connection data?
as I said college did the lobby I havent touched that I was doing the gameplay
rn just fixing his mistakes havent read the whole code yet
https://paste.mod.gg/bsvifrohthdn/0
here is the updated with my changes
A tool for sharing your source code with the world!
Dunno. that code is not setting the client connection data either. No clue how the client knows the host's IP address
this is what hosts sees
this is what client sees xD
unless something is missing, they are just displaying the same lobby code but are not actually connected
wait let me try totally random joining code not at all same if client connects to that we know where he made bs XD
now me be confused
they can be connected on totally different lobby codes LOL
@mild perch I think we found our problem LOL
I mean why it works
@mild perch so Unity relay was it?
Yea. but use the Sessions I linked above. It combines Lobby and Relay into a single call
are they customizable or?
depends on what you want to customize
just how the menu looks?
oh, if you don't use the widgets, yea. That is completely up to you
is this it?
yep
is this the relay you were talking about?
its pretty outdated you sure it will work?
I just found whole new world :/
I am going to play with it for a while before ill go make the relay LOL
Relay is now built into Multiplayer Services packag
wut where how when how do I activate it
I am confused