52 Commits

Author SHA1 Message Date
JohnCorby
e4da50a656 solution-wide: file-scoped namespaces 2022-03-02 19:46:33 -08:00
JohnCorby
a8fba743f6 Revert "solution wide: use file-scoped namespace" 2022-02-27 05:25:39 -08:00
JohnCorby
182678c4bc solution wide: use file-scoped namespace 2022-02-25 23:18:46 -08:00
JohnCorby
9e5e7bb6a1 initial state:
- always send from the host
- QSBNetworkBehaviour will store last known data in an array and send that, since real data will be wrong if no authority
2022-02-16 19:22:21 -08:00
JohnCorby
1f2ccfe6db remove this, why not 2022-01-29 01:39:45 -08:00
JohnCorby
e42aec8bae move everything over to UnityEvents 2022-01-29 01:24:15 -08:00
JohnCorby
edf469d3e4 rename 2022-01-28 20:50:34 -08:00
JohnCorby
2f99dec87f make BuildWorldObjects async 2022-01-28 20:49:07 -08:00
JohnCorby
88da273f72 comment 2022-01-26 01:01:32 -08:00
JohnCorby
daba499d90 - rename
- apparently weaver weave arrays correctly, so be explicit
2022-01-26 00:12:44 -08:00
JohnCorby
a2660d6a54 send initial states less often and not in RequestStateResyncMessage 2022-01-26 00:12:44 -08:00
JohnCorby
0a423a8ce6 comment 2022-01-25 21:32:43 -08:00
JohnCorby
1800e6f21f make SendResyncInfo abstract to make sure we handle resyncs 2022-01-25 21:08:04 -08:00
JohnCorby
4918815e92 implement SendResyncInfo 2022-01-21 15:15:57 -08:00
Mister_Nebula
1b20802a13 add null probe check to qsbmeteor 2021-12-27 21:33:53 +00:00
JohnCorby
2414efd65f set AttachedObject and ObjectId in QSBWorldSync.cs, meaning many Init()s can be removed 2021-12-11 14:38:54 -08:00
Mister_Nebula
3860b2aacc add newlines 2021-11-25 15:38:05 +00:00
Mister_Nebula
eb79e32491 remove excess newlines 2021-11-25 15:37:38 +00:00
JohnCorby
d8bfdaee2e Merge branch 'dev' into some-cleanup 2021-11-22 02:07:03 -08:00
Mister_Nebula
ae8bf9a8b2 aaaaaaaaaa 2021-11-20 19:49:50 +00:00
JohnCorby
0fe6dce0db remove IntermediaryTransform 2021-11-19 01:01:51 -08:00
JohnCorby
161209535b we dont really need to transform sync meteors 2021-11-18 22:42:08 -08:00
JohnCorby
17811547fa the bug is fixed 2021-11-18 22:28:41 -08:00
JohnCorby
9d33498c64 ACTUALLY fixed null bug in resync event 2021-11-18 00:42:35 -08:00
JohnCorby
95471f8753 better fix for that nre in transform sync 2021-11-18 00:01:26 -08:00
JohnCorby
15a973d109 fixed null bug in resync event 2021-11-17 20:31:32 -08:00
JohnCorby
08d7671234 precalculate leash length immediately and use that 2021-11-15 18:02:43 -08:00
JohnCorby
a40d8a2cf5 undetached fragment does not have a rigidbody 2021-11-15 17:08:15 -08:00
JohnCorby
d11591b904 wabba dabba doo wip 2021-11-15 02:39:06 -08:00
JohnCorby
558221491e resync event done 2021-11-15 00:29:36 -08:00
JohnCorby
73853b0ced remove debug log spam 2021-11-14 00:57:45 -08:00
JohnCorby
3b4a8682be lol 2021-11-13 23:49:14 -08:00
JohnCorby
12c1369c20 whoops i was looking at wrong thing for probe 2021-11-13 23:43:13 -08:00
JohnCorby
df7bc49236 special impact message for remote player and probe 2021-11-13 23:29:21 -08:00
JohnCorby
eca53e91d1 make sure integrity/origintegrity are synced on join 2021-11-13 21:15:01 -08:00
JohnCorby
bc40e74d3b implement method nebula described 2021-11-13 20:41:46 -08:00
JohnCorby
082996cb61 wip 2021-11-13 16:57:06 -08:00
JohnCorby
cef8cf23e5 changed all Resources.FindObjectsOfTypeAll to QSBWorldSync.GetUnityObjects, which doesnt include prefabs 2021-11-13 00:42:59 -08:00
JohnCorby
5f4368c1e7 just sync prelaunch/launch, stop worrying about impact and collisions for now 2021-11-13 00:09:41 -08:00
JohnCorby
4e4bad6885 we do a little reworking 2021-11-12 22:34:50 -08:00
JohnCorby
868290ac1b even more debug logging 2021-11-12 02:28:59 -08:00
JohnCorby
94e5405314 include flag and pool index when launching meteor 2021-11-12 02:24:43 -08:00
JohnCorby
c743b9da75 handle null hitObject in patch 2021-11-12 01:52:16 -08:00
JohnCorby
8b0d621201 disable collision from triggering impact code on clients 2021-11-11 02:42:57 -08:00
JohnCorby
5f5e04e29f rework - dont sync transform 2021-11-11 02:09:22 -08:00
JohnCorby
f1d45c9e8c use variable to denote when to impact, instead of enabling/disabling collision 2021-11-11 00:44:52 -08:00
JohnCorby
fdeaf8111a make impacting work 2021-11-10 23:57:04 -08:00
JohnCorby
a371c71415 dont process events if world objects arent ready yet lol 2021-11-10 21:59:32 -08:00
JohnCorby
495f814739 easier logging 2021-11-10 21:51:14 -08:00
JohnCorby
292d4ce5f5 more progress 2021-11-10 21:38:28 -08:00