Questions tagged [client-server]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
25 views

How would you authenticate requests for player specific data in a server authoritative game?

I am creating a server authoritative game that uses a public game service API to manage player specific data in the game. The client will authenticate with the auth server, get a token, then use that ...
0 votes
0 answers
33 views

How to implement client-side prediction and reconcile this with what the server and other clients see?

I’m aware there’s a lot of issues regarding online play. One major being player synchronization such as their position and inputs. I know there are several techniques to help with this. First from ...
  • 103
0 votes
0 answers
24 views

TCP vs UDP for Initial World State [duplicate]

I'm currently designing a fast paced multiplayer game with up to 6 concurrent players. How should I send the client the initial world state from the server before the game starts? (such as the list of ...
0 votes
0 answers
36 views

In online multiplayer games, can we transfer a player between two local (or even distant) servers while game processes are running on both servers?

Brief intro 1: about me: I have this question in the back of my mind for a really long period of time, and I am currently very busy in establishing the offline aspects of the game(will take more than ...
  • 101
1 vote
2 answers
70 views

Interpolating server updates with client prediction: how to actually find time variable

I'm working on a 3D web game with client-side prediction, etc. I have implemented interpolation for my entities, but it seems a bit laggy sometimes even on localhost. First I will describe the ...
  • 11
0 votes
0 answers
37 views

How to ensure online AIR game is always up-to-date?

How can I make sure that the player is always using the most up-to-date version of an AIR app for an online game? I was thinking of two approaches: When the player launches the app, the first thing ...
0 votes
1 answer
168 views

How to set up server architecture using C++

I'm trying to make a Multi User Dungeon (MUD) game, and obviously a pre-requisite to that is a server. I've seen stuff like this: ...
0 votes
0 answers
31 views

How should client and server handle delayed attacks?

For the MMO RPG I'm making, there are some attacks that have a bit of FX prior to the actual attack occurring. To do this, here are the steps I have in place: Client tells server they are performing ...
  • 1
0 votes
1 answer
66 views

P2P + Authoritative server for Web based game, how to combine?

I'm working on an online Web RPG game (jRPG) with a map, that characters can go around. Also, an important part, is that each player has his own world and each player can invite his friends to play on ...
1 vote
1 answer
132 views

What makes the network coding for MUDs different from that of MMORPGs?

(I understand this is a bit broad, but I'm not a game developer, so I don't have a particular problem that I'm trying to solve.) I can understand why the network coding for MMORPGs is so complicated ...
0 votes
2 answers
270 views

Architecting server for real-time multiplayer game with Unity client

I'm thinking about developing a scalable real-time online multiplayer game. it would be an online 2D battle game. I'm an experienced software developer but this is my first experience in game ...
0 votes
1 answer
54 views

How do game clients handle actions that occurred in the past?

Imagine you’re playing an online game with consistent latency. Your local clock is synced closely with the server. Your character is moving along a straight line, you’re receiving information about ...
  • 123
0 votes
2 answers
126 views

How does a game client (offline) authenticate license from a license server (like Steam)?

So this question is pretty straightforward, but I honestly can't wrap my head around it. How does a client authenticate license from the license provider? For example, when you play a game which ...
3 votes
1 answer
56 views

Handling acks during 1+ second packet loss with Glenn Fiedler's Reliable UDP Solution

I've read through Glenn Fiedler's awesome guide on Reliability over UDP and I'm currently working on my own implementation for fun and learning purposes. One pretty cool piece of Glenn's guide is that ...
0 votes
1 answer
71 views

How to ensure a malicious community server cannot impersonate a user?

I am using a server model similar to Steam or Minecraft: There are community servers run by players and a hub authentication server that I control. The client player logs into the game and receives ...
2 votes
3 answers
428 views

GM files in online mobile games: what type of GM file should I keep a local copy and how does it synchronize with server?

In mobile game development there are types of data that are not user save-data but are necessary for the game, we call it GM files. In my specific case, the GM files include text data such as "...
  • 153
0 votes
0 answers
149 views

Game server question: Sharing data between server and client

I'm personally developing a massive multiplayer server for the FPS game genre. (Ex: such as battlefield series or call of duty series) In general, people usually use a server and client structure to ...
3 votes
1 answer
183 views

Multiplayer RPG allowing offline solo play using server signed replays - how can you cheat?

What exploits does my system allow for that I can't solve or did not account for? I'm researching on a design for multiplayer RPG that can safely allow players to have their character files and play ...
0 votes
1 answer
93 views

Can a 2 player mobile game support P2P if a dedicated server is used to establish the network? [duplicate]

The dedicated server would be a lobby where all the players connect and find matches. Once a match is found the server hooks to two players and sends them off on a p2p network. Once the match is over, ...
1 vote
1 answer
255 views

Is it necessary to use HTTPS for mobile game communication with server?

Based on information from my friends working at game studios, it seems most commercial mobile games are using HTTP instead of HTTPS for communication between the phone and the server, and I am ...
  • 153
0 votes
0 answers
141 views

In the ECS on my server, how should I organize components along with systems?

A quick note about my server is that it executes game logic in 250ms intervals. I am trying to wrap my head around how to do this. The main issue I have is currently that I have the map of entityIds ...
  • 103
1 vote
0 answers
108 views

How is the processing for FPS games with massive worlds (like Planetside 2) distributed between servers?

For such massively sized maps with an insane amount of players when it came out (or maybe it still has thousands of players in one general area at once still?), I'm almost certain the entire world is ...
  • 343
1 vote
4 answers
487 views

Are MMORPG servers and clients usually developed in isolation?

As with the title, are they usually developed together in a custom engine, or are they mostly developed independantly of each other? e.g. the server and client as completely different projects that ...
1 vote
1 answer
131 views

How do I guarantee that important one-time events in my UDP network protocol get received?

I'm creating an online arena game server (moba) that players can play together. 2v2 or 3v3. The game is similar to Battlerite. I chose client/server architecture with deterministic server that tells ...
  • 113
2 votes
2 answers
78 views

If a game automatically downloads addon content it doesn't already have when joining a server, how can I test this without a second computer?

What I want to do is host a local test server that has the file, and connect to it from a local client which doesn't have the file. The only issue is that both the server and the client will look for ...
  • 133
1 vote
3 answers
394 views

Authoritative vs REST (server)

I am filling out a Godot user survey, and I'm not sure how to answer this question: Do you use (or plan to use) networking in your games? * Yes, for real-time peer-to-peer multiplayer Yes, for ...
0 votes
2 answers
49 views

regarding about game servers performance and security

I have two options to implement should my game server access the database directly should game server access database via api would it be necessary to abstract the calls via api even though its ...
  • 1
3 votes
2 answers
176 views

Prevent multiple input packets to authoritative server

I'm working on a simple game with an authoritative server. The player can move in 4 directions on a 2D board. The game samples input at 30hz and sends it to the server. The server also runs at 30hz. ...
  • 31
1 vote
0 answers
86 views

Player speed varies due to interpolation

I'm building a multiplayer FPS in the vein of Quake. This is my setup: Clients send the server a "user command" on every simulation tick (which is fixed at 60 simulation steps per second) ...
2 votes
0 answers
138 views

Interpolation hitches caused by Quake-like client-server design

I'm building a very small multiplayer shooter game. I'm facing a problem related to interpolation. In order to explain the problem I have to give an overview of the client-server design of my game (it'...
0 votes
1 answer
810 views

How do ticks work on game servers?

So I'm currently learning more about game networking and how clients and servers work, and something that I have a hard time wrapping my head around is how game servers works in terms of ticks. Why do ...
  • 101
0 votes
1 answer
622 views

How to upload a certificate in Unity for an SSL connection

I am developing a videogame in Unity for mobile devices (Android / IOs) that connects to a server through a TCP connection by socket under TLS1.2. For this reason, my client needs to have the server's ...
  • 37
2 votes
0 answers
48 views

How to route players in the same "room/match" to the same server?

I have a system where clients are connected to one of many servers sitting behind a loadbalancer with WebSockets. No matter which backend server clients are connected to, I am using a messaging ...
6 votes
2 answers
412 views

Networking a fast-paced game (2D) - Forced Movement - Server / Client

I started a new project, a fast-paced online game (some sort of 2D MOBA). I encountered a problem with the part of netcode about client prediction & server reconciliation. Game Mechanics: 2D - ...
0 votes
0 answers
90 views

How can I display and sort a game server list by latency in a scalable manner?

If I have a game that allows players to self-host a multiplayer session which other players can join by browsing a game server browser to select a game I ideally want to be able to sort that list by ...
  • 101
0 votes
1 answer
434 views

Sever-side physics simulation and client 'inputs' send rate in a fast multiplayer game

I am building a very tiny first-person multiplayer game. I'm just aiming to get the basic rights: client-side prediction and reconciliation + entity interpolation. I have read many articles on these ...
0 votes
1 answer
35 views

What is the best approach to minimise the lag caused by ping when spawning predictable entities?

When the client clicks it spawns a unit on the client-side which moves in a predetermined path, it also emits an event to the server which indicates that the client has spawned a unit. Once received ...
0 votes
1 answer
217 views

How to deal with race conditions on a game server between network and physics update loops?

I am new to game networking. In various articles on the internet, I found that there are usually two loops on the server: one for physics updates and the other for sending snapshots to the client (...
2 votes
0 answers
39 views

Synch clocks between client and server in Java

We're developing a simple boggle game in Java for a college project (purely academic purposes, so we're trying to keep it simple). Our application is composed by a client portion and a server portion. ...
0 votes
0 answers
49 views

How to share battle execution code between client and server?

We're making an online turn-based game. There's some logic that is executed in both client and server side. Here's the pseudocode that shows how we share the code: ...
  • 109
0 votes
1 answer
120 views

Authoritative game server and database storage

In an authoritative game server working with websockets, should you store every action to the database before sending the response to the client? The risk is the slow response time. Or should the ...
  • 103
2 votes
1 answer
840 views

Architecture for scaling a large 2D MMORPG world vs player load

I want to make 2D MMORPG in a post-apocalyptic world. I would like to make the game world seamless and big, with big battles for the players. Something similar is in Eve Online (in 3D), but I do not ...
5 votes
1 answer
749 views

How does an FPS like Overwatch have client time run ahead of the server?

In watching the GDC talk about Overwatch netcode, it mentions that the client is always ahead of the server, that the "current tick" on the server is behind that of the client. From their ...
  • 574
0 votes
0 answers
219 views

Client/Server state synchronization for RTS

How can I perform state synchronization using client/server networking in an RTS similar to Starcraft 2 and Planetary Annihilation? I'm assuming the server has to do some sort of rewinding time to ...
  • 574
0 votes
0 answers
24 views

Can you run a websocket client in EU4 server mode?

Is it possible to build a websocket client (eg using blueprints) and then package this into an EU4 server (like suggested here). If so, would this mean that the EU4 server's websocket client could ...
0 votes
0 answers
120 views

Synchronizing clients

I have a server-client setup where each client has a number of screens attached, and the screens together form the display. As such, the visuals displayed by each client needs to be roughly in sync. ...
user avatar
0 votes
2 answers
240 views

Can I mod Among Us mobile so people don't get kicked because of network problems, and how? [closed]

I want to make a mod for Among Us which will allow people to stay in game despite short-lived connection problems (as opposed to being kicked after 1 second of network issues).
3 votes
1 answer
2k views

How to develop both a client and headless server together in Unity

I'm making a multiplayer 2d shooter platformer in unity. And after studying the different options to program an authoritarian server and with the great help that many of you have already provided me ...
  • 37
2 votes
1 answer
465 views

How do multiplayer servers handle receiving, handling, and sending packets?

I want to make a fighter jet simulator game. The server (authoritative) and client communicate over udp. The server sends out updates about the gamestate at a fixed rate. Think of plane positions, ...
  • 198
4 votes
2 answers
726 views

What is transmitted over the network during multiplayer first person shooter games?

In games like Half-Life 2, Team Fortress 2 etc, when you play against other players online, your local game communicates with a game server. If you've built one of these games, what sort of ...
  • 141

1
2 3 4 5
8