I fixed that issue with the 'range' field in the item table back in July 2009. It should work fine with MySQL 5.1, unless a subsequent change broke it again.
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.