What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Questions tagged [networking]

Two or more computers connected together via cable bound or wireless communication links for the purpose of information exchange.

Filter by
Sorted by
Tagged with
2
votes
0answers
72 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, ...
0
votes
0answers
41 views

How to get good movement synchronization in a networked game (action/shooter)

I've spent the last two days trying to get good movement interpolation with Photon in Unity but I can't get anything that I'm happy with. I've tried several methods but none satisfied me. My ...
0
votes
0answers
18 views

Send post request with content type

I used a php server to communicate with my unity application . I want to send post data with content type so that my php server can use the approriate variable for the content type , for example if i ...
0
votes
0answers
17 views

Unity3D: Download multiple files and implement a callback

...
-1
votes
1answer
33 views

How does a client thats connecting get all the already connected clients

So I'm currently developing my own protocol on top of the already existing protocol, TCP. This is what I'm thinking.. When the client connects, it's going to send a packet to the server with the ...
1
vote
0answers
31 views

How can I support direct P2P for mobile devices?

I'm Interested in two or more player co-op in Godot, via direct P2P without connection to a central server. I have this idea that would utilize two smartphones in proximity to one another. I don't ...
0
votes
0answers
37 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 ...
0
votes
0answers
15 views

Netty: Disconnect client from server keeps reconnecting automatically

I have a game that connects to a server using the Netty API. Everything works correctly it seems when I click 'Login'; it will connect to server. However i've added an ingame button 'Back To Lobby'. ...
-1
votes
1answer
48 views

Serializing game information over TCP connection

I'm trying to write a Unity client with C++ game server with TCP socket. When I'm sending game data back and forth with client and server, I'd want to serialize it in someway that can be deserialized ...
0
votes
0answers
29 views

How to make my multiplayer Air Hockey better?

I've made simple multiplayer web game but don't like how it works. Here's a video example (captured at 85 avg ping) showing what I have. What I used: Super naive client prediction - called so because ...
0
votes
0answers
24 views

do i need a deterministic game engine for ball physics multiplayer game?

I want to create a simple soccer game but where the ball physics is accurately rendered across the network. I looked at Photon's Quantum engine and it is too expensive for indie devs at 1k/month for ...
0
votes
1answer
74 views

Difference between [P2P] Relay Servers and Dedicated Game Servers?

I came across this unity Unity conference video on buillding multiplayer games https://www.youtube.com/watch?v=CuQF7hXlVyk Form, this image we can see there are 3 P2P methods and 1 Direct client ...
1
vote
0answers
54 views

How does a server receive every player input with a server-authoritative structure?

I've been having a lot of trouble understanding networking in fast-paced games. A server has a fixed tickrate, and the server receives input from clients at a fixed rate as well. Let's assume that a ...
3
votes
2answers
308 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 ...
2
votes
0answers
18 views

Electing a host with WEBRTC

This is similar to Host Migration (P2P) with RTMFP and AS3 I have a webRTC chat room, initially used Twilio and switching to skyway, the situation is that I have a bunch of peers with data broadcast ...
0
votes
1answer
65 views

How do I connect Unity to a server backend developed in .net core?

I'm currently running to a wall in my game development and I need now some discussion to clear my mind... In my mind I have a plan for some little online game (focused around clicking and idling), ...
0
votes
0answers
12 views

Smoke-Testing (BVT) for libgdx games?

I'm wondering how to test my client server game or how to test games in general. Currently I'm able to run unit tests using https://github.com/TomGrill/gdx-testing but I thing most of the critical ...
0
votes
0answers
19 views

Can problems arise in client-server network games due to the permanent sending of messages?

I'm my Client-Server-based game I'm using the following stack: libGDX (Engine) Ashley (ECS) KryoNet (Networking) Box2D (Physics) Server =========> Client I've got a Box2DSyncSendingSystem on ...
2
votes
1answer
69 views

How do I get an unique hardware id with gdscript?

Using Godot Engine, I'm trying to implement digital rights management (DRM) using an uuid, and I want to get the user's MAC address. Is there an easy way to do this with gdscript? On Linux, I could ...
2
votes
2answers
54 views

Multiplayer tile based movement collisions cause client prediction to fail

I am developing a tile-based online multiplayer game, but I am stuck. Players can move across the grid in the four cardinal directions, as can enemies, but two players/enemies cannot occupy the same ...
0
votes
0answers
244 views

“The server isn't currently responsive” error when trying to log into Unity Hub

I had reinstalled Unity and Unity Hub to fix package manager error, and when I try to log into Unity Hub after it installs, i get the following error "The server is currently unresponsive" I tried ...
1
vote
1answer
181 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 ...
0
votes
0answers
38 views

Multiplayer game server headerless (Unreal/Unity) vs Custom Maps

I've been pondering about different approaches that a multiplayer game server can be managed and programmed. For instance some of the big engines like UE4 & Unity provide a 'build' flag that can ...
0
votes
0answers
16 views

Why do built versions of my multiplayer game act different than the version I run in the editor? (Unity / Mirror)

When loading saved data from a client's PC, it act's different to how my game, running in the editor works. Saved data is only being loaded on the version being played in the editor. Without any ...
0
votes
0answers
21 views

Why does every client that joins my server use my save data when loading their character stats? Unity / Mirror

