Upcoming Inventory Changes – The dream of a Developer
Hi guys,
i am actually working on some inventory changes as you may noticed on Beta. We have several problems with the inventory because the actual inventory system is a whole mess :'(. First of all we always request the whole inventory by every inventory request which really really sucks for both client performance and server performance. In my first changes already live on Beta i changes this and just request the inventory once if its not loaded and then just exchange the changes on the inventory insetad of loading everythin again and again. The second thing which i every dislike is the sorting. All items are sorted by itemid but if we buy something or have changes in inventory there going on some serious choking on the actual Beta version i commited its even more worse. Third problem if you craft something or reward an item it will not be added to your inventory. Its there after reloading inventory. On Beta version i already implemented some listeners to get items more “live”, so if crafting finished the item should be instantly added to your inventory if its opened.
Why all these changes or what we want to do with that? Well my dream is we just have one inventory / bagback instead of hundreds copies for every single traders. I think it will take a while to change everything but my vision is to have one inventory where we can change all things which happening during the game and we are able to make it more “live”, using less performace on server and client.
What you gain? I think we can reduce the amount of loaded items and stuff which will make the game more smooth and i also think it is much easier to handle just one inventory instead of a whole bunch.
What it could look like?
I know already you will hate the numbers for different pages, but if there are big inventories its a mess to render every item at one view for every browser and thats one reason why inventory is really slow for people who have big inventories. Please keep in mind that its a preview and the tooltip won’t be implemented like that its just a dummy. Our plan is that the inventory can be docked to traders or your equipmentwindow, but maybe it will become his own inventory place we are not sure about it now.