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

learn more… | top users | synonyms (1)

0
votes
1answer
29 views

Real-time movement client to server to client(s)

So the way that I tried to create a MMO like server communication was by sending strings to every-player containing information and making the client split the string. Example "John" , 42, 64 : ...
-1
votes
0answers
22 views

Does game servers use optimised packet builders?

I am a Unity developer, i have worked with all popular networking solutions, such as Unity built in, pun, photon server, smartfox, unet. Recently, for my own personal project i wrote my own server, i ...
0
votes
1answer
59 views

GameObject scope over RPC call

Debugging my code I faced some unexpected behavior. I called an RPC using uLink.NetworkView on the server passing some parameter including a GameObject tagged as Player. Inside that RPC I make a ...
1
vote
1answer
303 views

Decentralized Matchmaking in Unity?

I'm making a card-playing game, similar to Magic Workstation. I've been looking into several options for networking. I have a working LAN version with the build in Unity networking, as well as Photon ...
2
votes
2answers
62 views

Synchronisation on a non authoritative networked peer to peer scene

I currently have a piece of coursework that requires 3 or more 3d simulations connected via p2p to maintain a simulation that is visually consistent amoung all peers. A big issue is that I'm not ...
0
votes
1answer
195 views

Client side latency when using prediction

I've implemented Client-Side prediction into my game, where when input is received by the client, it first sends it to the server and then acts upon it just as the server will, to reduce the ...
3
votes
2answers
57 views

Authoritative movement with client side prediction

I don't fully understand how client side prediction works with authoritative movement. Let's say we have: client at position(0,0) server at position(0,0) Now the client wants to move forward ...
0
votes
1answer
2k views

Sending RPC calls from server to client inside Unity

In my game inside Unity, I have two scenes setup. One for the main server ( acts like authoritative server ) and the other scene for my client. The game starts once my client connects to the server. ...
1
vote
1answer
192 views

Spawn scene object not found for 1

I'm getting this error with the new Unity Networking (5.1): Spawn scene object not found for 1 UnityEngine.Networking.NetworkIdentity:UNetStaticUpdate() This happens in the client, when it connects ...
2
votes
0answers
51 views

Moving a character based on a list of Vector 3's

I have a client server scenario. On the server there is an AI character who chooses a random point on the map and pathfinds to it, when at that point it chooses a new point and pathfinds again etc. ...
1
vote
1answer
54 views

Changing scene while joinin room and RPC buffer problem

I have a button to create and join a random room in my main menu. After the client joins (or creates and joins) a random room, i change the scene to game(main) scene in "OnJoinedRoom" function. It ...
10
votes
4answers
1k views

How do you allow networking code to be written in the later stages of the development?

I'm currently in the early progress of writing a game which I eventually will want to improve in most aspects. How can I skip out on writing network code yet leaving it fairly easily implemented, that ...
1
vote
1answer
25 views

Client and server loops don't match up

I'm trying to build a small networked game using WebGL and NodeJS. I have a basic client and server setup and I'm at the point where I'm trying to implement dead reckoning to simulate what happens on ...
1
vote
0answers
11 views

Reading messages from a certain client in Lidgren

I'm setting up a game with Lidgren, and I was wondering if there was a way to read a message from a certain client instead of just from the server as a whole, such as- //Why doesn't this exist? ...
0
votes
1answer
37 views

Network game syncing

I'm creating a networked game and I have a huge problem understanding how to keep everything in sync. Right now I have a server and a client and the client can log in and move a character around using ...
0
votes
1answer
103 views

Player position on second player connection

I'm having some trouble trying to run my game for the multiplayer part. I'm creating a 2d game. I have followed this tutorial : ...
0
votes
1answer
65 views

Making a master server in Photon Unity Network?

I am trying to make a game that requires a dedicated server running 24/7 and I would like to use Photon Networking but can Photon Network handle/do a dedicated server setup? The reason I ask is ...
2
votes
1answer
164 views

RPC events with client side interpolation

I've implemented client side interpolation, where a specified delay is put on each client. This allows them to interpolate between positions and rotations. Unfortunately, this means every thing else ...
2
votes
0answers
29 views

Lidgren not starting server properly

I have a server set up for my game with Lidgren, and it works well when I have it set up on one machine, but if I try to run the server on another machine, I am unable to connect from other machines. ...
0
votes
0answers
28 views

How to detect when client state drifts from server state?

I'm obviously talking about an authoritative server to which client sends commands and gets state updates. My question is when I get a position update and know how many milliseconds ago it was ...
1
vote
2answers
64 views

Networking with UDP, should I keep sockets open on the server

I am working on making a 2D platforming game that will have multiplayer functionality. Over the last few days, I have done a lot of reading regarding how to deal with the networking, and believe that ...
4
votes
4answers
918 views

How do network applications get around firewalls?

Forgive me if this comes off as naive; I've only a cursory understanding of network communications. My work has a public and very restrictive network - (they appear to block everything that isn't ...
6
votes
1answer
115 views

(Unity) Optimised networking solution for many moving objects

I've currently undertaking quite an ambitious project. In short, it's a real time multiplayer strategy game which has bacteria mechanics. Essentially, I have two remote players in the environment, ...
1
vote
2answers
323 views

How do I Sync data from client to server?

I'm trying to Sync data from the client to the server using the new Unity Networking, and I'm failing for some reason. I've set up a prefab with a NetworkIdentity component with the attribute Local ...
15
votes
3answers
2k views

Should I keep login server apart from game server?

I'm thinking of making a MMO server, and I've been looking at how other games structure their network. One of the things I've noticed is that there's always a Login server and then the game server(s). ...
0
votes
2answers
107 views

Do I need TCP socket?