I'm working on a dungeons and dragons first person game and I've been finishing up the character creation section. I've gotten to the point that you can choose your character's stats / ability scores ...
1
vote
0answers
38 views

C# - Network flooding

I just created a simple MMO in unity3d, then me and my friends test it via LAN and the result is very smooth. But when I hosted it in public (100ms ping) the server became unresponsive and causes ...
0
votes
0answers
113 views

Unity Mirror Network Transform not working

I am having an issue with Mirror's network transform component in unity. Players cannot see each other move, and in the inspector window only the host's player moves (this is not updated to the ...
2
votes
0answers
69 views

C# UDP Multiplayer Networking - issue with choppiness and consistency

I know I've done this incorrectly, but I don't know what the right way is. Right now I have two clients that connect to a server. Each tick the players send a packet of information containing their ...
0
votes
1answer
316 views

How could you use mirror in unity to network across multiple networks rather than only LAN (Port Forwarding?)

I've been working on a game for my friends and I to play during quarantine but I can't figure out or find any information on networking using mirror. Everything I see gives vague answers to even ...
0
votes
0answers
21 views

How come i get an error when connecting a second client to my game?

How come I get the following error message when I connect a second client to my game? Trying to send command for object without authority. RandomizePosition.CmdMoveToClick UnityEngine.Debug:...
0
votes
1answer
50 views

keeping clients up to date with server state in an mmo-like game [duplicate]

I'm making an online RPG that could classify as an MMO, but I'm keeping the project scope very small by making the game's systems simple, and focusing mostly on what I want to learn: real-time ...
0
votes
0answers
86 views

How to design the server-client architecture of a turn based multiplayer game?

I know the basics of networking (how to use tcp/udp sockets, http requests, ftp, the layers and all that stuff). However, I have no idea how I should go about structuring a multiplayer game more ...
0
votes
1answer
46 views

Multiplayer network architecture - why do we need to verify local movements?

I'm messing around with a 2D game using UDP. I've read some books and articles on the logic of a dedicated server to clients multiplayer game and I can't wrap my head around one thing: What I've read:...
0
votes
0answers
36 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 ...
0
votes
0answers
71 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 ...
0
votes
0answers
25 views

What design choice should I follow for client-server communication?

My game server currently launches a thread for each connected client, and handles all data exchange through that socket in a server-blocks-until-client-requests fashion. The problem derives from the ...
-1
votes
1answer
46 views

What is online presence? (Is it the same as gameplay?)

I was reading the Fortnite 2018 outage postmortem, and it mentions it uses XMPP for online presence. Im not sure if this means gameplay or more generally, the presence of Fortnite online, like its ...
0
votes
0answers
44 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 ...
0
votes
2answers
184 views

How to load additive scenes to the master client, per player, in unity using photon?

I have already successfully created a multiplayer scene where multiple users can join, however there are some issues like unity not allowing multiple sound listeners per scene. In order to alleviate ...
0
votes
0answers
34 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 ...
0
votes
1answer
102 views

TCP vs. Reliable UDP? Sending Reliable Packets in Fast-paced Multiplayer Games?

I'm currently working on a networking framework for Unity3D in order to simplify making multiplayer games. I'm using UDP for any kind of synchronisation and unimportant data. My question is: how do ...
0
votes
0answers
129 views

PUN2 > Displaying all players' HP to a single pannel of a UI

I've set up a scoreboard-like UI to display all players' in the room as shown in the capture above. What I'd like to do is to display each player's own status info - Life amount as of now then ...
0
votes
0answers
38 views

How to create an instance of Windows Firewall interface object in Unity

I am trying to make the game add itself into the Firewall rule. I already referenced NetFwTypeLib.dll into the project. It led me to this line of code here: ...
0
votes
0answers
57 views

How to use NetworkChange in Unity

I tried to use the NetworkChange class in .NET to handle when the game changes or disconnects from the internet. I used Unity at API compatibility .NET 4.x level. When I add a delegate to ...
0
votes
0answers
53 views

How can I Instantiate an object only for me?

I am trying to make a multiplayer game, and I want to instantiate/create/spawn an object only for the player's game client. However, when I instantiate it, it spawns for everyone. Here is the code: ...
0
votes
1answer
88 views

How to manage network spawning?

I'm developing an multiplayer game "from scratch" (not using a big Engine-Suite like Unity but the lower-level libgdx). Currently I've got a NetworkManager which handles the sending of messages on ...
0
votes
0answers
80 views

Does StreamPeerTCP guarantee received packet is same from server?

I'm making simple Godot project that works with Node.js server. To receive and send packet to Node.js server, I used StreamPeerTCP. First seems works, but after 2nd transmission from server, extract ...
0
votes
1answer
468 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 ...
1
vote
0answers
165 views

How to sync entities in an ECS game?

I'm wondering how to engineer a client server sync of entities in a multiplayer game which is using an ECS. When the server changes some values of the components of an entity, I thought the best ...
0
votes
0answers
20 views

Networking roundtrip performance optimizations

I‘m creating a multiplayer game with libGDX and KryoNet for the networking part (I also uses Ashley as an Entity Component System, but this doesn‘t necessarily matters here). The communication between ...

1
2 3 4 5
17