The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
91 views

What are the disadvantages of client-side prediction?

There's lots of talk of server-side prediction, but I haven't seen a client-side alternative implemented anywhere. My game uses mouse-based movement, so it's easy to predict the player's location ...
2
votes
1answer
184 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 = ...
9
votes
1answer
522 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
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 ...
1
vote
4answers
203 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
3answers
262 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 ...
-6
votes
1answer
520 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?
1
vote
2answers
321 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 ...
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 ...
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
322 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 ...
3
votes
3answers
411 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 ...
4
votes
2answers
389 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, ...
1
vote
1answer
499 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 ...
4
votes
2answers
690 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 ...
2
votes
1answer
228 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
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 ...
3
votes
1answer
520 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 ...
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 ...
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 ...
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 ...
2
votes
2answers
361 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 ...
0
votes
2answers
858 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 ...
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 ...
3
votes
1answer
433 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
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 ...
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 ...
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 ...
1
vote
2answers
729 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 ...
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
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 ...
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 ...
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 ...
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
3answers
858 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, ...
0
votes
1answer
957 views

Browser based MMO [closed]

We are a team of 4 trying to develop a browser based MMORPG. Its partially text based in a way like Might and Magic. The world map would be in 3D and actions would be automatically resolved. The game ...
2
votes
1answer
179 views

How can I create a smooth simulation for a fast-paced, multiplayer table hockey game?

I'm adding multiplayer to an iPhone game that we have in our company. It's a sort of 'table hockey' game, with a puck and two mallets. It's a pretty fast game, so I need a smooth experience at both ...
3
votes
2answers
307 views

Best way to verify client files are same as server

In a client server game architecture, what are the possible ways to verify that the client has not modified things like gfx assets or client side scripts? Obviously no solution is perfect, but I ...
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 ...
3
votes
2answers
980 views

Synchronize turn based browser game

I'm writing a browser game in php and Sql. I'm also using Javascript - Ajax and Mysql. I'm stack on the battle system because I want to Synchronize the turns of the players in the battle. What I ...
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 ...
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 ...
10
votes
2answers
424 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 ...
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 ...