Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [server]

The parent computer responsible for handling interactions with multiple client connections, as generally encountered with online games.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Handling big maps server side

How do games handle arrays/objects of billions of lines to load every gameobject/players positions of big maps for example (server side, for authoritative servers)? I understand it could be split ...
user avatar
  • 101
0 votes
0 answers
46 views

UDP authentication

How to check if the sender of a udp packet is authenticated? I think sending an authorization token in each packet is slow. So my second implementation is this: the network part will consist of one ...
user avatar
0 votes
0 answers
49 views

How to make an update loop in a Node.js game server

I'm making a multiplayer game with a Node.js server, and I'm searching for how to write the game loop. I'm currently using a setinterval every 15ms, but someone ...
user avatar
0 votes
1 answer
297 views

Unity Photon Pun get player count of room by room name

I'm trying to make a multiplayer game where there are multiple levels. All these levels will have different rooms, each with a max player count of 4. Basically, player selects a level check if there ...
user avatar
  • 137
0 votes
0 answers
28 views

Best way to monitor server performance in real time

I have multiplayer server written in C that handles various tasks like user sessions, game states and database. The server communicates with clients via TCP sockets. There are multiple threads each ...
user avatar
0 votes
1 answer
115 views

Asset Bundle download from server: how does one prevent scripted attack?

I am relatively new to how asset bundle works in Unity. Based on my learning, it seems one uses UnityWebRequest.GetAssetBundle to download an asset from a specified ...
user avatar
  • 153
0 votes
1 answer
252 views

How many database servers does an online game need to handle around 100000 users per day?

I don't need an exact number but I want to know roughly how many MySQL servers do I need to rent if I were to develop an online RPG game that has roughly 100000 users per day (assuming on average 1 ...
user avatar
  • 153
0 votes
0 answers
53 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
1 vote
4 answers
329 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
112 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
0 votes
0 answers
35 views

How to implement Clash of clan Troop Donation system type feature

https://youtu.be/48kO2BEwZp4 the troop donation request can be made by a player to his friends by using the chat room , and the friend player can donate the troops via chat room ,please watch video ...
user avatar
0 votes
1 answer
276 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
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
0 votes
1 answer
125 views

Should a server run all maps in one loop, or a thread/game loop per map?

I'm working on a real time multiplayer browser-based game. The game is top down on variable size tile based maps. There is no central map where all players come together, the entire game plays out in ...
user avatar
0 votes
0 answers
27 views

Servers do not remove spawned prefab after disconnection

I built a multiplayer game with the Unity UNET. For doing this I bought a VPS server. Everything works fine. But sometimes when players want to quit the game, the servers do not destroy him from the ...
user avatar
  • 175
1 vote
1 answer
130 views

Networking to make a single player RPG into multiplayer

