Aidanamite / Benevolent-Sprites

Raft Mod - A mod that seeks to allow automation of tasks around the raft that cannot already
https://www.raftmodding.com/mods/benevolent-sprites
0 stars 0 forks source link

[Troubleshooting] My modpack is lagging since I added benelovent Sprites #3

Open Legende04 opened 3 weeks ago

Legende04 commented 3 weeks ago

I don't know why, but since I added the mod it started lagging, there are no remarkable FPS drops or sth, the game just freezes for a milisecond. my PC does have the specs to run raft with the mods easily and I also checked my task manager about the performance and in there everything seems fine, so maybe you can help me

Aidanamite commented 3 weeks ago

You could try using the Simple Mod Profiling mod to try and determine the cause of the stutters. when you tell it to, it will collect and then display the amount of time each of the installed mods spent running their code which should give you a good indication of what's causing the most lag

Legende04 commented 3 weeks ago

I already did, thats why I found out it could be because of this particular mod

Profiling Complete! Total: 2380,0201ms ├─[Benevolent Sprites] Total: 1279,3984ms ├───[BenevolentSprites.BenevolentSprites::Void Update()] = 1260,5227ms ├───[BenevolentSprites.SpriteRenderer::Void Update()] = 18,8757ms ├───[BenevolentSprites.Patch_GetLanguageIndex::Void Postfix(I2.Loc.LanguageSourceData, Int32 ByRef)] = 0ms ├─[Benevolent Sprites > Inventory Caching] Total: 391,3644ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > Patch_GetItemCount::Void Prefix(Inventory, Item_Base, Int32 ByRef, Boolean ByRef)] = 386,3987ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > Patch_GetItemCount::System.Exception Finalizer(System.Exception, Inventory, Item_Base, Int32, Boolean)] = 1,9859ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > Patch_ItemInstance::Void ctor_Postfix(ItemInstance)] = 1,4903ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > Patch_Slot::Void SetItem_Prefix(ItemInstance, Slot)] = 0,9928ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > Patch_ItemInstance::Void set_Amount_Postfix(Int32 ByRef, ItemInstance)] = 0,4967ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > Patch_ItemInstance::Void Clone_Postfix(ItemInstance)] = 0ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > Patch_Slot::Void RefreshComponents_Prefix(Slot)] = 0ms ├─[Statistic Mod] Total: 299,4905ms ├───[StatisticMod.Patch_LookingUpdate::Void Postfix(Pickup)] = 267,2065ms ├───[StatisticMod.HealthBar::Void Update()] = 12,9119ms ├───[StatisticMod.HUDText::Void Update()] = 5,4661ms ├───[StatisticMod.SharkIndicator::Void Update()] = 4,9655ms ├───[StatisticMod.CenterPointer::Void Update()] = 2,4832ms ├───[StatisticMod.Patch_CanvasHelper::Void Update(CanvasHelper)] = 1,9865ms ├───[StatisticMod.StatDisplay::Void Update()] = 1,49ms ├───[StatisticMod.HUDEquipmentDisplay::Void Update()] = 1,4899ms ├───[StatisticMod.Compass::Void Update()] = 0,9938ms ├───[StatisticMod.TimeBar::Void Update()] = 0,4971ms ├───[StatisticMod.Patch_BatteryDisplayText::Void Prefix(System.String ByRef)] = 0ms ├───[StatisticMod.UILine::Void Update()] = 0ms ├─[Building Utilities] Total: 90,9015ms ├───[StackablePlaceables.Main::Void Update()] = 90,9015ms ├─[Wired Batteries] Total: 60,5881ms ├───[WiredBatteries.Patch_Battery::Void CanGiveElectricity(Battery, ItemInstance, Boolean ByRef)] = 50,6554ms ├───[WiredBatteries.MeshPathBaseParent::Void Update()] = 8,9394ms ├───[WiredBatteries.Patch_Battery::Void NormalizedBatteryLeft(Battery, Single ByRef)] = 0,9933ms ├───[WiredBatteries.Patch_Battery::Void BatteryUses(Battery, ItemInstance, Int32 ByRef)] = 0ms ├───[WiredBatteries.Patch_GetLanguageIndex::Void Postfix(I2.Loc.LanguageSourceData, Int32 ByRef)] = 0ms ├───[WiredBatteries.Patch_Battery::Boolean Update(Battery, ItemInstance, Int32)] = 0ms ├───[WiredBatteries.Patch_Battery::Void Update_post(Battery)] = 0ms ├─[Better Steering Wheel] Total: 33,2764ms ├───[Whitebrim.BetterSteeringWheel.BetterSteeringWheel::Void FixedUpdate()] = 33,2764ms ├─[ModUtils] Total: 27,8142ms ├───[ModUtils.Main::Void Update()] = 27,8142ms ├─[AutoSorter] Total: 13,9084ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext()] = 12,9146ms ├───[pp.RaftMods.AutoSorter.CAutoSorter+d79::Boolean MoveNext()] = 0,9938ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::System.Object System.Collections.IEnumerator.get_Current()] = 0ms ├───[pp.RaftMods.AutoSorter.CAutoSorter+d__79::System.Object System.Collections.IEnumerator.get_Current()] = 0ms ├─[FilteredNets] Total: 13,4133ms ├───[FilteredNets::Void Update()] = 13,4133ms ├─[Lantern Shadows] Total: 13,4106ms ├───[pp.RaftMods.LanternShadows.CLanternSwitch::Void Update()] = 13,4106ms ├─[Statistic Mod > ModUtils] Total: 12,9135ms ├───[StatisticMod.Patch_CanvasHelper::Void Update(CanvasHelper) > ModUtils.ModHandler::Void int_ReloadBuildMenu()] = 12,9135ms ├───[StatisticMod.Patch_CanvasHelper::Void Update(CanvasHelper) > ModUtils.Main::ModUtils.ModHandler GetHandler(HMLLibrary.Mod)] = 0ms ├───[StatisticMod.Patch_CanvasHelper::Void Update(CanvasHelper) > ModUtils.Main::HMLLibrary.Mod GetMod(System.Type)] = 0ms ├─[Dredgers > Wired Batteries] Total: 12,419ms ├───[Dredger_Electric::Void Update() > WiredBatteries.Patch_Battery::Void CanGiveElectricity(Battery, ItemInstance, Boolean ByRef)] = 12,419ms ├─[Minimap] Total: 11,4247ms ├───[Whitebrim.Minimap.MarkerMover::Void LateUpdate()] = 8,4448ms ├───[Whitebrim.Minimap.MinimapRotator::Void LateUpdate()] = 0,9937ms ├───[Whitebrim.Minimap.Minimap::Void Update()] = 0,9932ms ├───[Whitebrim.Minimap.MinimapCameraMover::Void LateUpdate()] = 0,993ms ├─[FurnitureMod] Total: 11,4239ms ├───[FurnitureMod::Void Update()] = 11,4239ms ├───[MyInputGetButtonFix::Boolean Prefix(System.String, Boolean ByRef)] = 0ms ├───[Helper_GetTermFix::Boolean Prefix(System.String, Boolean, System.String ByRef)] = 0ms ├─[Benevolent Sprites > Misc Cheats] Total: 10,4296ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > MiscCheats.Patch_ItemMaxUses::Void Postfix(Item_Base, Int32 ByRef)] = 9,4367ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > MiscCheats.Patch_FuelValue::Void Postfix(Item_Base, FuelValue_FiltrationType, SO_FuelValue ByRef)] = 0,9929ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > MiscCheats.Patch_ItemInstance::Void Clone(ItemInstance)] = 0ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > MiscCheats.Patch_ItemInstance::Void ctor(ItemInstance)] = 0ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > MiscCheats.Patch_CookingSlot::Void CanCookItem(CookingSlot, Item_Base, Boolean ByRef)] = 0ms ├─[Signposts] Total: 9,9375ms ├───[DirectionalSigns::Void Update()] = 9,9375ms ├───[DirectionalSignsMenu::Void Update()] = 0ms ├─[Inventory Caching] Total: 9,437ms ├───[Patch_GetItemCount::Void Prefix(Inventory, Item_Base, Int32 ByRef, Boolean ByRef)] = 9,437ms ├───[Patch_GetItemCount::System.Exception Finalizer(System.Exception, Inventory, Item_Base, Int32, Boolean)] = 0ms ├─[Misc Cheats] Total: 8,9399ms ├───[MiscCheats.Patch_UpdateGroundControll::Void Postfix(PersonController, Network_Player)] = 6,4574ms ├───[MiscCheats.Patch_AnimalsUpdateDrop::Single ModifyTime(Single)] = 1,9861ms ├───[MiscCheats.Patch_RecieverOn::Void Postfix(Reciever)] = 0,4964ms ├───[MiscCheats.Patch_UpdateSky::Single OverrideTimeSpeed(Single)] = 0ms ├───[MiscCheats.Patch_FOVUpdate::Single OverrideFOV(Single)] = 0ms ├───[MiscCheats.Patch_ItemMaxUses::Void Postfix(Item_Base, Int32 ByRef)] = 0ms ├───[MiscCheats.Patch_SprinklerRange::Single SprinklerRadius(Single)] = 0ms ├───[MiscCheats.Patch_SprinklerRange::Single SprinklerDistance(Single)] = 0ms ├─[Dredgers] Total: 7,9466ms ├───[Dredger_Network::Void Update()] = 4,4699ms ├───[Dredger_Electric::Void Update()] = 3,4767ms ├─[Bulk Crafting] Total: 7,45ms ├───[BulkCrafting.Main::Void FixedUpdate()] = 4,9669ms ├───[BulkCrafting.Main::Void Update()] = 2,4831ms ├─[Voyage Overhaul] Total: 7,4489ms ├───[VoyageOverhaul.Patch_Raft::Boolean FixedUpdate(Raft ByRef, UnityEngine.Vector3 ByRef, FMODUnity.StudioEventEmitter, UnityEngine.Vector3 ByRef, UnityEngine.Vector3 ByRef, Single, UnityEngine.Rigidbody)] = 7,4489ms ├─[AutoSorter > Benevolent Sprites] Total: 6,9528ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > BenevolentSprites.Patch_SaveSlot::Void Prefix(Boolean ByRef, Slot)] = 6,9528ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > BenevolentSprites.Patch_ChangeSlot::Void Prefix(Slot)] = 0ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d__19::Boolean MoveNext() > BenevolentSprites.Patch_PlayMoveItemSound::Boolean Prefix()] = 0ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > BenevolentSprites.Patch_SaveSlot::Void Postfix(Boolean, Slot)] = 0ms ├─[UI+ > Extra Settings API] Total: 6,457ms ├───[UIPlus+LabelWatcher::Void Update() > ExtraSettingsAPI::UnityEngine.KeyCode getKeybindMain(HMLLibrary.Mod, System.String)] = 4,9674ms ├───[UIPlus+LabelWatcher::Void Update() > ExtraSettingsAPI::UnityEngine.KeyCode getKeybindAlt(HMLLibrary.Mod, System.String)] = 0,993ms ├───[UIPlus+LabelWatcher::Void Update() > ExtraSettingsAPI::HMLLibrary.Mod GetMod(System.Type)] = 0,4966ms ├─[Extra Settings API] Total: 4,4707ms ├───[Patch_SliderUpdate::Boolean Prefix(UISlider ByRef)] = 4,4707ms ├───[ExtraSettingsAPI::Void Update()] = 0ms ├─[Benevolent Sprites > AutoSorter] Total: 3,9734ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > pp.RaftMods.AutoSorter.CAutoSorter+CHarmonyPatch_Inventory::Void AddItem(Inventory, ItemInstance, Boolean)] = 3,9734ms ├─[Electricity Mod > Wired Batteries] Total: 3,9722ms ├───[ElectricityMod.CookingTable_Pot_Electric::Void Update() > WiredBatteries.Patch_Battery::Void CanGiveElectricity(Battery, ItemInstance, Boolean ByRef)] = 3,9722ms ├─[Lantern Physics Mod] Total: 3,4772ms ├───[LanternMetalPhysics::Void Update()] = 3,4772ms ├─[Electricity Mod] Total: 3,4763ms ├───[ElectricityMod.CookingTable_Pot_Electric::Void Update()] = 2,98ms ├───[ElectricityMod.MotorWheel_Electric::Void Update()] = 0,4963ms ├───[ElectricityMod.Patch_GetLanguageIndex::Void Postfix(I2.Loc.LanguageSourceData, Int32 ByRef)] = 0ms ├─[Reciever Motion Display] Total: 3,4761ms ├───[Patch_UIHandler::Void Postfix(Reciever ByRef)] = 3,4761ms ├─[UI+] Total: 2,9786ms ├───[UIPlus+LabelWatcher::Void Update()] = 2,9786ms ├───[UIPlus+Patch_DisplayText::Void Postfix(System.String ByRef, System.String)] = 0ms ├─[Reciever Motion Display > Wired Batteries] Total: 2,4835ms ├───[Patch_UIHandler::Void Postfix(Reciever ByRef) > WiredBatteries.Patch_Battery::Void CanGiveElectricity(Battery, ItemInstance, Boolean ByRef)] = 2,4835ms ├─[AutoRecipe] Total: 1,9865ms ├───[AutoRecipeBehaviour::Void Update()] = 1,9865ms ├─[AutoSorter > Inventory Caching] Total: 1,4898ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > Patch_ItemInstance::Void set_Amount_Postfix(Int32 ByRef, ItemInstance)] = 0,9934ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > Patch_Slot::Void SetItem_Prefix(ItemInstance, Slot)] = 0,4964ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > Patch_ItemInstance::Void Clone_Postfix(ItemInstance)] = 0ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > Patch_Slot::Void RefreshComponents_Prefix(Slot)] = 0ms ├─[Minimap > FurnitureMod] Total: 0,4967ms ├───[Whitebrim.Minimap.Minimap::Void Update() > MyInputGetButtonFix::Boolean Prefix(System.String, Boolean ByRef)] = 0,4967ms ├─[Battery Slot Fixer] Total: 0,4965ms ├───[BatterySlotFixer.Main::Void Update()] = 0,4965ms ├─[Arashi's Raft Fishing Expansion] Total: 0,4964ms ├───[Arashi.Arashi_RaftFishingExpansion::Void Update()] = 0,4964ms ├─[Raftmobile] Total: 0ms ├───[Raftmobile.Patch_GetLanguageIndex::Void Postfix(I2.Loc.LanguageSourceData, Int32 ByRef)] = 0ms ├─[Bigger Plots] Total: 0ms ├───[BiggerPlots::Void Update()] = 0ms ├─[AutoSorter > Misc Cheats] Total: 0ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > MiscCheats.Patch_ItemMaxUses::Void Postfix(Item_Base, Int32 ByRef)] = 0ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d__19::Boolean MoveNext() > MiscCheats.Patch_ItemInstance::Void Clone(ItemInstance)] = 0ms ├─[Bulk Crafting > FurnitureMod] Total: 0ms ├───[BulkCrafting.Main::Void Update() > MyInputGetButtonFix::Boolean Prefix(System.String, Boolean ByRef)] = 0ms ├───[BulkCrafting.Main::Void FixedUpdate() > MyInputGetButtonFix::Boolean Prefix(System.String, Boolean ByRef)] = 0ms ├─[Benevolent Sprites > Dredgers] Total: 0ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > Dredger_Network::Void PickupItem(Network_Player)] = 0ms ├─[Benevolent Sprites > AutoRecipe] Total: 0ms ├───[BenevolentSprites.BenevolentSprites::Void Update() > AutoRecipe+AutoRecipePatches::Void Slot_RefreshComponents_Postfix()] = 0ms ├─[Statistic Mod > ModUtils > Diagonal Pillars] Total: 0ms ├───[StatisticMod.Patch_CanvasHelper::Void Update(CanvasHelper) > ModUtils.ModHandler::Void int_ReloadBuildMenu() > DiagonalPillars.Main::System.Collections.Generic.List1[System.ValueTuple2[Item_Base,Item_Base]] ModUtils_BuildMenuItems()] = 0ms ├─[Statistic Mod > ModUtils > Pipe Through Blocks] Total: 0ms ├───[StatisticMod.Patch_CanvasHelper::Void Update(CanvasHelper) > ModUtils.ModHandler::Void int_ReloadBuildMenu() > PipeThroughBlocks.Main::System.Collections.Generic.List1[System.ValueTuple3[Item_Base,Item_Base,System.Boolean]] ModUtils_BuildMenuItems()] = 0ms ├─[Glass Walls] Total: 0ms ├───[GlassWalls::Void Update()] = 0ms ├─[Wired Batteries > Electricity Mod > Wired Batteries] Total: 0ms ├───[WiredBatteries.Patch_Battery::Boolean Update(Battery, ItemInstance, Int32) > ElectricityMod.Patch_BatteryUpdateDisplay::Void Postfix(Battery) > WiredBatteries.Patch_Battery::Void NormalizedBatteryLeft(Battery, Single ByRef)] = 0ms ├─[Wired Batteries > Electricity Mod > Misc Cheats] Total: 0ms ├───[WiredBatteries.Patch_Battery::Boolean Update(Battery, ItemInstance, Int32) > ElectricityMod.Patch_BatteryUpdateDisplay::Void Postfix(Battery) > MiscCheats.Patch_ItemMaxUses::Void Postfix(Item_Base, Int32 ByRef)] = 0ms ├─[Wired Batteries > Electricity Mod] Total: 0ms ├───[WiredBatteries.Patch_Battery::Boolean Update(Battery, ItemInstance, Int32) > ElectricityMod.Patch_BatteryUpdateDisplay::Void Postfix(Battery)] = 0ms ├─[Wired Batteries > Misc Cheats] Total: 0ms ├───[WiredBatteries.Patch_Battery::Boolean Update(Battery, ItemInstance, Int32) > MiscCheats.Patch_ItemMaxUses::Void Postfix(Item_Base, Int32 ByRef)] = 0ms ├─[Mirrored Engines] Total: 0ms ├───[MirroredEngines.Main::Void Update()] = 0ms ├─[Pipe Through Blocks] Total: 0ms ├───[PipeThroughBlocks.Main::Void Update()] = 0ms ├─[SadPause] Total: 0ms ├───[SadPause::Void Update()] = 0ms ├─[ModUpdater] Total: 0ms ├───[ModUpdater+d18::Boolean MoveNext()] = 0ms ├───[ModUpdater+d18::System.Object System.Collections.IEnumerator.get_Current()] = 0ms ├─[Building Utilities > FurnitureMod] Total: 0ms ├───[StackablePlaceables.Main::Void Update() > MyInputGetButtonFix::Boolean Prefix(System.String, Boolean ByRef)] = 0ms ├─[AugmentedEquipment] Total: 0ms ├───[AugmentedEquipment+HotbarHandleHotbarSelection_Patch::Void Prefix(Network_Player, Int32 ByRef)] = 0ms ├─[Battery Level Indicator] Total: 0ms ├───[Patch_BatteryDisplayText::Void Prefix(System.String ByRef)] = 0ms ├─[AutoSorter > AutoRecipe] Total: 0ms ├───[pp.RaftMods.AutoSorter.CStorageBehaviour+d19::Boolean MoveNext() > AutoRecipe+AutoRecipePatches::Void Slot_RefreshComponents_Postfix()] = 0ms ├─[Dredgers > Misc Cheats] Total: 0ms ├───[Dredger_Electric::Void Update() > MiscCheats.Patch_GetRandomDropperItem::Void Prefix(SO_RandomDropper, RandomItem[] ByRef)] = 0ms ├───[Dredger_Electric::Void Update() > MiscCheats.Patch_GetRandomDropperItem::Void Finalizer(SO_RandomDropper, RandomItem[])] = 0ms ├───[Dredger_Network::Void Update() > MiscCheats.Patch_CookingTableActivateItemModel::Void Prefix(ItemObjectEnabler, ItemModelConnection[] ByRef, Item_Base)] = 0ms

Aidanamite commented 3 weeks ago

how long did you run the profiling for? and what's your normal framerate

Legende04 commented 3 weeks ago

10 seconds framerate is about 50-60 right now (I have Vsync off and limited it to 60)

Legende04 commented 3 weeks ago

That was my Task manager yesterday, so I think it should not be the specs of my PC image

Aidanamite commented 3 weeks ago

ok yeah, that would mean the sprites mod is adding about 2.13 ms per frame. at 60 fps there's only 16.67 ms per frame so that's a big portion. how complex is your raft? and what types of sprites do you have

Aidanamite commented 3 weeks ago

That was my Task manager yesterday, so I think it should not be the specs of my PC

the main spec that matters with unity games is the speed of an individual core of the CPU (yours is 4.3 GHz which is fine)

Legende04 commented 3 weeks ago

I have a pretty Big raft acc. to statistics mod 510 foundations, all kinds of sprites working, imma count them for you

Aidanamite commented 3 weeks ago

if you've got a lot of objects the sprites can interact with then it's kinda expected that they'd cause more lag... that said, i've done a number of tests myself in regards to having really high numbers of sprites and objects for them to use for the purpose of stress testing and never got a significant dip in performance.

perhaps it's a specific machine(s) that cause more lag than others...

Legende04 commented 3 weeks ago

4 Fire (Cooking Pot) ones 7 Fire at a Grill (somehow they often forget to pick up the grilled items, even though the chest is empty) 4 Fire at the Smelter 3 cleaners at Fishing and Collection Nets 4 Cleaners for 3 Electric Dredgers 3 Gardeners for Trees 5 Animal (for abt 7 Animals) 5 Mechanics for Recyclers

I also have 56 Collection nets and 1 Fishing net, maybe that is important

20241028150112_1 20241028150134_1

Aidanamite commented 3 weeks ago

that doesn't look like anything they would struggle with... if i had to guess, i'd assume the reflection overhead from trying to interact with the other modded blocks is probably the main cause of the performance issue

Aidanamite commented 3 weeks ago

thanks for the info, i'll do some tests myself and see if i can narrow it down and/or fix it

Legende04 commented 3 weeks ago

My sprites interact with: 9 Advanced Large Crop Plots Juicer Cooking Pot Electric Grill(but the lags were at the advanced grill aswell) 3 Recycler 3 electric Dredger 2 electric Smelters

I use electric Engines so nothing there to do I also don't have things like refiners which could be interacted with even though I do not Intend them to

Should I send you the world to make testing easier? (if sending worlds works)

Aidanamite commented 3 weeks ago

sending the world will help.

my theory of the dredger reflection being the issue appears to be incorrect

Legende04 commented 3 weeks ago

could that be the case because I increased its speed? I made the manuals 25/100 and the electrics 50/100 speed, usually both is at 5 2024.10.28-15.45.zip The world is called "Happy Island"

Mods: image

Aidanamite commented 3 weeks ago

the lag appears to mainly be occuring when the sprites are depositing items in their chest.

Aidanamite commented 3 weeks ago

i suspect this is a side effect from another mod i made. i'll continue investigating, just giving you an update

Legende04 commented 3 weeks ago

nice, maybe because of the autosorter mod?

I mean, if I remember right, the lags were before I upgraded the chests to be an autosorter, but I am not sure

Aidanamite commented 3 weeks ago

ok. most of the lag spikes occur when sprites are looking for new targets. it doesn't seem to always happen. but occasionally they take 200+ ms to check for a new target which is really high for a single frame. however most of the time they take less than 10 ms so the next thing is to figure out why they sometimes take a lot more time

Legende04 commented 3 weeks ago

Okay interesting, and does it happen to specific sprites do you know that?

Legende04 commented 3 weeks ago

Hey are there any news on that?

Aidanamite commented 3 weeks ago

i've been a little busy recently so haven't had much time to work on it.

i've made improvements to some of the sprites but the cooking pot sprites are still getting big spikes that i'm trying to fix