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)

2
votes
1answer
296 views

Client Server UDP Jumping

I don't really think this is an issue with the fact that UDP can drop packets (I'm using Lidgren and using ReliableInOrder), but basically, in my game, the client send the input keys (if forward is ...
4
votes
1answer
730 views

XNA: Networking gone totally out of sync

I'm creating a multiplayer interface for a game in 2D some of my friends made, and I'm stuck with a huge latency or sync problem. I started by adapting my game to the msdn xna network tutorial and ...
1
vote
3answers
375 views

2D Physics in a networked game (iOS)?

I am researching the possibilities for a new iOS game. It's going to be a run-n-gun type platformer, and I'm looking into the possibility of co-op multiplayer. The game itself wouldn't be very ...
2
votes
3answers
786 views

What's an efficient way to represent game state for networked games?

I've done a little bit of network coding for games before, but primarily with TCP for games that don't really need to simulate real-time interaction. I am working on a (somewhat) simple 2D Java game ...
1
vote
3answers
872 views

Library like ENet, but for TCP? [closed]

I'm not looking to use boost::asio, it is overly complex for my needs. I'm building a game that is cross platform, for desktop, iPhone and Android. I found a library called ENet which is pretty much ...
5
votes
1answer
524 views

Splitting up duties for a card game server

I'm working on a game where players connect to a game server and to a lobby to play a card game against others. I have a pretty good idea how to code it and such, I'm just not sure regarding a few ...
3
votes
3answers
302 views

Loadbalancing Questions

I have been learning networking for about 4 months. Wrote a single standalone Multiplayer server and succeeded with authoritative approach. Now I want to extend it by splitting the single server into ...
1
vote
2answers
301 views

Resources for game networking in Java

I am currently working on a Java multiplayer game. The game itself (single player) already works perfectly fine and so does the chat. The only thing that is really missing is the multiplayer part. ...
2
votes
2answers
362 views

Would it be too much overhead to keep a HashMap of variables on a server per object for the purpose of syncing object changes with the client?

I am currently writing a server for a multiplayer game. I am trying to find a good solution for synchronizing GameObjects across the server. The server sends each client a snapshot of every object in ...
2
votes
3answers
942 views

How do I implement delta-only data packet updates in UDP?

Edit: My current system is going to be to send constant player updates every 1/20th of a second, each containing the player's status and position. I will also send another packet (or as many needed) ...
9
votes
3answers
774 views

Prevent players from wallhacking in an online FPS?

Why do we still moan on wallhackers in multiplayer first-person shooters? Isn't it possible to perform occlusion culling for all players server-side? For example, send player xyz information to ...
0
votes
3answers
3k views

How to make game sessions like “with friends” games?

I want to make a game like "words with friends" or "chess with friends" or "Draw Something" or any of the other online multiplayer type games that are based around friends having game sessions with ...
10
votes
3answers
1k views

Is knowledge of hacking mechanisms required for an MMO?

Say I was planning on, in the future (not now! There is alot I need to learn first) looking to participating in a group project that was going to make a massively multiplayer online game (mmo), and my ...
9
votes
1answer
559 views

How to keep a data structure synchronized over a network?

Context In the game I'm working on (a sort of a point and click graphic adventure), pretty much everything that happens in the game world is controlled by an action manager that is structured a bit ...
0
votes
2answers
145 views

How much to bake user input in a client-server?

Assume a client-server game where there server manages all state and the clients are simply rendering / input. How much should I bake user input from the client before sending it off to the server? ...
4
votes
3answers
507 views

Send regular keyboard samples OR keyboard state changes over network

Building a multi player asteroids game where ships compete with each other. Using UDP. Wanted to minimize traffic sent to server. Which would you do: Send periodic keyboard state samples every from ...
3
votes
1answer
422 views

Photon alongside LibGDX

Can anyone point me to a possible implementation of the Photon network engine along with LibGDX for Android? Or any multiplayer networking SDK for all that matters. From reading source code it ...
10
votes
2answers
571 views

Do I need to implement IPv6 support for my game?

I'm going to implement network features for the game I'm currently working on, now I'm wondering if I need to implement IPv6 support or just having support for IPv4 is enough?
3
votes
1answer
634 views

Any good web frameworks for asynchronous multiplayer games?

I'm trying to craft a site for web-based (original) board games, and my client (currently written in Actionscript, but that's highly fungible) works fine - I can play solitaire games in the client - ...
7
votes
2answers
1k views

Turn-based Client-Server Card Game - Unicast (TCP) or Multicast (UDP)

I am currently planning to make a card game project where the clients will communicate with the server in a turn-based and synchronous manner using messages sent over sockets. The problem I have is ...
4
votes
1answer
428 views

Components in a client/server network game?

Behavior and logic are executed on the server. The clients are mostly for rendering, audio, and gathering input. It looks as though most of the a components architecture benefits are only realized ...
6
votes
2answers
622 views

A Poker Game with XNA

A customer of mine asked me to develop a Poker Game for him where they play poker with his friends online. I have been looking for a good reason to start programming with XNA. Would you implement ...
2
votes
0answers
691 views

Strange Flash AS3 xml Socket behavior [closed]

I have a problem which I can't understand. To understand it I wrote a socket client on AS3 and a server on python/twisted, you can see the code of both applications below. Let's launch two clients ...
1
vote
1answer
775 views

XNA 4.0 and Lidgren Library, How do I create a server/client hybrid?

My use of terminology may be off a little bit. I have been playing around with the Lidgren XNA sample for how the library works, and it is simple to implement it looks like. I am curious on the logic ...
7
votes
4answers
1k views

Server-side physic simulations with hundreds of players

I’m currently working on a singleplayer physics-orientated game where I would like the physics to be simulated server-side. This because the game will have leadersboards, persistant player ...
-2
votes
2answers
296 views