I’ve written a few games in Xcode before and would like to turn one into the simplest possible 2D top-down RPG multiplayer game. Essentially just needing movements around a big tiled map (I love ...
user avatar
  • 11
0 votes
0 answers
63 views

Do developers watch player match recordings for their online games?

When developers plan and decide on new buffs and nerfs, do they gather information from online game matches, recorded secretly from their servers' data feeds and reconstructed / analyzed offline - for ...
user avatar
  • 141
0 votes
1 answer
124 views

Running multiple game servers on single host

I want to use a vps/dedicated server for game hosting. I expect hosting a lot of servers on that. For the connection, should I assign a unique port for every server or change IPs for every server. And ...
user avatar
0 votes
0 answers
51 views

Advices on multiplayer implementation

I am developing a top down shooter and my singleplayer is pratically finished so now I want to move on to develop multiplayer but I have some questions and I am seeking for some advices. In my game a ...
user avatar
0 votes
1 answer
82 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
0 votes
0 answers
21 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
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
1 vote
0 answers
113 views

Code reuse for a CRPG data model on the server-side

I'm working on a turn-based game with CRPG (Computer RPG) elements in HTML5. It has to support 10K+ CCUs (Concurrently Connected Users). The CRPG elements in the game are item and character systems: ...
user avatar
2 votes
0 answers
2k views

How do I set up a dedicated server for my multiplayer Unity game?

I've made a multiplayer game with Unity and Mirror networking, and it all works perfectly when just running it on my own computer. However, I am trying to host on a dedicated server so that I can put ...
user avatar
  • 448
0 votes
1 answer
28 views

Using proxy servers to tunnel data between clients and world servers

Background I've read up a little on the concept of splitting the world into regions which in turn can each be run on a node within a cluster. However my game concept revolves less around zones but ...
user avatar
  • 103
0 votes
0 answers
95 views

Game Rooms Server Architecture - ENet CSharp

My team and I are working on an upcoming online fighting game using ENet-CSharp (A C# ENet implementation created by nxrighthere), and we're currently designing the architecture of the server. We ...
user avatar
1 vote
0 answers
213 views

How can I stress-test my sever for the game Rust?

I am looking to stress test my server for the game Rust and monitor CPU, RAM and FPS. I could not find much around. I general I think I will need a good amount of compute power, bunch of cloud based ...
user avatar
  • 111
1 vote
2 answers
276 views

Is good idea to use single threaded server for games? Also can it handle multiple clients?

I was developing an game. I using single threaded nodejs(socket.io) server. It is good for simple games or games like basic 3d world? Usually game will have 10-20 players(clients). Also is single ...
user avatar
0 votes
0 answers
157 views

How to remotely host my c++ game server on Ubuntu?

I made a server for a 3D multiplayer game I'm working on. The game is currently functional to a point where I know multiplayer gameplay is possible locally on Windows. IDE: Visual Studio 2019 Target ...
user avatar
0 votes
2 answers
119 views

Turn based game in HTML/JS/CSS - new joiner messes with state of game while animations are still running for other players

I developed a playing cards web app using HTML/JS/CSS. Communication with the server is performed using WebSocket. The server is developed in Java Spring. The game proposes to join one of the many ...
user avatar
0 votes
0 answers
147 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
0 votes
1 answer
572 views

How to build TileMaps dynamically from a database?

The game I'm building allows users to create their own tile maps essentially, so I want the server to respond with tilemap coordinates if / when a user enters their custom world.
user avatar
2 votes
1 answer
2k views

Multithreaded design for a game server

I would like to start developing my own game. Basically, the game has a "world" that players can travel around and modify. Think of it as a much more realistic version of Minecraft or an open world ...
user avatar
0 votes
0 answers
40 views

My server simulation is getting locked up between receiving movement input from players and updating projectile position

I'm currently developing a 2D game in the browser with Nodejs and Canvas. Im simulating the world state in the server side with a timestep of 60 frames per second. Im only sending a snapshot of the ...
user avatar
  • 1
0 votes
0 answers
39 views

minecraft like game server database arhitecture

Let's say we have a 2d map 500*500 tiles in size. And each tile is editable by players and has many states. So it's 250k tiles. The game is multiplayer online game. What would be the best approach ...
user avatar
  • 236
0 votes
1 answer
472 views

Multiplayer Game Server Input vs Tick

I'm building a game server for a turn-based RPG game, where the players control their characters through a web interface ( think kind of like a Jackbox Party Pack game, where there's a screen that ...
user avatar
0 votes
1 answer
184 views

Server-side "Fog of War"

I am working on my custom server for my online game and I was wondering if there is any way to accomplish this in a more performant way. Basically I will be spawning and despawning objects (such as ...
user avatar
  • 3
0 votes
1 answer
241 views

How do Mobile Idle-Games work [duplicate]

I wonder how idle games, games where players only make a few clicks to get a game progress, work. These games appear to be running in the background, even when the app is closed. Therefore these games ...
user avatar
0 votes
1 answer
67 views

Rest API as Remote Data Storage

I'm currently working on a minor multiplayer project which is made like a hacking simulator where your character can login to a "console"-like interface to permanently manipulate the system with ...
user avatar
0 votes
0 answers
439 views

How can I make simple launcher for FiveM server?

I would like to know how to create simple launcher for FiveM server. I don't need help about UI, design, etc. only script when someone clicks 'Play' it connects him to server. Thank you very much!
user avatar
8 votes
4 answers
5k views

Mechanics to keep mobs and environment alive without using tons of memory?

I'm working on a server for a little mobile MMORPG. This consists mainly of two important features: mobs and environment resources like trees, rocks etc. The world is randomly generated and each time ...
user avatar
  • 483
0 votes
1 answer
80 views

How does the deployment of server look like

I´m kinda new to these networking stuff, but basically managed to finish server to handle client requests(wan´t it to handle connections to game and help the clients update the game and stuff). I got ...
user avatar
  • 529
2 votes
1 answer
2k views

Server game loop

I'm trying to setup a very simple multiplayer game that allows some users to join and walk around. The game is 2D and the players will have a position, the direction they are looking in (it's a top-...
user avatar
  • 25
0 votes
0 answers
34 views

Do I need a backend engineer for my studio right now?

I am working on a mobile game that requires a well thought-out backend, because it spans across the healthcare/data science space and we need to be compliant in terms of security/regulations in how we ...
user avatar
0 votes
1 answer
49 views

Can HTTPS webserver host an HTML page that uses JS to connect with secured web socket protocol multiplayer game just like node js?

Can HTTPS webserver host an HTML page that uses JS to connect with secured web socket protocol multiplayer game just like node js? If so point me in the correct direction to read more.
user avatar
24 votes
5 answers
16k views

How does mmorpg store data?

I want to use sql database in my server.exe. lets say 1000 users online. And players will change their data when they play. And server need to save these updates. But how ? i think there two way: ...
user avatar
  • 475
1 vote
1 answer
345 views

Dynamic Game Server Architecture

I'm trying to find a way to design a game server architecture for a real time mobile game. The design should be cost effective but still to some extend scaleable (later on). Mobile client flow: ...
user avatar
0 votes
1 answer
288 views

What are my options for building a centralized server architecture for a Unity game?

I have made in the past multiple offline game, and would like to make my first online game. I have very basic knowledge of server structure. The game is a multiplayer RTS game, with ONE server (If ...
user avatar
  • 105
0 votes
1 answer
71 views

Synchronize points from UI and server

I am sorry in advance if it's not perfectly clear. I would like to make a game with let's say the following map (in real it will be a 3D globe). Now this map contain point, and each point is a place ...
user avatar
  • 105
1 vote
1 answer
100 views

How to connect to a server without hard coded passwords?

I have two features in my game that need to connect to a server of some kind that requires authentication: a bug reporter and a leaderboard. The bug reporter will take the users report and add it as a ...
user avatar
  • 2,729

1
2 3 4 5
7