Vectorial1024/EliteBionicsFramework

Resolve lag: tool power

Closed this issue · 1 comments

Steam user reports lag:

https://prnt.sc/nq0q_tYyWYW3

https://prnt.sc/OLy2hYEsJvDd

https://prnt.sc/9KMK1bDUJ8U6

Noticed some unhealthy behaviour avg of 0.5 is quite mentally unhealthly, however, looking at stacktrace i can definitely tell that it's EBF and LTS integrated impants interaction.
TurrenCanfire
This one is from LTS implant that basically called shoulder turret. So i'd like you to look into it, reporthing to both authors, since it's "unique mod interaction"


Screen shots indicate lag in ToolPowerAdjustor.CalculatePowerAdjustment

There is now a cache that caches tool power adjustment, which should resolve lag.

Next up is the cache for checking whether a given tool (from a bionic) is an upgrade to an original tool.

Edit: looking at the provided screenshots it doesn't seem the original tool checking part is that laggy, so I guess this means the job is finished. Closing this, but may reopen if there is new related lag.