2.10.8: fewer hitches
- Sending on a background thread (the game thread blocked whenever the TCP buffer was full, e.g. while uploading the save); small frames are batched - Server save requests: routine saves wait for a calm moment (not while driving fast) and are announced; urgent flag from server 2.10.5 - Dynamic built-in font for all MSCO GUI (Unity logged hundreds of "Font size and style overrides" warnings with stutters) - Admin VEHICLE tab rescans every 30 s / after actions instead of every 5 s; time/weather FSM search less often - Reused buffers for Build/Frame/Poll (less garbage, fewer GC pauses) - Hitch log: GC and save detection, count of hitches between reports - Show Bolt Size 1.0.1: finds the FPSCamera (Camera.main may be missing), uses MSCO's shared FSM list instead of FindObjectsOfType every 2 s Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -28,9 +28,9 @@ namespace MSCO
|
||||
static void Find()
|
||||
{
|
||||
if (sun != null && weather != null) return;
|
||||
if (Time.realtimeSinceStartup - searchedAt < 3f) return;
|
||||
if (Time.realtimeSinceStartup - searchedAt < 15f) return; // nicht ständig suchen, falls es sie nicht gibt
|
||||
searchedAt = Time.realtimeSinceStartup;
|
||||
foreach (PlayMakerFSM f in SceneCache.Fsms(5f))
|
||||
foreach (PlayMakerFSM f in SceneCache.Fsms(60f))
|
||||
{
|
||||
if (f == null) continue;
|
||||
if (sun == null && f.FsmVariables.FindFsmInt("Time") != null && f.Fsm.GetState("12-14") != null
|
||||
|
||||
Reference in New Issue
Block a user