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)

-1
votes
1answer
176 views

Poker Game Multiplayer network logic [on hold]

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
77 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) ...
2
votes
1answer
199 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 ...
2
votes
1answer
63 views

How to compensate for moving objects with client side prediction?

I'm implementing a game server that supports Star Control-like melee. So you have ships flying and shooting, with super simple velocity/acceleration/dampening physics to drive movement. I've read ...
1
vote
1answer
112 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 ...
1
vote
1answer
54 views

2 cameras that each player sees through a different one

Im very new to Networking in Unity 5. Im trying to bring the finished basis for my 2 player, 1 vs 1, turn-based game I made for local multiplayer (both players on same computer) to an online ...
1
vote
1answer
53 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 ...
-6
votes
2answers
82 views

Is it definitely impossible for a user to alter data stored server-side in an online game?

Does storing game data server-side definitely prevent cheating related to that data (by altering it, et cetera)?
1
vote
1answer
355 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 : http://www.paladinstudios.com/2013/07/10/how-to-create-an-online-...
3
votes
1answer
275 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 ...
4
votes
1answer
83 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. ...
1
vote
0answers
36 views

Unity Network Animations Not Smooth

I am attempting to learn Unity Networking using the new UNET framework. I have a functioning rudimentary 3rd person setup in which a host and a client can connect to localhost:7777. Animations are ...
3
votes
1answer
59 views

How can I search for players in the same wifi in Unity?

I am creating a game in Unity and I would like to create an ability for players to join the game that others have created on the same wifi. I would like it to be as effortless as possible(e.g. players ...
0
votes
0answers
45 views

Network turn managment issue due to animations

Me and my buddy are working on turn-based multiplayer game, and we encountered a problem that we don't see a nice solution to solve it. So there are two clients and a server, server keeps track of ...
0
votes
1answer
269 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 ...
9
votes
3answers
325 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 ...
1
vote
1answer
258 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
60 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. ...
2
votes
1answer
140 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
106 views

What's wrong with my food generating code?

This script is intended to produce amount of (food) objects for the players over the network. What should happen is that when a player eats one food, another food object gets created in another random ...
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. ...
1
vote
1answer
76 views

understanding game networking

I have been working on a real-time game, and am closing in on the point where I send and receive data. I have previously accomplished this before with a couple other test games, but I have never ...
2
votes
1answer
234 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 ...
1
vote
0answers
34 views

Networked projectiles in an authoritative server

I'm working on a multiplayer game, and I've implemented a simple enough player prediction (according to this great article) - which works well enough. What isn't discussed there, and my question here;...
3
votes
3answers
3k 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 ...
1
vote
0answers
30 views

Client-side Prediction and Reconciliation for movement

I've explored the concept of client-side prediction with reconciliation quite a bit and there's one thing that puzzles me a lot. From what I've seen in most guides, the flow looks a bit like this: ...
1
vote
0answers
60 views

Modern examples of Multiplayer Network Architecture [closed]

There's a lot of documentation on Multiplayer Network Models for games from the early 2000's (Quake3, Unreal, Counter-Strike, Source Engine) which go through concepts such as client-server ...
1
vote
0answers
17 views

Where should I put code to be run on the client after connecting to a server?

I'm making a multiplayer game with Unreal Engine, and I need to run some blueprint code on the client after they have connected to the server. This includes creating the HUD widget, uploading the ...
1
vote
0answers
35 views

Instanced based game with multiple node instances

I have a nginx load balancer with 4 nodejs instances behind it, and one Redis server to share certain memory. My game is an instance game, similar to Diablo 2. Players can create "games" if you will ...
0
votes
1answer
76 views

Adding network support

I am trying to implement a simple game "Bulls and cows" in c#. It is a final project of my university course about design patterns. The target of the game is simple - try to guess the opponent number. ...
-1
votes
1answer
45 views

How to merge VRPN and Unity

I'm new to virtual environments, having worked mostly with Arduino and other physical applications. I'm trying to set up VRPN server on one of the computers in my lab to pass some triggers from a ...
1
vote
0answers
128 views

How can I detect disconnected clients in a peer-to-peer network of this topology?

I'm working on my first multiplayer game (RTS genre) and for the networking model, I'm leaning more towards a peer-to-peer model as opposed to a client-server model. I want my game to be able to ...
0
votes
0answers
26 views

Is it possible to stream the webcam via Unet (Unity Networking)

I've got my webcam on an ImageTexture in my Scene (with Vuforia), but now I'm struggling and I'm not sure whether it is possible to stream this picture to other players in the Multiplayer "game". I ...
0
votes
0answers
31 views

Unity Commands giving warning “Trying to send command for non-local player”

I am trying to spawn objects on the server(then spawn from server to client) calling from the client but I get this warning and it doesn't spawn: Trying to send command for non-local player. ...
0
votes
0answers
29 views

Random Disconnects on UNET

Using UNET, I can't host a game for more than a few minutes unless both server and client are on the same computer. It appears that I am not alone in this. Essentially, any latency problems or ...
0
votes
0answers
27 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 ...
4
votes
1answer
106 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 ...
1
vote
1answer
134 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 Networking."...
0
votes
1answer
59 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
22 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 ...
0
votes
0answers
29 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
77 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
65 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
469 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 ...
50
votes
9answers
19k 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
50 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
77 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
61 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 server->client(s)....
0
votes
0answers
73 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 ...