Questions tagged [server]
The parent computer responsible for handling interactions with multiple client connections, as generally encountered with online games.
332
questions
1
vote
0
answers
596
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 ...
1
vote
0
answers
117
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:
...
1
vote
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 ...
1
vote
0
answers
323
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 ...
1
vote
1
answer
552
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:
...
1
vote
0
answers
54
views
Real cost associated with Firebase or AWS game project back ends
I have been looking for answers to how much does it really cost for using systems such as Firebase or AWS for deployment. We have several games apps and web games we want to deploy this year. Some ...
1
vote
0
answers
618
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 ...
1
vote
0
answers
263
views
How should I implement lag compensation in my racing game?
I've looked around and I see a lot of discussion about lag compensation for FPS's, but none for racing games.
I know Mario Kart uses some sort of interpolation for other racers, but it doesn't ...
1
vote
0
answers
73
views
Client/Server player views
Trying to decide the best course of action to implement the in view and out of view of players in a server/client 2D game. Below is some highlights of the system:
Map sliced into squares. Each square ...
1
vote
2
answers
63
views
Redeeming an item on a periodic basis
I want to allow a user to redeem a token every X time (i.e. 24 hours). Once they redeem it, they must wait X time again before redeeming the next item. This ensures that users must visit the app daily ...
1
vote
0
answers
541
views
Scalable server for MMO [closed]
We are looking for the solution for game server for instantiating game instance on nodes.
We tried to use this solution, but it has scalable problems, as you can see on diagram:
Cause only 1 ...
1
vote
0
answers
371
views
Any open source editor to make video games online without programming knowledge? [closed]
With Scratch we can create video games online, from its web platform, and publish them on the same web. I could download its source code and use it, as many others already did (see Scratch ...
1
vote
1
answer
1k
views
About online game servers and how to handle data
So my question isn't about what technology to use or how to do this or that, but a more general question.
I'm currently developing a action third person shooter. With elements of RPG - weapon,armor ...
1
vote
0
answers
343
views
How can I secure a high score table? [duplicate]
Possible Duplicate:
How can I prevent cheating on global highscore tables?
So, I create a game in Flash and I want to keep a hi-score table for people to compete in.
After a player has finished ...
0
votes
3
answers
1k
views
How do I keep a PHP server running forever?
I'm making a web game RTS, it's mostly create units, manage resources, attack with army, and level up factories. I have created the basics of the game using Javascript, PHP, and MySQL databases. I use ...
0
votes
3
answers
5k
views
How do game servers / clients handle data?
How do servers handle data?
I understand the concept of the client sending the player pos and then the server sending back the area to display and also sending other player positions and such.
But ...
0
votes
2
answers
4k
views
GameServer UDP or TCP Java [closed]
This is a Java related question.
I've got this question and I searched on the internet but didn't really get any clear answer.
I want to develop a little multyplayer game which needs real time ...
0
votes
1
answer
138
views
How can I speed up this design?
I am currently developing a game that includes a server and some clients. Currently, the server does its work based on user input then draws the image the clients should see and sends it. ...
0
votes
1
answer
950
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 ...
0
votes
1
answer
669
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 ...
0
votes
1
answer
663
views
MMO - Server monster handling
Dabbling with basic MMO code because it intrigues me.
How does the server handle monsters / mobs?
I understand that generally on each game tick, the server loops through each player to send them ...
0
votes
1
answer
884
views
what is the best way to code an online multiplayer game? [closed]
so i want to create a simple game that runs over a network but I am having trouble deciding what needs to be done in terms of what the server needs to do and what the clients need to do. I understand ...
0
votes
1
answer
250
views
How well (or badly) does Minecraft SMP scale?
Has anyone tested and collected some data about how well does Minecraft SMP scale, with an increasing number of players (up to large amounts of players)?
I.e. the bottlenecks are:
mostly in the ...
0
votes
1
answer
611
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 ...
0
votes
1
answer
776
views
clock synchronization
Is there something I'm not seeing or there is a flow in this algorithm(which everyone is referring to)
http://www.mine-control.com/zack/timesync/timesync.html
Assumption 1: When I say a is ...
0
votes
1
answer
214
views
MMO server use mysql offline?
Im going to write an MMO server for a game, however in my last attempt to do this I used mysql with xampp-server and the game-server was getting the data offline tru mysql(xampp server was offline).
...
0
votes
2
answers
360
views
Real cash gambling app [closed]
I am making a cash game like deal or no deal for use as an android app, using adobe software.
The idea is player wagers 50 pence through Paypal plays the game wins, say, £10 pounds and then cash out.
...
0
votes
2
answers
2k
views
How many database connection should use in a MMO game server?
Game server links to database, how many database connection should use? The data update works like this:
update role object to database every X minutes, commit all updates every Y minutes.
There are ...
0
votes
1
answer
1k
views
Language and learning of an MMO Game server [closed]
I am creating a MMO using XNA framework for the client and want to create the server using .Net sockets in C#. I am not a total rookie to network programming, but I am having trouble finding resources,...
0
votes
1
answer
254
views
Physics motor on servers, How a billiard server works?
i'm trying to figure how a phisics game like billiard works in server side . I'm asking this cause i know how to achieve this in a client , but if i use a phisics motor i think it could be very heavy ...
0
votes
1
answer
463
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
244
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 ...
0
votes
2
answers
433
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 ...
0
votes
1
answer
145
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 ...
0
votes
2
answers
1k
views
Is it secure to use UDP socket for a game server?
I'm working on a multiplayer android game with Unity. For server side I use python. There is no login system or username. Basically, there is a matchmaking system and rooms. I send json object which ...
0
votes
1
answer
97
views
As an Independent Developer should I host my own official game servers
My small team is approaching initial closed alpha for testing, however that has brought up the question of whether it is a good idea to host our official game instances from my home office or not. I'...
0
votes
1
answer
33
views
Values at the start of the string are not being sent while sending json data in Unity
I have been trying to solve this issue on my own but couldn't find the cause of the issue.
Before I start, I am using unity 5.4 and for creating json data I used JSONObject, https://github.com/...
0
votes
1
answer
186
views
How to design game server to mitigate DDOS attacks [closed]
I'm in the design phase of a turn based game with low load on the server (<1 message every 10 seconds per user, <50'000 users at a time). The game is multi-platform.
The protocol has not been ...
0
votes
2
answers
2k
views
Is 50KBs of bandwidth practical for players? [closed]
For my client-server lockstep 16-player RTS game, I've calculated the maximum bandwidth usage per second to be 50KBs for hosting a game (though this value is closer to 20KBs practically). ~90% of this ...
0
votes
3
answers
2k
views
nodejs game server timer
I'm new to game server develop.
I'm developing a card game server.
How could I make nodejs server wait for few seconds then push data to client after an event fired ?
Example : in poker game, one ...
0
votes
1
answer
1k
views
Should I share classes on the server with the client?
I am fortunate being able to use the same programming language on both the server and client (javascript). I would therefore like to share my code and classes between server and client, like Half-Life ...
0
votes
2
answers
2k
views
What type of server should I use?
I am planning on making a game in c#. It will be a turn based, space exploration game. I want the turns of the different players to be able to happen at the same time though. I have been researching ...
0
votes
1
answer
2k
views
Client send rate for network games
As I understand for a client server model, it's common practise to send input to the server and then the server applies the input to update the state of the game. The server then sends updates to ...
0
votes
1
answer
185
views
client - server position syncronization in flash
I trying implement client - server position syncronization. Every 20 game ticks i sending to flash client correction of player position... and it always wrong on client, flash always cant predict ...
0
votes
1
answer
301
views
Multiple game servers on one dedicated machine with different IP’s
I apologize if this is not the proper place to ask this question but I am hoping that if you folks cannot help then you would know of someone or somewhere to send me to get the answers that I have ...
0
votes
1
answer
3k
views
Get count of players in 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 ...
0
votes
1
answer
43
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 ...
0
votes
2
answers
136
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 ...
0
votes
1
answer
286
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 ...