Aloonytunes
Aloonytunes2w ago

Creating a server browser

How can I create a server browser that allows users to look through the created rooms?
19 Replies
kapa.ai
kapa.ai2w ago
Hi @Aloonytunes. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I apologize, but I don't have enough information in the provided knowledge sources to give a complete answer about creating a server browser for NormalVR rooms. The documents don't contain specific details about implementing a server browser functionality. However, I can provide some general insights based on the available information: 1. Normcore uses a matcher service to handle room connections Documentation > Architecture > Cloud Infrastructure (https://normcore.io/documentation/architecture/cloud). This matcher could potentially be queried for room information, but the exact API for doing so is not detailed in the given sources. 2. When connecting to a room, clients use a room name and app key Documentation > Room > Room > Connecting to a room server (https://normcore.io/documentation/room/room#connecting-to-a-room-server). A server browser would likely need to retrieve and display these room names. 3. For Normcore Private users, there's mention of a webhook context that can be passed to the matcher service Documentation > Room > Room > Connecting to a room server (https://normcore.io/documentation/room/room#connecting-to-a-room-server). This might be useful for custom server browser implementations, but more details would be needed. To get specific instructions on creating a server browser for NormalVR, you would likely need to consult additional documentation or reach out to NormalVR support for guidance on querying available rooms and displaying them to users. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2w ago
<@684938952695611433> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Mechabit
Mechabit2w ago
just use a ready made solution, no need to reinvent the wheel
Aloonytunes
AloonytunesOP2w ago
im having trouble finding an example of normcore being integrated with a third party solution
Mechabit
Mechabit2w ago
you just add the room name as meta data to the lobby
Mechabit
Mechabit2w ago
where it says example lobby data
Aloonytunes
AloonytunesOP2w ago
so I just add the room name to the data and when a player joins the lobby I can call connect(room name from data)?
Mechabit
Mechabit2w ago
yea
Aloonytunes
AloonytunesOP2w ago
Great thanks for the help! One more quick thing : since Normcore doesn’t support peer-to-peer (P2P) networking, would it make sense to use Normcore for dedicated servers in official matches, and then switch to a different networking solution that supports P2P for custom games to avoid using up room hours? Or would it be better to keep using Normcore's dedicated servers for both official and custom games, even if it means consuming room hours for custom games as well?
Mechabit
Mechabit2w ago
if you want to rewrite everything for 2 networking solutions
Aloonytunes
AloonytunesOP2w ago
if not it will just result in higher costs right?
Mechabit
Mechabit2w ago
I wouldn't worry about the cost most users don't breach the first tier
Aloonytunes
AloonytunesOP2w ago
if they do their game is probably making enough to pay for the pro tier?
Mechabit
Mechabit2w ago
I wouldn't launch on the free tier, it's capped at 1 hour sessions unless your game is minutes long
Aloonytunes
AloonytunesOP2w ago
I envision each game lasting no more than 30 minutes
Mechabit
Mechabit2w ago
then it's up to you
Aloonytunes
AloonytunesOP2w ago
im just wondering if you have ever used this: https://docs.unity.com/ugs/en-us/manual/friends/manual/welcome for a vr game?
Mechabit
Mechabit2w ago
I've not used it I'd stick to meta friends or steam friends maybe use this for linking accounts across platforms unity authentication already suppors account linking