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
10 views

Pooling server list from unity's masterserver

I'm making my own server (C#), that will run separately from the unity game. So that you can host a server while not playing. I could create my own master server, but is it possible and how would I ...
0
votes
0answers
44 views

Unity Photon/PUN - Updating booleans with RPCs

I'm using the latest version of unity with Photon's PUN library. I used a tutorial to make a really simple multiplayer game (cubes moving around) which works fine. Now I'm trying to make a turn based ...
2
votes
1answer
73 views

RTS Lockstep: How to deal with high latency and packet drops?

In the lockstep RTS model, I understand how games can be made deterministic by sending across commands to run at designated frames in the future. Then, to keep everyone in sync, confirmations are sent ...
0
votes
0answers
60 views

Unity Networking RPC confusion

I'm new to Unity Networking as well as networking in general. I am looking to call an RPC on multiple machines, but for the RPC to do something different if the machine executing the function is not ...
2
votes
0answers
49 views

Client-Server Game Communication (w/ Protobuf, Relevancy and Delta Compression)

So, I have reached another problem while trying to implement my client-server communication. From everything I've read there are three main ways to minimize packet size: Only send what has changed ...
1
vote
1answer
42 views

Should I switch to UDP for a mobile p2p game when considering 3G network?

I have been making a mobile game that is similar to "Street Fighter" where two players play with each other via Internet. The game sends out a small packet (controller status) to the other party ...
1
vote
0answers
47 views

Is there a way to avoid MITM attacks without encryption? [migrated]

After the player is authenticated, he receives a random, unique identification token. Every packet sent by him includes the token. A typical message would be: token sequence_number commands The ...
2
votes
1answer
62 views

how to sync two players to start at the same time for a head-to-head networking game?

I am developing a game similar to "Street Fighter" and two players can fight each other via Internet. The networking model is "lockstep" by trying to sync user controller status for each frame. When ...
0
votes
1answer
49 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 ...
2
votes
0answers
31 views

Lockstep dealing with lag

I understand how properly connected clients in a lockstep model deal with lag but what about the lagger? How does the lagger know that he or she is lagging? Should I continuously ping the central ...
2
votes
1answer
112 views

In-Depth Lockstep Explanation

I'm making a multiplayer game built upon a lockstep system and I'd just like a better grasp on the concept. My main question is on how to get every command to simulate at the same time on every ...
3
votes
0answers
61 views

client-server network model for top-down WASD game [closed]

I'm currently working on a multiplayer game with top-down camera view and WASD player control, similar to Bloodline Champions. Projectiles, spawned by players are relatively slow and clearly visible, ...
0
votes
1answer
51 views

In lockstep networking game, how to handle sudden lags and disconnection?

I am trying to implement a game similar to "Street Fighter" by using lockstep networking model so that two players can play remotely via Internet. I have read a lot of articles about lockstep ...
2
votes
3answers
110 views

Is this a viable architecture for lag compensation?

In some games/engines (such as Source), the server compensates for latency by applying player inputs in the past. Whenever the server receives a player's input for a frame, it rewinds the game to the ...
2
votes
1answer
103 views

Is there a pattern for handling multiple game states?

I'm experimenting with writing a multiplayer game, almost from scratch (I'm using C++, OpenGL, ENet, and platform-specific APIs) with a client/server networking model where the server is ...
3
votes
1answer
80 views

Sending Client Input to Server (which way?)

I am trying to get networking working for my game, I've read several sources of information about this subject but one thing is still unclear for me. The way I process client input is by executing a ...
1
vote
1answer
80 views

How to securely retrieve game stats from clients in a p2p game network?

I'm working on a P2P game and I know I should never trust the clients. I my architecture, there is a "Master Server" that stores game room (host) informations. Players can create their own rooms ...
2
votes
1answer
131 views

How can I make Network.RPC call a method with params object[]?

Why do I need to do this? The game I'm working on fully conforms to a component style design. Every component that a game object uses is placed on the object and is disabled/enabled based on it's ...
2
votes
1answer
112 views

How to output to the Oculus and a 2D screen?

We'd like to present an Oculus game to a large group of people. Not everyone will have an Oculus headset, so we'd like to output to both the Oculus and a second display. The problem is that the ...
3
votes
1answer
337 views

How can I separate component functionality from networking logic?

Is it possible to make network independent components that allow networking details to be specified externally? For example, if I have a "Follow" script that follows a game object, it would need to ...
2
votes
1answer
75 views

When two RPC methods have the same name, which is called?

I have a situation where I would want two of the same components( in a hierarchy ), to be on a GameObject. If this component has an RPC method, it obviously cannot change name per instance of the ...
7
votes
3answers
2k views

Are completely dumb client multiplayer games feasible? [closed]

Is it possible to make a networked game, where each client displays a pixel array sent to it by the server, and sends inputs back to the server? This would be much simpler to implement than using ...
9
votes
2answers
209 views

How would a game-state snapshot system be implemented for networked real-time games?

I want to create a simple client-server real-time multiplayer game as a project for my networking class. I've read a lot about real-time multiplayer network models and I understand the relationships ...
1
vote
1answer
42 views

What are some rarely-mentioned networking models/strategies? [closed]

I've been thinking about multiplayer and networking a lot lately, and I've found oodles of information, but I feel like there might be some standard models or strategies for networking that I haven't ...
0
votes
1answer
48 views

Using RPC's for movement of an object across a network [closed]

