NetworkServer in Console Application
Hi! I need a console / windows service application for hosting the network communication and a mysql database for my current project. The current network stack is created with Lidgren Network, but I...
View ArticleDatabase for MMO?
What is the best database to use for an mmo? Is XML acceptable? I see a lot of people suggest SQL, but im quite new to SQL.. Just wondering if SQL is significantly better and worth learning in depth....
View ArticleHow to implement network manager (among others) with my scripts rather than...
Hi, Since Unity made Network Manager has some game logic in it in player respawn and scene change, I need to change/override those to fit my game's needs. So my question is how to do so. I want to have...
View ArticleHow to make a real room browser with photon or Unite
Hi guys i am having a really bad time with photon i don't understand how can something like creating a simple room browser be that hard i am sorry to dive into my problems directly the thing is i have...
View ArticleNetworkMessageInfo.sender equivalent in HLAPI?
I have a bunch of gameObjects on the server which are linked to a users connectionID in a list. When a player sends the server a command "Please spawn my object", I need to check through all the...
View ArticleNon-smooth movement with NetworkTransform
Hi, I'm using HLAPI for networking of my game and have used NetworkTransform on my characters but no matter how I change the component's values, the movement is not smooth. Like it's not interpolating....
View ArticleCorrect way to do bullets
Hi, In Sean Riley's Unite 2014 networking video, he says that bullets are fire and forget and we do not need to sync them across the network but he ends up adding NetworkTransform to the bullet prefab....
View ArticleDynamic Object Spawning
Hello, I have been trying to spawn my Tile prefab on a server so that any clients that connect will have the same tile spawned in the same position. The problem, however, is that when the Tile is...
View ArticleLogin system from php to unity
Hello. I have my login system in php/mysql and it's working great on web browsers. Now i want to make it for my game. How can i connect my login system to unity? I want to can login from my game. My...
View ArticleSyncList.SyncListChanged API change in 5.2p1?
The delegate argument itemIndex now seems to be itemCount, but this is undocumented in 5.2p1. Is this an error? In the docs that come with 5.2p1 and earlier versions for...
View ArticleOnStartServer does not get invoked
Hi, I'd like to set up a simple multiplayer environment. At server start several prefabs need to be instantiated and spawned which is why i created a game object, attached a network identity and put a...
View ArticleLooking for a proper explanation of QoS channels
I'm looking for a detailed explanation of the QoS channels used by NetworkBehaviours. Information I can use to determine which channels to use for what purpose. The only resources I've been able to...
View ArticleManaging variables over Multiplayer Networking (UNET)
Okay... I'm spending days to understand how to do some simple things. I'm simplifying my situation in a way that you guys can understand what's my problem. I have a cube which changes the color with a...
View ArticleHaving one common game object for two players
Hi, Following this very good tutorial: ...also reading the manual. I get the multiplayer working but only when spawning separate GameObjects in both the local and remote, I am not able to create a...
View ArticlePreserving objects with Local Player Authority after client disconnection
Currently when a client disconnects, any objects with local player authority owned by that player are destroyed. I don't want this behavior. Instead, they should continue to exist and their ownership...
View ArticleHow to create a mutable SyncListStruct?
I would like to share the state of my game objects across the clients. The state includes a few simple properties, such as Ready, Health and such. In order to group them, I created a struct, and put it...
View ArticleCleaning up match rooms when host leaves
There's an issue with the matchmaker not cleaning up rooms after the host leaves. Meaning that you can create a room, leave and rejoin and it causes issues. If anyone else was having this issue, I...
View ArticleCan't use matchmaker on different computer?
I got my networking going in my game and wanted to try it over the internet. So I tried the Matchmaker and it seemed to work, I could join myself on the same computer, but then when I ran the game on a...
View ArticleRpcClient on LocalClient does not work after Host restart
Hi all, I am running Unity 5.2.1f1. The documentation states (http://docs.unity3d.com/Manual/UNetActions.html): When running a game as a host with a LocalClient, ClientRpc calls will be invoked on the...
View ArticleMatchmaker issues across networks
I've been experiencing problems locating matches using the Matchmaker across different networks. It appears that matches created by a client are only visible to other clients on the same network. I'm...
View Article