Yo, before too many of you start complaining, the inventory table listed in this db is off. It SHOULD be:
mysql> describe inventory;
+---------+-----------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+-----------------------+------+-----+---------+-------+
| charid | int(10) unsigned | YES | | 0 | |
| slotid | smallint(6) unsigned | YES | MUL | 0 | |
| itemid | mediumint(7) unsigned | YES | | 0 | |
| charges | tinyint(3) unsigned | YES | | 0 | |
+---------+-----------------------+------+-----+---------+-------+
4 rows in set (0.00 sec)
Using the wrong inventory table will give you all kinds of errors. Its not a code problem, just this db problem.
__________________
Lethal Encounter
|