Increased item ID array size!
As of 7cd82d0, rAthena is now able to support item IDs up to 65,535!
The added benefit is that there is no extra memory consumption for the increased size. By changing the variables to unsigned this removes all the negative values that could never be used. This patch also included a change to CARD0_PET and removed the negative value of it since it's not dependent on the client.
@Cydh was able to help and tested clients 2010-07-30 and up and was able to create items successfully over 32k. If you still run a client before 2010-07-30 post your results so I can update this topic!
Don't forget to run sql-files/upgrades/upgrade_20140612.sql and sql-files/upgrades/upgrade_20140612_log.sql!
Follow ups:
42b29ee
82467e1
98c6aee please run sql-files/upgrades/upgrade_20140616.sql
6c5d4a7