#Lobby system

1 messages · Page 1 of 1 (latest)

mild perch
#

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?

rose girder
#

also any idea what is this?

mild perch
rose girder
mild perch
#

only if your game is a hit.

#

most indie games never make it that far

rose girder
#

@mild perch please answer

mild perch
rose girder
mild perch
rose girder
rose girder
#

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

mild perch
mild perch
rose girder
#

just on local wifi

mild perch
#

Where are you setting the client connection data?

rose girder
#

rn just fixing his mistakes havent read the whole code yet

rose girder
mild perch
#

Dunno. that code is not setting the client connection data either. No clue how the client knows the host's IP address

rose girder
#

this is what hosts sees

#

this is what client sees xD

mild perch
#

unless something is missing, they are just displaying the same lobby code but are not actually connected

rose girder
#

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?

mild perch
#

Yea. but use the Sessions I linked above. It combines Lobby and Relay into a single call

mild perch
#

depends on what you want to customize

rose girder
mild perch
#

oh, if you don't use the widgets, yea. That is completely up to you

mild perch
#

yep

rose girder
# mild perch 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

mild perch
#

Relay is now built into Multiplayer Services packag

rose girder