Commit Graph

2713 Commits

Author SHA1 Message Date
vis2k
b3127beb89 fix: MultiplexTransport GetMaxMessageSize NullReferenceException when called on server. And fixes potential exploits / out of sync issues where clients with different transports might see different game states because of different max message sizes. (#1332) 2019-12-21 08:09:33 -06:00
MrGadget
9a0127aadc Remove usings (#1327)
* Removed extraneous usings

* Removed extraneous usings

* Removed extraneous usings
2019-12-21 10:26:22 +01:00
MrGadget
fa25c53788
Merge pull request #1328 from rxmarccall/patch-2
Update NetworkBehaviour.md
2019-12-20 18:02:55 -05:00
rxmarccall
5658b0695d
Update NetworkBehaviour.md
Simple typo for `ClientRPC` attribute that should be `ClientRpc`
2019-12-20 15:42:16 -07:00
MrGadget
ea4fc93159 Add return to ClientConnect(Uri) (#1326) 2019-12-20 21:46:52 +01:00
MrGadget
0e705d4aa0 Remove all extraneous blank lines (#1325) 2019-12-20 21:46:16 +01:00
MrGadget
b479b8ee51 Put the return back in ClientConnect (#1324) 2019-12-20 21:16:45 +01:00
MrGadget
c51b8c7508
Merge pull request #1320 from rxmarccall/patch-1
Update SceneObjects.md
2019-12-19 10:18:18 -05:00
MrGadget
da70261b36
Merge pull request #1322 from Icezman001/patch-1
Update SyncVarHook.md
2019-12-19 09:59:02 -05:00
Icezman001
a21ab8934b
Update SyncVarHook.md
In the example while reading the guides it just seemed easier to put the variables at the top (as you read the OnStartServer method you see a variable and try to find what it is, but it's further down.
Easier to understand in my mind. Not sure if it's a huge issue for others
2019-12-19 15:54:35 +01:00
MrGadget
f521f1b06e
Update Conversion.md 2019-12-19 09:41:58 -05:00
MrGadget
1be4de3f63 Adjust cameras for server view (#1318) 2019-12-19 08:06:00 +01:00
rxmarccall
e49456da5f
Update doc/Guides/GameObjects/SceneObjects.md
Looks great!

Co-Authored-By: MrGadget <chris@clevertech.net>
2019-12-18 17:10:28 -07:00
rxmarccall
11df4dd2f8
Update SceneObjects.md
Clarification that networked scene objects will not enable until an actual Player Object has been created
2019-12-18 15:46:31 -07:00
Chris Langsenkamp
a5d369f96c fixed comment 2019-12-18 16:53:09 -05:00
MrGadget
abf5cdcf36 feat: Add roomPlayer parameter to OnRoomServerCreateGamePlayer (#1317)
* Adds roomPlayer parameter to OnRoomServerCreateGamePlayer

* fixed template
2019-12-17 10:16:14 +01:00
MrGadget
2b5370f129
Merge pull request #1311 from FirstGearGames/patch-5
Added missing field setter on Item ReadItem() for ARMOR.
2019-12-16 17:31:21 -05:00
MrGadget
16fe7d3643
Merge pull request #1312 from FirstGearGames/patch-6
Added video tutorial.
2019-12-16 17:30:57 -05:00
MrGadget
f09b06584e
Merge pull request #1313 from FirstGearGames/patch-7
Changedvideo link to video within playlist.
2019-12-16 17:30:43 -05:00
MrGadget
4d906fbe44
Merge pull request #1314 from FirstGearGames/patch-8
Added SyncVar hook video link.
2019-12-16 17:30:32 -05:00
MrGadget
ebe4b557e8
Merge pull request #1315 from FirstGearGames/patch-9
Added video tutorial link.
2019-12-16 17:30:23 -05:00
MrGadget
1edab60ee5
Merge pull request #1316 from FirstGearGames/patch-10
Added video tutorial link.
2019-12-16 17:29:58 -05:00
FirstGearGames
5dbb1709a8
Added video tutorial link. 2019-12-16 16:56:44 -05:00
FirstGearGames
193c1068bd
Added video tutorial link. 2019-12-16 16:55:54 -05:00
FirstGearGames
beca3dfd20
Added SyncVar hook video link. 2019-12-16 16:51:53 -05:00
FirstGearGames
0cabfff9c8
Changedvideo link to video within playlist. 2019-12-16 16:49:34 -05:00
FirstGearGames
c51b27eb2f
Added video tutorial. 2019-12-16 16:48:10 -05:00
FirstGearGames
3cb4f93790
Added missing field setter on Item ReadItem() for ARMOR. 2019-12-16 15:33:12 -05:00
vis2k
6fb8a32f5b
remove NetworkIdentityEditor because it's not really needed after removing local player authority (which required special checks to only show one option at a time). Also fixes #1289 (#1309) 2019-12-16 08:50:47 +01:00
MrGadget
3b1e6dcc6f
Update SpawnPlayerCustom.md 2019-12-15 18:56:38 -05:00
Paul Pacheco
3e1d0bd147 doc: Improved alt for video tutorial 2019-12-14 14:16:07 -06:00
Paul Pacheco
39c934af54 docs:Use video tutorial image 2019-12-14 13:50:35 -06:00
FirstGearGames
3033ed7541 docs: Added video tutorial URL (#1308)
* Update SyncVars.md

* Update doc/Guides/Sync/SyncVars.md

Co-Authored-By: Paul Pacheco <paulpach@gmail.com>

* Update SyncVars.md

- Removed starting time from video URL.

* Resize image and move to the top

* Make video bigger
2019-12-14 10:23:52 -06:00
MrGadget
f21dbfee01
Update Migration.md 2019-12-14 01:02:33 -05:00
Paul Pacheco
a2e17108b6 display the whole connection 2019-12-13 08:03:15 -06:00
Paul Pacheco
786f8a2d31 move the funding button to where github can find it 2019-12-13 06:42:15 -06:00
Paul Pacheco
76d8c0d5f1 Add sponsors button 2019-12-13 06:40:11 -06:00
MrGadget
6eb88a9c2c
Update ChangeLog.md 2019-12-12 23:10:19 -05:00
Paul Pacheco
15185de56f docs: include Components in the generated docs
fixes #1218
2019-12-12 20:36:08 -06:00
Paul Pacheco
dbe064393a
fix: error when there are no network behaviors (#1303)
Use the lazy network behaviors cache everywhere, so this can never be null
2019-12-12 20:28:31 -06:00
MrGadget
ca4ff9b6b2 Fix Delayed Disconnect (#1302) 2019-12-12 20:02:23 -06:00
MrGadget
3684033f6a Restore clientAuthorityCallback (#1298) 2019-12-12 19:31:11 -06:00
MrGadget
c6678eb3f1 No point in calling this here (#1300) 2019-12-12 19:30:40 -06:00
MrGadget
a18d6b5eaa Unused field (#1299) 2019-12-12 19:11:20 -06:00
Paul Pacheco
e4a701ed4e feat: fallback transport now supports uri (#1296) 2019-12-10 17:13:32 +01:00
Paul Pacheco
c206f9ad97 feat: Multiplex based on url (#1295)
If the multiplex transport receives an url for connection,
try all the underlying transports until it finds a suitable one

For example,  let's say you configure a multiplex transport with telepathy and websocket,  if you try:
```cs
NetworkManager.StartClient("tcp4://host:port");
```

then the multiplex transport will use telepathy.

if we pass:
```cs
NetworkManager.StartClient("ws://host:port");
```

then the multiplex transport will select websocket
2019-12-10 07:36:42 +01:00
MrGadget
c2d8cdfbcd
Update ChangeLog.md 2019-12-09 20:59:02 -05:00
MrGadget
d4ac60fcfd
Update ChangeLog.md 2019-12-09 20:58:16 -05:00
Paul Pacheco
7865a840b6 feat: LLAPI transport can receive port from uri (#1294)
* feat: LLAPI transport can receive port from uri

* Refactor to use the original method
2019-12-09 21:52:50 +01:00
Paul Pacheco
c8ad118d50 feat: websocket can receive port in url (#1287)
* feat: websocket can now receive port and encryption setting from uri

* check for ws or wss scheme
2019-12-09 16:52:39 +01:00