Fix oil leaking after joining: don't sync game-computed leak states/rates (LeakOilpan, LeakOilfilter, ...); vars <filter> diagnostic command
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,7 @@ namespace MSCO
|
||||
"fps [on|off] - show the frames per second (toggle)\n" +
|
||||
"/admin - admin menu (kick / ban / teleport / cheats)\n" +
|
||||
"vehicles | rig - debug info about vehicles / player models\n" +
|
||||
"vars <filter> - synced vehicle values, e.g. vars oil (debug)\n" +
|
||||
"debug - toggle sync debug output\n" +
|
||||
"clear - clear this console";
|
||||
|
||||
@@ -129,6 +130,10 @@ namespace MSCO
|
||||
case "vehicles":
|
||||
foreach (string line in mp.DescribeVehicles()) print(line);
|
||||
break;
|
||||
case "vars":
|
||||
// Diagnose: welche Fahrzeugwerte synchronisiert werden (z.B. "vars oil")
|
||||
foreach (string line in mp.DescribeVehicleValues(args.Length > 1 ? args[1] : "")) print(line);
|
||||
break;
|
||||
case "debug":
|
||||
FsmSync.Debug = !FsmSync.Debug;
|
||||
print("Sync debug output " + (FsmSync.Debug ? "ON" : "OFF"));
|
||||
|
||||
Reference in New Issue
Block a user