Bladeren bron

fixed disconnecting

Sewmina Dilshan 3 jaren geleden
bovenliggende
commit
b03c2150d4
39 gewijzigde bestanden met toevoegingen van 65 en 54 verwijderingen
  1. BIN
      .vs/Zombie_MP/v16/Server/sqlite3/storage.ide-shm
  2. BIN
      .vs/Zombie_MP/v16/Server/sqlite3/storage.ide-wal
  3. 2 3
      Assembly-CSharp-Editor.csproj
  4. 1 1
      Assembly-CSharp.csproj
  5. 8 3
      Assets/Scenes/killcave.unity
  6. 4 1
      Assets/Scripts/netPlayer.cs
  7. 2 3
      Mirror.Authenticators.csproj
  8. 2 3
      Mirror.CompilerSymbols.csproj
  9. 2 3
      Mirror.Components.csproj
  10. 2 3
      Mirror.Editor.csproj
  11. 2 3
      Mirror.Examples.csproj
  12. 2 3
      Mirror.Weaver.csproj
  13. 2 3
      Mirror.csproj
  14. 15 0
      ProjectSettings/BurstAotSettings_StandaloneLinux64.json
  15. 2 3
      SimpleWebTransport.csproj
  16. 2 3
      Telepathy.csproj
  17. 2 3
      kcp2k.csproj
  18. 1 1
      obj/Debug/Assembly-CSharp-Editor.csproj.CoreCompileInputs.cache
  19. BIN
      obj/Debug/Assembly-CSharp-Editor.csprojAssemblyReference.cache
  20. 1 1
      obj/Debug/Assembly-CSharp.csproj.CoreCompileInputs.cache
  21. BIN
      obj/Debug/Assembly-CSharp.csprojAssemblyReference.cache
  22. 1 1
      obj/Debug/Mirror.Authenticators.csproj.CoreCompileInputs.cache
  23. 1 1
      obj/Debug/Mirror.CompilerSymbols.csproj.CoreCompileInputs.cache
  24. BIN
      obj/Debug/Mirror.CompilerSymbols.csprojAssemblyReference.cache
  25. 1 1
      obj/Debug/Mirror.Components.csproj.CoreCompileInputs.cache
  26. 1 1
      obj/Debug/Mirror.Editor.csproj.CoreCompileInputs.cache
  27. BIN
      obj/Debug/Mirror.Editor.csprojAssemblyReference.cache
  28. 1 1
      obj/Debug/Mirror.Examples.csproj.CoreCompileInputs.cache
  29. BIN
      obj/Debug/Mirror.Examples.csprojAssemblyReference.cache
  30. 1 1
      obj/Debug/Mirror.Weaver.csproj.CoreCompileInputs.cache
  31. 1 1
      obj/Debug/Mirror.csproj.CoreCompileInputs.cache
  32. BIN
      obj/Debug/Mirror.csprojAssemblyReference.cache
  33. 1 1
      obj/Debug/SimpleWebTransport.csproj.CoreCompileInputs.cache
  34. BIN
      obj/Debug/SimpleWebTransport.csprojAssemblyReference.cache
  35. 1 1
      obj/Debug/Telepathy.csproj.CoreCompileInputs.cache
  36. 1 1
      obj/Debug/kcp2k.csproj.CoreCompileInputs.cache
  37. 1 1
      obj/Debug/where-allocations.csproj.CoreCompileInputs.cache
  38. BIN
      obj/Debug/where-allocations.csprojAssemblyReference.cache
  39. 2 3
      where-allocations.csproj

BIN
.vs/Zombie_MP/v16/Server/sqlite3/storage.ide-shm


BIN
.vs/Zombie_MP/v16/Server/sqlite3/storage.ide-wal


File diff suppressed because it is too large
+ 2 - 3
Assembly-CSharp-Editor.csproj


File diff suppressed because it is too large
+ 1 - 1
Assembly-CSharp.csproj


