You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we do not have proper syncing of the PowerSystem resulting in possible minor or bigger desyncing of it. This would then lead to even bigger desync in production and thus factory state.
To solve this im working on a proper implementation and track my progress and thoughts here (mainly for myself as a "todo list"), but im happy for any input.
I try to find a good compromise between computing stuff client side and transmit state from host to not stress the network more than needed while still having a state close to the hosts one.
Sync consumer and generator ratio for each PowerNetwork the client knows about
Sync num35 as it can be used together with the above values to compute num46 which is generateCurrentTick
Compute generateCurrentTick as it is a main part for the power facilities animations
client side check if capacityCurrentTick is high enough (no fuel check), and if not turn off animation
compute signs client side
fix network id missmatch resulting in wrong values and/or unfunctional consumers while having power
Sync UI of power facilities while they are opened
Sync statistics
Tesla Towers and Wireless Towers
geotermal power
Power exchangers
Compute fuel amount and current stored energy clientside
Periodically sync fuelCount, fuelHeat and fuelEnergy with host
improve serialization code
clear cache when exiting game
The text was updated successfully, but these errors were encountered:
Currently we do not have proper syncing of the
PowerSystem
resulting in possible minor or bigger desyncing of it. This would then lead to even bigger desync in production and thus factory state.To solve this im working on a proper implementation and track my progress and thoughts here (mainly for myself as a "todo list"), but im happy for any input.
I try to find a good compromise between computing stuff client side and transmit state from host to not stress the network more than needed while still having a state close to the hosts one.
PowerNetwork
the client knows aboutnum35
as it can be used together with the above values to computenum46
which isgenerateCurrentTick
generateCurrentTick
as it is a main part for the power facilities animationscapacityCurrentTick
is high enough (no fuel check), and if not turn off animationfuelCount
,fuelHeat
andfuelEnergy
with hostThe text was updated successfully, but these errors were encountered: