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
vote
1answer
83 views

What are some effective methods of documenting packet protocols?

I'm working with a few developers on a hobby project and we have a lot of different APIs. What are some popular methods of creating documentation on the potential requests, and what can be expected to ...
3
votes
2answers
1k views

UDP vs TCP in multiplayer mobile game

I'm working on a networked multiplayer game, initially for iOS. Even with TCP_NODELAY there are large fluctuations in latency. I can't be sure of the reason, but I would not be surprised if it was ...
2
votes
3answers
213 views

How can we validate subjective inputs from a client?

Let's propose for a minute where we have a game using something like the Virtuix Omni. You track feet movement. You track the speed at which they run. Now, let's suppose we want to translate this into ...
0
votes
2answers
116 views

How can I escape my field delimiter in my game's packet data?

For my game I decided to not encrypt my packet's payload. Instead I'm just going to check everything on the server to make sure the packet is legitimate. As I'm not doing any encryption, my packet's ...
5
votes
1answer
310 views

P2P card game: Shuffling without knowing the final order?

So, I am conceptualizing a P2P trading card game. The issue is the network: knowing the identity of a card is giving a major advantage, so both clients need enough information about a card that they ...
0
votes
2answers
78 views

What is a good balance between client and server actions?

I'm working on a voxel-based game right now which will have a lot of events, like clicking a block or object. Say I want to open an interface when I click a certain block. Should I handle this on the ...
10
votes
3answers
619 views

I know that my super simple multiplayer setup is probably not a good idea, but why?

I'm making a simple little MOBA just for fun. I was making everything single-player then I realized "oh crap I should probably add multiplayer, huh." I've never done anything with networking before, ...
4
votes
2answers
252 views

Mobile Multiplayer games and coping with high latency

