Commit graph

1997 commits

Author SHA1 Message Date
in0finite
7f7820e2b0 use snapshots for syncing transform 2022-04-27 02:42:31 +02:00
in0finite
393d3d45da use new approach to sync ped 2022-04-26 23:12:10 +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
65c27e8d99 fix "say" command 2022-04-23 02:44:10 +02:00
in0finite
cc30f5ba54 also assign NetworkTransform.sendInterval when changing ped sync rate 2022-04-23 00:07:31 +02:00
in0finite
ca44775812 nicer display of elapsed time 2022-04-22 23:24:25 +02:00
in0finite
38449b1a7e add "say" command which sends a chat message 2022-04-22 22:27:23 +02:00
in0finite
5ae8c65727 ... 2022-04-22 22:24:46 +02:00
in0finite
8f704ba720 add "cmd_server" command which can run a command as server 2022-04-22 22:23:57 +02:00
in0finite
b4dee531f2 ... 2022-04-22 21:17:44 +02:00
in0finite
bfc7d40159 add description for core commands 2022-04-22 21:14:32 +02:00
in0finite
620855caf6 ... 2022-04-22 21:09:03 +02:00
in0finite
41bfe1135a don't modify chat messages that are sent from server - messages are sent as they are 2022-04-22 21:07:30 +02:00
in0finite
53b01a9efb ... 2022-04-22 20:54:19 +02:00
in0finite
3f482aab6c add additional parameter to ProcessChatMessage() 2022-04-22 19:43:28 +02:00
in0finite
779cbdbdaf add "stats" command which shows stats 2022-04-22 16:17:44 +02:00
in0finite
65afa28d30 ... 2022-04-22 16:16:57 +02:00
in0finite
b9b311e40e rework Stats: they can output to StringBuilder and also use imGUI 2022-04-22 02:29:29 +02:00
in0finite
b2495d3164 players can be server admins ; add command to authenticate player 2022-04-21 20:54:33 +02:00
in0finite
8e43a84c02 add Time stats to MISC stats 2022-04-21 18:43:03 +02:00
in0finite
f13ad9176e nicer format 2022-04-21 18:42:31 +02:00
in0finite
5c79529407 replace with string builder 2022-04-21 17:46:39 +02:00
in0finite
959dff5204 update submodule 2022-04-18 01:14:23 +02:00
in0finite
f99fe5794b when player disconnects, destroy peds spawned by him 2022-04-17 23:02:08 +02:00
in0finite
a889c0780c increase node search radius for walking around 2022-04-17 22:47:47 +02:00
in0finite
e823af2e22 increase node search radius for escaping 2022-04-17 22:24:03 +02:00
in0finite
8318a3c9b1 use doubletime 2022-04-17 22:17:57 +02:00
in0finite
482842a259 assign script execution order 2022-04-17 21:38:29 +02:00
in0finite
3ce6c2ab82 fix warnings 2022-04-16 23:50:03 +02:00
in0finite
c570c4c0e7 re-save prefabs 2022-04-16 23:35:07 +02:00
in0finite
405f70d2ee re-save prefabs 2022-04-16 23:24:45 +02:00
in0finite
7ee9bbe425 when sampling target position, do multi-sampling with distance levels 2022-04-16 23:16:16 +02:00
in0finite
3da0a75562 use double for time measuring 2022-04-16 23:00:41 +02:00
in0finite
c0ee1612a7 remove unused code 2022-04-16 22:31:08 +02:00
in0finite
39bf88bd14 fix ragdoll sync 2022-04-16 22:19:37 +02:00
in0finite
0104f8d092 better ragdoll sync 2022-04-11 01:38:02 +02:00
in0finite
4272e6dfcc fix for spawning "yellow chicken" model for every ped, on clients 2022-04-10 01:03:51 +02:00
in0finite
e64d2ce427 fix for arm rotating in wrong direction when holding a single-arm weapon 2022-04-09 23:28:57 +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
5c456ea356 update submodule 2022-04-03 03:57:03 +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