Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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).

1
vote
1answer
15 views

Why is my client's body drifting even after using data from the server, and how do I fix it?

I am trying to use Box2d on nodejs server with libGDX client. What I am trying to apply is authoritative server model so clients are just sending input data to server, server is running simulation and ...
0
votes
1answer
27 views

Inputs in realtime multiplayer game

I'm using a structure, where client sends his inputs every 20ms in one packet and server parses his inputs every update(20ms aswell). I've got a problem, since player can send me more than one inputs ...
1
vote
2answers
51 views

Server Side Movement Box2D LibGDX

I am trying to implement server-side movement using box2d on libgdx client and planck-js(box2d for javascript) on nodejs server. I am running box2d world on both client and server. Before server i ...
0
votes
0answers
26 views

How client movement prediction syncs with server position to avoid a clip around collision?

I have searched a lot on stackexchange and on google, yet I have not found a satisfactory answer to this seemingly simple question. I am making an online multiplayer game where the players navigate ...
0
votes
0answers
49 views

Is creating a separate thread for each game session a bad idea?

I'm currently working on iocp game server. My game is just like diablo3 basically. 1~4 players join a separate session. I did basic iocp preparations and now I'm working on game session class. The ...
1
vote
1answer
39 views

How can I make a proxy server between a client and a server to analyise my packets

Otherhand how can i manipulate where the game client want to connect? I've built a python proxy server that can handle this proxy server, it is a basic thing that just: bind a server, wait till the ...
0
votes
0answers
15 views

Check if client is owner of object

