guilemouse / Overthrow

An effort to balance and fix the dynamic and persistent revolution platform for Arma 3.
https://steamcommunity.com/sharedfiles/filedetails/?id=2572102841
GNU General Public License v2.0
0 stars 3 forks source link

Factory queue is bloated and chokes #18

Open guilemouse opened 3 years ago

guilemouse commented 3 years ago

Issue: Factory queue breaks when server is online for a long time, And the queue for producing goods works at an interval of time that is regulated by server speed (I think) more than actual time.

Solution: In the timely manner jobLoops or the save system works under, need to either borrow their loops or create an variable inside their loop solution. Hope to be X+1 in optimization, at worst 2*X to fix factories so they work consistently for end game blueprints.

guilemouse commented 3 years ago

Investigation: Time functions aren't JIP friendly if they're not declared as publicVariable, other publicVariable declarations are not JIP friendly either.

also see. https://community.bistudio.com/wiki/time