Tree of Savior Forum

Players are able to purchase items as decimals which has multiple effects

Date and Time : Any

Game Control Mode (Keyboard/Joypad/Mouse) : Any

Where it happened (which map, which quest, which npc, etc) : Any vendor

Bug Description :

Players are able to buy and sell zero, and decimal integers, of any items. This leads to a few interesting things happening. If a player has enough silver to normally purchase the item, and changes the quantity purchased to 0 (or a decimal i.e. “.2” or “.523523” or “.000024” etc) then the item isn’t actually purchased but the adventure journal will be updated (contributing to and increasing the adventurer ranking should it be a new entry). Additionally, purchasing multiple versions of items with decimals, and then purchasing 1+ of the item, results in X blank spaces populating the inventory prior to the item where X is the number of items purchased previously with a decimal in the quantity purchased. For instance, if you purchase Dunkel Falchion x “.342342” “.0002352” “.21412” “.5151” “.882585” (a total of 5 decimal quantities) and then actually purchase 1 “Dunkel Falchion” the item will be moved to your inventory but with a total of 5 empty item spaces/placeholders behind it. This may eventually lead to a client or server related crash depending on many spaces are created in excess.

Steps to reproduce the issue :

  1. Visit any vendor (for the sake of simplicity of reproduction, visit Equipment Merchant Dunkel in Klaipeda)
  2. Select Weapons for this example
  3. Hold Shift and Right Click any of his available items to purchase
  4. In the quantity pop-up, note that you are able to enter 0 as a purchasable amount as well as varying decimals of the item.
  5. Purchase the item and note that your Adventure Journal is updated to reflect it has actually been purchased despite having not been. In the case of new entries note also that your points as increased.
  6. Attempt to purchase several items as decimals
  7. Purchase any one item normally
  8. Note that within your inventory the item has been “shifted” to the right X places and empty placeholders are to the left of the item where X is the number of attempted decimal purchases.

It is also noteworthy that even if points are not impacted that Ranking may still be impacted (perhaps the 0 or decimals add to a score that isn’t quite represented in the point total because of the corruption of stats). I.e. I was able to raise about 30 ranks without having my points impacted at all, before I stopped testing this.

7 Likes

Well done having found that. Seems like it could lead to some major issues/exploits.

1 Like

I tested this out, while it really messed with the client, buying or selling partial items didn’t appear to register on the server and inventory shenanigans were gone after relogging, so I guess it’s not a huge problem. Still pretty sloppy to allow though.

Yeah I didn’t test it much further but I found that if you glitched about 20 empty spaces, it would persist between channels and by registering on the market and pulling it down, but, I can’t tell if anyone who purchased the item also received the empty spaces or not (despite having sold one- no market crash once it sold, no random shouts of “wtf just happened when I bought this item” etc, so seemed okay enough lol)

The only thing that I could really impact before stopping the test was definitely the adventure journal. This did turn into a legitimate break in that sense. For instance if you had like 100k silver, you could buy 0 of nearly every vendor item and have it register as having actually bought them in your journal, so you were essentially buying your points for nothing. In addition buying multiples still impacted your ranking even if the points didn’t go up.

Aside from that though I wasn’t able to squeeze out a crash as I’d hoped, but, meh XD

Hello Saviors. Thanks for your input on this. I’ll make sure that this gets passed on to QA so that they can fix whatever it is that’s causing this before the next beta test comes around. :slight_smile:

1 Like