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
0answers
15 views

How do I instantiate enemys for dealing them damage and attacking them on Photon for Unity?

Ive done a tutorial for Photon Network server for Unity but now I have a problem, the player is not seeing the network player attacking or damaging the enemy. How do I instantiate these to ...
2
votes
1answer
203 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 ...
4
votes
1answer
77 views

Unity 5: Use Network Simulator, should I?

I am looking to test intelligent prioritisation of a client server game. In my scenario, two clients are connected to the server. I want one client to have a good connection to the server while the ...
0
votes
1answer
43 views

Hide network latency for ingame dialog

I have a tick-based Multiplayer-RTS game: Client sends action to server at Frame n which will be broadcasted to all clients and executed at Frame n+x (x depends on network latency of slowest player) ...
0
votes
1answer
105 views

Poker Game Multiplayer network logic

I created a single player poker game. Now I want to change it to a network game. I want to use Photon(for network) and Playfab(game server) or SmartFoxServer. My problem: I want to run important ...
1
vote
1answer
110 views

In Unity, How to format Old RPCs into new “PunRPCs”

In older unity versions you could simply used RPC. With newer verisons of Unity my code now doesn't work and it says that it needs to be transformed into "PunRPC" , Pun being "Photon Unity ...
0
votes
1answer
51 views

How do I know what to do with incoming network messages?

I am programming a 2D game in a server/client architecture with C# and lidgren. When a client sends a message to the server, how does the server know what to do with that message data? The client ...
0
votes
0answers
11 views

Unet 2D sync problems

