0
votes
2answers
176 views

UDP Netcode Architecture for Fighting Game

I am programming a fighting game that uses a UDP client/server architecture for multiplayer. The server can handle multiple clients, two of which (or one being the server) are playing and the rest are ...
5
votes
1answer
116 views

Replacement for XNA Lobby?

I am looking to implement with the Microsoft Windows Live game lobby. Since Microsoft has deprecated XNA, I am wondering if it is still possible to interact with the game lobby they provided in XNA ...
0
votes
2answers
193 views

Is networking programming quite generic

I have only looked into the basics, at least I assume it gets more complex. So does network code really change from one game to the next or is it pretty much portable. For example I can create say a 2 ...
1
vote
0answers
140 views

Implementing Dead Reckoning in a Winsock server

I'm having a little difficulty understanding how I implement Dead Reckoning in my Server-Client Winsock game. I've been looking on the internet for a decent explanation that explains exactly: When ...
0
votes
1answer
999 views

Hook into League of Legends client [closed]

I would like to write a small software which will hook into the League of Legends client and record my performances and store them locally, because Riot only stores last 10 matches. Is there some way ...
0
votes
2answers
477 views

SFML networking rts

You will be controlling only one person directly in the game. But, you can issue vague command like to build something here or attack at this square. So I'm trying to make a multi-player roguelike ...
2
votes
1answer
124 views

Efficiently storing game states history for physics?

I would like to store the history of a box2d simulation. Currently I can't find any built-in mechanism for that. I need to store the states of all non static objects in the last second, mainly for ...
1
vote
2answers
359 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, ...
1
vote
1answer
226 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 ...
0
votes
1answer
368 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 ...
4
votes
1answer
734 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 ...
1
vote
0answers
127 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 ...
1
vote
3answers
913 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
533 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 ...
2
votes
3answers
992 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) ...
0
votes
1answer
581 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
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.
-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
1answer
756 views

Advice for programming a lobby for a network multiplayer game?

I'm working on learning network programming. I'm working on a simple card game. The basic idea is: Players enter the lobby Players see tables Players sit at an empty seat Once they sit, they do not ...
9
votes
2answers
4k views

What are the best ways to serialize and unserialize network messages for C/C++ multiplayer game?

We are using JSON right now and want to move to a binary format for some types of messages between client and server. Should I just read structs into the socket? Use proticol buffers/thrift? How ...
7
votes
3answers
1k views

Efficient data packaging for a client-server network

Language: C++ My question is as follows: I would like to know what would be the best or at least a good way to pack and send data from client to server and the reverse. There will be a few data ...
35
votes
8answers
4k views

How are deterministic games possible in the face of floating-point non-determinism?

To make a game like an RTS networked, I've seen a number of answers here suggest to make the game completely deterministic; then you only have to transfer the users' actions to each other, and lag ...
7
votes
1answer
785 views

Bringing a Box2D, Physics Enabled game Online?

Lets say, to simplify the problem of online games a bit, my goal would be to run a near identical simulation on multiple computers in sync. Would sending commands be a good idea? Now if only sending ...
5
votes
3answers
1k views

Writing a minimalistic server for vanilla WoW [closed]

This is about a personal project I've been longing to do for some time now. Since a while now I have stopped playing WoW, but as I'm quite experienced in C++ I thought I'd try the following: Write a ...
1
vote
1answer
882 views

Networking SFML Berkley Sockets

So I'm starting work on a multi-player space shooter. And I've run into some issues. As I type this, my system is currently: //Main While Loop Gather Input Update Own Sprites Based on Input Send ...
7
votes
5answers
3k views

How to handle netcode?

I'm interested in evaluating the different ways that the netcode can "hook into" a game engine. I am designing a multiplayer game now, and so far I have determined that I need to (at the very least) ...
7
votes
4answers
1k views

Where to start the coding of online leaderboards?

I NEVER, EVER did ANY sort of network code in C++, I don't know even the libraries that exist, but a popular demand for my game is online leaderboards... So, what sort of libraries I should research ...
6
votes
2answers
1k views

Sending a struct containing a string over network

I'm trying to send structs as neatly sorted packets using iPhone Game Kit.. I have a struct which looks like: typedef struct { int coolStuff; char playerID[100]; } MyStruct; Then I'm using ...