I've been building upon http://www.gamasutra.com/blogs/DarrelCusey/20130221/187128/Unity_Networking_Sample_Using_One_NetworkView.php At the moment when I spawn a sphere on the server it spawns on the ...
0
votes
1answer
266 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. ...
0
votes
0answers
59 views

Passing random number parameter to RPC call inside Unity

So I have posted a similar question previously but this is more specific to actual code that I am trying to implement for a multiplayer game that I am working on for IPAD. In short, this will be a ...
0
votes
0answers
44 views

Rewriting the existing code for RPC in Unity

So I am basically done making a game inside Unity. The next phase is for me to make the game run on different IPAD devices ( max 4 ). So the main game would run from a PC which would act as a server ...
1
vote
1answer
108 views

Server to client update rate

I am building a game that uses client-server architecture and have the following question regarding server to client updates. Currently the server is doing 60 ticks per second and is sending updates ...
4
votes
1answer
125 views

Executing commands at the exact same time on 2 or more computers

I have an RTS game, with deterministic simulation, but if I want multiplayer to actually work, I need commands sent between computers to be executed at the exact same time. My game's networking is ...
4
votes
4answers
299 views

How do I prevent receiving data from the network from dropping rendering frames in a multiplayer game?

I'm building an HTML5 massively multiplayer online game. I've been working on this project for awhile, but am having some trouble sorting through a couple of performance issues. Since this is a ...
2
votes
1answer
125 views

Lidgren peer to peer

I am currently integrating Lidgren into my Unity game. I need to move away from the built in networking capability in Unity because of the style of game I am making, basically MMO, I will have far too ...
0
votes
0answers
67 views

Client-server architecture with box2d

I am running a client-server architecture with an authoritative server running box2d and the client running box2d as well. If gravity is set to 0, is there any point to linear interpolation and ...
1
vote
0answers
76 views

Unity 3D Photon Network wait for all buffered RPCs to be called

I am having a lot of fun with the Photon Network asset, and I'm having this issue where I need to instantiate the players at different spawn spots, but not in a random way, instead I thought it would ...
2
votes
1answer
70 views

How to sync gamestate between server and clients in turn based 4x game?

Background information: I am developing a game similar to other 4x games like Sots, MoO,... I am storing all information about the game(like star/planet/ship/fleet positions, owners and a lot of ...
1
vote
3answers
141 views

How to handle network game [closed]

I'm currently building my own game using LIBGdx in JAVA but i'm facing some trouble. My game is base like this : A player have a position and some other parameters that are float, int types. He also ...
2
votes
1answer
141 views

How do console games avoid port forwarding with user hosted servers?

On AAA xbox games (Call of duty, etc.), the company acts as a matchmaking service but the users host all of the games. Because not everyone has ports forwarded on their router, how do these games ...
1
vote
1answer
88 views

Inventory management syncronized network

I'm implementing an inventory system with items in 1x1 slots in a open-world multiplayer game. But I can't decide how I want to synchronize the item management with the server. I see two options here. ...
0
votes
1answer
157 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
122 views

Using peer to peer for prediction in a client-server network model

By implementing peer to peer connections between clients in a client-server network model I should be able to increase the prediction fidelity as this theoretically would provide the client with other ...
0
votes
1answer
111 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 ...
5
votes
2answers
527 views

How to sync client and server at the first frame

I'm making a game where an authoritative server sends information to all clients about states and positions for objects in a 3d world. The player can control his character by clicking on the screen to ...
0
votes
2answers
256 views

UDP Netcode Architecture for Fighting Game

I am programming a fighting game that uses a UDP client/server architecture for multiplayer. The server can handle multiple clients, two of which (or one being the server) are playing and the rest are ...
0
votes
0answers
114 views

Google Play Game Services - Handling messages via p2p, host or no host?

I am developing a real time multiplayer game using Google Play Game Services. The underlying networking is done via P2P. Everything I read says I should still have a game host that sends out all the ...
1
vote
0answers
32 views

What are options for cross plaform peer to peer? [closed]

I'm looking for Windows 7/8, Android, iOS and possibly Windows Phone support I've looked at: libjingle. It holds promise, but looks complex to integrate and doesn't seem to offer Windows Phone ...
0
votes
0answers
130 views

Realtime Multiplayer Server for Backgammon in Unity2D

I am doing a project as a student. As I'm developing a Backgammon game for iOS and Android. I have faced the problem of choosing the best method for my server. In this game users will join a room to ...
2
votes
2answers
740 views

Kryonet usage for game networking

Im making a game where real-time data is exchanged between server and clients, and I was using java UDP sockets straight up, but I reached a point where I actually need to know if a few specific ...
0
votes
1answer
53 views

how to guarantee the order of response in a service-oriented mmo server cluster

i'm working on a mmo server these days. it's a service-oriented architecture, every service is one process which processes a specific type of request, and i have inventory service, battle service, ...
1
vote
0answers
61 views

Any easier way to add networking to an XNA game? [closed]

I know that the MSDN has an article on this but I'm not developing for Xbox so I'm not sure if I should use NetworkSession or LocalGamer etc etc because I think they are Xbox only. But I haven't tried ...
1
vote
1answer
160 views

game server/client user input/event handling

I'm currently getting my feet wet in the realm of networking, so I set a goal to make a simple client/server game using SFML for both graphics and networking. In my head it seemed easy at first, but ...