Please run this in your database:
PHP Code:
CREATE TABLE IF NOT EXISTS `pets` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `room_id` int(10) unsigned NOT NULL DEFAULT '0', `user_id` int(10) unsigned NOT NULL DEFAULT '0', `name` varchar(100) NOT NULL, `x` int(11) NOT NULL DEFAULT '0', `y` int(11) NOT NULL DEFAULT '0', `z` int(11) NOT NULL DEFAULT '0', `rotation` int(11) NOT NULL DEFAULT '0', `walk_mode` enum('stand','freeroam','specified_range') NOT NULL DEFAULT 'freeroam', `min_x` int(11) NOT NULL DEFAULT '0', `min_y` int(11) NOT NULL DEFAULT '0', `max_x` int(11) NOT NULL DEFAULT '0', `max_y` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `room_id` (`room_id`), KEY `user_id` (`user_id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5404 ;