2015-08-07 01:16:16 -04:00
|
|
|
SET FOREIGN_KEY_CHECKS=0;
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
-- Table structure for chars
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
DROP TABLE IF EXISTS `chars`;
|
2013-02-13 03:28:55 +00:00
|
|
|
CREATE TABLE `chars` (
|
2011-12-31 18:06:06 +00:00
|
|
|
`charid` int(10) unsigned NOT NULL,
|
|
|
|
|
`accid` int(10) unsigned NOT NULL,
|
2023-01-13 09:48:14 -08:00
|
|
|
`original_accid` int(10) unsigned NOT NULL DEFAULT '0',
|
2011-12-31 18:06:06 +00:00
|
|
|
`charname` varchar(15) NOT NULL,
|
2012-10-25 18:59:54 +00:00
|
|
|
`nation` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
2013-03-31 19:22:04 +00:00
|
|
|
`pos_zone` smallint(3) unsigned NOT NULL,
|
|
|
|
|
`pos_prevzone` smallint(3) unsigned NOT NULL DEFAULT '0',
|
2025-10-21 18:40:40 +01:00
|
|
|
`pos_prevzonelineid` int(10) unsigned NOT NULL DEFAULT '0',
|
2011-12-31 18:06:06 +00:00
|
|
|
`pos_rot` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
|
|
|
`pos_x` float(7,3) NOT NULL DEFAULT '0.000',
|
|
|
|
|
`pos_y` float(7,3) NOT NULL DEFAULT '0.000',
|
|
|
|
|
`pos_z` float(7,3) NOT NULL DEFAULT '0.000',
|
2017-08-19 13:54:39 -06:00
|
|
|
`moghouse` int(10) unsigned NOT NULL DEFAULT '0',
|
2011-12-31 18:06:06 +00:00
|
|
|
`boundary` smallint(5) unsigned NOT NULL DEFAULT '0',
|
2022-05-27 07:02:06 -04:00
|
|
|
`home_zone` smallint(5) unsigned NOT NULL DEFAULT '0',
|
2011-12-31 18:06:06 +00:00
|
|
|
`home_rot` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
|
|
|
`home_x` float(7,3) NOT NULL DEFAULT '0.000',
|
|
|
|
|
`home_y` float(7,3) NOT NULL DEFAULT '0.000',
|
|
|
|
|
`home_z` float(7,3) NOT NULL DEFAULT '0.000',
|
2015-08-07 01:16:16 -04:00
|
|
|
`missions` blob,
|
|
|
|
|
`assault` blob,
|
2014-11-04 18:08:33 -07:00
|
|
|
`campaign` blob,
|
2020-07-15 23:34:02 -07:00
|
|
|
`eminence` blob,
|
2011-12-31 18:06:06 +00:00
|
|
|
`quests` blob,
|
|
|
|
|
`keyitems` blob,
|
2013-07-11 23:39:47 +00:00
|
|
|
`set_blue_spells` blob,
|
2013-02-13 03:28:55 +00:00
|
|
|
`abilities` blob,
|
2016-07-07 19:28:54 -06:00
|
|
|
`weaponskills` blob,
|
2012-10-13 18:44:06 +00:00
|
|
|
`titles` blob,
|
2011-12-31 18:06:06 +00:00
|
|
|
`zones` blob,
|
2012-10-25 15:15:09 +00:00
|
|
|
`playtime` int(10) unsigned NOT NULL DEFAULT '0',
|
2015-08-07 01:16:16 -04:00
|
|
|
`unlocked_weapons` blob,
|
|
|
|
|
`gmlevel` smallint(3) unsigned NOT NULL DEFAULT '0',
|
2022-04-02 16:45:39 +03:00
|
|
|
`languages` tinyint(1) unsigned NULL DEFAULT '0',
|
2015-08-07 01:16:16 -04:00
|
|
|
`mentor` smallint(3) NOT NULL DEFAULT '0',
|
2021-03-21 13:16:59 -04:00
|
|
|
`job_master` tinyint(1) unsigned NOT NULL DEFAULT '1',
|
2015-08-07 01:16:16 -04:00
|
|
|
`campaign_allegiance` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
2015-05-04 19:38:33 -04:00
|
|
|
`isstylelocked` tinyint(1) NOT NULL DEFAULT '0',
|
2024-02-25 00:29:47 -07:00
|
|
|
`settings` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
|
|
|
`chatfilters_1` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
|
|
|
`chatfilters_2` bigint(20) unsigned NOT NULL DEFAULT '0',
|
2018-10-01 21:21:43 -07:00
|
|
|
`moghancement` smallint(4) unsigned NOT NULL DEFAULT '0',
|
2020-03-20 01:36:06 +02:00
|
|
|
`timecreated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
2025-07-24 23:14:14 -06:00
|
|
|
`last_logout` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
2020-10-19 20:39:18 -07:00
|
|
|
`lastupdate` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2011-12-31 18:06:06 +00:00
|
|
|
PRIMARY KEY (`charid`),
|
|
|
|
|
FULLTEXT KEY `charname` (`charname`)
|
2024-01-04 18:25:12 +00:00
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|