Questions tagged [multiplayer]

Played by multiple players, cooperatively or competitively, locally or remotely.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Godot Networking

Can anyone tell me how I can integrate services like photon in GODOT.Please provide some sample code with is released into public domain so that I can use it.
0
votes
0answers
8 views

Game equivalent to TicTacToe using socket programming problem

I am trying to make a two player game using socket programming for Java. Recently followed some guides and made an attempt to make a game equivalent to tictactoe but instead of getting the Xs or Ox in ...
0
votes
2answers
2k views

Object spawn only on Server in multiplayer unity3d game

In my game I have an object let say food, whoever eat that food that player will spawn one more element. I am sharing code here :- I am checking collision in Update. Following code is working fine on ...
6
votes
1answer
9k views

Sending RPC calls from server to client inside Unity

In my game inside Unity, I have two scenes setup. One for the main server ( acts like authoritative server ) and the other scene for my client. The game starts once my client connects to the server. ...
0
votes
1answer
2k views

FPS Player Camera Rotation using Touch

I am developing an FPS Offline Multiplayer Game. In my game the player rotates using mouse input. I want to rotate using Touch input.Touch to Swipe screen and player can rotate or Camera will be ...
5
votes
1answer
2k views

Unity 5.3.5 - How to setup a lobby with general game settings?

