The Daily Click ::. Forums ::. Klik Coding Help ::. mooclick hosting/lobby
 

Post Reply  Post Oekaki 
 

Posted By Message

mikebt



Registered
  21/02/2004
Points
  12
16th May, 2004 at 17:47:38 -

i am working on a new online multiplayer game, and I've been able to figure out how to chat, move around, shoot, etc., but the one thing that has me stumped is how to host a game and a lobby to join, similar to the ones found in unreal tournament, or seek and dread. i'd prefer to use mooclick, but it's not a problem if i have to use moogame.

 
love never blows up and gets killed

http://mikebt.mi.funpic.org/forum/index.php

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
16th May, 2004 at 18:05:42 -

make the lobby a separate channel
When a person hosts a game, let them create a name, and use that as the channel name, and send the channel name to everyone so they can see it
When a person chooses to join the game, set the channel name to the same

Something like that should work

 
n/a

mikebt



Registered
  21/02/2004
Points
  12
16th May, 2004 at 18:44:23 -

hmm... i kind of understand how to make the lobby, but i have no idea how to have a user host the game. i'm guessing that the user sets the motd, the level, and all the other elements for the game itself, but i'm not sure how to create a new channel and send it down the lobby channel for the list object to identify

 
love never blows up and gets killed

http://mikebt.mi.funpic.org/forum/index.php

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
17th May, 2004 at 02:20:04 -

Well you're going to need a dedicated server for the lobby. You could use one of the free mooclick servers which would be fine. Then when you host you send the data to the lobby telling it to upload the information about your server (IP\Description\Max players) then when another player trys to join it, join by the IP that you send to the lobby in the first place.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
   

Post Reply



 



Advertisement

Worth A Click