0
votes
2answers
251 views

GameServer UDP or TCP Java [closed]

This is a Java related question. I've got this question and I searched on the internet but didn't really get any clear answer. I want to develop a little multyplayer game which needs real time ...
6
votes
2answers
316 views

Scalability of multi-threading in game server

What is a reasonable number of threads for a simple 2D mmo in Java? Is it reasonable to have two threads per connection, one for the input stream and one for the output stream? The reason I ask is ...
1
vote
2answers
189 views

Should I use an arraylist to store client connections [closed]

I am running a server, and I have an arraylist of clients. When a client connects, I create a new object in the arraylist(all running on their own threads) When a client disconnects, the server ...
2
votes
2answers
265 views

Use client as server in client/server architecture

Let me clarify what i mean by that. Let's say i want to create a multiplayer game which uses physics (box2d). If I would let the server handle all the physics I would end up with a very overwhelmed ...
3
votes
1answer
278 views

How to implement server side physics?

I am working on 2-player 2d sidescroller. How should I implement the physics on the server? Use one world for every game or use a big world in which I add every 2 player that start a game? I have ...
1
vote
0answers
434 views

How to implement the server-side game loop?

The server needs to handle the physics, because all the movement will be handled by it. So for that I need a game loop. The thing is that the server doesn't have the render part, it's just a console. ...
6
votes
2answers
2k views

MMORPG server-side java architecture

I am currently making a MMORPG game, which is turn-based. The client is supposed to run on Android. Now, my friend is doing the graphics, and I have been doing the game classes (player, weaponry, ...
0
votes
2answers
553 views

Online MMO collision detection for players & walls

Let's assume the following: I have a server which stores the player's position (float x, float y, float z) Client sends the server it's updated position ever 250ms or so. Server has bounding boxes ...
-2
votes
3answers
4k views

Writing a server for a multiplayer game

I've been looking on the internet, but I can't really find any good answers to all my questions.. I started to think about writing a little multiplayer game on my own and after thinking and thinking ...
7
votes
2answers
3k views

Server side game loop

Many java games use thread.sleep() to controll fps. Since the server does not display graphics, should the server game loop keep running just calculating delta time? Like this example: long ...
3
votes
2answers
337 views

Syncing game states in a multiplayer RTS game

I'm working in a group with 2 friends on our Gr. 12 final project for programming. We're making a multiplayer RTS game. I've been assigned to the networking section of the game, and none of us have ...
-2
votes
3answers
329 views

Client Server what do i need?

Simple question if the Client is Android Game App That send data to the server for Storing/Recalling Data as well as calculating data? I hear sql is good for simple database stuff.what is good for ...
1
vote
1answer
614 views

MMO Proxy Server

I am building an MMO and someone told me I should never have my application interfacing directly with the net, and that I should have a local proxy. This makes sense, with security issues and scaling ...
5
votes
1answer
586 views

Help for choosing a cost effective game server for Flash client

I am developing a flash-based game primarily for desktops, to be hosted on facebook platform (like cityville, sims social etc). The gameplay doesn't involve real-time communication between players ...
3
votes
2answers
6k views

Real-time multiplayer game server development [closed]

I'm an Android developer, and I want to start developing a real-time multiplayer game, like Pocket Legends. Would this type of server be good for a real-time multiplayer action game - ...
11
votes
3answers
1k views

How do I efficiently code both the client and server at the same time?

I'm coding my game using a client-server model. When playing on singleplayer, the game starts a local server, and interacts with it just like a remote server (multiplayer). I have done this to avoid ...
8
votes
2answers
770 views

What is involved with writing a lobby server?

So I'm writing a Chess matchmaking system based on a Lobby view with gaming rooms, general chat etc. So far I have a working prototype but I have big doubts regarding some things I did with the ...
3
votes
2answers
2k views

What Java library provides a high-level communication interface suitable for use in an action-game server?

I need to write a server for an action game, which needs fast communication with the client. There will only be one server, and I'll split the world in zones. The client will be written in Java using ...
2
votes
3answers
907 views

Pub/Sub or message passing in multiplayer server backend?

For my masters thesis I'm going to develop a scalable multiplayer server for locationbased games. It's going to be a "service oriented architecture" e.g. one dedicated service for positions, one for ...
1
vote
4answers
987 views

Client server design question

I'm working on creating a multiplayer game, with the client in ActionScript and the server written in Java. I'm using XMLSocket in the client to connect to the server. The server code looks something ...
3
votes
1answer
504 views

Online architecture guide

I am a newbie in gamedev, and I don't know about programmer's problems that can appear during development. So can you advice me some best practice for starting build new online multi-player game ...
8
votes
6answers
2k views

Which server platform to choose

I'm going to write a server for an online multiplayer with these requirements: Pretty simple turn based game (think a card game) that is played entirely on the server (security reasons) Must be able ...
6
votes
4answers
722 views

Profiling server side game loop in java

I am looking for tips to profile the server side game loop of a Java program for CPU usage. I tried to use the TPTP plugin for Eclipse so far. The problem I am having is that it is really slow. For ...