I am currently working on the lobby for my game. I have followed these tutorials (https://www.youtube.com/watch?v=jklWlm5v21k), which were very helpful, and was able to setup my lobby like this. The ...
0
votes
1answer
37 views

MMO Client-Server Spoofing Vulnerabilities

Ive created a working authoritative client-server system using LiteNetLib for my game however im wondering if packet sniffing+modification is a real worry i should be developing for. I read some ...
0
votes
1answer
48 views

Prevent replay attacks on multiplayer character movement

When a client first connects to the server a Diffie-Hellman key exchange occurs to securely get private encryption keys to encrypt all packets. The problem comes in: what if someone sniffing packets ...
1
vote
1answer
773 views

Communication between Photon Cloud game and web server

I am creating a multiplayer game using Photon Cloud (Photon Unity Network). For storage of player data (profile, inventory, achievments) I use web server (asp.net mvc & sql server). How to ...
0
votes
1answer
92 views

How Client send info to Host in Unity Multiplayer

I want to send player name and other details from client to host device. I have setup game for maximum two players connection. Here is the code that I have tried multiple times with different changes:...
0
votes
0answers
33 views

Interpolation on Client Between Server States

I have an authoritative server which is sending position data to client every 100 ms. Ping between client and server is about 70 ms.(which is actually a variable) I have few questions regarding to ...
0
votes
0answers
38 views

Cost of Unity Local Multiplayer VS Unity Online Multiplayer

I know that making multiplayer games in Unity costs money because of the servers that are used in connecting the players. So basically its free upto 20 CCU and then it increases as per the CCU. Its ...
0
votes
2answers
110 views

Race condition implementing World Boss System in Web Browser MMO using PHP

I am trying to create a world boss system using PHP. But I am having a problem with how to account for all the damage while updating the health of the boss in real-time. The current damage process is ...
0
votes
1answer
28 views

Stream Clients Cameras from Server Side

There's a way to see specific client Camera from server (using RawImage ..) and sync view. I tried RenderTextue, but i didn't find a solution for that.
0
votes
0answers
17 views

Communication Between Client and Seperate host Unity Unet

I building a realtime multiplayer game like a small quiz game that players can able to join the game and then quiz master who handling the host will launch the game. I need to that how to do this ...
0
votes
1answer
83 views

How to handle MANY enemies in networked P2P game?

Let's suppose a game of 4 players, one is the host. They will fight many enemies, along the lines of 20-40 at the time. Among other things like sending their own state to the other players (position, ...
0
votes
1answer
59 views

Avoid players getting stuck by placing items in the same place

Let's assume a multiplayer game of two players. These two players have to place six elements at six different positions. The order or exact place does not matter. As the items are placed correctly, ...
0
votes
0answers
21 views

Connecting clients with UDP and WebSocket connections

I'm in the process of making a physics intensive multiplayer game. Naturally I use a UDP to transfer packets regarding rigidbodies between client and an authoritative server. However non-essential ...
30
votes
5answers
3k views

How do I avoid “too” lucky / unlucky streaks in random number generation?

I'm currently dealing with a multiplayer combat system where the damage dealt by the players is always multiplied by a random factor between 0.8 and 1.2. In theory, a truly random RNG may eventually ...
0
votes
2answers
124 views

Packaging a multiplayer game in unreal

I have created a new project using the third person template. I set the number of players to two in the play settings as well as using a dedicated server. How do I package the project so that I can ...
0
votes
0answers
23 views

Can a mobile device create a game server for two-player online games in turn? [duplicate]

First of all excuse me if I say crazy things. I'm trying to make a turn-based multiplayer logic game for two players. This is my purpose: Two types of user, the one who creates the map and the one ...
0
votes
1answer
117 views

Server-side real time position calculation based on destination position - C#

What I want to achieve is to calculate the real object position based on its speed and a destination position. In my server, I have a MapInstance that have a list ...
1
vote
1answer
69 views

How should I update object movement on Client in a lockstep game?

I have a game that I am implementing a lockstep system for multiplayer on an RTS game. Now the server sends update packets at a higher frequency than the clients with new data. What I'm stuck on ...
0
votes
1answer
84 views

Check if client is alive

I am having client/server application and i want to detect if client is alive. So i know that send() will return me null but it ...
1
vote
1answer
37 views

Kryonet - Open a server locally only

On the game I'm working on I wanted the singleplayer mode to use an integrated server to make adding more players via networking easier. The way I have it right now is I open a server and connects the ...
2
votes
1answer
105 views

Authenticating users without a username or password

I'm curious about what the process is for anonymously authenticating users when it comes to mobile games. There are quite a few examples out there, but the ones that immediately come to mind are Lords ...
0
votes
0answers
15 views

Phaser + WebSocket server side running very slow, need help optimizing

We're making a web-based game using Phaser and SocketIO for real-time player interaction and synchronization of in-game objects (such as items and enemies with synchronized dynamic movement). Here's ...
-1
votes
1answer
19 views

unity multiplayer components not there

I just learned quite a bit about how to set up a multiplayer system in unity using it's built in scripts. However, when I try to add a network manager to an empty, the search comes up empty! also ...
3
votes
0answers
83 views

Game runs at different speeds in Chrome versus Firefox

I am using Box2D for physics on the server side. Player position is updated on the server, so there is nothing the client can do except give input. But running game in Chrome only, the player moves ...
4
votes
1answer
144 views

What is the cleanest way to code predictable client/server components

Lots of classic games that I've read the source code to do things like if (clientside) // ... or the same but with ...
0
votes
1answer
60 views

Making 2 Player UI

For practice, I'm trying to remake the character select screen from Street Fighter II. I managed get it working with a Grid Layout Group, ScriptableObjects, and some scripts to have the 1P cursor ...
2
votes
3answers
109 views

Testing Multiplayer Browser Game on Single Computer

I am writing a multiplay browser based game and am running into an issue with playtesting simple interactions. When a browser window loses focus is stops running requestAnimationFrame calls. This ...
1
vote
2answers
84 views

Unity FPS - Joining players always take over the camera

I created a "network manager" and a "network manager hud" for the whole scene. My character is a simple capsule and has a camera, a weapon spawner and 3 weapons as children. I gave him a "network ...
0
votes
0answers
8 views

Concurrent game sessions supported in AWS Free tier

I have one free year of AWS and planning to utilize that to make online multiplayer games for facebook Instant. The plan is to start making some money to pay to AWS after one year. I have looked at ...
6
votes
5answers
252 views

Best strategy when player left the online multiplayer game

I have developed a online multiplayer HTML5 card game. This game can be played by four players. Now I am having this confusion on what to do when a player left the game in the middle. Possible ...
0
votes
2answers
144 views

Project organization for a multiplayer client-server game

I'm programming a game 100% in Java but I'm having some issues concerning the final games architecture. I plan on having two separate projects: one that will hold the client side of communication ...
0
votes
0answers
22 views

object position handling for multiplayer a game

I am creating a multiplayer HTML game which focuses on manipulating planet trajectories with gravity points. I am creating bunch of planets with random initial velocity and random direction and i am ...
0
votes
1answer
43 views

Multiplayer VR art gallery using different headsets

I'm creating a VR art gallery using Unity3D (like a VR Museum Views with more freedom) and would like to have an environment where 1 or more users can gather together, communicate and move around (...
1
vote
1answer
312 views

Multiplayer Synchronization

I am developing multiplayer game in unity. For multiplayer i am using photon networking library. I created room and join client successfully. But Problem is I am doing gameobject movent by this code: ...
0
votes
1answer
348 views

Unity tutorial sync var not working

I tried to make a simple miltiplayer game with the unity tutorial. The Code of the Player looks like this: ...
0
votes
1answer
58 views

processing request in order on game server

I am creating a simple multiplayer puzzle game in which multiple players can join a lobby and compete with each other. the player that submits the answer first gets the highest point, the player that ...
1
vote
1answer
32 views

How can I send different contoller input to the different player avatars?

My apologies in advance for the vague question, since I don't understand the problem well enough to ask in finer detail. I want to create a multi-player Unity application using the Oculus SDK. Let's ...
0
votes
1answer
498 views

How to stop a host from the client script?

I am developing a two player multiplayer game. Since its only two players, I don't want to keep my connection open if a player disconnects. Now this works well from the host side, through usage of <...
1
vote
1answer
151 views

Camera follows object and has a target object on the y-axis

I have two capsule objects in a split screen shooter. At this moment, the first camera follows player one, and has the target player two. The second camera follows player two, and has the target ...
0
votes
0answers
62 views

Serverless Multiplayer

I wanted to make a game with a "serverless" mobile multiplayer game. The idea was to have devices connect to each other automatically when they are within range. There would be no global game state ...
0
votes
0answers
51 views

How To Display a friend list Using Play fab?

I m making a multiplayer game using playfab. One player send a friend request Second player then not display a player name?? I want the access(display) a player name??? see the referance, Code: <...
4
votes
2answers
2k views

How do I resolve the error “Trying to send command for object without authority.”?

I don't know what I did wrong I tried couple different ways from not using commands to using SpawnWithClientAuthority. But It either gives build and compile errors ...
0
votes
1answer
59 views

Multiplayer platformer

I'm considering building a multiplayer game having a central server handling the game and keep clients updated. I was checking various examples of ".io" games styles of implementation and seems pretty ...
0
votes
3answers
428 views

Unity FPS Offline Multiplayer (MultiLan) Player Animation

I am creating an FPS game in local multiplayer. One player creates the hot-spot game, and the other one connects through WiFi network and plays the game. And i am doing this using unity MultiLan ...
0
votes
1answer
299 views

Unity2D Multiplayer - Spawning player at user's end

I am currently into a 2d mobile multiplayer project. Its going to be a 2 player game for now. So the host and the client are the only players. I am using Unity 5.4 and the default multiplayer ...