The client-server model is a centralized computing model where one node (the server) performs some service for other nodes (the clients).

learn more… | top users | synonyms

1
vote
1answer
43 views

Server to client update rate

I am building a game that uses client-server architecture and have the following question regarding server to client updates. Currently the server is doing 60 ticks per second and is sending updates ...
1
vote
2answers
109 views

MMO Client / Server Architecture (NoSQL)

The main aim is to keep the games variables server-side for obvious security reasons. I believe having server-side code to check before updating the games database values will protect me from classic ...
0
votes
3answers
72 views

How should I store game data in a game server?

I'm new to game server development. I'm facing this issue: I want to develop a card game server, but I'm not sure about the solution to hold the game data while playing. Example: In a poker game, ...
0
votes
1answer
60 views

Multiplayer and creeps (NPC enemies): how to compute bullet hits given the lag?

We are making a multiplayer co-op game, where players will shoot not each other but AI enemies (creeps), controlled by the game. The chosen implementation is client-server with an authoritative ...
0
votes
0answers
46 views

Client-server architecture with box2d

I am running a client-server architecture with an authoritative server running box2d and the client running box2d as well. If gravity is set to 0, is there any point to linear interpolation and ...
1
vote
1answer
106 views

Why is there a huge update-delay in my client/server code?

I'm working on my Java game with Libgdx and having trouble with the network code. I can create a server, make multiple clients connect to it, but there is a huge delay between the player's input and ...
2
votes
1answer
48 views

How to sync gamestate between server and clients in turn based 4x game?

Background information: I am developing a game similar to other 4x games like Sots, MoO,... I am storing all information about the game(like star/planet/ship/fleet positions, owners and a lot of ...
0
votes
2answers
59 views

Can the different computation power in a multi-player game affect each player's performance?

In case an RTS game allows the clients to perform some calculations such as path-finding after the player clicks the map for a destination, and taking into account the game should be synchronised for ...
4
votes
3answers
198 views

How do I handle packet loss in a client-server network model?

In a client-server network model, the clients only send commands to the server (i.e. coordinates of a click, fire gun, etc.) and the server then runs those commands to produce a game state. But what ...
1
vote
1answer
56 views

Using peer to peer for prediction in a client-server network model

By implementing peer to peer connections between clients in a client-server network model I should be able to increase the prediction fidelity as this theoretically would provide the client with other ...
1
vote
1answer
68 views

Human vs human android chess game design [closed]

First of all I am total amateur in game development and sorry for my poor English. I want to make android human vs human chess game. So I am wondering how to design it? scenario 1: User connect to ...
0
votes
0answers
49 views

Client side latency when using prediction

I've implemented Client-Side prediction into my game, where when input is received by the client, it first sends it to the server and then acts upon it just as the server will, to reduce the ...
-4
votes
1answer
135 views

How to set up a client-server architecture for a browser based game [closed]

I'm really curious about how to set up a game so like Hayday or Clash Of Clans, especially with regards towards the server-client architecture. How does one set up such an artitecture? What are the ...
3
votes
1answer
151 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 ...
0
votes
1answer
122 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
56 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
66 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 ...
0
votes
2answers
123 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 ...
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
2answers
196 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 ...
2
votes
1answer
152 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
389 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 ...
4
votes
3answers
289 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 ...
2
votes
1answer
157 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. ...
0
votes
1answer
251 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, ...
-1
votes
3answers
199 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 ...
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
234 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
681 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
1answer
152 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
153 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
157 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 ...
5
votes
2answers
367 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
529 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
208 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
259 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
1answer
127 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
265 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
383 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 ...
2
votes
2answers
302 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
306 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
551 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
3k 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, ...
2
votes
1answer
237 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
232 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 ...
2
votes
2answers
216 views

Client-side physics simulation

I am trying to create a very simple client-server based physics game, using box2d library. A simple football game. Obviously, the server runs only the box2d world. My question is: is it correct to ...
0
votes
1answer
118 views

The game-server model to handle user actions

I'm starting to work on a mobile game that will have a server-side part (to handle user's interactions between them) and, of course, the client (game itself) part. It's not meant to be a browser game ...
5
votes
3answers
311 views

How to make sure user is running the newest version of mmo client?

In typical mmorpg game, you have a launcher and a client. You first run the launcher to update the client, then you run the client. In every mmo I tried if you run a client without updating first (if ...
2
votes
2answers
365 views

Lockstep Game Loop

I have an XNA game using a basic lockstep update loop. The client sends all commands to the server, and updates only if it has received the next turn's commands from the server. When does a turn end? ...