Commit Graph

1497 Commits

Author SHA1 Message Date
vis2k
4e099fab54 improve readme by merging documentation and migration guide. usage guide renamed to installation. 2019-03-16 10:37:29 +01:00
MrGadget
23d83afcd2
Set date for 1.6 release 2019-03-15 00:30:34 -04:00
vis2k
4193574864
[TargetRPC] optional connection parameter for easier usage while still allowing for previous usage (#592)
* [TargetRPC] optional connection parameter for easier usage while still allowing for previous usage

* allow for parameterless targetrpc too

* syntax

* Add Helpers.ReaderParameters change from HLAPI 2019.2 package just to be sure
2019-03-14 14:52:32 +01:00
vis2k
c0aaf23742 update docs nettransform 2019-03-14 14:30:13 +01:00
vis2k
8b3ddc9b0d
Update index.md 2019-03-14 14:23:20 +01:00
vis2k
1824e8db80 sceneID buildIndex byte replaced with scenePath hash and sceneID converted to long to fix #571, #577 2019-03-14 11:26:19 +01:00
vis2k
ca69cb9c14 log sceneid as hex 2019-03-14 11:15:51 +01:00
vis2k
de9d31f6b6 syntax 2019-03-14 11:01:42 +01:00
vis2k
e962fd2f35 sceneID random generation excludes 0 because 0 is for random sceneIDs 2019-03-14 11:01:12 +01:00
rodolphito
8391236d92 Fixed typo (#595) 2019-03-13 23:01:26 -05:00
Paul Pacheco
a2d6605001
Better readability 2019-03-13 23:00:53 -05:00
Paul Pacheco
fd8389bb97
Improve readability 2019-03-13 22:57:09 -05:00
MrGadget
536441f002
Added Documentation bullet point 2019-03-13 14:02:33 -04:00
vis2k
62fc738673 Fix sceneID mismatch bug between build (buildIndex=-1) and editor (buildIndex=0) for projects where the scene was not added to build settings list 2019-03-13 18:36:20 +01:00
vis2k
8642056f21 add comments 2019-03-13 18:27:00 +01:00
MrGadget
090be25a90
Delete Components.PNG 2019-03-13 13:20:23 -04:00
MrGadget
6c4c78f2ef
Update LiteNetLib4Mirror.md
added image
2019-03-13 13:18:46 -04:00
MrGadget
da9bb30d7d
Update WebSockets.md
added image
2019-03-13 13:17:38 -04:00
MrGadget
222b37ee1e
Update Ignorance.md
Added image
2019-03-13 13:15:51 -04:00
MrGadget
9fc28d9800
Update Fizzy.md
Fixed typo and added image.
2019-03-13 13:13:48 -04:00
MrGadget
b8ad393964
Add images for Transports 2019-03-13 13:10:16 -04:00
MrGadget
7bb4223b6e
Update ChangeLog.md 2019-03-13 11:15:25 -04:00
MrGadget
00940828fa
Update ChangeLog.md 2019-03-13 11:12:35 -04:00
MrGadget
731755d7f4
Update ChangeLog.md 2019-03-13 11:11:30 -04:00
MichalPetryka
8c41ee2380 Remove a per packet Encoding allocation (#588)
* Remove a per packet encoding allocation

* Update NetworkReader.cs

* Update NetworkReader.cs

* Update NetworkWriter.cs

* Update NetworkWriter.cs

* Update NetworkReader.cs
2019-03-13 15:53:18 +01:00
MrGadget
ab668962d1 Added Obsoleted Methods (#590) 2019-03-13 15:49:43 +01:00
MrGadget
dc0b8d406a NetworkLobbyManager: Added Obsoleted Method (#591) 2019-03-13 15:49:11 +01:00
vis2k
f17ddfec5f syntax 2019-03-13 14:03:41 +01:00
vis2k
d23facc048 simplify code 2019-03-13 14:01:50 +01:00
vis2k
00a1004b41
Weaver sourcebased hlapi2019.2package (#587)
* move weaver into assets folder

* disable tests for now

* asmdef

* add logs

* Use UNET's WeaverRunner code, slightly modified to find Mirror assembly

* Use UNET's 2019.2 package Weave function changes

* compiler messages error checked moved into separate function

* fix typo

* syntax

* replace 'var'

* rename

* replace var

* fix log

* update comment

* syntax

* rename to assemblyPath. no need for an extra variable.

* remove extra variable

* fix typo

* remove old code

* don't use .Contains to find Mirror dll. that's crazy. would fail for all DLLs in Mirror folder.

* look for 'this' assembly separately

* separate unityEngine assembly search

* add comment

* move null check up

* move null check upwards

* move outputDirectory down

* check process result properly

* use our previous way to find unity engine dll

* rename to unityEngineCoreModuleDLL again

* improve output directory construction

* move unityengine dll finding upwards

* move foundThisAssembly down, where it is used

* add comments

* split dependency code into separate functions

* add TODO

* store this assembly in a variable

* split dependency search depending on if we found assembly or not

* move usesMirror logic into if and out of 'not found' else

* syntax

* improve order

* GetNonDynamicAssemblyDirectories helper function

* check File.Exists instead of exception

* improve comment

* rename HlapiRuntimeAssemblyName to MirrorAssemblyName

* reuse MirrorAssemblyName

* remove telepathy check

* rename to MirrorRuntimeAssemblyName

* add MirrorWeaverAssemblyName

* reuse name consts

* don't use contains to check if assembly depends on Mirror

* add actions for testing again

* make CompilationFinishedHook public so it can be used by tests

* fix typo

* Mirror.Tests.asmdef references weaver asmdef

* reenable tests

* pass error handlers to Weaver Processing for tests to work
2019-03-13 12:17:04 +01:00
Liu
dea7b58792 Fix network animator doesn't sync float value as expected (#589)
Maybe we should do float sync when the Abs of newValue - lastValue > 0.001f
2019-03-13 12:15:34 +01:00
vis2k
b0ef89a0d9 resave scenes because of new sceneIDs 2019-03-12 18:45:42 +01:00
MrGadget
303d0f4b3a Reverted spelling error from #537 (#584) 2019-03-11 18:51:34 -05:00
Paul Pacheco
6eb2baaf55
Better grammar and typos 2019-03-11 18:23:42 -05:00
Paul Pacheco
b9c5aefcc1
Fix bullets in Multiplex doc 2019-03-11 18:16:24 -05:00
Paul Pacheco
f7589266e1
Document the MultiplexTransport (#585)
* Document the MultiplexTransport

* Add example of multiplex configuration
2019-03-11 18:12:13 -05:00
Raystorms
09c3a7b81a Update Fizzy.md (#583) 2019-03-11 18:53:02 +01:00
MrGadget
ba4e6f6b6e
Merge pull request #582 from MrGadget1024/Docs
Update Transport Docs
2019-03-11 13:42:22 -04:00
Chris Langsenkamp
1c9a21589d Update Transport Docs 2019-03-11 13:39:48 -04:00
Chris Langsenkamp
3d9d94466a Catchup all the things 2019-03-11 13:22:21 -04:00
rodolphito
dd362b18a0 Fixed the NetworkAnimator issue I introduced in the bandwidth fix. This should also further improve bandwidth, too. (#576) 2019-03-11 08:54:46 +01:00
Paul Pacheco
10a33b5f67
Appveyor cannot run tests in source based mirror 2019-03-10 12:50:32 -05:00
Paul Pacheco
eb32d48af8
cannot run code covarage with source based Mirror 2019-03-10 12:49:41 -05:00
Paul Pacheco
092c5663b6
NetworkReader should enforce read only (#580) 2019-03-10 12:04:45 -05:00
rodolphito
4aa1a4b169 Removed one liner braces from transport files. (#544) 2019-03-10 10:18:11 +01:00
Paul Pacheco
73edf5e732 Simplify weaver error handler. (#574)
Rather than sprinkling WeaverFailed=true all over the place,  we just call a Weaver.Error(message)  where an error occurrs.
This way we can enforce consistency in weaver error reporting
2019-03-10 10:16:36 +01:00
Paul Pacheco
07e8b24bd8
Document authentication (#575) 2019-03-09 16:01:35 -06:00
MrGadget
e7ef8b1ae1
Merge pull request #572 from rodolphito/doc-update
Update the docs regarding OnServerAddPlayer.
2019-03-09 02:39:24 -05:00
Rodol Phito
a00a46cc83 Updated SpawnPlayerCustom.md 2019-03-08 22:22:04 -08:00
Rodol Phito
0b7d326007 Updated NetworkManager.md 2019-03-08 22:19:50 -08:00