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
77 views

Hide network latency for ingame dialog

I have a tick-based Multiplayer-RTS game: Client sends action to server at Frame n which will be broadcasted to all clients and executed at Frame n+x (x depends on network latency of slowest player) ...
0
votes
0answers
26 views

Where can I learn about online/networking design in detail (like specific patterns in client-server architecture)? [closed]

I'm trying to find detailed networking 'patterns' that will help me implement multiplayer into my own FPS. I'm working in C# and Unity (surprise, surprise) and I can't seem to find a whole lot of ...
1
vote
1answer
55 views

how to use unity3d webgl content in a asp.net mvc view?

I asked this question in stackoverflow but no answers so I think it would fit here better. I have a unity webgl project and an asp.net mvc project. I need to show the webgl content in a view. The ...
1
vote
1answer
53 views

Resolving prediction error from client side prediction and server reconciliation

I am writing a network game based on Gabriel Gambetta's articles on client-side prediction/server reconciliation. I have client-side prediction down (using Box2D for prediction) as well as server ...
0
votes
3answers
64 views

Destructible objects for multi-player game in Unity

I am working on 3D multi-player shooter game in Unity using SmartFoxServer Since I need to implement some destructible objects in the game I tried to use these assets: Fracture https://www....
1
vote
2answers
68 views

Sending a players mouse movement to the server in an FPS

So I have a server-client model FPS set up. It uses udp to send data between the two with the server having a constant tick rate of 100 ticks per second (It updates movement 100 times a second) on the ...
0
votes
0answers
45 views

Network turn managment issue due to animations

Me and my buddy are working on turn-based multiplayer game, and we encountered a problem that we don't see a nice solution to solve it. So there are two clients and a server, server keeps track of ...
1
vote
0answers
32 views

UDP client code throwing a very nonspecific exception

so I'm writing a UDP server and client on a couple of the machines in my virtual reality environment to allow (in this case) data from the location in the environment to trigger some air nozzles. The ...
8
votes
2answers
282 views

Should I use secure WebSockets for a game?

Is SSL necessary for a web game? I'm using Node.js with socket.io. Without it, when using unsecured networks someone on the LAN could change commands being sent to the server and "take over" a player....
1
vote
0answers
34 views

Networked projectiles in an authoritative server

I'm working on a multiplayer game, and I've implemented a simple enough player prediction (according to this great article) - which works well enough. What isn't discussed there, and my question here;...
1
vote
0answers
32 views

Client-side Prediction and Reconciliation for movement

I've explored the concept of client-side prediction with reconciliation quite a bit and there's one thing that puzzles me a lot. From what I've seen in most guides, the flow looks a bit like this: ...
1
vote
0answers
61 views

Modern examples of Multiplayer Network Architecture [closed]

There's a lot of documentation on Multiplayer Network Models for games from the early 2000's (Quake3, Unreal, Counter-Strike, Source Engine) which go through concepts such as client-server ...
0
votes
0answers
49 views

Multiplayer game server sync

I am building a 2d multiplayer game with no physics and my own authoritative server. Already have all players getting synced each with other but their movement isn't so smooth yet. Here is the ...
2
votes
2answers
367 views

Any way to load/execute scripts (game-logic) included in a post-release DLC (Unity3D AssetBundles) on iOS since it seems its not allowed?

We are making a game where players will be granted access to new levels every week and these new levels will probably be downloaded from our server as Unity Asset Bundles The only issue is, as ...
0
votes
0answers
18 views

Unity 5 New Netorking, SyncVars, RPC how does it actually work

I have just started working on a client - server flow for an open world game, as far as I understand unity have implemented a fairly new ways to communicate and work with networking but I cant seem to ...
1
vote
3answers
124 views

How can I prevent P2P connections from leaking player IP addresses?

There's a common issue in multiplayer PC games like the older versions of Call of Duty where any connected player in a match can easily sniff the game packets and read the IP addresses of all the ...
11
votes
3answers
6k views

How to client/server game using Google App Engine (Looking for tutorial.)

(NOTE: This is a duplicate of a question I asked on SO, having temporarily forgotten about GameDev <hang head in shame>. When one is answered, I will link it back to the other.) I'm trying to ...
0
votes
1answer
49 views

Physics Object on Client moving too quickly in comparison to the Server: Should be a copy

I have a client server scenario. On the Server a force is applied to a 2d object. I want the client to copy the movements of the server but not through constant positional updates. My current approach ...
2
votes
2answers
115 views

Authoritative Server Movement and Collision

I am attempting to write a proof of concept in preparation to do my first networked game. I have decided to do an authoritative server with client side prediction. I am trying to implement my ...
5
votes
4answers
903 views

How to avoid duplication using client-server model

I am using a client-server model to write a multiplayer-capable game (in Java). Currently the clients and the server are using the same code to run the game logic, in order to enable client-side ...
1
vote
2answers
80 views

Password-less player identification

I'm working on the server side part of my game (develop your village/farm) and trying to build user identification system. I'd like to have a password-less mechanism: user downloads my app from the ...
0
votes
1answer
47 views

Game Server Mechanic [closed]

Hey guys :) Im currently developing a little rpg duengon crawler. I really want to implement a local and an online multiplayer function, i know how servers are working and how to make them using ...
1
vote
1answer
86 views

how should a server handle client actions?

So I've just started trying to make a multiplayer pong game and I have read a lot of different ways to code the connections. However, I read somewhere that you should have the inputs sent to the ...
2
votes
1answer
136 views

How should I implement a timer in a strategy game?

I'm developing a real strategy game for Android and want to implement timers. Those timers will represent the time remaining until some building is finished. Say that i have a building in ...
0
votes
0answers
53 views

