The Daily Click ::. Forums ::. General Chat ::. Masterserver, what du you like best?
 

Post Reply  Post Oekaki 
 

Posted By Message

Duke Highway



Registered
  11/03/2010
Points
  21
27th August, 2010 at 23:15:29 -

Hi,

I work on a Multiplayer-Shooter and built a Masterserver-System for it.

At the moment you have to start a little app to login to a public server like klikfarm. Then you start the game and can join servers or start your own one in the loginframe of the game. pro: you start the app, start the game and can do everything, con: you HAVE to start an extra app before

Another possible coding would be starting an app for starting a server but no apps for client. Means, as client, you can see all servers and join all servers from the maingame. pro: no extra app for clients, con: you cant access all features (making own server) from the game and have to start the server with an app

What do you like more?

 
n/a

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
28th August, 2010 at 00:41:04 -

im confused as to why it is that you have to start an extra app in the first place. Explain your coding a little more in-depth please? i can't think of any reason you should need an extra app for logging on.

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364

Duke Highway



Registered
  11/03/2010
Points
  21
28th August, 2010 at 07:45:23 -

I started to code the game with MooClick because it was the only useful extension with the possibility to make an own server. Meanwhile Lacewing can make one too, but it would be a lot of work to change everything...

For the masterserver app I followed mainly the example on Puchisoft.com. When you login as client, your mooclick name is "Client", when you start a server you change your name to your IP ("123.123.123.123"). The maingame communicates with the app so you can join or start server and the app changes your name at the masterserver, so others logged in have a list of clients and IPs (servers).

I cant put it in the maingame because when you start a server you cant have a server started and be logged in to another (master-)server. At least I dont know how to code it...

Edited by Duke Highway

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
28th August, 2010 at 13:18:32 -

Wow, that was confusing.

Why do you need a dedicated server? Couldn't you just give each "server" its own channel?

 

  		
  		

Duke Highway



Registered
  11/03/2010
Points
  21
28th August, 2010 at 17:34:24 -

Now I'm confused

But I think you mean, that I use different channels on the public server, don't you? I didnt try it yet, but I think it would be really slow and trhe number of "servers" would be limited. When everyone can start an own one, it is... now.. unlimited

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
29th August, 2010 at 09:09:29 -

if you are using lacewing, that isnt necessarily true. if your user load isnt that massive, you can use one server, with channels, and it wont get too slow. assuming your server is running on a good computer and has a good internet connection, it can run thousands of players, on numerous channels.

but still. even if the former is not the case, i dont understand why you would have to run a seperate app? i beleive you can just have multiple mooclick objects in the frame, if you need to maintain multiple connections (connected to a server, and running as a server)

 
n/a

Duke Highway



Registered
  11/03/2010
Points
  21
29th August, 2010 at 10:38:12 -

*facepalm*

I tried everything to make it run, but I didnt try two MooClick objects...
I'm such a genius

Thanks for the advice, I will try it immediately!

 
n/a

Duke Highway



Registered
  11/03/2010
Points
  21
29th August, 2010 at 19:41:14 -

Dont get it to work with two MooClick objects... Maybe I have to update to Lacewing

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
29th August, 2010 at 20:01:25 -

Probably a good idea anyway, since Moo's on the way out!

Actually, Klikfarm was supposed to get rid of Moo a while back, I thought. Guess they decided to keep it.

 

  		
  		

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
29th August, 2010 at 23:40:51 -

you might want to contact kingson over at http://seekanddread.de/

it USED to use moo and it had a lobby with server listings with stats etc, and you could then host your own game within the game, and your hosted game would show up in the lobby server listing.

 
n/a

Duke Highway



Registered
  11/03/2010
Points
  21
30th August, 2010 at 18:33:37 -

Why not, but I think he uses php scripts or something like that. He has a serverlist on the homepage. And unfortunately I have no idea how to script that...

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
30th August, 2010 at 18:36:05 -

im not talking about the current version. the current version uses lacewing. older versions used the moo objects, and the site didnt have a server listing, but he still had a server listing INGAME. i know theres a way to do it. im positive.

 
n/a

Duke Highway



Registered
  11/03/2010
Points
  21
31st August, 2010 at 10:12:11 -

Okay, then thank you very much, I will ask him and hope!

 
n/a
   

Post Reply



 



Advertisement

Worth A Click