★ TouchArcade needs your help. Click here to support us on Patreon.

Framework for server based multiplayer

07-20-2010, 04:28 AM
#1
Joined: Jul 2010
Posts: 4
Framework for server based multiplayer

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.

Dürst Traum Welten Software

http://software.traum-welten.com
07-20-2010, 10:21 AM
#2
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.

07-20-2010, 12:39 PM
#3
Joined: Jul 2010
Posts: 4
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.

Dürst Traum Welten Software

http://software.traum-welten.com
07-21-2010, 03:03 AM
#4
Joined: Feb 2009
Location: San Jose, CA
Posts: 546
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/

Last edited by lazypeon; 07-21-2010 at 03:05 AM.
07-21-2010, 03:40 AM
#5
Quote:
Originally Posted by lazypeon View Post
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/
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.
07-28-2010, 10:33 PM
#6
Joined: Oct 2009
Location: Minnesota
Posts: 4
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

Last edited by kitrik; 08-04-2010 at 10:25 AM.
10-08-2010, 12:38 PM
#7
Joined: Oct 2009
Location: Minnesota
Posts: 4
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.
10-08-2010, 05:11 PM
#8
Joined: Sep 2009
Posts: 330
game center, game center, game center.

that is all.

Water Your Body (ON SALE $0.99)
http://apps.google.com/#1iPhoneApp
Tic Tac Pro (FREE)
New and Noteworthy!