Hi, i have noticed lags on my server and looking for a solution i see the economics plugin droping de fps of the server on balance save!
Do you have a solution for this problem, or you can add a time configuration change for the save?
Lag after update!Solved
same for me, my cpu usage jumps from 100% to 200% everytime it saves
Hi, i search for solutions, and read the code of the plug-in, and discovered that the plug-in saves the balance of the player at the same time the server saves the content, and the lag began to happen after the update.carlnesssame for me, my cpu usage jumps from 100% to 200% everytime it saves
I belive that the problem is in the update.
yeah your right, i found a fix thanks its the new ping feature causing rubber banding which like you say saves at the same time as economics, thanks
Same problem here
This should help
https://discord.com/channels/739628625363730463/865903731040190464/1228369813823295558
or
//Reference: 0Harmony
//Reference: Facepunch.Ping
using Facepunch.Rust;
using Harmony;
using Oxide.Core;
using System.Linq;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using UnityEngine;
namespace Oxide.Plugins {
[Info("LagHotfix for April Rust Update", "Host-Unlimited.de", "4.2.0")]
[Description("Hotfixes server-lag caused by region resolution each 5 minutes that failes due to a bug.")]
class StopStupidPings : CovalencePlugin {
private HarmonyInstance _harmonyInstance;
private void Unload() { _harmonyInstance.UnpatchAll(_harmonyInstance.Id); }
private void Init() {
_harmonyInstance = HarmonyInstance.Create(Name);
_harmonyInstance.Patch(AccessTools.Method(typeof(Facepunch.Ping.PingEstimater), "RefreshCacheIfExpired"),
prefix: new HarmonyMethod(typeof(PingRegionStop),
nameof(PingRegionStop.Prefix)));
}
private static bool HasChecked = false;
private class PingRegionStop {
internal static bool Prefix() {
if (!HasChecked) { HasChecked = true; return true; }
return false;
}
}
}
}https://digitalmarketplay.com/product/rust-ping-estimation-lag-stalling-fix-rust-update-04-04-2024/
I found a plugin ready to use in oxide or carbon! In my server it fix the lag, thanks Omegablue!
Locked automatically