The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
19
votes
3answers
3k views

How to predict movement correctly when a player is invisible?

I have a multiplayer game and I'm doing client-side prediction, but some players can drink a potion and become invisible... The problem is that when they become invisible I don't share anything that ...
17
votes
3answers
2k views

Low traffic client synchronization with server in MMO

I am implementing MMO where player flies in space on his starship controlling it with arrow keys and cooperate with other players. I want to implement it so that player will be able to dodge his ship ...
17
votes
6answers
940 views

What options do I have for game hosting

DISCLAIMER: I know this question starts to leave development island but it is very game development related and still think this is the best place. I see many free MMOs/online desktop client games ...
15
votes
2answers
759 views

How should I automatically update my entire game's files?

How should I automatically update my player's game assets and executables? It is preferable for the update software to be free. Updates must be small in size and not waste cpu-time. Also it has to be ...
14
votes
5answers
2k views

Networking for Real Time Strategy games

I'm developing a real time strategy game for a computer science course I'm taking. One of the harder aspects of it seems to be client-server networking and synchronization. I've read up on this topic ...
13
votes
2answers
2k views

What to send to server in real time FPS game?

What is the right way to tell the position of our local player to the server? Some documents say that it is better to send the inputs whenever they are produced. And some documents say the client ...
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 ...
12
votes
3answers
13k views

Can I do server side programming with unity? [closed]

Another thought to my last question. If i were to do a client/server game with unity3d would i be able to do serverside programming with unity? if not can i use C# .net? if not then is there some sort ...
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 ...
11
votes
2answers
1k views

Multiplayer FPS server side performance

This is related to MMO Performance except that question is about bandwidth. This is about cpu load. I put together a simple FPS using node.js and webGL. It's extremely simple, a lot like the ...
11
votes
3answers
5k views

How to client/server game using Google App Engine (Looking for tutorial.)

(NOTE: This is a duplicate of a question I asked on SO, having temporarily forgotten about GameDev <hang head in shame>. When one is answered, I will link it back to the other.) I'm trying to ...
10
votes
3answers
2k views

Is there a pattern for writing a turn-based server communicating with n clients over sockets?

I'm working on a generic game server that manages games for an arbitrary number of TCP socket-networked clients playing a game. I have a 'design' hacked together with duct-tape that is working, but ...
10
votes
2answers
425 views

Should the engine for an eventual web-based game start as a web-service?

I've recently decided to start writing an engine for a card game. I'm not a big "cards" player, but a friend introduced me to the game (it's a spin on the game Danish), and I fell in love. I want to ...
9
votes
3answers
3k views

Interpolating positions in a multiplayer game

In order to save bandwidth in my multiplayer game, I do not update every object every server tick, instead each object has an updateRate which tells the game that this object is expected to be updated ...
9
votes
2answers
3k views

What's the best server architecture for real-time games?

I'm developing a Real-Time game which should hold thousands of players in real-time (FPS like. max 1s lag). What would be the best infrastructure for this? My idea was using 2 server clusters - one ...
9
votes
1answer
524 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 ...
8
votes
4answers
255 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 ...
8
votes
4answers
2k views

Which Database (RDBMS vs NoSQL vs BOTH) to use for a Realtime Multiplayer Game?

I'm working on a realtime multiplayer game that will require a database (for features such as player profiles, friends, unlocks, news, etc.) This is a standard PC game (not browser-based) and will use ...
8
votes
3answers
4k views

Game server for an android/iOS turn-based board-game

I am currently programming an iPhone game and I would like to create an online multiplayer mode. In the future, this app will be port to Android devices, so I was wondering how to create the ...
8
votes
2answers
1k views

Java code for client-server game on Android

I have developed a game on Android. Now I want to play it on wifi or 3G. I have game packets which I want to send form client (mobile) to server then to another client (mobile). I don't know how to ...
7
votes
3answers
3k views

Tips for communication between JS browser game and node.js server? [closed]

I am tinkering around with some simple Canvas based cave flyer game and I would like to make it multiplayer eventually. The plan is to use Node.js on the server side. The data sent over would ...
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 ...
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 ...
7
votes
1answer
587 views

How does OnLive work, and is there anything special Game Developers need to do?

The OnLive service works by "cloud rendering", which is very different from the traditional model of "on-premise rendering" that we are all familiar with. How does this work at a technical level, and ...
6
votes
2answers
2k views

MMORPG server-side java architecture

I am currently making a MMORPG game, which is turn-based. The client is supposed to run on Android. Now, my friend is doing the graphics, and I have been doing the game classes (player, weaponry, ...
6
votes
4answers
842 views

Can Google App Engine communicate with a stand alone program?

If I create a client program using say C#, or develop something for the Android or Iphone, can I use Google App Engine for the server and communicate with the client application mentioned above?
5
votes
3answers
1k views

Securing JavaScript / PHP game data

Followup to securing-http-data-from-a-javascript-game-to-server. I'm working on something similar, in that I have a PHP backend and a JavaScript frontend, which plays around with the HTML5 canvas ...
5
votes
3answers
309 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 ...
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 ...
5
votes
1answer
266 views

Running multiple box2D world objects on a server

I'm creating a multiplayer game using LibGdx (with Box2d) and Kryonet. Since this is the first time I work on multiplayer games, I read a bit about server - client implementations, and it turns out ...
5
votes
1answer
294 views

Reliability and suitability of 3G connection for client-server turn-based non-asynchronous game

I am working on an iOS turn-based client-server game and I am concerned with the reliability of the connection and the length of time it takes to establish the connection. The game is turn-based but ...
4
votes
2answers
624 views

How can I alleviate network lag issues with players from other countries?

I am developing a small multiplayer game where players move through the map and interact with each other. The game is written in VB.Net. When I tested my game with players on a LAN everything worked ...
4
votes
3answers
432 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 ...
4
votes
3answers
862 views

Optimal data size for a 3G client-server game?

I'm currently working on an iOS turn-based client-server game and I am concerned over later performance issues. How much data per message is too big? I am planning to use JSON to transfer data (and, ...
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 ...
4
votes
2answers
439 views

Flash <=> server, protocol protection

I am making a flash game that will interact heavily with the server. For quite some time already I am using 'request hashing' technique to make sure that request data hasn't been tampered with. This ...
4
votes
3answers
268 views

Can game replays be used as cheat protection?

Say you're writing a complex turn based multiplayer strategy game in the browser (i.e. JavaScript). The game state is big and complicated (think line of sight calculations in a 3d world). There can be ...
4
votes
2answers
391 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
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 ...
4
votes
2answers
150 views

How can I implement a game locator or proxy server?

I have a turn-based strategy game which already has a multiplayer server/client layer that works fine on local network (where one server is set up and players connect to it). I would like to extend ...
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 ...
4
votes
1answer
295 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
563 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 ...
4
votes
2answers
691 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 ...
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 ...
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 ...
3
votes
5answers
4k views

UDK client, C++ server (is it possible?)

For example I have C++/C# server side with sockets or http web server and UDK client. I am interesting what about experience with networking in UDK: could I connect UDK client to C++/C# socket server ...
3
votes
6answers
475 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
525 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 ...