-1
votes
1answer
173 views

Distributed Multiplayer Game Server Architecture [closed]

I'm programming a multiplayer game for mobile phones.I'm working on a distributed server architecture for handling lots of concurrent players. Here is my architecture on my mind: Some questions ...
0
votes
2answers
454 views

GameServer UDP or TCP Java [closed]

This is a Java related question. I've got this question and I searched on the internet but didn't really get any clear answer. I want to develop a little multyplayer game which needs real time ...
0
votes
1answer
902 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
240 views

How to make a TCP Client Server in java over multiple Networks

So I am trying to write server code for my game, and I am kinda running in a wall. I have seen oracles example for a server and client, but how do I allow it to connect to computers outside my ...
2
votes
1answer
357 views

Java network game - synchronize state

I'm creating a networked frame-based game (like Tetris battle), using the Java Sockets API, and right now my main concern is how to 'synchronize' the game state between two players. I've already ...
0
votes
2answers
121 views

How can I escape my field delimiter in my game's packet data?

For my game I decided to not encrypt my packet's payload. Instead I'm just going to check everything on the server to make sure the packet is legitimate. As I'm not doing any encryption, my packet's ...
4
votes
3answers
399 views

Are there methods faster than Strings for sending a sprite's state over UDP?

I'm programming a 2.5D networked game in Java. The networking works like this right now: Create new networked sprite object at the client. Send it to the server. Server distributes and saves it. ...
1
vote
1answer
583 views

LibGDX Cross Platform Networking

Backstory: I've been developing a game with LibGDX for the past two years, and I've seen it refactored more times than I remember. I jumped on the iOS iKVM port as soon as it was released. But I've ...
5
votes
1answer
584 views

Structuring server-side networking with entity-component systems

I've been working on an online game, and recently have been working on converting the base of the game to use the Artemis Entity System Framework. I'm having a bit of difficulty conceptualizing ...
1
vote
0answers
108 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 ...
3
votes
2answers
394 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 ...
4
votes
1answer
696 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
2answers
447 views

Moving AI in a multiplayer game

I've been programming a multiplayer game and its coming together very nicely. It uses both TCP and UDP (UDP for movement and TCP for just about everything else). What I was wondering was how I would ...
1
vote
2answers
1k views

how should I network my turn based game?

I'm writing a very basic turn based strategy game which allows a player to select units and attack enemy units on their turn. The game is written in Java using the slick2d library and I plan to use ...
-2
votes
1answer
179 views

Issues with networking in my Java game, Client crashes when I try and read from the server input

A buddy and I have been programming a code game over the last 2 weeks, it is intended to be a multiplayer game with the ability to have 2 players play against each other. I am running into an issue ...
2
votes
2answers
3k views

Simple Java networking game engine [closed]

I want to create a simple java networking game and search a networking engine that eases use of sockets etc. I have already read some questions on here and the internet about java networking for ...
2
votes
3answers
784 views

What's an efficient way to represent game state for networked games?

I've done a little bit of network coding for games before, but primarily with TCP for games that don't really need to simulate real-time interaction. I am working on a (somewhat) simple 2D Java game ...
1
vote
2answers
301 views

Resources for game networking in Java

I am currently working on a Java multiplayer game. The game itself (single player) already works perfectly fine and so does the chat. The only thing that is really missing is the multiplayer part. ...
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 ...
3
votes
1answer
422 views

Photon alongside LibGDX

Can anyone point me to a possible implementation of the Photon network engine along with LibGDX for Android? Or any multiplayer networking SDK for all that matters. From reading source code it ...
5
votes
2answers
2k views

How do MMO servers communicate with players who are behind a NAT?

I'm now planning to develop a real-time mmo in the future using udp as the transmission protocol since it has lesser overheads than tcp... I understand that between the client and the server, they ...
11
votes
1answer
2k views

Should I write my own physics engine, because of networking integration?

I'm currently developing a top down, realtime, zombie shooter. I'm coding this in Java, using JBox2D as my physics engine. I have been coding the networking this week, and am now up to the physics ...
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 ...
4
votes
2answers
2k views

What Java library provides a high-level communication interface suitable for use in an action-game server?

I need to write a server for an action game, which needs fast communication with the client. There will only be one server, and I'll split the world in zones. The client will be written in Java using ...
4
votes
1answer
407 views

Network Game testing via Wireshark

How can i check/inspect the performance of my network game via Wireshark and specifically the Graphs available in Wireshark,i want to test the performance of my network game. which kind of graphs can ...
2
votes
3answers
972 views

Pub/Sub or message passing in multiplayer server backend?

For my masters thesis I'm going to develop a scalable multiplayer server for locationbased games. It's going to be a "service oriented architecture" e.g. one dedicated service for positions, one for ...
3
votes
3answers
482 views

Suitable Client Server setup for Network Game testing

I want to test my Client/Server game for which, currently, I am using localhost for both Client and Server. Obviously I'm not getting any fluctuation in data and measure idea of performance, and in ...
1
vote
2answers
153 views

Observing particular Port for measuring network game performance

How can I check/inspect the performance of some network application via observing the port it used, I want to test the performance of my network game. If my game is using port 1009, how can I check ...
2
votes
1answer
7k views

Java multiplayer cards game

I need to develop a simple multiplayer card game. For example, a poker game; this is only for study. I am going to develop it in Java. How I can I manage communication between the server and clients? ...
1
vote
4answers
1k views

Client server design question

I'm working on creating a multiplayer game, with the client in ActionScript and the server written in Java. I'm using XMLSocket in the client to connect to the server. The server code looks something ...
1
vote
1answer
493 views

Network Abstraction for a Java Game Messaging System

I'm currently working on an online java game. Currently building the messaging system between the client/server and I came across a big if. I am not experienced as a game programmer, only worked with ...
8
votes
6answers
2k views

Which server platform to choose

I'm going to write a server for an online multiplayer with these requirements: Pretty simple turn based game (think a card game) that is played entirely on the server (security reasons) Must be able ...