Question about Lobby

101 views
Skip to first unread message

Den Sw

unread,
Feb 26, 2016, 4:14:58 PM2/26/16
to lidgren-network-gen3
Hi.I started to deal with lidgren-network,but i don't understand how i can to add rooms into my game. I can't find any explanations about this. I need that user can create the room with some of conditions (level,  etc.)if room is not created before and the orher could connect if conditions are satisfied .If you have any links or any examples please share.Thanks in advance :)

Vaughan Hilts

unread,
Feb 26, 2016, 5:04:36 PM2/26/16
to lidgren-ne...@googlegroups.com

Lidgren is only a networking library. You'll need to implement this yourself.

On Feb 26, 2016 4:15 PM, "Den Sw" <denma...@gmail.com> wrote:
Hi.I started to deal with lidgren-network,but i don't understand how i can to add rooms into my game. I can't find any explanations about this. I need that user can create the room with some of conditions (level,  etc.)if room is not created before and the orher could connect if conditions are satisfied .If you have any links or any examples please share.Thanks in advance :)

--
You received this message because you are subscribed to the Google Groups "lidgren-network-gen3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lidgren-network-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Den Sw

unread,
Feb 26, 2016, 5:12:52 PM2/26/16
to lidgren-network-gen3
I know it, but i can't figure out how to add room,thats why i asked for a help

суббота, 27 февраля 2016 г., 2:04:36 UTC+4 пользователь Vaughan Hilts написал:

Lidgren is only a networking library. You'll need to implement this yourself.

On Feb 26, 2016 4:15 PM, "Den Sw" <denma...@gmail.com> wrote:
Hi.I started to deal with lidgren-network,but i don't understand how i can to add rooms into my game. I can't find any explanations about this. I need that user can create the room with some of conditions (level,  etc.)if room is not created before and the orher could connect if conditions are satisfied .If you have any links or any examples please share.Thanks in advance :)

--
You received this message because you are subscribed to the Google Groups "lidgren-network-gen3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lidgren-network-gen3+unsub...@googlegroups.com.

yun deokjun

unread,
Oct 29, 2024, 12:17:19 AM10/29/24
to lidgren-network-gen3
Quite simple.
Create room class contains values below,

1. ROOM_ID
2. Master NetConnectionId
3. NetConnection List
4. MaxPlayers

And then, create class list List<Room>.

Implement custom protocol like 'JOIN_ROOM_COMMAND@ROOMID_NETCONNECTIONID'.
Reply all
Reply to author
Forward
0 new messages