I am creating simple multiplayer game. I am familiar and know everything about sending messages client > server and server < client but now i came upon one question. How to check if object (in my ...
1
vote
0answers
45 views

What certificate do I need for my client-server game?

I have a multiplayer game with a custom client app and an application server (no browser or website). I need the data that passes between them to be encrypted both for the login data obviously and ...
1
vote
1answer
32 views

Designing client-server to mitigate hosting advantage?

My game will be client-server, and I'd like to prevent the hosting player from enjoying the usual benefits you'd associate with playing on a server. For example, the advantage of the server running ...
1
vote
1answer
55 views

Server moving slower than client

I am implementing a pretty straightforward client/server multiplayer architecture with Socket.IO and am having an issue where my client framerate seems to be faster than the servers. I have both ...
1
vote
0answers
90 views

Is native performance of C++/C etc. relevant for game servers? [closed]

I am wondering if the performance of unmanaged languages like C++, Rust etc. is relevant when developing a game server or is it more about the network. For game clients, it makes sense and is probably ...
0
votes
2answers
73 views

Character appearance synchronization in open world multiplayer game

I am working on a multiplayer open world game where you can equip handhelds and armor pieces. In my architecture, there are clients and an authoritative server. Every equipable item is crafted by a ...
1
vote
1answer
50 views

How do I determine how far to move an object in the client when using client-prediction?

I have a game server which, for testing purposes, is updating once per second, or 1hz so I can correctly implement client-side prediction. Everything is running locally at the moment so there is no ...
0
votes
1answer
215 views

Why do games use tick rates in their networking and servers instead of an event system?

Why do most games limit themselves with a tick rate in their networking? Isn't it better to make something like an even system where for example client A does something then the client sends related ...
0
votes
1answer
85 views

In a game such as Star Wars Galaxies, Planetside, and Warcraft how would server-side collision/terrain navigation work?

I'm trying to learn some advanced topics in multiplayer networking for fun and education, specifically how server-side collision/terrain navigation works in MMOs and/or any online game. Personally, I ...
1
vote
1answer
68 views

Fixed timestep on the server without hogging CPU?

It sounds backwards, but it's the situation I'm currently trying to solve on my dedicated server. Everything I've read about fixed timestep assumed it was on a client, where you're already running in ...
0
votes
1answer
96 views

How can I deploy and unreal engine windows exe build to the cloud?

I don’t have a coding background, so I am struggling with this. Someone will have to dumb down a lot of the language for me. I’m trying to deploy my unreal engine game to a cloud computing service ...
0
votes
0answers
70 views

How do games have low tick rates without causing input lag?

For example, Minecraft. It updates the gamestate at a rate of only 20/second. And from what I've read, these multiplayer games do the same with their network communication, sending updates at that ...
0
votes
1answer
51 views

POST JSON method does not work when project has been exported to WEBGL and uploaded to firebase hosting

I have a database set up on firebase and when i run my game in the unity edtitor and as a standalone exported Windows .exe file, the call gets made correctly to the database and JSON data gets posted ...
3
votes
0answers
50 views

Is the C or the Android code a problem?

Starting to write a game, it'll have a C server, and at the very least an Android client. However I have run into an issue where I can't seem to get them to connect. I have thrown debug logging into ...
1
vote
0answers
34 views

Server-side and client-side code management alongside API

Working on a new multiplayer game with an API, I'm struggling with code management and separating the client-side and server-side code. For context, I'm writing everything in C# (Monogame or OpenTK). ...
0
votes
0answers
20 views

Client doesn’t execute command, code only works when executed from server

I’ve got some code that just doesn’t want to work correctly. When the Server executes the code, everything is fine, and the clients respond to it as well, but when the client executes the code, ...
1
vote
2answers
803 views

Multiplayer game, design of server <-> client communication

I'm thinking about programming a multiplayer game. For communication, I will use a Server <-> Client design like the following: Client <-> Server <-> Client The Game will be a kind of ...
0
votes
1answer
83 views

Multiplayer netcode where all units, including server, are untrusted - possible, feasible, etc.?

Most professional video games use either a peer-to-peer architecture or a client-server architecture. In the former, clients often trust each other, and instead employ anti-cheat techniques to ensure ...
0
votes
0answers
24 views

Unity Multiplayer game using HLAPI as much as possible. Basics for adding non-player registered prefabs

Hi all I am making a fairly simple multiplayer game in Unity. It's a football game. You can play with up to 11 each team and you control just one player. The system i used is the Client-Host method ...
3
votes
1answer
226 views

Is there a “Least Terrible Method” for sharing Entities over Network?

(Preface: Using C++, Box2D, and built UDP client and server classes that are reasonable efficient for a built-from-scratch game using client-server model.) This question is specifically in regards to ...
0
votes
1answer
66 views

CS 1.6 server's request cartography

Is there a way to request a CS 1.6, CS:Sourse or CS:GO servers to get the location coordinates of the recent deaths of players on the game map? PS I'm using C# for my project
0
votes
0answers
34 views

How are certain events supposed to be simulated on a Node.js authoritative dedicated server for a Unity game?

I have been thinking about server communication and simulation for Unity games and have run into some issue I don't entirely understand. Therefore I have some sample cases and like to know how that ...
0
votes
0answers
42 views

data is losing with sdl_net and tcp. please help me

im sending data from server.exe like this ...
0
votes
1answer
70 views

What is the general architecture of a server for a game like rust/minecraft? [closed]

If a game's client is written in Unity or UE4 or another engine, is the server usually written in the same engine? Or is it written in standalone c++? Does the server use a database like MySQL to ...
5
votes
1answer
147 views

How do games implement client/server frame rate?

Do games have a frame rate at X fps that updates logic and also renders? Or do games update logic at a much slower frame rate than rendering? Let's say 20-25 fps for logic, and 60+ fps for rendering....
0
votes
1answer
30 views

Message Passing b/w “LAN Server Only” and “LAN Client” on Different Scenes in Unity

I want to pass message back and forth on client and server which are on different scenes, how can I do that in Unity?** Following is my Scenario:- I have 5 scenes- BaseScene (2) OfflineScene (3) ...
0
votes
1answer
111 views

Server/Client Design for Clash of Clans Like Game

I'm working on the server/client design for a game similar to Clash of Clans. I've read through dozens of articles and have some general parameters of what I'd like to accomplish. Scalable (Probably ...
0
votes
0answers
15 views

creation of all the players on the server on all clients

I have a server and there are 4 clients connected. Every client has a local player, and every player has an ID. How can I create all the players that are in the server on every client? I was thinking ...
3
votes
1answer
113 views

Why is server frame rate slower than client's?

I have read in my lecture notes in a game dev class that in a server-client-architecture multiplayer game, it is common practice to have the server running at a lower frame rate than the client (20 ...
0
votes
0answers
166 views

card game backend framework

I'm doing research on how to create the server-side backend of my own web-based cardgame. I'm an experienced developer, just not in the game dev area. I'll figure out how to best communicate with ...
1
vote
1answer
114 views

In Unity, how do I set constant player numbers such that all network clients agree on them?

We are currently writing an online game in Unity. The essential idea is that it is structured like a split-screen, couch co-op game, with the online being offered as an extension to allow multiple ...
1
vote
3answers
181 views

What harm would be done if a user were able to play the client side of a multiplayer game without logging in?

I am currently developing a multiplayer game for a university project. The purpose of the assignment is to learn about the use of a cluster architecture, but I have a question concerning security. ...
1
vote
2answers
81 views

How can I handle sharing storage units in multiplayer?

I have recently come across a certain problem in programming my MMORPG: the synchronization of shared storage units. With shared storage unit I intend something like a "chest" that can be accessed ...
1
vote
0answers
183 views

Real-time MMO: how should authoritative server update client position

I'm trying to build a real-time MMO game. I'm using Phaser for FE and Node.js + socket.io for BE. I have read all the tutorials like http://www.gabrielgambetta.com/client-side-prediction-server-...
1
vote
1answer
189 views

How to interpolate server updates on the client for multiplayer?

I am implementing client-side prediction and an authoritative server multiplayer architecture. I am following along with the series of articles from http://www.gabrielgambetta.com/entity-interpolation....
0
votes
2answers
124 views

Latency issue on multiplayer game networking

I am currently writing a 2D top-down shooting multiplayer game using Java. I have a game loop at the client-side that does the following in order in each game tick (The client is running in a tick ...
1
vote
1answer
203 views

Handling large 2D MMORPG map

I have 1000*1000 (1,000,000 tiles) fixed size map composed of 3 layers (3,000,000 tiles) every tile has 4 values X,Y,Z and ID (12,000,000 values). When a client connects and requests map data, server ...
2
votes
2answers
83 views

Using seeds for rng. A reliable way of saving bandwidth?

Imagine a server-client game application. While running, the server is constantly generating numbers for various random events and sending them over the network to inform the clients of the result. ...
-2
votes
2answers
504 views

How to develop a PBBG?

I enjoy playing a lot of text-based PBBGs (Persisent Browsing Based Games). A good example of the style of game I'm referring to is lyrania. I would like to work on developing this style game but have ...
2
votes
0answers
73 views

Networking player input, UI, and ability use

I am currently working on a project to learn more about networking, specifically authoritative network architecture. In most authoritative systems you capture a player's input queue them up then send ...
2
votes
1answer
276 views

Should the server calculate the time of a player's input, or trust sent data?

I am curious about the details of lag compensation in games. I have read a lot of articles about it, for example: Source Engine Multiplayer Networking Fast-Paced Multiplayer - Gabriel Gambetta How do ...
0
votes
2answers
200 views

Multiplayer Game - Node.js syncing other players' position

I'm creating a multiplayer platformer game with 4 players in multiple rooms. I've read a lot of articles and researched about client prediction and lag compensations. I think I can somehow manage to ...
-2
votes
1answer
33 views

Entity update or Keyboard commands transferred to the Gaming server?

I am working on a research project . I need to know the network communication in games in large Multiplayer games (Battlefield,GTA 5). Is there some official documentation present for these games? ...
0
votes
1answer
302 views

Saving video to android device (unity)

How can I create a folder on Android device, download from ftp-server video and save it there?