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

Server architecture software side

I'm making a game some like Terraria. I have a couple of prototypes, but most of them use a "entity-component-system"(ESC) and some custom terrain implementation. Now I've reached the part where I ...
1
vote
2answers
378 views

Networking dynamic game worlds

I'm working on a 3D massively multiplayer space game in C++ and I'd like some advice from experienced game developers. Essentially, the world (universe) simulated on the server is absolutely dynamic, ...
3
votes
6answers
538 views

Should Client->Server/Server->Client packets be separate?

When working on network packet structure for games, what is more efficient (in terms of code structure) for packet reading for client/server? Currently, Our packet structure is to send the packet ID ...
9
votes
2answers
418 views

How to handle entity path-finding and movement in a large networked world?

Considering the image above with tiles split into 32x32 boxes, I have an entity which is marked to 'aggro' nearby players that come close to it. I'd like this monster to ideally chase the player (and ...
1
vote
1answer
420 views

Turn based card game multiplayer: http polling or TCP

I am working on card games for mobile devices. For multiplayer I will be communicating through a central server. For the purpose I sorted out three options: HTTP polling TCP Websocket (client ...
1
vote
0answers
116 views

2D Java Networked Game Coordinate Updating [closed]

I'm currently developing a networked 2D MMO-style game in which several thin clients (ran in an applet) are able to connect to a server and well, do MMO-style "things"! Some more background on the ...
1
vote
0answers
136 views

Input and packets handling when using render interpolation

I'm implementing valve's networking model for my simple top down game but I have some design problems and I just can't think of good solutions. The one of the main ideas that there is a render time ...
8
votes
2answers
578 views

How to find a game server in the LAN network with IPv6 technology?

Back in the IPv4 days, people simply used broadcast packets check if there are any server available in the network as described in this answer. But in the IPv6 protocol they've dropped broadcast ...
2
votes
1answer
337 views

Particle systems on multiplayer games

I'm working on a 2D javascript/Three.js multiplayer game, using web sockets and an authoritative server currently written in Python. The combat mechanic will be similar to Geometry Wars however i'm ...
3
votes
2answers
471 views

Syncing game states in a multiplayer RTS game

I'm working in a group with 2 friends on our Gr. 12 final project for programming. We're making a multiplayer RTS game. I've been assigned to the networking section of the game, and none of us have ...
3
votes
1answer
277 views

How to properly do weapon cool-down reload timer in multi-player laggy environment?

I want to handle weapon cool-down timers in a fair and predictable way on both client on server. Situation: Multiple clients connected to server, which is doing hit detection / physics Clients ...
7
votes
4answers
1k views

Multiplayer online game engine/pipeline

I am implementing online multiplayer game where client must be written in AS3 (Flash) to embed game into browser and server in C++ (abstract part of which is already written and used with other ...
2
votes
1answer
215 views

How do I run my XBOX XNA game without a network connection?

I need to demo my XBOX XNA game in college. The college doesn't allow this type of device to connect to the network. I deployed my game to the Xbox and it is sitting in the games list along with my ...
1
vote
2answers
78 views

Windows Phone 7 Networked Game

Im creating a multiplayer asteroids type game for the Windows Phone 7, 2 players can challenge each other over who will get the highest score. On each players phone the opponent is displayed and both ...
8
votes
3answers
400 views

How to prevent a hacked-server from spoofing a master server?

I wish to setup a room-based multilayer game model where players may host matches and serve as host (IE the server with authoritative power). I wish to host a master server which tracks player's ...
3
votes
1answer
324 views

How to sync the actions in a mutiplayer game?

I connect the clients with UDP (its a peer to peer connection on a multicast network) and the clients are sending their positions in every frame (in WP7 it means the default 30 FPS) to each other. ...
-1
votes
1answer
232 views

Sending A Class Packet [closed]

How would I be able to send a class through the internet like this. class Player { public int Health; public Player Copy() { return this; } } And do this. SendPacket(new ...
1
vote
2answers
1k views

Networking Client Server Packet logic (How they communicate)

I want to know what is the logic behind server client communication through packets for a real time game. for example the server sends x packets then the client receives x packets and processes them.. ...
21
votes
9answers
1k views

Techniques to prevent non-official clients in network gaming?

In multi-player network games, what techniques exist to try to ensure that users are connecting with the official client application, and not some hacked client app? I realise there is probably no ...
2
votes
3answers
1k views

MMORPG Server architecture: How to handle player input (messages/packets) while the server has to update many other things at the same time?

This is more or less like what I'm thinking up to now: while(true) { if (hasMessage) { handleTheMessage(); } } But while I'm receiving the player's input, I also have objects ...
1
vote
1answer
231 views

How can I refactor my code to use fewer singletons?

I started a component based, networked game (so far only working on the server). I know why singletons can be bad, but I can't think of another way to implement the same thing. So far I have: A ...
12
votes
2answers
323 views

Are there tools for testing multiplayer code?

Are there reliable tools that can simulate real life-like network conditions e.g. networks with different bandwidth, different latencies, packet loss etc...?
9
votes
1answer
579 views

How do I sync client and server when sending player speed changes?

I'm implementing client-side prediction. Most explanations assume the client sends messages like "Move my player up by 1 position". What if I send messages like "Set my player's velocity to x"? On ...
4
votes
2answers
632 views

A simple example of movement prediction

I've seen lots of examples of theory about the reason for client-side prediction, but I'm having a hard time converting it into code. I was wondering if someone knows of some specific examples that ...
0
votes
0answers
44 views

Is there a simple isometric graphical game engine (using vectors?) that could be used for a (multiplayer) crafting/farming game? [duplicate]

Possible Duplicate: Good, free isometric game engine? With little game development experience (albeit having graphical skills and some programming knowledge) a group currently working on a ...
3
votes
1answer
414 views

Client and Server game update speed

I am working on a simple two player networked asteroids game using XNA and the Lidgren networking library. For this set up I have a Lidgren server maintaining what I want to be the true state of the ...
2
votes
2answers
3k views

How to build a turn-based multiplayer “real time” server

I want to build a TCG for mobile devices that is multiplayer over the web (not local wifi or bluetooth). As a player plays cards I want the second player to see what is being played in "real time" ...
3
votes
3answers
408 views

frame lock networking

I'm developing an RTS game and I want to add multiplayer support to my game. I picked the easiest technique to implement for start frame locking technique. I used server client networking ...
0
votes
1answer
378 views

Choosing the correct network protocol for my type of game (its Wc3 Warlock style)

I need to code a little game for a school project. The type of the game is like the Warcraft 3 map "Warlock", if anyone doesnt know it, here is a short description: up to ten players spawn into an ...
2
votes
2answers
280 views

Procedural object generation and unique identification

My question relates to procedural content generation and data management of the emerging objects in a database. I assume a networked game, with a server-client model. Unspecified objects in the game ...
9
votes
2answers
276 views

Server-side Input

Currently in my game, the client is nothing but a renderer. When input state is changed, the client sends a packet to the server and moves the player as if it were processing the input, but the ...
0
votes
1answer
384 views

Client/Server game even in solo: any big problem?

I'm making a game which have strong basic design based on multiplayer but also should provide a really interesting and self-sufficient solo game. A bit like a real-time strategy game. The events and ...
3
votes
1answer
289 views

Client should send one big packet or multiple smaller ones per frame?

The client can do several actions per frame, for instance, requesting a movement, shooting etc. Should i send a packet to the server for each action the client performed during the frame, or should i ...
4
votes
1answer
199 views

Is it possible to work with a dedicated server in XNA?

Hi I want to release my XNA game to the XBOX platform, but I'm worried about the networking limitations. Basically, I want to have a dedicated (authoritative) server, but it sounds like that is not ...
2
votes
1answer
5k views

Can networking be platform independent in a libgdx game?

LibGDX supports Desktop (Windows, Linux and Mac), Android and web applications. Can i code the network part of an online game without taking care of what kind a of application i'm running? i.e coding ...
0
votes
1answer
337 views

Networking middleware [closed]

I'm looking for a networking middleware that may be suitable for a medium-sized MMO. I don't care in which language it's written, just that it's high-level, stable and has many of the features that ...
4
votes
1answer
810 views

Networking library compatible C++ and Java

There is any networking library like eNet compatible with Java and C++? 'm trying to find a way to communicate an Android game in Java with a C + + server, but I prefer to use a network library ...
7
votes
3answers
2k views

Physics not synchronizing correctly over the network when using Bullet

I'm trying to implement a client/server physics system using Bullet however I'm having problems getting things to sync up. I've implemented a custom motion state which reads and writes the transform ...
1
vote
0answers
132 views

UDK and Protocol Buffers

Actually two questions: Can I use TCP sockets in UDK to implement my own networking protocol? (I guess TCPLink is an answer) Is there any way I can user Protocol Buffers inside UDK? Or anything like ...
7
votes
2answers
554 views

multiplayer networking with physics

I'm curious how multiplayer networking with physics is implemented in racing games. We have a physical world with multiple fast-moving vehicles controlled by different people. Let's say that vehicles ...
3
votes
1answer
203 views

P2P synchronization: can a player update fields of other players?

I know that synchronization is a huge topic, so I have minimized the problem to this example case. Let's say, Alice and Bob are playing a P2P game, fighting against each other. If Alice hits Bob, how ...
2
votes
2answers
334 views

Do UDP game clients/servers block for receive calls?

One way to implement a client/server relationship is to have the server simulate the whole game based on the clients input and send updates back to each client, while the client is is simulating the ...
0
votes
1answer
276 views

network programming: simultaneous IO over sockets?

In my curses based game, I decided to add multiplayer functionality over net, in addition to one-keyboard mulitiplayer game. I use switch loop and in case it's 1st user's buttons, user 1 is acting ...
3
votes
3answers
1k views

Prevent Multiplayer Cheating

I am almost complete developing a small indie-style multiplayer game. While I intend to allow people to cheat in single-player, this is obviously not acceptable in multi-player. Does anyone know of ...
1
vote
2answers
258 views

Client/Server Object updates seems to run at different speeds

i have been playing around with the NetworkPrediction sample from Microsoft. Trying to adapt it to use gameTime. The client is running without fixed TimeStep and the server is custom C# and updates a ...
7
votes
3answers
4k views

Javascript and PHP for real-time multiplayer?

I'm wondering if combining Javascript clientside with PHP/mysql serverside is a good idea for HTML5 real-time multiplayer (small scale) browser games? My technical knowledge is very limited, and even ...
1
vote
1answer
343 views

Multiplayer (Database, Users,etc) for game

I'm am looking to add multiplayer into my game (2D Platformer in XNA C#) My worlds are quite large (Up to 30 Million tiles max, Average 20 million maybe. 2000x10000). You could say the game is quite ...
5
votes
4answers
554 views

Online Identification for Desktop Games?

What methods are there for providing means of authentification for multiplayer? A few thoughts: I don't want to be restricted to a single publishing platform such as Steam. Something like OpenID ...
1
vote
2answers
240 views

Help retrieving/sending data to/from a server on iOS (C#, Mono, .Net)

I'm sorry in advance if this is a silly question. I'm currently working on getting something running where I can grab information from a server. My goal is to make the data I'm retrieving (or ...
4
votes
2answers
425 views

game multiplayer service development

I'm currently working on a multiplayer game. I've looked at a number of multiplayer services(player.io, playphone, gamespy, and others) but nothing really hits the mark. They are missing features, ...