How to run Kryonet server inside Libgdx project and is it ok?

I am trying to add multiplayer to my game and I used Kryonet. I have written the server, requests and etc and the only thing that is in front of me is how to run the server, it is in the libgx project ...
1
vote
1answer
83 views

Online AI competition

I would like to create a framework that would allow user to compete with his AI code against other player AI online. The problem is that I don't know how should server simulate the fight online. If ...
1
vote
1answer
150 views

Game server/client like wordfeud

My friends and I are creating a game for mobile platforms. We are now in the phase of creating the multiplayer part of the game. We know how to do it but we are not sure how the multiplayer should ...
0
votes
1answer
243 views

Implementing Client-Server Delta Compression (with Protobufs)

I am writing a 2D real-time RPG in C# and I am trying to implement client-server communication using protocol buffers. I am trying to figure out how to implement delta compression to reduce message ...
1
vote
1answer
234 views

Client/Server best way of telling client which player it is

I'm making a client/server, everything works grand its very simple, a simple login system, ID, empty variable and the X and Y positions of the player. Should my server tell my client who it is? and ...
4
votes
4answers
448 views

Should the bullet trajectory calculated by server or by client? [duplicate]

In a FPS game like Battlefield or Arma, when playing online, should the bullet trajectory be calculated by the server or by the client?
2
votes
3answers
95 views

Storing game data on user end?

A thought occurred to me after seeing this question: Storing data - think character data for an online game - on the user`s computer is definitely less safe (maybe an understatement) than on a server ...
3
votes
1answer
66 views

Network latency compensation problem for laggy players with collision

Say there are two clients connected to an authoritative game server, using input + state synchronization strategy. Client 1’s has a round-trip latency of 100ms and client 2 with 400ms latency. For now ...
1
vote
1answer
86 views

Should I consider a cloud-based networking solution?

In my spare time for the past few years, I have been working on both the front-end and back-end for a space-based online game. This game is initially designed for the PC, and is hopefully able to host ...
1
vote
1answer
93 views

What's the most efficient way to send a users keypresses to the server?

So I've been coding a little project in JS recently, using node.js and socket.io to create a server, and HTML5 canvas to draw the client side. The user receives info from the server every 20ms, and ...
2
votes
2answers
626 views

How to design a server for a multiplayer game? [closed]

I'm trying to write a multiplayer game where players join small matches with other players. What I also want is a way for players to login and go online. How would I design the a server that could ...
0
votes
1answer
90 views

Network Communication For Multi-Player Turn-Based Game

I'm attempting to develop a multi-platform turn-based game that [I suspect] follows the general client-server pattern. For this question, let's assume I only care about communications inside of a "...
1
vote
0answers
56 views

How do I allow clients to move a GameObject that exists on the server?

I started to delve into the UNet system for the first time the other day and I've run into a bit of an issue while testing on a localhost server. In the scene there is a Rigidbody ball that I want ...
0
votes
0answers
51 views

Turning a game into a server-client game

I'm redoing a game i wrote in XNA to Unity. The XNA game was the client to a server I wrote as a console application. How does Unity work with a server exactly, and how do you set that up?
3
votes
2answers
2k 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. ...
1
vote
1answer
168 views

Handling items at the Server-side

I'm coding a very simple game Rust/Dayz like with Unity, and I'm using Forge Networking as network library. A few days ago, I started to code the Loot system. The Loots in my game are Items that ...
1
vote
1answer
244 views

Is Google's Protocol Buffer viable for the serialisation of game data? [closed]

Simple yes it is suitable, no it is not suitable for communications between game clients and/or server clients. Also is it suitable for serialising and storing game data or is a more customisable, ...
0
votes
1answer
313 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 ...
2
votes
0answers
44 views

Does the latest version of Python have libraries for easy host/server connections? [closed]

We're working on a turn-based multiplayer Risk-type strategy game in Pygame, and I was wondering if there were any pre-existing libraries like PodSixNet that worked for Python versions 3 and up that ...
0
votes
1answer
31 views

iOS game center game is out of sync

I've been building a game center game for iOS and it works great so far. I finally started testing the game and theres (obviously) some latency, which is causing the game to be out of sync. ...
2
votes
1answer
265 views

2015 android multiplayer server based Implementation

There are a lot of old posts about multiplayer implementations on SE, so i'm looking for an up-to-date answer. What is the best server-client implementation of real-time multiplayer now? I have an ...
0
votes
0answers
107 views

I need a script to control NAO robot with Unity3D by wifi network connection

I need a script to control NAO robot with Unity3D by wifi network connection. Unity will be server and NAO will be client. Can anybody help? I have a code for NAO, but I dont know how to write Unity ...
2
votes
1answer
99 views

Looking for good comunication schema in turn-based game with multiple players

based coop game that will need to communicate to the server to handle the game process. Basically I need to be able to invite to the game, progress through turns (one player at a time) and finish in ...
0
votes
1answer
71 views

Is it bad practice to for the server to request data for a client from another client?

I'm making a collaborative whiteboard app so that when someone is drawing and uses a rectangle for example, a rectangle packet is sent to the server with parameters like x, y, width, height, color and ...
1
vote
0answers
182 views

Best practices for client-server communication in an online Android game

I'm developing an online RPG game for my "Object-Oriented Programming" module laboratory project. The client part must be written in C#, also using Unity 3D as a graphics engine. The problem is that ...
1
vote
2answers
169 views

Syncing items between server and client

I'm doing this game of mine, and I want to add the items to it. I'm already familiar with the basic concept of syncing data between server and client, Usually using sync state, that's what i've done ...