View Single Post
12/21/16, 10:06 AM   #6
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
Originally Posted by AssemblerManiac View Post
So basically, it's truncating a long int(4 bytes) to a short int(2 bytes). That's troubling. You can sell up to 255 potions without losing data.

Tony: Maybe only sell 200 at a time?

Anyone know if this is a shortcoming of the ESO guild store handling, or something in an addon?
Short (2 bytes) to Byte, actually.

Have poisons always stacked to 400 since the beginning or did it come along later? I always assumed the (mostly) 200 cut offs were because ZoS was trying to keep inventory quantities to a byte each, but poisons being in stacks of 400 suggests they are using a short instead. Whoever wrote the code for the guild stores likely didn't keep this in mind and thought "max stack is 200, we'll use just a byte to store this."
  Reply With Quote