Commit Graph

214 Commits

Author SHA1 Message Date
JohnCorby
9d0bc4fd64 allow detach even if not grounded 2022-02-07 20:48:35 -08:00
JohnCorby
cf151b2573 ShipCustomAttach: disable custom attach point if we attach to something else 2022-02-05 03:48:06 -08:00
JohnCorby
f301af02f3 PlayerAttachWatcher 2022-02-05 03:15:54 -08:00
JohnCorby
7472eb6936 Update ShipCustomAttach.cs 2022-02-04 14:45:43 -08:00
JohnCorby
b4085d5346 Update ShipCustomAttach.cs
check for grounded
2022-02-03 17:24:55 -08:00
JohnCorby
a5321065b1 improve ShipCustomAttach 2022-01-31 17:26:35 -08:00
JohnCorby
5ec240b5b8 remove using whoops 2022-01-31 16:33:22 -08:00
JohnCorby
2f60039ca6 custom ship attach 2022-01-31 16:33:11 -08:00
Mister_Nebula
1991c681eb cleanup qsb 2022-01-31 14:23:50 +00: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
c4aeb14bea we can use generics for qsb message 2022-01-26 21:00:12 -08:00
JohnCorby
75ae6416f7 we can use generics for qsb message 2022-01-26 20:35:43 -08:00
JohnCorby
a2660d6a54 send initial states less often and not in RequestStateResyncMessage 2022-01-26 00:12:44 -08:00
JohnCorby
289d99bd16 satellite node, fragment resync fix 2022-01-25 20:34:49 -08:00
JohnCorby
0b018ab788 chugging along 2022-01-25 20:16:53 -08:00
JohnCorby
83ed2cea08 replace _baseIsReady and IsReady with 1 CheckReady 2022-01-21 17:12:24 -08:00
JohnCorby
cc4da03a9b Uninit for SectorSync, rename to QSBSectorDetector 2022-01-21 16:38:59 -08:00
JohnCorby
c3422177ab simplify ReferenceTransform check 2022-01-20 22:40:28 -08:00
JohnCorby
dba1e3a0da use OnStartClient instead of Start 2022-01-18 12:19:58 -08:00
JohnCorby
7e1f62666a seperate building and unbuilding of world objects 2022-01-18 00:46:27 -08:00
JohnCorby
2743c8ffa9 move a bunch of WorldObjectManager stuff to QSBWorldSync 2022-01-18 00:27:32 -08:00
JohnCorby
cd9db24dd8 tweak 2022-01-16 07:56:08 -08:00
JohnCorby
0dce0c62be oops again 2022-01-16 07:42:46 -08:00
JohnCorby
0912b6cee0 merge de/ser again, just make sure that it doesnt mess with anything (ie store and defer to getfrom/applytoattached 2022-01-16 07:23:35 -08:00
JohnCorby
7f1c6ea6c8 split up UpdateTransform + refactor 2022-01-16 06:53:45 -08:00
JohnCorby
1f4c06561b zoinks 2022-01-16 06:11:44 -08:00
JohnCorby
5b8f51afdd major simplify BaseSectoredSync 2022-01-16 05:45:47 -08:00
JohnCorby
1b60a18eac call base in ser/deser 2022-01-16 04:51:37 -08:00
JohnCorby
ff9a93108c remove qnet references (except AnimationSync) 2022-01-14 22:54:31 -08:00
JohnCorby
85927c2e9d remove old syncbase and friends 2022-01-14 22:39:41 -08:00
JohnCorby
24cffdbf43 guh 2022-01-14 22:31:48 -08:00
JohnCorby
1a1b48cfc6 le ship 2022-01-14 22:31:23 -08:00
JohnCorby
51bb10eedc rename 2022-01-14 22:25:23 -08:00
JohnCorby
4a2fedb805 these 3 2022-01-14 21:34:09 -08:00
JohnCorby
a349e4dd2b cleanup enums 2022-01-11 20:08:38 -08:00
JohnCorby
25e303b777 buh 2022-01-06 14:03:48 -08:00
JohnCorby
40fb3821fe InvokeBase doesnt work :( go back to reverse patches 2021-12-27 14:44:44 -08:00
JohnCorby
ad076e716d use __instance in patches instead of ___whatever since we can access fields directly 2021-12-26 21:25:26 -08:00
JohnCorby
bb0dc9e8eb optimize imports 2021-12-26 21:05:07 -08:00
JohnCorby
0574cd17e5 use nameof for RaiseEvent 2021-12-26 21:01:24 -08:00
JohnCorby
3e9965101a remove GetAnyMethod usages 2021-12-26 20:58:34 -08:00
JohnCorby
232f71b66a remove SetValue usages 2021-12-26 20:57:51 -08:00
JohnCorby
248527d65b remove GetValue usages 2021-12-26 20:35:40 -08:00
JohnCorby
7acd63e339 remove default ctors from messages 2021-12-26 18:55:54 -08:00
JohnCorby
85f55afc11 optimize imports again lol 2021-12-26 01:02:55 -08:00
JohnCorby
8abddb4e8c move/rename eventnames, also move FactReveal out of WorldSync folder 2021-12-26 00:53:43 -08:00
JohnCorby
e00aa13461 make getting world object from id or unity object an extension method (and rename) 2021-12-25 22:45:25 -08:00
JohnCorby
e704fba8bc InvokeBase helper method 2021-12-25 21:03:34 -08:00
JohnCorby
40a3fa05db hatch and funnel 2021-12-25 17:22:33 -08:00
JohnCorby
e085e7bcc2 ship hull events (remove hull impact since it had empty OnReceive) 2021-12-25 17:15:22 -08:00
JohnCorby
4396edd227 put space before colon 2021-12-25 16:58:41 -08:00
JohnCorby
7c192ebf74 *damaged 2021-12-25 16:54:34 -08:00
JohnCorby
7d81abc7cc *RepairTick 2021-12-24 21:14:23 -08:00
JohnCorby
111601fdb5 *RepairedMessage 2021-12-24 20:07:50 -08:00
JohnCorby
347f8d1945 ship fly and suit 2021-12-23 22:41:11 -08:00
JohnCorby
74a4775511 OPTIMIZE IMPORTS 2021-12-23 17:07:29 -08:00
JohnCorby
507af7a1fa rename ALL Events folders to Messages so i dont have to do it later 2021-12-23 16:26:31 -08:00
JohnCorby
3ef26a6da7 implement (might be wrong for some, like maybe AirlockManager? not sure if GhostAirlock shows up in the eye) 2021-12-20 18:41:12 -08:00
JohnCorby
83e6d26f44 revert sector sync, since there's a bug in dev 2021-12-17 21:34:43 -08:00
JohnCorby
6a54f7bacb apparently the SectorDetector body and the actual body are not the same 2021-12-15 03:17:45 -08:00
JohnCorby
6dc9135be1 extra syncyness 2021-12-13 22:36:27 -08:00
JohnCorby
3c0cdcb076 simplify, handle edge cases 2021-12-13 21:52:59 -08:00
JohnCorby
4c535fd544 rename relative transform stuff 2021-12-13 16:02:31 -08:00
JohnCorby
0806ee23b0 check for null ReferenceTransform 2021-12-13 14:28:08 -08:00
JohnCorby
adad302ba0 use proper pos/rot stuff 2021-12-13 13:26:54 -08:00
JohnCorby
16592d4d57 fixed OccasionalTransformSync NRE 2021-12-12 03:14:00 -08:00
JohnCorby
589750649f ShipDamageController_OnImpact NRE for real 2021-12-12 03:01:41 -08:00
JohnCorby
a272050b8b ShipDamageController_OnImpact NRE 2021-12-12 03:00:20 -08:00
JohnCorby
6a81808bc0 Merge branch 'dev' into worldobject-init 2021-12-11 18:15:12 -08: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
916056c605 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2021-12-10 22:13:39 +00:00
Mister_Nebula
554c2bb2dd cleanup 2021-12-07 15:56:08 +00:00
Mister_Nebula
a9fc152ff8 replace RequireWorldObjectsReady with property 2021-12-05 11:03:09 +00:00
Mister_Nebula
88084bb24d add RequireWorldObjectsReady check to all events 2021-12-04 16:39:37 +00:00
Mister_Nebula
0bd60ddb68 rename variables, fix QSBOWItem (again) 2021-12-04 09:51:27 +00:00
JohnCorby
914a05916d removed world object bools from qsbcore since they're duplicates 2021-12-02 02:44:34 -08:00
JohnCorby
da1cf59ecb migrate to AuthorityManager 2021-12-02 02:44:32 -08:00
Mister_Nebula
f612d2b37b remove EventType 2021-11-29 22:26:32 +00:00
Mister_Nebula
3860b2aacc add newlines 2021-11-25 15:38:05 +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
96c8bb6d1d Revert "revert GetUnityObjects thingy"
This reverts commit 53093ddd66.
2021-11-14 03:55:11 -08:00
JohnCorby
333f23d797 back to using custom SetVelocity 2021-11-10 02:03:21 -08:00
JohnCorby
03314fd4ad - implement UnsectoredRigidbodySync.cs
- fix TODO in SectoredRigidbodySync.cs
2021-11-09 16:26:06 -08:00
Mister_Nebula
266b6147fc aaaaa 2021-11-01 15:49:00 +00:00
Mister_Nebula
256830e557 cleanup 2021-10-29 23:00:13 +01:00
Mister_Nebula
2024e5fcd9 cleanup 2021-10-15 21:08:17 +01:00
Mister_Nebula
565f0b7f8e update patches, use publicized assembly 2021-10-15 21:06:51 +01:00
Mister_Nebula
2712bbe603 fix ship again 2021-09-13 19:22:48 +01:00
Mister_Nebula
913ec6e676 fixed ship ignoring when UpdateTransform had failed - and added check to stop getting owrigidbody from null reference 2021-09-13 15:07:36 +01:00
Mister_Nebula
265be6ba98 don't try using reference transform in updatetransform if it's null 2021-09-02 11:25:41 +01:00
Mister_Nebula
0b42ec4262 CLEANUP - add new lines 2021-08-22 17:17:46 +01:00
Mister_Nebula
447ed28b10 update ship transform sync 2021-08-22 16:42:57 +01:00
Mister_Nebula
bc41702ac2 add IsPlayerInShip to ShipManager 2021-08-19 23:15:20 +01:00
Mister_Nebula
28691065a0 add SpawnWithServerAuthority extension 2021-08-19 16:37:29 +01:00
Mister_Nebula
120b430cd1 add new transform syncs 2021-08-14 15:03:01 +01:00
Mister_Nebula
967718d234 change isServer to isHost 2021-08-08 19:53:55 +01:00
Mister_Nebula
60371f5381 add base isready 2021-07-17 09:51:47 +01:00