I'm currently researching regarding a design for an online (realtime) mobile multiplayer game. As such, i'm taking into consideration that latencies (lag) is going to be high (perhaps higher than ...
0
votes
1answer
444 views

Multiplayer Network Game - Interpolation and Frame Rate

Consider the following scenario: Let's say, for sake of example and simplicity, that you have an authoritative game server that sends state to its clients every 45ms. The clients are interpolating ...
4
votes
4answers
287 views

Networking gampeplay - Sending controller inputs vs. sending game actions

I'm reading about techniques for implementing game networking. Some of the resources i've read state that it is a common practice (at least for some games) to send the actual controller input across ...
1
vote
1answer
88 views

How can I implement something like Destiny's public events?

Bungie has shown a gameplay trailer for their new game, Destiny. The part that really stood out for me was the 'public events' that can happen randomly while playing. Now I've thought about it for a ...
1
vote
1answer
239 views

Tracking player location in realtime 2d mmo

I have read all of the answers here about tracking player locations, but still have some questions. I don't seem to understand how to do this efficiently, and feel that the internet could greatly ...
1
vote
1answer
208 views

What is the impact of many AI enemies on state replication networking?

Imagine an online coop style FPS or TDS game where say 2-6 real players fought large amounts (20-60 concurrent) of AI enemies. Could this style of game be reasonably networked over the internet using ...
-4
votes
1answer
342 views

XNA PC vs Monogame Online Multiplayer [closed]

I've got a mostly working PC game in XNA 4, and am looking to make it networked. From the documentation it seems that I can use XNA Networking through GFWL to do LAN sessions, but not online sessions ...
8
votes
3answers
395 views

Is it feasible for a Server to send nothing more than a tile-based area to a Client?

To start, I have a good amount of background in networking (hardware, routers, ex.) but very little knowledge past the basics of network programming. This may seem like a stupid question, but I want ...
9
votes
3answers
477 views

How to avoid being throttled?

I'm writing a networked iOS game. When sending packets with GKMatchSendDataReliable (which I assumed was UDP with their own packet reception code written) at 60 packets per second (so 16 ms between ...
2
votes
1answer
200 views

How are UDP packets verified as authentic? [closed]

Hey I'm writing a game and have the backend written using a sometimes-reliable UDP scheme. I want to verify that inbound packets are actually originating from the player specified in the packets. My ...
3
votes
1answer
214 views

How to sync game tick in peer to peer game?

I am making a 2-player iphone action game using a synchronization service (in this case Firebase). The service allows state syncing through the internet, but I have to execute all game logic on the ...
5
votes
2answers
960 views

Will Google Play Game Services allow turn-based gameplay?

Will the Google Play Game Services multiplayer allow (turn-by-turn) gameplay like DrawSomething?
-2
votes
2answers
376 views

3G ISPs blocking TCP protocol on port 80? [closed]

I want to run a custom TCP protocol over a 3G connection for a game. (Amazon server with mobile clients) I decided to use port 80 because hey, it's open. I'm aware that some paranoid ISPs will have ...
3
votes
3answers
448 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, ...
3
votes
2answers
170 views

Broadcasting terrain data

How can i send from server to client a large amount of tile data? Having chunks of almost 2MB of data seems prohibitive to send this information just like that. Minecraft compress each chunk and ...
0
votes
1answer
152 views

Client send rate for network games

As I understand for a client server model, it's common practise to send input to the server and then the server applies the input to update the state of the game. The server then sends updates to ...
4
votes
3answers
369 views

Are there methods faster than Strings for sending a sprite's state over UDP?

I'm programming a 2.5D networked game in Java. The networking works like this right now: Create new networked sprite object at the client. Send it to the server. Server distributes and saves it. ...
2
votes
2answers
890 views

How to implement lockstep model for RTS game?

In my effort to learn programming I'm trying to make a small RTS style game. I've googled and read a lot of articles and gamedev q&a's on the topic of lockstep synchronization in multiplayer RTS ...
0
votes
1answer
167 views

Are there any guidelines/articles/tutorials for creating a network protocol for games? [closed]

I am currently developing a little 2D sandbox game with multiplayer functionality in XNA 4.0 and the latest lidgren-lib for networking. I found myself quickly at a point where sending a players ...
1
vote
1answer
450 views

LibGDX Cross Platform Networking

Backstory: I've been developing a game with LibGDX for the past two years, and I've seen it refactored more times than I remember. I jumped on the iOS iKVM port as soon as it was released. But I've ...
1
vote
0answers
190 views

DRY 0-bandwidth-overhead-serialization in C#: virtual, delegates or reflection? [closed]

I'm (de)serializing some datastructures for a network-multiplayer game, and for each datastructure that's to be (de)serialized, I want to define the order of (de)serialization only once for ...
6
votes
1answer
229 views

Game Networking Update Packets

So, I've been working on a project for a while which is basically just a little 2D game. The fun/hard part is that I've been trying to make it work as a multiplayer game. Right now, the game is just a ...
4
votes
1answer
344 views

How to develop multi-player game without involving server side code?

There have been lot of cloud based frameworks released in past few years. They provide real-time communication among users but does not allow developers to write server side code. So, how can we use ...
3
votes
3answers
304 views

Best way to network the movement of 2D tanks?

I'm working on a multiplayer Flash game with a Python server and I have a quick question regarding how I should send positional updates for tanks for other players. Should I choose Option A: When ...
-1
votes
1answer
319 views

Asynchronous Game server [closed]

I am building an asynchronous multiplayer game (which can be compared whith a chess game) with Unity (up to 4 players in game). But I am stuck at choosing the server side solution. For me this kind of ...
1
vote
3answers
355 views

Event-driven vs state synchronizing networking model

I was going through the Tribes network model and the network model used in Quake3. What I understand is that Tribes is more of an event based model where as the Quake model uses game states and delta ...
0
votes
1answer
113 views

Would a custom mod built for RakNet be automatically usable with Unity?

Context: I'm interesting in developing a security module for servers that handle mobile games, and I'd like it to be usable by the most people possible. So I'm trying to decide what server software I ...
-1
votes
1answer
173 views

Server fixed timestep not running at 30Hz but way way too fast [closed]

I'm trying to make my game's server thread run at a fixed 30Hz but can't figure out how. Basically, before I just had a stupid while(1) { //do everything as fast as you can} which means that for my ...
1
vote
2answers
662 views

Packet handling system architecture?

I'm working on a multiplayer Flash game (ActionScript 3) with an accompanying server written in Python and I'd like some tips regarding networking, and specifically, the handling of packets and ...
6
votes
2answers
425 views

Networking Questions: Serialization and Frequent Small Packets or Fewer Large Packets

I'm working with a socket server and I'm trying to decide how to update all of the clients. I'm currently sending few packets with entire objects serialized in JSON. In most cases this adds a lot of ...
0
votes
1answer
124 views

Receiving server data inside game loop

I'm planning on how my multiplayer game client game loop should work. While I'm convinced that server should be moved from game loop into it's own thread, I'm not sure what should I do about receiving ...
0
votes
1answer
309 views

Client Server Multiplayer Project

I have reviewed the relevant WinForms/XNA samples here and here. However, my requirements are slightly different. Given the following: I am developing a multiplayer (Client - Server) game There ...
5
votes
1answer
500 views

Structuring server-side networking with entity-component systems

I've been working on an online game, and recently have been working on converting the base of the game to use the Artemis Entity System Framework. I'm having a bit of difficulty conceptualizing ...
1
vote
1answer
105 views

synchronizing view state between nodes in a rendering cluster

I'm building a display wall demo application. The environment: N machines, each driving up to six displays Wired gigabit switch OpenTK application to draw the pretty pictures, running 1 copy on ...
1
vote
1answer
253 views

Do “write once run anywhere” engines require platform specific code for multiplayer?

I've been investigating the myriad selection of mobile game dev engines that allow compilation of your code onto multiple target platforms, but, something I can't seem to figure out is if ...
3
votes
1answer
139 views

How to setup a client to work with a remote server or a local included server?

I'm working on a Networked multiplayer game, but while developing and for testing I want to set up a local server that acts like the multiplayer server. My thought is to approach the server as a ...
2
votes
0answers
139 views

What's a simple way of sending game data between phones? [closed]

Using windows phones I need to send small amounts of data between phones in a turn based game. It's only a few bytes of data and does not need to be real time, something like in wordfeud or similar. ...
4
votes
1answer
247 views

Networked Physics - Interpolation Causes Physics Engine to Explode

A major issue I am encountering right now is that my physics engine (BEPU) and my network interpolation are conflicting with each other. The player is a physics object, and so the physics engine ...
2
votes
1answer
118 views

Efficiently storing game states history for physics?

I would like to store the history of a box2d simulation. Currently I can't find any built-in mechanism for that. I need to store the states of all non static objects in the last second, mainly for ...
18
votes
5answers
1k views

Tricks in game mechanics to avoid dealing with network lag compensation?

Implementing network lag compensation is hard, how to avoid it? Maybe it's possible to use tricks and build game mechanics in such a way that lag would be percieved as a non critical or even as a ...
9
votes
4answers
584 views

Run a physics simulation on both client and server?

I'm implementing a multiplayer asteroids clone to learn about client/server network architecture in games. I have spent time reading GafferOnGames and Valve's publications on their client/server ...
0
votes
2answers
175 views

Practical Way to Store and Communicate Data for a Multiplayer Game Like This

I am working on my first multiplayer game, as I have become bored with my single player indie games. However, I have a question. Players will be placing items on a map which is arranged in a grid, ...
7
votes
3answers
554 views

How do I prototype an online game?

I would like to know if you guys know of any libraries, engines, or even simply design patterns that heavily simplify the task of sharing information and sending of messages between networked ...