Results 1 to 10 of 11

Hybrid View

  1. #1
    Player
    Lilseph's Avatar
    Join Date
    Mar 2011
    Posts
    1,461
    Character
    Shadow Link
    World
    Mateus
    Main Class
    Red Mage Lv 90
    Quote Originally Posted by Airget View Post
    They will never do that, this has the chance of doubling the memory currently needed to keep an inventory in check since you are now asking for a save to snapshot the location of each inventory item on the last position of each item before sorting. And then what? What happens if you sort, get an item, and then undo sort? Would that be possible or would the undo just pretend the last item wasn't there?

    You might think it's easy, but it's far from it.
    I'm almost sure the position of the items in your inventory is client-sided, though.
    (0)

  2. #2
    Player
    Myvar's Avatar
    Join Date
    Jun 2012
    Posts
    117
    Character
    Areya Arvia
    World
    Cactuar
    Main Class
    Scholar Lv 100
    Quote Originally Posted by Lilseph View Post
    I'm almost sure the position of the items in your inventory is client-sided, though.
    The positions of items in your inventory (and your retainer's) is indeed stored locally. I have logged into my account on separate computers without changing any item positions and they appear in different positions on each computer. Thus, it would be quite viable, when the sort function is called, to locally save a snapshot of your current inventory positions, then have an undo function reset it to this snapshot (and perhaps have it disable the undo function until the sort function is used again).

    To be more technical, there is an ordering of your inventory on the server that is presumably only updated when an item stack is added to or removed from your inventory. Then there is a mapping between the server positions of your inventory and the positions of your inventory that you see. This mapping is stored locally, and it is this mapping that changes when you use the sort function.
    (0)
    Last edited by Myvar; 08-01-2017 at 06:58 AM.