My game uses UDP sockets to stream updates between server and client and I've also made a reliable channel that resends messages if there's no response and makes sure same message isn't processed ...
1
vote
2answers
131 views

Game networking, limiting amount of movement packets

I have been developing a server/client model for a game project I am working on. Everything works great, client side prediction works, server reconciliation works. Basically, the character can move ...
1
vote
1answer
149 views

Unity 5 Client RPC call: Failed to Invoke ClientRpc

I have a Unity 5 client and server running. On the server a path is generated and I want the client to receive the position of each target node on this path. Following the Client RPC calls section ...
2
votes
0answers
51 views

P2P Online Gaming, it is viable? [closed]

I am working on a Peer to Peer based Online Gaming system. I plan on using it for running a decentralized MMORPG in which there are no central servers and traffic is routed evenly among each ...
2
votes
1answer
576 views

How do I make the host work in UNet?

According to the "High Level API" documentation, unless I misread something, a Host "just" runs both as a Server and as a Client, so much that it would require no special support, i.e. it should run ...
1
vote
1answer
65 views

Client interpolation for 100% serverside game

I'm developing an online browser MMO 2d war game. And I'm having some issues with the interpolation. The server sends updated positions to the clients every 90 ms. I've managed to make it smooth, ...
3
votes
1answer
109 views

How should I send packets to multiple clients on UDP? [closed]

I'm developing a 2D action side-scroller shoot-em-up game and I recently implemented the multiplayer aspect. When the server sends packets containing the game state (which are about 500-700 bytes) ...
0
votes
3answers
104 views

Only send moves for P2P 2 player LAN game?

I am making a 2D network game. The concept is simple, a player have to shoot the other player to win. I'd like to improve this game ( add a map, items, monsters, w/e ), but later. This is my first ...
1
vote
1answer
80 views

Should frame update and network packet sending synchronous or asynchronous?

I am making a game server that has 60 Update-Per-Second (assume I can most of the time achieve it). In the current model, my main loop does the following tasks in sequence: Update game logic ...
1
vote
0answers
40 views

Network architecture for high-traffic multiplayer [closed]

What are the pros and cons of P2P and client-server network architectures for high traffic multiplayer game? What is the best architecture for lag free multiplayer? I think that P2P will be less ...
0
votes
2answers
74 views

LIBGdx - Kryonet with an InetSocketAdresse

I'm trying to implement Kryonet in my game and i'm facing some trouble. Using the source from the code i develop my server like that : try { this.server = new Server(); ...
2
votes
1answer
106 views

Implementing The Command Pattern - Undo And Entity References

I am trying to implement a replay/undo system for a turn based strategy game I am currently working on. A sample move could go as follows: 1. A players select a pawn and gives it an attack command. ...
1
vote
1answer
76 views

Server networking - Thread per player

As my game is purely multiplayer, online performance is important. Should I run two threads for each player/connection? (One for input and one for output) or should I run one thread for all player ...
2
votes
1answer
88 views

What is an acceptable receive rate for a client?

I've noticed that syncing a transform( in Unity, so a Vector3, and a Quaternion ) ends up being close to 1000 byes per second received on a client( send rate of 20hz ). Multiply this by a generous 20 ...
2
votes
1answer
120 views

Which is the better way to distribute server workload for MMO server?

I'm making a server for MMO in Unity, which implies that I'll have a big world, split into maps which will be on different servers (to distribute the workload), managed by one master server. Now I ...
4
votes
1answer
118 views

Packet size vs packet frequency

I am making a multiplayer game in Java that uses a client-server model, where all important decisions are made by the server and communicated to all clients over UDP. Currently the clients and the ...
0
votes
1answer
56 views

Validating User Actions on the Server

I am currently working on a networked first person shooter. I have created a server implementation that can synchronize player data. But while implementing a damage system, I realized that I almost ...
2
votes
1answer
111 views

How do we make online games deterministic?

I am trying to understand how networking in games work as I am trying to make an online game myself. I can't grasp how it is possible to synchronize the players, in order to make the game ...
0
votes
0answers
20 views

In snapshot-based networked game does client store N snapshots as well?

I understand that in a snapshot-based network replication system the server holds onto N full snapshots and uses incoming ACK'd data from the clients to construct delta snapshots. This makes sense. ...
0
votes
3answers
3k views

How can I make RPC function calls in Unity?

I am making a multiplayer game. I am sending score via the server and client but I want to be sure that can I call an RPC function of a script from any other script. For example, say Table_Manager as ...
2
votes
1answer
50 views

Does the order in which RPCs are called match the order they are invoked locally?

For example: void A() { Debug.Log( "A was called." ); } void B() { Debug.Log( "B was called." ); } void C() { NetworkView view = GetComponent<NetworkView>(); if( view != null ) ...
4
votes
3answers
724 views

MMOFPS Choosing protocol for high-traffic network (UDP or TCP)? [closed]

my question about the player position sender protocol. In this article, he says "Never use TCP for networking a multiplayer game". Ok but UDP datas are not ordered. In this case, if somebody walking, ...
76
votes
6answers
16k views

How can I simulate a bad internet connection for testing purposes?

I am developing an online multiplayer game. It works well when I test it on the local area network, but before I release it I would like to test how the user-experience works out for someone who has ...
1
vote
1answer
107 views

Property replication vs RPC notifications

I'm not talking about something such as an object position, which changes very often. I'm talking about some object state that may be changed infrequently, such as a door opening and closing. Would ...
37
votes
9answers
6k views

How are deterministic games possible in the face of floating-point non-determinism?

To make a game like an RTS networked, I've seen a number of answers here suggest to make the game completely deterministic; then you only have to transfer the users' actions to each other, and lag ...