Small bug with Inventory Sorting
🦀 Ella
·
When looking at items to offer/store in the window that opens, sometimes an item will be in the wrong order compared to where it is in your inventory. I believe this is being caused by inventory sorting, as it seems to happen only with items I have recently sorted.
EDIT: This bug is a bit more troubling than I thought.. It also affects which reagents get used for spells that have single-stack reagents.
Bond is the one I learned this using, though there may be others, I’m not sure actually if any other spells use any single-stack reagents. In Bond’s case, it’s heartstones.
Usually, Bond uses the first heartstone in your inventory. However, if you use the new inventory sorting feature to move a heartstone to the front of your inventory, that heartstone still gets skipped and it casts using the one that was previously first in your inventory.
Discussion 28
Sign in to join the discussion.
Good catch! This would certainly be @Toko territory.
@Toko This bug is a bit more troubling than I thought.. It also affects which reagents get used for spells that have single-stack reagents.
Bond is the one I learned this using, though there may be others, I’m not sure actually if any other spells use any single-stack reagents. In Bond’s case, it’s heartstones.
Usually, Bond uses the first heartstone in your inventory. However, if you use the new inventory sorting feature to move a heartstone to the front of your inventory, that heartstone still gets skipped and it casts using the one that was previously first in your inventory.
Hmm very interesting. I guess as a workaround you can log out and back in, then it will update the local inventory on the client with whatever the server state is.
I understand that’s not ideal.
Bond is interesting in that there are reagents but the caster prefers certain ones are used.
I will try and take a look at the inventory stuff. But this problem raises a question: should casters be able to specify which color of heart stone to use?
Example:
cast bond blue- use blue heart stones if available.Fungibility is the ability of a good or asset to be readily interchanged for another of like kind.
I guess for most spells it doesn’t matter which elderberry or entroot it uses because they are all fungible.
Heart stones are not fungible between different colors, yet bond considers them fungible.
I don’t think there are any other spells using not-stackable reagents.
Here are some other potential incidences of this bug - all are pretty benign.
Ugh! Grok come on here to say same thing! Grok plead: don’t take away inventory sort; CDO Grok (Ugh. CDO = OCD, but in alphabetical order like it’s supposed to be) LOVE inventory sorting.
Please don’t take away the inventory sort. FYI ~ I did notice that the menu list can temporarily appear in a different order than the graphic inventory when sorted. If you log off, the inventory list will then track to your graphic inventory.
I think I know why users are seeing this inventory list issue when offering.
in
clientd3d\gameuser.con line 465 there is ```/* Now get items user wants to offer */
items = DisplayLookList(hMain, GetString(hInst, IDS_OFFERITEMS), player.inventory,
LD_MULTIPLESEL | LD_AMOUNTS);
if (items == NULL)
return;
/* Send offer to server */
RequestOffer(recipient, items);
ObjectListDestroy(items);```
The
player.inventoryvalue is what is used for the offer window. This is the client’s inventory list. There is also a server inventory list.In my inventory move change, the items appear to move in the local client, but the local client values are not changed. When you move something, it sends a request to the server to change the position values in a list there, but it does not update
player.inventorylocally. This isn’t really an issue because the server decides how things are really sorted. It is the source of truth for what the ordering is, and for what items you have.I think what we need to do is update this local client inventory list as well when a user sorts their inventory if we really want it to be clean.
TLDR; there’s a temporary local list we need to update as well called
player.inventoryif we move items so that the offer dialog list matches any recent inventory order changes. I suspect the casting issue with heartstones is similar. Casting the spell probably references reagents’ positions in the local list rather than the server side list.Being able to sort vault inventory without emptying would be monumental. The recent upgrade allowing us to sort personal inventory without finding an empty room has been amazing. Sorting goods in guild house isn’t a problem because you have privacy and there’s no cost to pulling stuff out and reorganizing. Vaults are another matter. Trying to quickly find a wand, weapon or reagent is complicated when vaults cannot be organized without great cost in shillings, or risk.
This good feedback. Thank you for sharing!
There is a built in sort command / flag. We coudl probably set vaults to sort alphabetically automatically without too much headache.
I’m looking at the window popup / look / buy / look inside flags now for something else. Its really tricky to understand for a beginner how these flags are set. For example, why does the buy window have a quantity column but the look inside window does not?
Ugh. Grok just want to remind smart people: if looking at vault, can press key (a letter) and highlight will go to first item beginning with that letter. Maybe use?
A good suggestion. One I haven’t heard before. Hmm. I will try and see if that’s possible.
Morg worked with that before, forgot how far he got
I think this works - I’m testing it right now and if I offer or deposit to the BQ vault owner it highlights the first item starting with the letter I push. Does it not work for others?
What is weird is if I’m “buy” from the vault owner then it does still jump to the right position but it doesn’t highlight it with the grey box until I hit spacebar and it fully highlights it. But still it seems to jump to the first item starting with the letter I put (“o” for orc teeth in my case”
pressing “o” for “orc teeth” finds the item in the list when offering
This is a withdrawal example where it does find orc teeth but it doesn’t have the surrounding highlight
Yes, that works. You can even type more and it will find it 😄
Did I misunderstand the question? Or maybe the lack of a highlight on the withdraw confuses players because they don’t realize they can select the items?
Whose question?
Grok was saying
Oh, Grok talks in roleplay speak, I think he was telling people about it not asking.
oh I see, maybe he means sort by pushing that letter?
I need to learn better caveman
Ugh! Grok just remind smart people of thing that happens; smart people maybe use to sort boxes. 😄