From fe257c58ec8b89835116ddd79e364613f2e35b8e Mon Sep 17 00:00:00 2001 From: in0finite Date: Thu, 11 Jul 2019 17:36:31 +0200 Subject: [PATCH] remove some spamming logs --- Assets/Scripts/Behaviours/Ped/Ped_Networking.cs | 4 ++-- Docs/Multiplayer.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Behaviours/Ped/Ped_Networking.cs b/Assets/Scripts/Behaviours/Ped/Ped_Networking.cs index 5a71b065..143320f7 100644 --- a/Assets/Scripts/Behaviours/Ped/Ped_Networking.cs +++ b/Assets/Scripts/Behaviours/Ped/Ped_Networking.cs @@ -173,7 +173,7 @@ namespace SanAndreasUnity.Behaviours void Net_OnIdChanged(int newId) { - Debug.LogFormat("ped (net id {0}) changed model id to {1}", this.netId, newId); + //Debug.LogFormat("ped (net id {0}) changed model id to {1}", this.netId, newId); if (this.isServer) return; @@ -231,7 +231,7 @@ namespace SanAndreasUnity.Behaviours F.RunExceptionSafe( () => { - Debug.LogFormat("weapon slot changed for ped {0} to {1}", this.DescriptionForLogging, newSlot); + //Debug.LogFormat("weapon slot changed for ped {0} to {1}", this.DescriptionForLogging, newSlot); if (this.CurrentState != null) { diff --git a/Docs/Multiplayer.md b/Docs/Multiplayer.md index ae86355a..2360a11a 100644 --- a/Docs/Multiplayer.md +++ b/Docs/Multiplayer.md @@ -16,12 +16,18 @@ - add dates to logs +- remove spamming logs: weapon slot changed ; ped changed model ; + +- sometimes, current vehicle is null on client + - vehicle states should handle situation when current vehicle is null (on client) *** - weapon sound should be 3d +- EnableOrDisableGunFlash() throws NRE when ped dies + *** - **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below