The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
138 views

Online RTS Game Architecture for Mobiles [closed]

We came up with an idea for a real-time strategy game for mobile devices that can play with other players over a network. I'm trying to plan out the architecture/protocol required for such as system. ...
1
vote
1answer
464 views

php multiplayer game - server&client model

I'm working on a simple round&web-based multiplayer game. The idea of the game is very simple: The players get an array of audio files which they listen to and write the transcripts for in 5 ...
0
votes
3answers
162 views

Handling packet impersonating in client-server model online game

I am designing a server-client model game library/engine. How do I, and should I even bother to handle frequent update packet possible impersonating? In my current design anyone could copy a packet ...
3
votes
1answer
130 views

game mod security question

So I'm in the process of building a game in C++ for the engine and Python for behavior and moddability. One of the planned major features is that when the game client connects to a game server with ...
13
votes
2answers
2k views

What to send to server in real time FPS game?

What is the right way to tell the position of our local player to the server? Some documents say that it is better to send the inputs whenever they are produced. And some documents say the client ...
0
votes
1answer
92 views

How to solve problems with movement in simple tile based multiplayer game?

I'm making a simple tile based 2D multiplayer game in JavaScript using socket.io where you can move one tile every 200 ms. The two solutions I've tried are as follows: The client sends "walk one ...
1
vote
2answers
53 views

Managing past/present game state

I'm not sure if "game state" is the correct term, as my searching shows me a lot of results that are not relevant to my question. When I say "game state", I'm talking about the internal state of the ...
1
vote
1answer
53 views

Packet Loss Affecting Client-Side Prediction

I have been reading about client-side prediction lately and I have been thinking of ways to implement it into my multiplayer game. I think I have a pretty good understanding of client-side prediction ...
14
votes
5answers
2k views

Networking for Real Time Strategy games

I'm developing a real time strategy game for a computer science course I'm taking. One of the harder aspects of it seems to be client-server networking and synchronization. I've read up on this topic ...
-1
votes
2answers
119 views

What are the security implications of this method of tracking countdowns?

Consider a multiplayer (client/server) game where you initiate the construction of some building. Let's assume construction will complete after 60 minutes. My plan for dealing with this information ...
3
votes
2answers
984 views

Synchronize turn based browser game

I'm writing a browser game in php and Sql. I'm also using Javascript - Ajax and Mysql. I'm stack on the battle system because I want to Synchronize the turns of the players in the battle. What I ...
0
votes
2answers
182 views

Is networking programming quite generic

I have only looked into the basics, at least I assume it gets more complex. So does network code really change from one game to the next or is it pretty much portable. For example I can create say a 2 ...
4
votes
3answers
268 views

Can game replays be used as cheat protection?

Say you're writing a complex turn based multiplayer strategy game in the browser (i.e. JavaScript). The game state is big and complicated (think line of sight calculations in a 3d world). There can be ...
8
votes
2answers
1k views

Java code for client-server game on Android

I have developed a game on Android. Now I want to play it on wifi or 3G. I have game packets which I want to send form client (mobile) to server then to another client (mobile). I don't know how to ...
2
votes
1answer
130 views

Is host advantage real?

I'm sure many of you have heard the term host advantage through out your time playing action video games. However, I was curious if this was a real studied and proven concept in game design, computer ...
-1
votes
1answer
186 views

Distributed Multiplayer Game Server Architecture [closed]

I'm programming a multiplayer game for mobile phones.I'm working on a distributed server architecture for handling lots of concurrent players. Here is my architecture on my mind: Some questions ...
0
votes
2answers
223 views

How do I implement pixel-exact collision server-side?

Recently I made a 2D offline game with HTML5 Canvas and JavaScript. I'm detecting collisions by first checking whether image bounding boxes overlap. If they do, I check against the bounding boxes, ...
9
votes
1answer
524 views

How do I sync client and server when sending player speed changes?

I'm implementing client-side prediction. Most explanations assume the client sends messages like "Move my player up by 1 position". What if I send messages like "Set my player's velocity to x"? On ...
4
votes
1answer
495 views

How do I avoid losing prediction responsiveness due to client interpolation?

In my online game, I am using client prediction and client interpolation to give the illusion of responsiveness over a networked connection. The client prediction applies inputs that haven't yet been ...
1
vote
0answers
91 views

What are the disadvantages of client-side prediction?

There's lots of talk of server-side prediction, but I haven't seen a client-side alternative implemented anywhere. My game uses mouse-based movement, so it's easy to predict the player's location ...
19
votes
3answers
3k views

How to predict movement correctly when a player is invisible?

I have a multiplayer game and I'm doing client-side prediction, but some players can drink a potion and become invisible... The problem is that when they become invisible I don't share anything that ...
2
votes
1answer
177 views

Does client side prediction sync with the server in the past?

I've spent some time now messing around and just trying to learn dead reckoning and client side prediction for the fun of it. Most of what I do doesn't need it, so i've never had a need to go down ...
0
votes
2answers
462 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 ...
1
vote
4answers
401 views

What would be best practice of client comunication in a multiplayer game

Assume that we have a multiplayer game and the users are moving their characters (might be a circle) on the game area. At every game loop some changes can be happened. Should clients send their ...
1
vote
1answer
101 views

Client-side prediction and interpolation

