Since I'm not the only one experiencing huge performance lags when in the direct vincinity of bigger collections of loot, I've thought about possibilities to optimize the server messages telling the client whats next to it.
First of all, I'm definetly not in the possition to tell the devs at BI how to code nor do I have sources or PDB's to verify my presumptions about data structures and already assigned issues - just guessing and suggesting.
Basic Idea:
- Only transmit itmes that are visible to the player
Exceptions:
- Items that emit light, sound or smoke perceptible by the player
- covert Items that cast shadows into the players view-box
- Items that affect the players stats (bullets)
Ideas concerning inventories of other players:
- Only "top-level" containers like clothes/holsters/visible weapons/backpacks need to be known to other players clients
- Items carried arround within them don't (since not visible)
Items laying around at loot-points:
- Only items that are in direct line of sight (with the exceptions from above) need to be known to the client
- Items behind walls or doors don't