Is it possible to have a cross platform multiplayer game on iOS?

Does Apple allow socket programming? I figure if I am able to send and receive UDP packets (at least over wifi) the possibility is there.
1
vote
1answer
890 views

Lag compensation of projectile shooting game

I'm thinking about an algorithm for firing projectiles with lag compensation. Now I did find only one descent solution: Player hits fire button. Client sends input "fire". Client waits for server ...
4
votes
6answers
1k views

How to hide a MMORPG backend server from the internet?

I want to create a network where the main servers IP is never exposed to the client. By going throught tunnels. Here is a sample: http://dl.dropbox.com/u/12304631/eliteots/mc/network.jpg Problem ...
5
votes
2answers
2k views

How do MMO servers communicate with players who are behind a NAT?

I'm now planning to develop a real-time mmo in the future using udp as the transmission protocol since it has lesser overheads than tcp... I understand that between the client and the server, they ...
4
votes
1answer
573 views

Multiplayer box2d networking for turn based game

I am currently in the planning stages for a 2D game for mobile devices which I will be making in C++ using cocos2d-x. The game will be turn based and each turn will have a phase in which the physics ...
2
votes
1answer
797 views

Real-time UDP multiplayer games: ping measurement?

In real-time multiplayer games that use UDP for the actual game (CS:S, UT, etc.), how is network latency (ping) measured? More specifically, how do you find out how long ago a UDP packet was sent? ...
0
votes
1answer
160 views

client - server position syncronization in flash

I trying implement client - server position syncronization. Every 20 game ticks i sending to flash client correction of player position... and it always wrong on client, flash always cant predict ...
0
votes
2answers
2k views

LAN game in Actionscript 3

I know this may be a somewhat dumb idea, but is there any "easy" resource that anyone can point me towards that shows how to set up a simple LAN connection in an Actionscript application? I only need ...
4
votes
1answer
318 views

Is networked gameplay inherently hard to debug and create?

I have worked with xna before and made a simple networked game. I have also worked with unity3d as well. One thing I notice on many game engine web pages is that they talk about how the engine is ...
0
votes
1answer
564 views

MMO lag compensation problem

i'm writing small mmo, using boost library, i want to make it non-target game, but when i came to part where i need to save previous game states i became confused. How to implement game world, npcs, ...
2
votes
3answers
415 views

Best way to handle realtime melee AI in authoritative network environment

So i've been working on a multiplayer game for a bit; it's a co-op action RPG with real-time combat. If you've seen or played TERA, I'd say it's comparable to that, but not an MMO, heh. I'm currently ...
1
vote
1answer
416 views

Implementing an online database

I'd like to get into online games programming. I thought that as a start i'd be a good idea to implement an online database that would store the progress and score for a game i have made, i'll ...
1
vote
2answers
730 views

Server hosting and costs [closed]

I'm developing a game that will require renting a server. The server will be used to host scores, clans, friends(on/off), match making, lobby, and chat. The game/match will be hosted by each player ...
4
votes
1answer
495 views

How do I avoid losing prediction responsiveness due to client interpolation?

In my online game, I am using client prediction and client interpolation to give the illusion of responsiveness over a networked connection. The client prediction applies inputs that haven't yet been ...
0
votes
3answers
711 views

XNA Multiplayer Gone Wrong

I'm trying to add multiplayer to my XNA platform game, and have just failed miserably. The idea behind my method is that the client knows what tick the server is at, and knows how long it takes to ...
3
votes
3answers
774 views

How to parse & “pack” network commands?

I'm currently creating a game which should be multiplayer (client-server-client), but I'm stuck. I have been doing crazy things like building a text chain like string networkMessage = userHash+" ...
16
votes
3answers
4k views

How does client-side prediction work?

I've read Valve + Gafferon and hundreds of pages from Google, but for whatever reason I can't get my head around client prediction. To my understanding, the basic problem is: Client A sends input ...
4
votes
2answers
164 views

How do I synchronise real-time moves of players on a grid?

I'm working on a real-time game based on a grid. Each player can move a single square at a time. A server tracks the game state and notifies clients of changes. It's possible for two players to make ...
1
vote
1answer
558 views

Securing a TCP connection on iOS for an MMO

I am currently building an iOS MMO and I'm leaning towards using TCP as my networking protocol over the higher level HTTP (for the speed difference and the fact that it does not require the client to ...
0
votes
2answers
178 views

Design of networked Asteroids

I am looking for some advice on what would be a good way for users to play Asteroids over the network. Its my first game and so far I have it working in 2D using polygons across a scrolling world in ...
1
vote
2answers
418 views

Networking server/client library to setup p2p connection

I'm making a multiplayer game, and I want to setup a p2p network. I'm coding a server in python to make the matches and send each player it's adversary ip and port, but I'm having trouble to make udp ...
2
votes
2answers
2k views

Cross platform C++ UDP socket library

Can somebody recommend a free C++ open source library which I will use to build a networked game using UDP. Must be available for Windows/Linux/Mac. As lightweight as possible please.
3
votes
3answers
2k views

Multiplayer API with Unity 3.5 and AS3

On the faq for the current preview release, http://unity3d.com/unity/preview/faq it says that while networking is not currently supported for flash compilation, we can write our own in AS3 using the ...
-2
votes
1answer
5k views

How do I start writing an MMO game server? [closed]

I am developing a multi-player on-line game. I just started coding the server but I have no idea how to do it. Do I have to use threads ? And if i do, do I need one thread for every client? Knowing ...
5
votes
4answers
778 views

How does a wow server handle which player position to set to each nearest players?

I already understood how game developers could create very large game levels, bypassing the floating point precision limit. This was my very first mind boggling question, and I understood it when I ...