Commit graph

174 commits

Author SHA1 Message Date
in0finite
54144bf56a replace obsolete methods from CmdLineUtils with new ones 2022-09-30 16:24:10 +02:00
in0finite
b640621409 replace namespace 2022-09-30 14:39:50 +02:00
in0finite
b096e4a2bd ... 2022-05-06 17:43:17 +02:00
in0finite
0eab81d717 Revert "try to interpolate based on local time"
This reverts commit 730456a83b.
2022-05-04 11:11:14 +02:00
in0finite
730456a83b try to interpolate based on local time 2022-05-04 11:10:00 +02:00
in0finite
550c6544f7 fix ping sending frequency 2022-05-04 09:32:48 +02:00
in0finite
8318a67912 try to fix brakes ; refactor vehicle input 2022-05-04 06:18:58 +02:00
in0finite
0ae5c8af8a ... 2022-05-04 03:01:53 +02:00
in0finite
ff896ab512 ... 2022-05-04 02:55:45 +02:00
in0finite
866f88936f rename 2022-05-04 02:52:55 +02:00
in0finite
9bf580291f performance optimizations 2022-05-04 02:37:00 +02:00
in0finite
582b05baea add "snapshot buffer count" to misc stats 2022-05-03 11:27:51 +02:00
in0finite
8f833986b7 define parameter as "snapshotLatency" 2022-05-03 11:22:09 +02:00
in0finite
b69e1b4c21 implement snapshot interpolation 2022-05-03 11:18:10 +02:00
in0finite
4146b0a65d add visualization 2022-05-02 23:17:36 +02:00
in0finite
1be238b095 change ping sending frequency to 0.5 seconds 2022-05-01 07:10:49 +02:00
in0finite
4bbe62b90e ... 2022-05-01 07:08:21 +02:00
in0finite
3b89d15e4c increase interval for detecting dead connections to 20 seconds 2022-05-01 07:06:36 +02:00
in0finite
f64ed8698f rename 2022-05-01 03:31:40 +02:00
in0finite
a99c737f22 warp when packet arrives (in OnDeserialize()) 2022-05-01 03:22:10 +02:00
in0finite
961a7e601f fix for initial vehicle position being at (0,0,0) 2022-05-01 02:32:52 +02:00
in0finite
847d5186da fix sync for detached vehicle parts 2022-05-01 02:05:14 +02:00
in0finite
89310d9394 add parameter to control whether to use rigid body 2022-04-30 22:18:17 +02:00
in0finite
ac917ec06a wait until we reach current sync data, before moving to next one 2022-04-29 01:06:53 +02:00
in0finite
16c01e861d obtain position/rotation in OnSerialize(), not in Update() 2022-04-28 21:49:40 +02:00
in0finite
35789662f5 ... 2022-04-28 21:29:14 +02:00
in0finite
9f94b0aa1c remove snapshot logic 2022-04-28 21:19:08 +02:00
in0finite
acf3f2a20d use MovePosition()/MoveRotation() 2022-04-28 21:03:37 +02:00
in0finite
92788d4db0 add ability to get/set position/rotation from rigid body if it exists 2022-04-28 20:19:03 +02:00
in0finite
01edb70035 obtain position/rotation from rigid body if present ; assign position/rotation server-side in Update() 2022-04-27 20:57:38 +02:00
in0finite
6470c904c3 can assign port number for kcp transport 2022-04-27 20:54:29 +02:00
in0finite
7f7820e2b0 use snapshots for syncing transform 2022-04-27 02:42:31 +02:00
in0finite
38f5995c92 use new approach to sync vehicle's detached parts 2022-04-26 23:10:38 +02:00
in0finite
c9221c21e1 change execution order of CustomNetworkTransform to run before other scripts 2022-04-26 23:04:55 +02:00
in0finite
8998c87ed7 extract TransformSyncer class 2022-04-26 23:04:17 +02:00
in0finite
773a0ee0d6 ... 2022-04-23 19:14:39 +02:00
in0finite
feffc4a82b improve constant movement approach 2022-04-23 05:24:11 +02:00
in0finite
8fe78bd956 add approaches using Lerp and SLerp 2022-04-23 04:27:27 +02:00
in0finite
a83f3ad2ad create CustomNetworkTransform 2022-04-23 03:09:19 +02:00
in0finite
b2495d3164 players can be server admins ; add command to authenticate player 2022-04-21 20:54:33 +02:00
in0finite
482842a259 assign script execution order 2022-04-17 21:38:29 +02:00
in0finite
eb7503b66d fix and improve NET stats 2022-04-03 19:37:42 +02:00
in0finite
03ee73afee cache IP address of clients 2022-04-03 19:01:00 +02:00
in0finite
46c2eb152c fix 2022-04-03 04:00:44 +02:00
in0finite
0edb0e3641 fix network discovery ; use git submodule 2022-04-03 02:19:39 +02:00
Lukas
0445f29dfd
Feature/mirror upgrade (#127)
* Updated SyncDictionary usage in SyncedBag.cs

- Removed the extra class that is no longer needed for SyncDictionary's
- Removed OP codes (OP_DIRTY) switch case that no longer exists (superseded by OP_SET)

Signed-off-by: Lukas Olson <lukasolson@greyblockgames.com>

* Updated method names

Signed-off-by: Lukas Olson <lukasolson@greyblockgames.com>

* Updated more string sync dictionaries

Ped_Networking.cs
VehicleController.cs
Player.cs
SyncedServerData.cs

Signed-off-by: Lukas Olson <lukasolson@greyblockgames.com>

* Updated NetworkTime fields in NetStats.cs

Signed-off-by: Lukas Olson <lukasolson@greyblockgames.com>

* Updated syncData types

Signed-off-by: Lukas Olson <lukasolson@greyblockgames.com>

* Implemented conditional compilation to replace old isHeadless

Signed-off-by: Lukas Olson <lukasolson@greyblockgames.com>

* Updated hooks

* A few more syncDictionary upgrades

* Moved away from obsolete NetworkIdentity.spawned

* Updated SetDirtyBit to SetSyncVarDirtyBit in DeadBody.cs

* Updated ScriptingDefineSymbols for Mirror

* Updated JoinGameWindow.cs

* Use latest MirrorLite commit for submodule

* Use latest MirrorLite commit for submodule

* Reverted EditorSettings.asset to commit b1c9d38e3a

* Reverted JoinGameWindow.cs to commit b1c9d38e3a

* Changed method for headless mode in NetCmdLineHandler.cs

Changed from compiler defs to SanAndreasUnity helpers for determining headless mode in NetCmdLineHandler.cs

* Re-Added ConfigureHeadlessFrameRate override on CustomNetworkManager.cs

* Started updating JoinGameWindow.cs

- Commented out GUI errors
- Updated type 'DiscoveryInfo' to 'ServerResponse' in method ConnectFromDiscovery() params.
- Updated Connect() 'port' parameter to use type 'int' rather than 'ushort' as per Mirror conventions.

Co-authored-by: Lukas Olson <lukasolson@greyblockgames.com>
2022-04-02 20:15:08 +02:00
in0finite
fe61e9898f rename 2022-01-30 01:06:45 +01:00
in0finite
bd21838255 fix for CustomNetworkManager 2022-01-22 02:07:08 +01:00
in0finite
6d1b0f0a78 change vehicle's color system to use Color32 instead of indices 2021-11-14 23:53:23 +01:00
in0finite
763cdd1317 assign SEO 2021-10-21 12:22:38 +02:00