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
1
vote
0answers
20 views

How is a Challenge implemented for a game networking protocol?

Working on an authoritative online game using LiteNetLib. I've been reading about building a game network protocol and I'm feeling stuck with the "challenge" implementation. The client ...
0
votes
0answers
17 views

Securing a replay-based leaderboard system (as much as possible)

A few years ago, I implemented a basic online leaderboard system in one of my games that sent encrypted score data over the wire. The encryption keys were stored in the game client's binary. Of course,...
0
votes
0answers
33 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 ...
0
votes
1answer
52 views

Online convertible board game that is not online but based on multiple players

I'm wondering how a system can be made compatible with networking operations (client-server). By saying "networking operations" I mean a system that can handle online operations, multiple ...
0
votes
0answers
8 views

Unity Ajax and json data sending

once again i need your help! with help from here i managed to make a function that sends a formated json text to a subscription service.the format is this ...
0
votes
1answer
22 views

400 bad request UnityWebRequest

hey everyone any ideas why im getting a 400 error? im trying to post a json to a subscription list. doing that through postman works just fine! ...
0
votes
1answer
54 views

Why players who join late can't see other people data?

I want to show the name of the players above their head but I have a problem where people joining late doesn't get other players' name. For example: Player 1 joins to the server with the name Peter. ...
0
votes
1answer
41 views

It is possible to process data on relay servers?

I have a small game engine done in Java, and re-creating it on C++. While re-creating it i've decided on adding basic p2p online multiplayer. However, after reading more about networking, there are ...
1
vote
2answers
175 views

Unity 3D mirror, sync player spawn name

I am using Mirror for doing my little multi-player car racing project which I want to rename the game object automatically after the NetworkManager auto create the game object. Here is my ...
0
votes
0answers
12 views

Unity project not communicating with my iPhone 11?

Connecting to my iPhone 11 with a cool FaceTracking project called FaceCapOSCReceiverExample https://github.com/hizzlehoff/FaceCapOSCReceiverExample works excellent on my laptop, but not on my PC (...
0
votes
1answer
66 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 (...
0
votes
1answer
28 views

Synchronize running code over the network Unity

I want my code to run/perform the same on different Unity clients. I don't know if this is hard to achieve. Here hare my problems: The enemies movement: I have a pathfinding that should always give ...
0
votes
2answers
66 views

Multiple small UDP packets vs One big constant UPD packet

I'm making a MMO Bullet Hell game on Game Maker Studio 2 with a node.js server and I'm already able to receive and send information through UDP connections. I NEED to keep the server as fast as ...
0
votes
0answers
52 views

Move enemies over the network without sending their positions

I am trying to move enemies on two clients without sharing their positions. I use this: startingPosition + GetRandomDir() * Random.Range(1f, 10f) To have the same ...
2
votes
0answers
26 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. ...
0
votes
0answers
54 views

Trying to find a solution for instant knockback in multiplayer game

I'm making a server-authoritative fast-paced multiplayer game. I'm trying to implement wack-hammers, they are a melee weapon that knocks close players, in other words, that sets their velocity to <...
0
votes
1answer
71 views

POST HttpRequest doesn't send any data

I've some trouble for sending a post request to my nodejs server. I can receive data from the server with GET method, but when I try to send data with POST, I've an empty bracket on return on this ...
1
vote
1answer
261 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 ...
1
vote
0answers
76 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. ...
0
votes
0answers
27 views

How to annotate a BinaryFormatter packet with a header describing its length?

I am working on a project that is sending data from pc to tablet via usb, using android adb. To serialize the data, we are using BinaryFormatter. The problem I'm running into is that the client is ...
0
votes
0answers
31 views

Should I send the entries using a tickrate? Netcode Authoritative Server

I am developing a 2D platform and shooting video game in Unity 2D with authoritative logic / physics on the server (The physics server is also developed in Unity to be able to use the box2D library on ...
2
votes
1answer
143 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
46 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
22 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
1answer
163 views

Unity3D: Download multiple files and implement a callback

...
-1
votes
1answer
36 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
57 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 ...
1
vote
0answers
934 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
21 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
71 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
33 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
98 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
681 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
118 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
471 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
20 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
155 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
15 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
26 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
206 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 ...
3
votes
2answers
87 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
901 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
254 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
95 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
27 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
42 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
547 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
86 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
3k 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 ...

1
2 3 4 5
17