Although my game uses a peer-to-peer model, I've still taken the approach of assigning each player to be a partial authority. What I mean by this is that each player acts as the "server" for a number ...
3
votes
3answers
145 views

How does server code modify game state on the server while still accepting additional server game calls

Question first, then explanation second. How can a webservice backend to a game modify and alter the server game state while the game simultaneously accepts webservice calls from other users of the ...
4
votes
2answers
164 views

How do I synchronise real-time moves of players on a grid?

I'm working on a real-time game based on a grid. Each player can move a single square at a time. A server tracks the game state and notifies clients of changes. It's possible for two players to make ...
4
votes
2answers
150 views

How can I implement a game locator or proxy server?

I have a turn-based strategy game which already has a multiplayer server/client layer that works fine on local network (where one server is set up and players connect to it). I would like to extend ...
7
votes
3answers
3k views

Tips for communication between JS browser game and node.js server? [closed]

I am tinkering around with some simple Canvas based cave flyer game and I would like to make it multiplayer eventually. The plan is to use Node.js on the server side. The data sent over would ...
12
votes
3answers
13k views

Can I do server side programming with unity? [closed]

Another thought to my last question. If i were to do a client/server game with unity3d would i be able to do serverside programming with unity? if not can i use C# .net? if not then is there some sort ...
5
votes
1answer
268 views

Running multiple box2D world objects on a server

I'm creating a multiplayer game using LibGdx (with Box2d) and Kryonet. Since this is the first time I work on multiplayer games, I read a bit about server - client implementations, and it turns out ...
0
votes
1answer
479 views

Node.js Lockstep Multiplayer Architecture

Background I'm using the lockstep model for a multiplayer Node.js/Socket.IO game in a client-server architecture. User input (mouse or keypress) is parsed into commands like 'attack' and 'move' on ...
-1
votes
1answer
189 views

How to show other characters in online 2D rpg

I have Player 1 and Player 2 I am using Json to send and retrieve player data between the client and the server, but when another player logs in, and is in the same map, how would I send that data to ...
0
votes
2answers
241 views

How to make a TCP Client Server in java over multiple Networks

So I am trying to write server code for my game, and I am kinda running in a wall. I have seen oracles example for a server and client, but how do I allow it to connect to computers outside my ...
0
votes
0answers
69 views

game client data processing and organization pitfalls

This MUD client is a simpler version of Mudlet in Java. Before going too far with the code for the client, I'm interested in feedback on any design problems with the current organization and data ...
0
votes
1answer
124 views

how to set up a contract between a Client and Server in C#

I am trying to make a turn based game, so first should I use UDP or TCP for the client server set up and why? Second how do I implement it? I have seen a lot of code that just sends byte strings to ...
0
votes
2answers
238 views

What type of server should I use?

I am planning on making a game in c#. It will be a turn based, space exploration game. I want the turns of the different players to be able to happen at the same time though. I have been researching ...
1
vote
1answer
325 views

Client side prediction on FPS game

I've recently attempted to develop a simple client prediction for an FPS based on Gaffer on Games famous blog (http://gafferongames.com/game-physics/networked-physics/). Now I've gotten to the point ...
9
votes
3answers
3k views

Interpolating positions in a multiplayer game

In order to save bandwidth in my multiplayer game, I do not update every object every server tick, instead each object has an updateRate which tells the game that this object is expected to be updated ...
2
votes
2answers
271 views

Adobe Air turn based multiplayer Game, sockets vs http bandwidth

I am developing an Adobe Air multiplayer game for iPad. It is turn based and not realtime. It is like checkers game. I want to use a client server model. I have found 2 options to connect to server so ...
2
votes
2answers
290 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 ...
1
vote
0answers
496 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. ...
7
votes
2answers
1k views

Turn-based Client-Server Card Game - Unicast (TCP) or Multicast (UDP)

I am currently planning to make a card game project where the clients will communicate with the server in a turn-based and synchronous manner using messages sent over sockets. The problem I have is ...
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, ...
17
votes
6answers
941 views

What options do I have for game hosting

DISCLAIMER: I know this question starts to leave development island but it is very game development related and still think this is the best place. I see many free MMOs/online desktop client games ...
1
vote
4answers
203 views

Protecting the integrity of a game state while minimizing amount of data sent

I'm developing a multiplayer game in PHP/jQuery, and naturally have to be wary of any sort of data coming from the client. At present, I have tables of data representing the map (2D roguelike), ...
2
votes
1answer
223 views

How are UDP packets verified as authentic? [closed]

Hey I'm writing a game and have the backend written using a sometimes-reliable UDP scheme. I want to verify that inbound packets are actually originating from the player specified in the packets. My ...
-1
votes
2answers
200 views

Start timer in two clients the same time

I want to create a client/server turned-based game where each player will have 5 seconds in order to play. If extends this time will be other player's turn to play. In order to do this, I have created ...
3
votes
3answers
414 views

How can multiple clients be out of sync if they use the same RNG seed?

I have been working on a client-server architecture to enable LAN play for my open source game, Aigilas. In its current state, players stay synced in all running instances of the game but enemies and ...
11
votes
2answers
2k views

Is this the right architecture for our MMORPG mobile game?

These days I am trying to design architecture of a new MMORPG mobile game for my company. This game is similar to Mafia Wars, iMobsters, or RISK. Basic idea is to prepare an army to battle your ...