Commit Graph

1464 Commits

Author SHA1 Message Date
vis2k
bfe6e6aa28 better comments 2019-02-15 13:12:38 +01:00
vis2k
6a33c2d8bf ClientScene.OnSpawnPrefab and NetworkManager.OnServerAddPlayerInternal: spawn objects with prefab names to avoid unnecessary "(Clone)" suffix from Unity. otherwise we need a name sync component in all games that show the names, e.g. MMOs for all monsters. This way we only need name sync components for objects that actually do change names, e.g. players. 2019-02-15 13:02:18 +01:00
vis2k
871fe9a7f4 syntax 2019-02-15 12:43:49 +01:00
vis2k
bc52ff5e62 TelepathyTransport: remove old comments 2019-02-15 12:41:12 +01:00
vis2k
ab30ac6141 Fix #223: NetworkServer.DestroyPlayerForConnection tries to destroy both player controller and player owned objects if not null. No need to return early. 2019-02-14 13:38:34 +01:00
vis2k
5899cf81b5 refactor the fix for #389 2019-02-14 13:32:07 +01:00
uwee
0187163f70 fix for inactive scene in editor (#389)
* fix for inactive scene in editor

* changed to use #if UNITY_EDITOR
2019-02-14 13:26:53 +01:00
Chris Langsenkamp
3912a5a7b1 Update Migration.md (#406)
Cross checked with the one in the project root and updated this document accordingly so the other can be removed.
2019-02-14 10:24:07 +01:00
Chris Langsenkamp
85ae7c9aed Delete migration.md (#407)
Per conversation with Vis - remove this in favor of the other one in Docs.
2019-02-14 10:23:54 +01:00
vis2k
9b232b0551 Revert "Source based weaver (#319)"
This reverts commit 8d7613b9b6.
2019-02-13 15:59:32 +01:00
Chris Langsenkamp
b057b24fbc Update Migration.md (#401)
Added `cs` and code block formatting
2019-02-12 10:09:18 +01:00
Jason
4121b62a72 Update README.md to improve Usage Guide guidelines (#402)
* Update README.md to improve Usage Guide guidelines

Submitting for review by the team. This is my suggestion for updating the Usage section due to struggles we have seen in the help channel.

* Update README.md

Missed a character

* Update README.md

Updated Unity version numbers
2019-02-12 10:06:44 +01:00
vis2k
d159e9c78b
Configurable Server Tickrate (#390)
* Configurable Server Tickrate

* only  Update
2019-02-11 10:49:44 +01:00
Chris Langsenkamp
44c9c0a672 Update Attributes.md (#398)
Removed NetworkHash128 and NetworkInstanceId from the types list.
2019-02-10 10:57:26 -06:00
Chris Langsenkamp
04e54e17ff Update SyncLists.md (#397)
Cleaned up type list and indentations / formatting
Added comment about using OnStartClient vs Start
2019-02-10 10:57:07 -06:00
Chris Langsenkamp
bdc5ef01e8 Update SpawnObjectCustom.md (#396)
Replaced `NetworkHash128` with `System.Guid`
Added `cs` to code blocks
2019-02-10 10:56:45 -06:00
Chris Langsenkamp
38dc3895e3 Update RemoteActions.md (#395)
Removed NetworkHash128 and NetworkInstanceId from the list of allowed arguments
Added `cs` to code samples.
2019-02-10 10:56:18 -06:00
Chris Langsenkamp
a2e0651d7e Update StateSync.md (#394)
Fixed title capitalization and changed example to OnStartClient instead of Start
2019-02-10 08:44:45 -06:00
Jason
8756f28eac Callback functionality was incorrectly represented (#393)
Callback functionality is achieved through event handling. I've updated the documentation here to better represent a generic SyncList as well as a custom data type.
2019-02-10 08:27:33 -06:00
Paul Pacheco
8d7613b9b6 Source based weaver (#319)
* Example for weaver issue

* Fix #314,  weave assemblies built before the weaver

* Don't need the example anymore

* Update CompilationFinishedHook.cs

* Dont try to load assemblies while they are being modified

* Revert "Weave dll again. Plan B for #314 (#323)"

This reverts commit b20cb4280c.
2019-02-09 18:14:26 +01:00
Paul Pacheco
1249ec25ac Fix #371, NetworkAnimator can support more than 6 variables (#387) 2019-02-08 09:32:36 +01:00
Paul Pacheco
1f712ba901 We don't need to commit mdb files 2019-02-07 17:48:02 -06:00
Paul Pacheco
dc3b767743
Revert "Code style and comment typo fix." (#386)
This reverts commit 1fa099f402.
2019-02-07 10:57:32 -06:00
Chris Langsenkamp
d1626f7842 Add a virtual method that fires on the client right before scene change so devs can implement client-side work / prep / cleanup / visuals / etc. based on what scene is about to be loaded. (#383)
Documentation updates included.
2019-02-07 13:37:54 +01:00
Chris Langsenkamp
f1bdd8620c Update TelepathyTransport.cs (#382)
Added Help URL
2019-02-07 12:26:45 +01:00
rodolphito
c6f2647ec1 Removed false statement. (#380) 2019-02-07 10:14:33 +01:00
Gabe Brown
a5515b099e BUG: TelepathyTransport delivers messages even when this.enabled == false across scene loads (#379)
* BUG: Fix issue where setting this.enabled = false doesn't get honored when transitioning from Local Offline Host to Connected Server.

* Update TelepathyTransport.cs
2019-02-07 10:13:23 +01:00
Jason
38033f0a11 PlayerControllers deprecated (#378)
* PlayerControllers deprecated

Please see commit 1e61aaa05a

PlayerControllers property was deprecated.

* Update NetworkConnection.md

Please review the proposed change... I'm not sure this will suffice documentation standards as I'm still new to the project.
2019-02-06 14:34:30 -06:00
Jason
81430c8cdc Dictionary 'objects' is no longer present in NetworkServer class
Please see commit d979a45870

The objects property has been deprecated and is handled by `NetworkIdentity.spawned` dictionary at this time.
2019-02-06 11:18:46 -06:00
Chris Langsenkamp
5e642af577 Update NetworkManager.cs (#376)
Make "Multiple NetworkManagers detected" a full time error not hidden by log filter.
2019-02-06 15:30:16 +01:00
rodolphito
0e781424d5 Deleted redundant broken line.
This is covered below One Python Way anyways.
2019-02-05 17:41:25 -06:00
rodolphito
1fa099f402 Code style and comment typo fix. 2019-02-05 16:33:40 -06:00
vis2k
548876a9b6 Syntax 2019-02-05 10:07:02 +01:00
Paul Pacheco
fba7b3f826 Add multiplex transport (#358)
* Add multiplex transport

* Simplify Availability method

* Update MultiplexTransport.cs
2019-02-05 10:02:32 +01:00
vis2k
bb749e7325 update migration 2019-02-02 19:55:58 +01:00
vis2k
4c749df4fa Telepathy updated to latest version 2019-02-02 14:37:32 +01:00
vis2k
ca4ef1d8b3 LLAPITransport: expose connectionconfig and globalconfig in inspector 2019-02-02 11:08:52 +01:00
vis2k
de4b08d066 LLAPITransport: fix localhost connections 2019-02-02 11:08:20 +01:00
vis2k
1cc125d6c6 LLAPITransport: fix max connections error 2019-02-02 11:05:16 +01:00
vis2k
a210e8ce65 LLAPITransport: fix hostId out of bounds error 2019-02-02 11:02:45 +01:00
Paul Pacheco
c17254e80d Target .Net Standard 2.0 out of the box 2019-02-01 06:38:17 -06:00
vis2k
dbbdcd02c7
Onserialize improvements (#302)
* position magic instead of allocating writers

* premature optimizations here we come

* simplify. less magic.

* better logging

* fix ondeserialize bugs caused by readpacketuint32 instead of readint32
2019-02-01 13:23:21 +01:00
vis2k
e690360f41 Updated Telepathy to latest version: Net 4.x, ConcurrentQueue/Dictionary, Fixed growing thread count bug in #347 2019-02-01 13:00:54 +01:00
vis2k
e6f5511d24 TelepathyTransport.ToString: fix NRE in server-only mode while listener wasn't created yet 2019-02-01 12:02:58 +01:00
vis2k
79da551e1e Update project settings 2019-02-01 11:31:15 +01:00
vis2k
4042c96a79 set default build to windowed 2019-02-01 11:25:31 +01:00
vis2k
81c712078f API compatibilty level was detected too late 2019-02-01 11:25:31 +01:00
Chris Langsenkamp
22e88cd8d4 Superfluous Code (#366)
Immediately after the deleted lines is a call to `OnClientDisconnect(netMsg.conn);` which calls `StopClient();` which has the exact same code on line 344 as what I'm proposing be deleted here.
2019-02-01 09:48:49 +01:00
vis2k
cb6bb75ee1 Use LateUpdate in Transports. Fixes race condition where Mirror would complain about 'Observer not ready for ...' when stress testing uMMORPG after bots machine was shutdown. 2019-01-31 16:19:14 +01:00
Chris Langsenkamp
46befb6682 Add Help URL attributes to components (#359) 2019-01-31 12:16:31 +01:00