+ 8 - 3
Assets/Scenes/killcave.unity

@@ -5373,6 +5373,11 @@ PrefabInstance:
       propertyPath: m_LocalEulerAnglesHint.z
       value: 0
       objectReference: {fileID: 0}
+    - target: {fileID: 2908801618872429233, guid: e8cb5ea9702d38442b320009f6692c76,
+        type: 3}
+      propertyPath: networkAddress
+      value: 161.97.127.136
+      objectReference: {fileID: 0}
     - target: {fileID: 2908801618872429235, guid: e8cb5ea9702d38442b320009f6692c76,
         type: 3}
       propertyPath: m_Name
@@ -7954,7 +7959,7 @@ PrefabInstance:
     - target: {fileID: 7304314973299916039, guid: 539f4068676c23742a9f18a27fe6a162,
         type: 3}
       propertyPath: m_LocalPosition.z
-      value: 20.46
+      value: 25.19
       objectReference: {fileID: 0}
     - target: {fileID: 7304314973326372255, guid: 539f4068676c23742a9f18a27fe6a162,
         type: 3}
@@ -7964,7 +7969,7 @@ PrefabInstance:
     - target: {fileID: 7304314973326372255, guid: 539f4068676c23742a9f18a27fe6a162,
         type: 3}
       propertyPath: m_LocalPosition.z
-      value: 0.82
+      value: 57.35
       objectReference: {fileID: 0}
     - target: {fileID: 7304314973356559405, guid: 539f4068676c23742a9f18a27fe6a162,
         type: 3}
@@ -8014,7 +8019,7 @@ PrefabInstance:
     - target: {fileID: 7304314974395938094, guid: 539f4068676c23742a9f18a27fe6a162,
         type: 3}
       propertyPath: m_LocalPosition.z
-      value: 9.38
+      value: 36.48
       objectReference: {fileID: 0}
     m_RemovedComponents: []
   m_SourcePrefab: {fileID: 100100000, guid: 539f4068676c23742a9f18a27fe6a162, type: 3}

+ 4 - 1
Assets/Scripts/netPlayer.cs

@@ -449,7 +449,10 @@ public class netPlayer : NetworkBehaviour
         SurfaceManager.SpawnEffect(0, SurfaceEffects.BulletHit , 1f,hitPoint,Quaternion.LookRotation(hitNormals));
 
         //shootingEffects
-        guns[curGunIndex].triggerMuzzleFlash();
+        if (curGunIndex > 0)
+        {
+            guns[curGunIndex].triggerMuzzleFlash();
+        }
         Debug.Log("Broadcasting shot");
        // weaponAnim.CrossFade("shot",0.1f);
     }

File diff suppressed because it is too large
+ 2 - 3
Mirror.Authenticators.csproj


File diff suppressed because it is too large
+ 2 - 3
Mirror.CompilerSymbols.csproj


File diff suppressed because it is too large
+ 2 - 3
Mirror.Components.csproj


File diff suppressed because it is too large
+ 2 - 3
Mirror.Editor.csproj


File diff suppressed because it is too large
+ 2 - 3
Mirror.Examples.csproj


File diff suppressed because it is too large
+ 2 - 3
Mirror.Weaver.csproj


File diff suppressed because it is too large
+ 2 - 3
Mirror.csproj


+ 15 - 0
ProjectSettings/BurstAotSettings_StandaloneLinux64.json

@@ -0,0 +1,15 @@
+{
+  "MonoBehaviour": {
+    "Version": 3,
+    "EnableBurstCompilation": true,
+    "EnableOptimisations": true,
+    "EnableSafetyChecks": false,
+    "EnableDebugInAllBuilds": false,
+    "UsePlatformSDKLinker": false,
+    "CpuMinTargetX32": 0,
+    "CpuMaxTargetX32": 0,
+    "CpuMinTargetX64": 0,
+    "CpuMaxTargetX64": 0,
+    "CpuTargetsX64": 72
+  }
+}

