RiceField-Plugins / RFVault

An Unturned RocketMod / LDM plugin to store/load inventory storage to/from virtual storage
GNU General Public License v3.0
1 stars 0 forks source link

UI lags when opening vault #2

Closed gegtor closed 2 years ago

gegtor commented 2 years ago

When opening vault a noticeable lag occurs on the client (UI freezes) while the plugin is fetching data from the database (around 50-250ms)

And that's with 7 records with around 10 000 on my network the lag would be horrible

Other plugins go around that with first rendering the UI using width and height and then loading items live

BarehSolok commented 2 years ago

that's good idea, currently the plugin loads whole items at a time, but i'll have to find a way to handle if player disconnected while loading items

BarehSolok commented 2 years ago

this features will be added in the next version