Removal of delta floats in msg writing/reading
Caball009 opened this issue · 1 comments
I would like to know whether there are any plans to bring back support for delta float updates. At the moment, whenever an origin float value changes, the entire new value is send instead of new value - old value, which would usually fit in 16 bits (the same way view angles are send for the player state, and then converted with short-to-angle or angle-to-short). What I'm referring to is this: https://github.com/callofduty4x/CoD4x_Server/blob/master/src/msg.c#L1919-L1927
The extra amount of data (compared to vanilla CoD4) is rather large. I measured about 1 - 1.5 MB per 10 minute map per player. On a populated server that easily extrapolates (1.5MB * 6 * 24 * 20 players) to 4+ GB of extra data per day compared to the old method of using delta updates for float values.
Polite bump ;)