The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
4answers
205 views

Protecting the integrity of a game state while minimizing amount of data sent

I'm developing a multiplayer game in PHP/jQuery, and naturally have to be wary of any sort of data coming from the client. At present, I have tables of data representing the map (2D roguelike), ...
2
votes
1answer
230 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 ...
-1
votes
2answers
211 views

Start timer in two clients the same time

I want to create a client/server turned-based game where each player will have 5 seconds in order to play. If extends this time will be other player's turn to play. In order to do this, I have created ...
3
votes
3answers
416 views

How can multiple clients be out of sync if they use the same RNG seed?

I have been working on a client-server architecture to enable LAN play for my open source game, Aigilas. In its current state, players stay synced in all running instances of the game but enemies and ...
11
votes
2answers
2k views

Is this the right architecture for our MMORPG mobile game?

These days I am trying to design architecture of a new MMORPG mobile game for my company. This game is similar to Mafia Wars, iMobsters, or RISK. Basic idea is to prepare an army to battle your ...
2
votes
2answers
208 views

Client-side physics simulation

I am trying to create a very simple client-server based physics game, using box2d library. A simple football game. Obviously, the server runs only the box2d world. My question is: is it correct to ...
1
vote
2answers
331 views

Implementing Online Leaderboards for indie windows PC Game

I've just finished my game and I'd like to add some ranking functionality to it. I have a mySQL database running on my website and want to be able to insert and retrieve data from it. My knowledge in ...
2
votes
2answers
342 views

Lockstep Game Loop

I have an XNA game using a basic lockstep update loop. The client sends all commands to the server, and updates only if it has received the next turn's commands from the server. When does a turn end? ...
0
votes
1answer
115 views

The game-server model to handle user actions

I'm starting to work on a mobile game that will have a server-side part (to handle user's interactions between them) and, of course, the client (game itself) part. It's not meant to be a browser game ...
5
votes
3answers
310 views

How to make sure user is running the newest version of mmo client?

In typical mmorpg game, you have a launcher and a client. You first run the launcher to update the client, then you run the client. In every mmo I tried if you run a client without updating first (if ...
4
votes
3answers
433 views

How do I allow a player to build a dedicated server, but prevent them from cheating?

Instead of maintaining a central server, many games allow players to build their own server, like Minecraft. But if you give them the server-side program, how could you prevent them from cheating? I ...
1
vote
2answers
473 views

PHP and Javascript/HTML5 Collaboration [closed]

I've recently been working on a fairly complicated game. I've stored information with local storage, but that allows the player to edit it, and does not transfer from computer to computer. The two ...
3
votes
2answers
193 views

How do I resolve asynchronous client actions against an authoritative server state?

I have a multiplayer card game which I am in the process of developing. The game is relatively simple; players have a certain number of cards which they can activate, sell, or use in various other ...
4
votes
1answer
306 views

How to define a proper protocol for a turn-based combat system?

I'm working on the server side of a turn-based strategy game. The game has a really complex combat system, like: When you are hit, you summon a phoenix to attack the enemy that deals X damage, and ...
4
votes
2answers
577 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 ...
3
votes
6answers
493 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 ...
3
votes
2answers
545 views

2D destructable terrain with collisions in MMO

Task What I want is to create destructable terrain (like in Worms) and collisions with this terrain (with calculated normals) that will be fast enough to work on server machine. Basically lets say ...
1
vote
1answer
414 views

Do I need to create my own or use a commercial server for the features and matchmaking options I want my game to support? [closed]

So I'm developing an indie turn-based game for iOS and, in coding up a Game Center matchmaking class, I'm starting to question whether Game Center is even the best choice for what I want this game to ...
3
votes
1answer
258 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 ...
2
votes
1answer
64 views

extrapolating object state based on updates

I have a networked multi-user collaborative application. To maintain a consistent virtual world, I send updates for objects from a master peer to a guest peer. The update state contains x,y,z ...
4
votes
3answers
6k views

Server-side Architecture for Online Game

basically I have a game client that has communicate with a server for almost every action it takes, the game is in Java (using LWJGL) and right now I will start making the server. The base of the ...
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.. ...
2
votes
1answer
187 views

Send less Server Data with “AFK”

I am working on a 2D (Realtime) MultiPlayer Game. With Construct2 and a Socket.IO JavaScript Server. Right now the code does not include the Array for each Player. var io = ...
2
votes
3answers
263 views

General directions on developing a server side control system for JS/Canvas Action RPG

Well, yesterday I asked on anti-cheat JS, and confirmed what I kind of already knew that it's just not possible. Now I wanna measure roughly how hard it is to implement a server side checking that is ...
4
votes
2answers
398 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, ...
4
votes
2answers
708 views

How do client-server cooperation based games like Diablo 3 work?

Diablo 3 cooperates with Blizzard servers even during single player games. In fact, Blizzard has had problems with the games "melting their servers." I would like to ask: How do the client and the ...
-6
votes
1answer
531 views

World of Warcraft like C++/C# server (highload) [closed]

I know it is very big topic and maybe my question is very beaten, but I'm interesting of basics how to write highload server for UDP/TCP client-server communications in MMO-like game on C++/C#? I mean ...
1
vote
1answer
172 views

In a client server first person shooter how does the server keep track of each player's hit boxes?

Do all the clients send a transformation matrix for each of the hit boxes which make up the character?
8
votes
4answers
259 views

Is there any way to verify the GPS location data received from client?

The answer to this question may be "NO" but it's quite important so I think I might as well ask. This should be a problem for all client-server location-aware games where player locations in the ...
7
votes
3answers
3k 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
326 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 ...
1
vote
5answers
2k views

Is it possible to use 3G internet for a TCP/IP game server?

I'm working on a turned based multiplayer android game with a friend. I started working on the game server and client using socket programming. I found a few tutorials on how to implement a basic chat ...
12
votes
3answers
1k views

How do I efficiently code both the client and server at the same time?

I'm coding my game using a client-server model. When playing on singleplayer, the game starts a local server, and interacts with it just like a remote server (multiplayer). I have done this to avoid ...
1
vote
1answer
510 views

How do I go from a simple html5 tic tac toe game to an online 2 player game?

I've been working on an online 2 player Tic Tac Toe solution for blackberries. both old and new. And so far I have html5 code that has a 3 x 3 layout that switches between x and o for the game ...
3
votes
1answer
231 views

How many UDP ports for an MMOFPS

I'm designing an MMOFPS. I'm not sure whether to use one UDP port for all clients or one UDP port per client. Or is there another alternative? Currently UDP is only being used for position data ...
0
votes
2answers
880 views

How can a NodeJS server be used from Game Maker HTML5?

I want to create a client-server game that runs on Game Maker HTML5-NodeJS. The NodeJS server will be an AI server - a bot that acts like a human opponent and plays against the human player at a ...
1
vote
1answer
307 views

What time to display in text messages in multiplayer game?

Say I'm having a multiplayer RTS game. There's a main server for each individual game and several clients connected to it. All packets are sent to server first and then server retransmits them back to ...
3
votes
3answers
307 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 ...
0
votes
2answers
224 views

Server Client position information exchanging

I am doing small game in xna client/server, there can be 50f per seconds, but i don't belive that each client has to sent 50 mesagges about only their position, and then get back from server, regular ...
5
votes
2answers
2k views

FPS networking with server sending input instead of gamestate

Why do all fps games have the server send gamestate instead of input which is smaller? One reason I can sort of see is that if the server sends input to the clients and a packet gets dropped then the ...
3
votes
1answer
523 views

XNA server client model

Hi what is the best model for creating client server application in one solution in xna, client as xna application, server as console and model as reference added to client and server? or maybe one ...
2
votes
3answers
2k views

Using SQL for a Realtime Multiplayer Game Server's Working Data (Fast Enough?)

The game I'm working on currently has a Client in Flash AS3, and a Server in C# (multithreaded). Currently I use mySQL to handle logins (Raw access: no middleman for accessing the database) which ...
0
votes
1answer
2k views

C# multi-player socket server (need clarification/suggestions)

I've been working on an 2D-RPG for a while and I recently decided to make it into an MMO (not really massive, but multi-player). Anyways, I'm attempting to write a game server in C#. Yes, I know I ...
2
votes
2answers
365 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 ...
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? ...
-1
votes
2answers
2k views

How much server bandwidth does an average RTS game require per month? [closed]

My friend and I are going to write a multiplayer, multiplatform RTS game and are currently analyzing the costs of going with a client-server architecture. The game will have a small map with mostly ...
4
votes
1answer
431 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 ...
3
votes
1answer
441 views

What is the best way to code the XNA Game Server for FPS game?

I'm writing a FPS XNA game. It gonna be multiplayer so I came up with following: I'm making two different assemblies — one for the game logic and the second for drawing it and the game irrelevant ...
1
vote
1answer
784 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 ...
28
votes
9answers
12k views

How do you prevent your JavaScript / HTML5 web game from being copied or altered?

I'm in the middle of planning a game built using JavaScript and HTML5. I'm having trouble understanding how you could prevent someone from simply copying the JavaScript from the web server and ...