I've studied Unet but I still can't get it to work right :( I have 3 problems. The first: I can't force player 1 to always spawn from a specific spawn point (and same with player 2). Therefore I've ...
1
vote
1answer
166 views

How to deal with inconsistent network delay caused by packets arriving at different times in the frame?

I'm developing a multiplayer game that does not have prediction. It implements client-side interpolation. The problem with this is that input delay can be perceived. I've measured the various times ...
0
votes
1answer
302 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
97 views

UDK ping check without joining a game?

I have made great strides in creating a custom built server browser for UDK. It registers servers with a master, and the client can download the list and populate the server browser. However I'd like ...
3
votes
1answer
74 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. ...
3
votes
1answer
255 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 ...
0
votes
0answers
21 views

Need Server to Find Network Identity Components AFTER Initialization

I have a project that spawns bundles of prefabs using a procedural-generation script. Since the Unity networking tool will not recognize child objects as having their own NetworkIdentity, I then move ...
3
votes
2answers
68 views

TCP Slow Start in Network Games

I'm getting latency issues in bandwidth intensive level transitions part of my game that are proportional to the distance to the server. I believe I'm hitting TCP Slow Start issues. It's also fine ...
1
vote
1answer
51 views

4-player arena game networking model : dedicated servers? [closed]

So my question is not technically limited to 4-player games, but there has been a lot of games on steam lately (brawlhalla, duck game etc) that seem to be quite popular lately. My question is, are ...
5
votes
6answers
461 views

Where can I find information for programming a game to avoid network latency issues? [closed]

I am looking for programming methods to counter network latency for say a racing game or a FPS. What I specifically mean is what would I need to do to the physics engine and what information should I ...
64
votes
6answers
19k views

How to write a network game? [closed]

Based on Why is so hard to develop a MMO?: Networked game development is not trivial; there are large obstacles to overcome in not only latency, but cheat prevention, state management and load ...
46
votes
9answers
18k views

Is the TCP protocol good enough for real-time multiplayer games?

Back in the day, TCP connections over dialup/ISDN/slow broadband resulted in choppy, laggy games because a single dropped packet resulted in a resync. That meant a lot of game developers had to ...
0
votes
1answer
46 views

Why do games have different ports for different maps? [closed]

A little old example for that would be Metin2, this is the only game I know which have that, but there may be more. In Metin2 there are maps which are accessable through other ports. I'm not a ...
0
votes
1answer
177 views

Sending message to all players in room from Photon server?

I need to send a message to all players in the room from a Photon server. Sending the message from a player would introduce too much latency so I need the server to collect data and distribute ...
2
votes
1answer
126 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 ...
2
votes
1answer
45 views

Slick2D Networking Crash

This is my first post, so I apologize if it's been put in the wrong place or something. Anyways, here's my problem: I've run into an issue with running my client-side code in one of my game-states. ...
0
votes
1answer
66 views

Network interpolation wont work for local player

im currently developing a little duengon crawler. It should have lan multiplayer and it works great but i think im sending to much packets. Should i send packets over network, when a player moves in ...
0
votes
1answer
57 views

Streaming player voice (client -> server) without (minimal) noticeable voice breaking

I recently started to jump into voice streaming for my RPG game, for players to communicate by a central server point. I use TCP packets to communication from client->server and from ...
0
votes
0answers
63 views

Multiplayer through blocked Firewall Ports?

im currently trying to develop a little game. I thought it would be a great idea to implement coop multiplayer, only lan. So i took kryonet and created a server. On my home wlan it works great im able ...
1
vote
1answer
238 views

Unity 5 Server Side Physics - Alternative to constant position update?

I am looking into reducing load in client server games for a uni project and am looking at physics. The idea is that if a very low powered device tries to carry out some physics heavy action that it ...
2
votes
1answer
5k 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. ...
59
votes
10answers
15k views

Is UDP still better than TCP for data-heavy realtime games?

I know that UDP is usually recommended for real-time multiplayer games with high data usage. Most articles are serval years old, and since ~80% of all data transmitted on the internet is TCP, a lot ...
6
votes
2answers
278 views

Does it make sense to use both TCP and UDP at once?

After reading UDP vs TCP for data heavy realtime games - 2016, I'm wondering if it makes sense to use both TCP and UDP at the same time, but for different things: TCP for sending information that is ...
0
votes
0answers
22 views

Resolving prediction error from client side prediction and server reconciliation

I am writing a network game based on Gabriel Gambetta's articles on client-side prediction/server reconciliation. I have client-side prediction down (using Box2D for prediction) as well as server ...
1
vote
0answers
40 views

Connecting to external computer with lidgren

I'm new to networking and thought i'd muck around a bit with lidgren before i start implementing it in my games, so i made a little client/server chat program that works fine on localhost and lan. I ...
0
votes
0answers
22 views

Multiplayer Spawn not working

The error message I get is SpawnObject for Player(Clone) (UnityEngine.GameObject), NetworkServer is not active. Cannot spawn objects without an active server. I know that the server is ...
0
votes
1answer
49 views

What type of networking system should I use With LibGDX on Android?

I've been looking for a good way to implement multiplayer in an Android strategy game I'm working on, using LibGDX. What I found: The embedded LibGDX networking system Kryonet Google Play Services ...
0
votes
0answers
21 views

In a game scenario, how often should i send packets? [duplicate]

Should i send packets every frame or use interpolation? I would imagine interpolation doesn't stress both parties as much.
0
votes
0answers
83 views

Unity stream webcam to other player (Multiplayer)

I want to make it possible, that I can draw on the stream of another player in my Unity game. The networked drawing works just fine, my problem is to stream the webcam. I've got the webcam input ...
0
votes
0answers
42 views

Authentication in network game servers

I'm currently building a UDP server that my game will talk to. The users will need to have an account created, either by using a Single Sign-On account such as Facebook or Google, or by creating an ...
0
votes
0answers
55 views

Unity Networking dedicated server hosting multiple game instances

I am making a multiplayer game on Unity that uses a dedicated server for the networking needs. From what I found a dedicated server is simply you Unity game compiled headless which only allows one ...
1
vote
2answers
119 views

Interpolation over a network - receiving and drawing an opponent in 1v1 game

I'm a newbie Java coder and I'm creating a 1v1 game with an authoritative server and two clients. My whole network is based on UDP packets: sending positions from clients sending confirmations ...
0
votes
2answers
78 views

How to deal with collision in a networked game?

In my game, my own character is extrapolated with client side prediction for smooth input response and all the other objects are interpolated. So Let's say I was at (20, 10) according to server and a ...
0
votes
0answers
28 views

Client to Server Messages Not Working; Issue with RegisterHandler?

We're building a game which uses two phones as gamecontrollers; the "view-phone" is attached to a Google Cardboard device and acts as our server, the other phone is a sword controller which needs to ...
0
votes
0answers
38 views

How to run Kryonet server inside Libgdx project and is it ok?

I am trying to add multiplayer to my game and I used Kryonet. I have written the server, requests and etc and the only thing that is in front of me is how to run the server, it is in the libgx project ...
0
votes
0answers
71 views

Communication between Photon Cloud game and web server [Unity3D; Photon]

I am creating a multiplayer game using Photon Cloud (Photon Unity Network). For storage of player data (profile, inventory, achievments) I use web server (asp.net mvc & sql server). How to ...
2
votes
2answers
119 views

Example/Tutorial of passing structured data over network C++

This is very general question, about strategies how to pack same informations about state of my game-world on server ( e.g. position/orientation of players, projectiles, etc. ) into data stream so ...
1
vote
1answer
142 views

Game server/client like wordfeud

My friends and I are creating a game for mobile platforms. We are now in the phase of creating the multiplayer part of the game. We know how to do it but we are not sure how the multiplayer should ...
7
votes
3answers
778 views

Solution for lightweight LAN peer discovering?

I built a library for purely cross-platform programming. My games made with it run fine in Android , Pc, Linux, Mac etc. The networking capabilities are provided by ENET library, therefore all ...
0
votes
0answers
59 views

Unity3d NetworkServer.SpawnWithClientAuthority

How do I spawn a gameObject with client authority from outside of the main client? I'm trying to make this function: http://hastebin.com/bobezisexa.avrasm But it keeps saying "trying to spawn ...
1
vote
1answer
153 views

Unity 5 Command not being sent

I have a client server build in Unity 5. I want to send a command from the client to the server with a GUI button click, this is for testing purposes. So on my client all I want is to click a button ...
0
votes
1answer
218 views

Implementing Client-Server Delta Compression (with Protobufs)

I am writing a 2D real-time RPG in C# and I am trying to implement client-server communication using protocol buffers. I am trying to figure out how to implement delta compression to reduce message ...
1
vote
2answers
134 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 ...