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
0 votes
1 answer
49 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 ...
user avatar
  • 123
0 votes
0 answers
11 views

Unity Mirror's Rpc cannot have optional parameters?

I'm getting an error that a remote procedure call can't have optional parameters. I can work around that; but I can't find any documentation for it anywhere discussing a forbidding of optional ...
user avatar
0 votes
2 answers
63 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 ...
user avatar
2 votes
1 answer
50 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 ...
user avatar
0 votes
1 answer
66 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 ...
user avatar
2 votes
3 answers
381 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 "...
user avatar
  • 153
0 votes
0 answers
67 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 ...
user avatar
3 votes
1 answer
135 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 ...
user avatar
0 votes
1 answer
75 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, ...
user avatar
1 vote
1 answer
98 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 ...
user avatar
  • 153
0 votes
0 answers
70 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 ...
user avatar
  • 103
0 votes
0 answers
34 views

How to properly assigned PlayerState variable from Game Mode?

I am currently trying to assign Player Index to my PlayerStates and I have made it through GameMode like below from PostLogin. This is the relevant part: My problem right now is the server actually ...
user avatar
  • 139
1 vote
0 answers
61 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 ...
user avatar
  • 343
1 vote
4 answers
349 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 ...
user avatar
1 vote
1 answer
113 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 ...
user avatar
  • 113
2 votes
2 answers
75 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 ...
user avatar
  • 133
1 vote
3 answers
259 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 ...
user avatar
0 votes
0 answers
69 views

[MMORPG][Client -> Server -> Interest Area Clients] Movement broadcasting

I'm developing a third-person action-combat MMORPG. Custom server written in C++ 17 and the client is written/built in UE4. The interest area is implemented using a grid (cell cluster). Study case: ...
user avatar
0 votes
2 answers
44 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 ...
user avatar
  • 1
3 votes
2 answers
121 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. ...
user avatar
  • 31
1 vote
0 answers
68 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) ...
user avatar
2 votes
0 answers
97 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'...
user avatar
0 votes
1 answer
331 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 ...
user avatar
  • 101
0 votes
1 answer
277 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 ...
user avatar
2 votes
0 answers
33 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 ...
user avatar
6 votes
2 answers
306 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 - ...
user avatar
0 votes
0 answers
48 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 ...
user avatar
  • 101
0 votes
1 answer
227 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 ...
user avatar
0 votes
1 answer
24 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 ...
user avatar
0 votes
1 answer
141 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 (...
user avatar
2 votes
0 answers
34 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. ...
user avatar
0 votes
0 answers
47 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: ...
user avatar
  • 109
0 votes
1 answer
86 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 ...
user avatar
  • 103
1 vote
1 answer
570 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 ...
user avatar
5 votes
1 answer
563 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 ...
user avatar
  • 762
0 votes
0 answers
154 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 ...
user avatar
  • 762
0 votes
0 answers
22 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 ...
user avatar
1 vote
0 answers
87 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
234 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).
user avatar
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 ...
user avatar
2 votes
1 answer
305 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, ...
user avatar
  • 183
3 votes
2 answers
559 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 ...
user avatar
  • 131
1 vote
1 answer
420 views

Game networking , server send rate

I've been writing some server code recently and I ran into a bottleneck. If a server is capable of sending data at 60hz, with 1 client it would send data to that client at 60z, with 2 clients this ...
user avatar
  • 113
3 votes
1 answer
124 views

How can I standardize ping?

I hear pros playing Fortnite that have 20-50 ping complain that they cannot perform as well as pros with 0 ping due to wall taking, etc. It's easy to think that a 20ms ping difference is negligible ...
user avatar
  • 131
2 votes
1 answer
48 views

Question-Answer Game with coin rewards, how to validate answer?

I'm making a game that is basically a typical question-answer type. With coins as reward per answered question. Stacks and requirements: UI frameworks of iOS and Android, no game engine. REST API. ...
user avatar
  • 135
0 votes
0 answers
72 views

Fixed timestep, how to determine how far back other clients are simulated

I'm working on networking code for a social MMO (very low-intensity compared to an FPS) and have a question about fixed timestep. This answer does a good job of explaining the forward-dating part of ...
user avatar
0 votes
0 answers
163 views

Which is the best network solution for MMORPG?

we are developing a mmorpg with a small team. There are 2 structures we can create on the server side for managing clients and processing packages. I wonder what structure is better. I would be very ...
user avatar
  • 1
1 vote
0 answers
111 views

Client-side Prediction Divergence with Input Packets and Time Differences | Multiplayer FPS

I am running into a problem while implementing client-side prediction in my multiplayer FPS. I'm not entirely sure if I've completely and correctly understood the concepts. I have read the articles ...
user avatar
0 votes
0 answers
403 views

How can I build an authoritative server to handle players actions taking into consideration scalability of solution

I've started with Unity3D to develop a multiplayer game similar to world of tanks, it's using authoritative server and I was able to sync movements between several clients. I'm using c# and on the ...
user avatar
  • 101
0 votes
1 answer
2k views

Creating A UDP Game Server

I am currently creating a game in need of networking i.e. server and clients. I have basic experience with socket programming and am able to transfer data between two machines via UDP sockets using ...
user avatar
  • 162

1
2 3 4 5
8