Framework for server based multiplayer

Discussion in 'Public Game Developers Forum' started by LadyWhirlwind, Jul 20, 2010.

  1. LadyWhirlwind

    LadyWhirlwind New Member

    Jul 6, 2010
    4
    0
    0
    Hey!

    Does anybody know of a framework for building the serverpart of a multiplayer-game (to be run on *nix systems)? Something that handles user registration, networking and of course a custom database access?

    Or how do you handle this?

    preferably open source but that's not a requirement.

    Thanks.
     
  2. Bersaelor

    Bersaelor Member

    May 28, 2010
    18
    0
    0
    Hey,

    I wrote my own server in python, which wasn't as bad as I thought it might get because python already has some quite useful networking and message streaming interfaces. (the whole code for the server is less then 700 lines)

    If you are going for a stateful server with sockets this would be the appropriate interface.

    For the iPhone-Client-Side I posted most of my code in a post on my blog, but I recon you were more interested in the server-side.
     
  3. LadyWhirlwind

    LadyWhirlwind New Member

    Jul 6, 2010
    4
    0
    0
    I was more worring about the the server side, but any help is appreciated. I'll certainly have a look at your blog when the time comes.

    I was already speculating that i'll have to write something in phyton. A language i'm not familiar with.
     
  4. lazypeon

    lazypeon Well-Known Member
    Patreon Bronze

    #4 lazypeon, Jul 21, 2010
    Last edited: Jul 21, 2010
    OpenFeint I think supports turn-based multiplayer, by passing some sort of XML state between players. If your game is real-time, it won't work though.

    There's no reason you have to write a server in Python, though. You could write it in C++, Java, whatever you like. The only framework I know of (I haven't researched it) is SmartFoxServer. I think you have to pay for a license, but worth a look:

    http://www.smartfoxserver.com/
     
  5. Bersaelor

    Bersaelor Member

    May 28, 2010
    18
    0
    0
    Well I didn't know a lot of python before I wrote my server either, but python is just that easy and the frameworks are so easy to set up, that I saved a lot of time/work even though I had to learn python.
    I'm pretty sure even though I knew C++ and Java before, writing it in those languages would have required many more lines of code.
     
  6. kitrik

    kitrik New Member

    Oct 31, 2009
    4
    0
    0
    Software Engineer
    Minnesota
    #6 kitrik, Jul 29, 2010
    Last edited: Aug 4, 2010
    http://www.electrotank.com/es5.html

    We are finishing up our internal beta currently and will be doing an open beta very soon.

    Once it goes gold, you will be hard pressed to find something else that would meet your needs.

    Pricing is TBD but will be reasonable and competitive.

    Cross-platform examples will be included (server in Java, clients in AS3 and Unity that play against each other)!!!

    Joel
     
  7. kitrik

    kitrik New Member

    Oct 31, 2009
    4
    0
    0
    Software Engineer
    Minnesota
    Gold!

    http://www.electrotank.com/es5.html

    I know Game Center is awesomely easy to use for 4-player multiplayer, but anything more than that and I would suggest you peek at this...

    I know $1k seems like a lot, but in the software engineering world, that's less than the salary for a senior developer for just one week. Think about it and you might see that $1k is a ridiculous bargain for what you're getting... assuming you need it.... :)

    And yes, I work for Electrotank. But I'm also a believer in the platform and use it for my own personal games in addition to a ton of company games.
     
  8. bravetarget

    bravetarget Well-Known Member

    Sep 14, 2009
    330
    0
    0
    game center, game center, game center.

    that is all.
     

Share This Page