Thread: Sorting idea
View Single Post
  #2  
Unread 06-25-2011, 11:50 PM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
Quote:
Originally Posted by cwsonline
I've seen for several months now that the sorting functions for the bag plugins are either broken, problematic (disappearing items), or incredibly slow. I was thinking of a possible nice solution, at least until Turbine puts some effort back into Lua.

Why not just sort the display of the inventory when the bag opens rather than having an explicit sort that tries moving the objects from bag slot to bag slot. I see in the code for some of the bag plugins that they just display the inventory from 1 to self.backpackSize. Is this possible to look at what is in each slot first, sort it, then display the slots in order?
That would still hit the "equipped item" bug. And the latest version of sortpack no-longer has disappearing items!

Hwowever, I have been waiting for someone to do a Baggins for lotro myself...
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
Reply With Quote