Commit Graph

7538 Commits

Author SHA1 Message Date
MrGadget1024
03c063e69e UI bug for multiplier, and default now 6 2023-02-20 02:09:37 -05:00
MrGadget1024
566c9eb29d TestNTNetworkManager OnClientDisconnect offline scene check 2023-02-20 00:56:36 -05:00
MrGadget1024
7fa5afcfce fixed TestNT.meta 2023-02-19 23:34:33 -05:00
MrGadget1024
94114a88b3 Deleted TMP folder 2023-02-19 23:13:49 -05:00
MrGadget1024
47c4285423 Merged Master 2023-02-19 23:12:48 -05:00
MrGadget1024
33f19939f5 gitignore .vscode 2023-02-19 23:08:10 -05:00
MrGadget1024
494f6b342c SWT ClientHandshake - fixed error 2023-02-19 23:07:05 -05:00
MrGadget1024
7ad18a247c deleted .vscode folder and added to gitignore 2023-02-19 23:06:15 -05:00
MrGadget
69d5cf3c8f
breaking: AsmDef Updates (#3388)
* breaking: AsmDef Updates
- KcpTransport moved up
- SimpleWeb moved into folder
- AsmDef chains updated and simplified

* Reverted accidental change

* reverted accidental change

* Mirror.Tests - reverted ref removal
- needed for 2019 and 2020
2023-02-20 04:56:52 +01:00
Robin Rolf
cfe27a179b
fix: never use custom NB writers for SyncVars (#3387)
We always use a specific reader for NB syncvars, so if a custom defined writer handles data differently this leads to data mismatches.
Supporting custom readers for NB syncvars will just lead to too many edge cases and unexpected behaviour, so dont do it (see https://github.com/MirrorNetworking/Mirror/issues/2680#issuecomment-1435093212 for rationale).

Fixes #2680
2023-02-20 04:29:48 +01:00
MrGadget1024
ce2f1206e4 NTRCustomSendInterval formatting 2023-02-19 22:01:32 -05:00
ninjakickja
913a29dc6d Update NT to fix desyncs
When a new client joins in between sending frames, server will serialize a current live position to the client. This may not be the last sent copy to everyone, so when the next send happens, the delta sent will be delta-ed against wrong data.

Other changes:
1) Removed CheckLastSendTime() in OnSerialize(), not needed.
2) Only checking sending/set dirty in LateUpdate(). Other users may require positions updated in
    update, and do something to it on LateUpdate().
3) Initialize last snapshot to zeroes in Reset(). For syncOnlyOnChange, sender will check against last sent
    snapshot for changes. This needs to be zero on a reset.
2023-02-20 10:36:14 +08:00
MrGadget1024
fbbb10be7f TestNTNetworkManager wrap using System 2023-02-19 16:42:20 -05:00
MrGadget1024
9877249130 Add back reference 2023-02-19 16:38:31 -05:00
MrGadget1024
e0aac07a30 resolved conflict 2023-02-19 10:28:48 -05:00
MrGadget1024
ccf6569dd3 Merged AsmDef-Sanity 2023-02-19 10:25:55 -05:00
MrGadget1024
fe03ba88d9 breaking: AsmDef Updates
- KcpTransport moved up
- SimpleWeb moved into folder
- AsmDef chains updated and simplified
2023-02-19 10:23:38 -05:00
MrGadget1024
346442efed Kcp compatibility 2023-02-19 10:08:18 -05:00
MrGadget1024
31203aabb1 TestNTNetworkManager overrides 2023-02-18 21:16:55 -05:00
MrGadget1024
44e7d76b08 UI updates 2023-02-18 21:00:35 -05:00
MrGadget1024
7f655d1899 Offline scenes updated 2023-02-18 20:27:51 -05:00
MrGadget1024
d9882e42f0 LoginUI prefab 2023-02-18 20:27:26 -05:00
MrGadget1024
5088ccde81 offline scenes updated - UI wireups 2023-02-18 20:08:45 -05:00
MrGadget1024
ba1d5e1b5f LoginUI Prefab updated 2023-02-18 20:08:25 -05:00
MrGadget1024
3bb3efbb62 LoginUI - removed unused field 2023-02-18 20:08:08 -05:00
MrGadget1024
fc951d84c2 unused usings 2023-02-18 14:52:00 -05:00
MrGadget1024
9ffd233958 OfflioneKcp updated 1K 2023-02-18 14:44:21 -05:00
MrGadget1024
add8fa42d1 OfflineKcp updated 2023-02-18 14:36:55 -05:00
MrGadget1024
2cac079138 LoginUI prefab 2023-02-18 14:36:46 -05:00
MrGadget1024
863ec8d0b8 1000 maxConn 2023-02-18 13:24:30 -05:00
MrGadget1024
699c9ac5c7 fixed client not getting multiplier 2023-02-18 11:44:08 -05:00
MrGadget1024
4536fb3dc8 sendIntervalMultiplier SyncVar 2023-02-18 10:15:54 -05:00
MrGadget1024
a4491057e3 fixed BotNinja prefab 2023-02-18 09:42:31 -05:00
MrGadget1024
346aaabc02 fixed /ninja switch 2023-02-18 09:31:26 -05:00
MrGadget1024
fbc00c1ee9 Bug fixes 2023-02-18 09:14:07 -05:00
MrGadget1024
ab8bdb6506 Added stresstest.idev.dl.je 2023-02-18 08:38:26 -05:00
MrGadget1024
feb5d5286e NTRCustomSendInterval LateUpdate 2023-02-17 22:03:08 -05:00
MrGadget1024
f2cc2ba9ca NTRCustomSendInterval formatting 2023-02-17 20:38:16 -05:00
MrGadget1024
b90c620b68 Default server port 27777 2023-02-17 18:02:39 -05:00
MrGadget1024
390318da95 ninja config options 2023-02-17 17:41:14 -05:00
MrGadget1024
b28cb90d11 prefab updates 2023-02-17 17:40:52 -05:00
MrGadget1024
fddcd76228 Ninja Material 2023-02-17 17:40:41 -05:00
MrGadget1024
994fe40d25 Ninja UI 2023-02-17 17:40:21 -05:00
MrGadget1024
7c211b19fc PlayerNinja Color 2023-02-17 17:11:34 -05:00
MrGadget1024
99c8ce16c8 Prefabs 2023-02-17 17:09:04 -05:00
MrGadget1024
545cefd1c2 Added Ninja options 2023-02-17 17:03:28 -05:00
MrGadget1024
c05e2d6991 Fixed Apply override 2023-02-17 16:16:52 -05:00
MrGadget1024
931ec63170 Merged master 2023-02-17 16:14:55 -05:00
Robin Rolf
94bb3690ae
fix: NetworkBehaviour SyncVar uses netId lookup (#3386)
* fix: NetworkBehaviour SyncVar uses netId lookup

Not only types derived from NetworkBehaviour
Fixes #2939

* Update Assets/Mirror/Editor/Weaver/Extensions.cs

* Update Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs

* Update Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeProcessor.cs

* Update Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeProcessor.cs

* Update Assets/Mirror/Editor/Weaver/Processors/SyncVarAttributeProcessor.cs

* Update Assets/Mirror/Editor/Weaver/Readers.cs

* Update Assets/Mirror/Editor/Weaver/Writers.cs

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-02-17 12:09:53 +01:00
MrGadget1024
5784ff6d8a script icons 2023-02-16 21:55:50 -05:00