File diff suppressed because it is too large
+ 2 - 3
SimpleWebTransport.csproj


File diff suppressed because it is too large
+ 2 - 3
Telepathy.csproj


File diff suppressed because it is too large
+ 2 - 3
kcp2k.csproj


+ 1 - 1
obj/Debug/Assembly-CSharp-Editor.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-521f58f98cacbf26907745ed3d033cbb6cf8ad74
+e20a9ff2e6365fe79b776ca032dbf143bce25046

BIN
obj/Debug/Assembly-CSharp-Editor.csprojAssemblyReference.cache


+ 1 - 1
obj/Debug/Assembly-CSharp.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-f3b8861ecee2d8022befb5d469cbffdfa0905548
+8d8229c980a58ad96e8c910d7b150bb70a6dd2e5

BIN
obj/Debug/Assembly-CSharp.csprojAssemblyReference.cache


+ 1 - 1
obj/Debug/Mirror.Authenticators.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-135141837d61b478ba031d5aa1e7cf3add52456c
+999acb3a68f6d1aaff1874ff9ea7af6baff2c0e2

+ 1 - 1
obj/Debug/Mirror.CompilerSymbols.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-85998edb7905b0a80fc6f7a1aea06681831f3a24
+9ce92a212156f8f085aeb9239643a418874fb0f2

BIN
obj/Debug/Mirror.CompilerSymbols.csprojAssemblyReference.cache


+ 1 - 1
obj/Debug/Mirror.Components.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-b91787780e009ec42a0298fb5a8bf438e5739281
+7a07c2ca9771d7a1e57f9dcbf1c1f370114819c3

+ 1 - 1
obj/Debug/Mirror.Editor.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-d6d139982168d637b82fc04f476c03279a87e8e0
+569d85ed08fca40db94a62db00a374e70b07c6b7

BIN
obj/Debug/Mirror.Editor.csprojAssemblyReference.cache


+ 1 - 1
obj/Debug/Mirror.Examples.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-fdf97831fa3002db5706fc8c94a5ddc29d0128b9
+24a6e758c6ae754e33cd86455a2d418e16600b88

BIN
obj/Debug/Mirror.Examples.csprojAssemblyReference.cache


+ 1 - 1
obj/Debug/Mirror.Weaver.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-1db10e2aa12bd4ec36e530127bb2f8beaaa2812c
+ae61e11ae1c5d7882d4b90cfd4b328dd6779dc62

+ 1 - 1
obj/Debug/Mirror.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-41612e453cffc785c2b596dbc8ffd99e35ec89bf
+38fa345a05a921521a36ce4a756b776fbbf1c4d5

BIN
obj/Debug/Mirror.csprojAssemblyReference.cache


+ 1 - 1
obj/Debug/SimpleWebTransport.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-93321d1a0532cd96ef508f0d6aa2cce84c71eabb
+1c0c4e8862b70567498b5f4b6c50bb55d5613c5a

BIN
obj/Debug/SimpleWebTransport.csprojAssemblyReference.cache


+ 1 - 1
obj/Debug/Telepathy.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-133414b6d79ca056c4759abeb159a13bd56ec312
+87cf3a8a012c14beeb19d83d057f914945364b8a

+ 1 - 1
obj/Debug/kcp2k.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-f8beba2672f4820a9299643a7f00399526f410c6
+61500a0ab06f38d76674870733a67dd39aaac811

+ 1 - 1
obj/Debug/where-allocations.csproj.CoreCompileInputs.cache

@@ -1 +1 @@
-cec23925aa28cc3ce04430ae75060b418cab799b
+ef0c7292fd84d25f3372ab3566ca40837c98af43

BIN
obj/Debug/where-allocations.csprojAssemblyReference.cache


File diff suppressed because it is too large
+ 2 - 3
where-allocations.csproj


Some files were not shown because too many files changed in this diff