Advertisement
Guest User

Untitled

a guest
Mar 9th, 2017
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.38 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.5.1
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: 127.0.0.1
  6. -- Generation Time: 11-Set-2016 às 11:58
  7. -- Versão do servidor: 10.1.13-MariaDB
  8. -- PHP Version: 7.0.6
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13.  
  14. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  15. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  16. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  17.  
  18. --
  19. -- Database: `exclusive`
  20. --
  21.  
  22. -- --------------------------------------------------------
  23.  
  24. --
  25. -- Estrutura da tabela `accounts`
  26. --
  27.  
  28. CREATE TABLE `accounts` (
  29. `id` int(11) NOT NULL,
  30. `name` varchar(32) NOT NULL,
  31. `password` char(40) NOT NULL,
  32. `secret` char(16) DEFAULT NULL,
  33. `type` int(11) NOT NULL DEFAULT '1',
  34. `premdays` int(11) NOT NULL DEFAULT '0',
  35. `coins` int(12) NOT NULL DEFAULT '0',
  36. `lastday` int(10) UNSIGNED NOT NULL DEFAULT '0',
  37. `email` varchar(255) NOT NULL DEFAULT '',
  38. `creation` int(11) NOT NULL DEFAULT '0',
  39. `vote` int(11) NOT NULL,
  40. `key` varchar(20) NOT NULL DEFAULT '0',
  41. `email_new` varchar(255) NOT NULL DEFAULT '',
  42. `email_new_time` int(11) NOT NULL DEFAULT '0',
  43. `rlname` varchar(255) NOT NULL DEFAULT '',
  44. `location` varchar(255) NOT NULL DEFAULT '',
  45. `page_access` int(11) NOT NULL DEFAULT '0',
  46. `email_code` varchar(255) NOT NULL DEFAULT '',
  47. `next_email` int(11) NOT NULL DEFAULT '0',
  48. `premium_points` int(11) NOT NULL DEFAULT '0',
  49. `create_date` int(11) NOT NULL DEFAULT '0',
  50. `create_ip` int(11) NOT NULL DEFAULT '0',
  51. `last_post` int(11) NOT NULL DEFAULT '0',
  52. `flag` varchar(80) NOT NULL DEFAULT '',
  53. `vip_time` int(11) NOT NULL,
  54. `guild_points` int(11) NOT NULL DEFAULT '0',
  55. `guild_points_stats` int(11) NOT NULL DEFAULT '0'
  56. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  57.  
  58. --
  59. -- Extraindo dados da tabela `accounts`
  60. --
  61.  
  62. INSERT INTO `accounts` (`id`, `name`, `password`, `secret`, `type`, `premdays`, `coins`, `lastday`, `email`, `creation`, `vote`, `key`, `email_new`, `email_new_time`, `rlname`, `location`, `page_access`, `email_code`, `next_email`, `premium_points`, `create_date`, `create_ip`, `last_post`, `flag`, `vip_time`, `guild_points`, `guild_points_stats`) VALUES
  63. (1, '1', '060d38973b4ba4051fa6ca22f9acd4be7d1557fe', NULL, 1, 0, 0, 0, '', 0, 0, '0', '', 0, '', '', 9999, '', 0, 0, 0, 0, 0, 'unknown', 0, 0, 0),
  64. (8, 'god', '21298df8a3277357ee55b01df9530b535cf08ec1', NULL, 5, 0, 0, 0, '', 1465696163, 0, 'BSLH5EYDNW', '', 0, 'Jonathan', 'São Paulo', 9999, '', 0, 99, 0, 0, 1473105428, '', 0, 0, 0);
  65.  
  66. -- --------------------------------------------------------
  67.  
  68. --
  69. -- Estrutura da tabela `account_bans`
  70. --
  71.  
  72. CREATE TABLE `account_bans` (
  73. `account_id` int(11) NOT NULL,
  74. `reason` varchar(255) NOT NULL,
  75. `banned_at` bigint(20) NOT NULL,
  76. `expires_at` bigint(20) NOT NULL,
  77. `banned_by` int(11) NOT NULL
  78. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  79.  
  80. -- --------------------------------------------------------
  81.  
  82. --
  83. -- Estrutura da tabela `account_ban_history`
  84. --
  85.  
  86. CREATE TABLE `account_ban_history` (
  87. `id` int(10) UNSIGNED NOT NULL,
  88. `account_id` int(11) NOT NULL,
  89. `reason` varchar(255) NOT NULL,
  90. `banned_at` bigint(20) NOT NULL,
  91. `expired_at` bigint(20) NOT NULL,
  92. `banned_by` int(11) NOT NULL
  93. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  94.  
  95. -- --------------------------------------------------------
  96.  
  97. --
  98. -- Estrutura da tabela `account_viplist`
  99. --
  100.  
  101. CREATE TABLE `account_viplist` (
  102. `account_id` int(11) NOT NULL COMMENT 'id of account whose viplist entry it is',
  103. `player_id` int(11) NOT NULL COMMENT 'id of target player of viplist entry',
  104. `description` varchar(128) NOT NULL DEFAULT '',
  105. `icon` tinyint(2) UNSIGNED NOT NULL DEFAULT '0',
  106. `notify` tinyint(1) NOT NULL DEFAULT '0'
  107. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  108.  
  109. -- --------------------------------------------------------
  110.  
  111. --
  112. -- Estrutura da tabela `announcements`
  113. --
  114.  
  115. CREATE TABLE `announcements` (
  116. `id` int(10) NOT NULL,
  117. `title` varchar(50) NOT NULL,
  118. `text` varchar(255) NOT NULL,
  119. `date` varchar(20) NOT NULL,
  120. `author` varchar(50) NOT NULL
  121. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  122.  
  123. -- --------------------------------------------------------
  124.  
  125. --
  126. -- Estrutura da tabela `global_storage`
  127. --
  128.  
  129. CREATE TABLE `global_storage` (
  130. `key` varchar(32) NOT NULL,
  131. `value` text NOT NULL
  132. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  133.  
  134. -- --------------------------------------------------------
  135.  
  136. --
  137. -- Estrutura da tabela `guilds`
  138. --
  139.  
  140. CREATE TABLE `guilds` (
  141. `id` int(11) NOT NULL,
  142. `name` varchar(255) NOT NULL,
  143. `ownerid` int(11) NOT NULL,
  144. `creationdata` int(11) NOT NULL,
  145. `motd` varchar(255) NOT NULL DEFAULT '',
  146. `description` text NOT NULL,
  147. `guild_logo` mediumblob,
  148. `create_ip` int(11) NOT NULL DEFAULT '0',
  149. `balance` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  150. `last_execute_points` int(11) NOT NULL DEFAULT '0',
  151. `logo_gfx_name` varchar(255) NOT NULL DEFAULT ''
  152. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  153.  
  154. --
  155. -- Acionadores `guilds`
  156. --
  157. DELIMITER $$
  158. CREATE TRIGGER `oncreate_guilds` AFTER INSERT ON `guilds` FOR EACH ROW BEGIN
  159. INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('the Leader', 3, NEW.`id`);
  160. INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('a Vice-Leader', 2, NEW.`id`);
  161. INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('a Member', 1, NEW.`id`);
  162. END
  163. $$
  164. DELIMITER ;
  165.  
  166. -- --------------------------------------------------------
  167.  
  168. --
  169. -- Estrutura da tabela `guildwar_kills`
  170. --
  171.  
  172. CREATE TABLE `guildwar_kills` (
  173. `id` int(11) NOT NULL,
  174. `killer` varchar(50) NOT NULL,
  175. `target` varchar(50) NOT NULL,
  176. `killerguild` int(11) NOT NULL DEFAULT '0',
  177. `targetguild` int(11) NOT NULL DEFAULT '0',
  178. `warid` int(11) NOT NULL DEFAULT '0',
  179. `time` bigint(15) NOT NULL
  180. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  181.  
  182. -- --------------------------------------------------------
  183.  
  184. --
  185. -- Estrutura da tabela `guild_invites`
  186. --
  187.  
  188. CREATE TABLE `guild_invites` (
  189. `player_id` int(11) NOT NULL DEFAULT '0',
  190. `guild_id` int(11) NOT NULL DEFAULT '0'
  191. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  192.  
  193. -- --------------------------------------------------------
  194.  
  195. --
  196. -- Estrutura da tabela `guild_membership`
  197. --
  198.  
  199. CREATE TABLE `guild_membership` (
  200. `player_id` int(11) NOT NULL,
  201. `guild_id` int(11) NOT NULL,
  202. `rank_id` int(11) NOT NULL,
  203. `nick` varchar(15) NOT NULL DEFAULT ''
  204. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  205.  
  206. -- --------------------------------------------------------
  207.  
  208. --
  209. -- Estrutura da tabela `guild_ranks`
  210. --
  211.  
  212. CREATE TABLE `guild_ranks` (
  213. `id` int(11) NOT NULL,
  214. `guild_id` int(11) NOT NULL COMMENT 'guild',
  215. `name` varchar(255) NOT NULL COMMENT 'rank name',
  216. `level` int(11) NOT NULL COMMENT 'rank level - leader, vice, member, maybe something else'
  217. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  218.  
  219. -- --------------------------------------------------------
  220.  
  221. --
  222. -- Estrutura da tabela `guild_wars`
  223. --
  224.  
  225. CREATE TABLE `guild_wars` (
  226. `id` int(11) NOT NULL,
  227. `guild1` int(11) NOT NULL DEFAULT '0',
  228. `guild2` int(11) NOT NULL DEFAULT '0',
  229. `name1` varchar(255) NOT NULL,
  230. `name2` varchar(255) NOT NULL,
  231. `status` tinyint(2) NOT NULL DEFAULT '0',
  232. `started` bigint(15) NOT NULL DEFAULT '0',
  233. `ended` bigint(15) NOT NULL DEFAULT '0'
  234. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  235.  
  236. -- --------------------------------------------------------
  237.  
  238. --
  239. -- Estrutura da tabela `houses`
  240. --
  241.  
  242. CREATE TABLE `houses` (
  243. `id` int(11) NOT NULL,
  244. `owner` int(11) NOT NULL,
  245. `paid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  246. `warnings` int(11) NOT NULL DEFAULT '0',
  247. `name` varchar(255) NOT NULL,
  248. `rent` int(11) NOT NULL DEFAULT '0',
  249. `town_id` int(11) NOT NULL DEFAULT '0',
  250. `bid` int(11) NOT NULL DEFAULT '0',
  251. `bid_end` int(11) NOT NULL DEFAULT '0',
  252. `last_bid` int(11) NOT NULL DEFAULT '0',
  253. `highest_bidder` int(11) NOT NULL DEFAULT '0',
  254. `size` int(11) NOT NULL DEFAULT '0',
  255. `beds` int(11) NOT NULL DEFAULT '0'
  256. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  257.  
  258. -- --------------------------------------------------------
  259.  
  260. --
  261. -- Estrutura da tabela `house_lists`
  262. --
  263.  
  264. CREATE TABLE `house_lists` (
  265. `house_id` int(11) NOT NULL,
  266. `listid` int(11) NOT NULL,
  267. `list` text NOT NULL
  268. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  269.  
  270. -- --------------------------------------------------------
  271.  
  272. --
  273. -- Estrutura da tabela `ip_bans`
  274. --
  275.  
  276. CREATE TABLE `ip_bans` (
  277. `ip` int(10) UNSIGNED NOT NULL,
  278. `reason` varchar(255) NOT NULL,
  279. `banned_at` bigint(20) NOT NULL,
  280. `expires_at` bigint(20) NOT NULL,
  281. `banned_by` int(11) NOT NULL
  282. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  283.  
  284. -- --------------------------------------------------------
  285.  
  286. --
  287. -- Estrutura da tabela `live_casts`
  288. --
  289.  
  290. CREATE TABLE `live_casts` (
  291. `player_id` int(11) NOT NULL,
  292. `cast_name` varchar(255) NOT NULL,
  293. `password` tinyint(1) NOT NULL DEFAULT '0',
  294. `description` varchar(255) DEFAULT NULL,
  295. `spectators` smallint(5) DEFAULT '0'
  296. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  297.  
  298. -- --------------------------------------------------------
  299.  
  300. --
  301. -- Estrutura da tabela `market_history`
  302. --
  303.  
  304. CREATE TABLE `market_history` (
  305. `id` int(10) UNSIGNED NOT NULL,
  306. `player_id` int(11) NOT NULL,
  307. `sale` tinyint(1) NOT NULL DEFAULT '0',
  308. `itemtype` int(10) UNSIGNED NOT NULL,
  309. `amount` smallint(5) UNSIGNED NOT NULL,
  310. `price` int(10) UNSIGNED NOT NULL DEFAULT '0',
  311. `expires_at` bigint(20) UNSIGNED NOT NULL,
  312. `inserted` bigint(20) UNSIGNED NOT NULL,
  313. `state` tinyint(1) UNSIGNED NOT NULL
  314. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  315.  
  316. -- --------------------------------------------------------
  317.  
  318. --
  319. -- Estrutura da tabela `market_offers`
  320. --
  321.  
  322. CREATE TABLE `market_offers` (
  323. `id` int(10) UNSIGNED NOT NULL,
  324. `player_id` int(11) NOT NULL,
  325. `sale` tinyint(1) NOT NULL DEFAULT '0',
  326. `itemtype` int(10) UNSIGNED NOT NULL,
  327. `amount` smallint(5) UNSIGNED NOT NULL,
  328. `created` bigint(20) UNSIGNED NOT NULL,
  329. `anonymous` tinyint(1) NOT NULL DEFAULT '0',
  330. `price` int(10) UNSIGNED NOT NULL DEFAULT '0'
  331. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  332.  
  333. -- --------------------------------------------------------
  334.  
  335. --
  336. -- Estrutura da tabela `players`
  337. --
  338.  
  339. CREATE TABLE `players` (
  340. `id` int(11) NOT NULL,
  341. `name` varchar(255) NOT NULL,
  342. `group_id` int(11) NOT NULL DEFAULT '1',
  343. `account_id` int(11) NOT NULL DEFAULT '0',
  344. `level` int(11) NOT NULL DEFAULT '1',
  345. `vocation` int(11) NOT NULL DEFAULT '0',
  346. `health` int(11) NOT NULL DEFAULT '150',
  347. `healthmax` int(11) NOT NULL DEFAULT '150',
  348. `experience` bigint(20) NOT NULL DEFAULT '0',
  349. `lookbody` int(11) NOT NULL DEFAULT '0',
  350. `lookfeet` int(11) NOT NULL DEFAULT '0',
  351. `lookhead` int(11) NOT NULL DEFAULT '0',
  352. `looklegs` int(11) NOT NULL DEFAULT '0',
  353. `looktype` int(11) NOT NULL DEFAULT '136',
  354. `lookaddons` int(11) NOT NULL DEFAULT '0',
  355. `maglevel` int(11) NOT NULL DEFAULT '0',
  356. `mana` int(11) NOT NULL DEFAULT '0',
  357. `manamax` int(11) NOT NULL DEFAULT '0',
  358. `manaspent` int(11) UNSIGNED NOT NULL DEFAULT '0',
  359. `soul` int(10) UNSIGNED NOT NULL DEFAULT '0',
  360. `town_id` int(11) NOT NULL DEFAULT '0',
  361. `posx` int(11) NOT NULL DEFAULT '0',
  362. `posy` int(11) NOT NULL DEFAULT '0',
  363. `posz` int(11) NOT NULL DEFAULT '0',
  364. `conditions` blob NOT NULL,
  365. `cap` int(11) NOT NULL DEFAULT '0',
  366. `sex` int(11) NOT NULL DEFAULT '0',
  367. `lastlogin` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  368. `lastip` int(10) UNSIGNED NOT NULL DEFAULT '0',
  369. `save` tinyint(1) NOT NULL DEFAULT '1',
  370. `skull` tinyint(1) NOT NULL DEFAULT '0',
  371. `skulltime` int(11) NOT NULL DEFAULT '0',
  372. `lastlogout` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  373. `blessings` tinyint(2) NOT NULL DEFAULT '0',
  374. `onlinetime` int(11) NOT NULL DEFAULT '0',
  375. `deletion` bigint(15) NOT NULL DEFAULT '0',
  376. `balance` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  377. `offlinetraining_time` smallint(5) UNSIGNED NOT NULL DEFAULT '43200',
  378. `offlinetraining_skill` int(11) NOT NULL DEFAULT '-1',
  379. `stamina` smallint(5) UNSIGNED NOT NULL DEFAULT '2520',
  380. `skill_fist` int(10) UNSIGNED NOT NULL DEFAULT '10',
  381. `skill_fist_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  382. `skill_club` int(10) UNSIGNED NOT NULL DEFAULT '10',
  383. `skill_club_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  384. `skill_sword` int(10) UNSIGNED NOT NULL DEFAULT '10',
  385. `skill_sword_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  386. `skill_axe` int(10) UNSIGNED NOT NULL DEFAULT '10',
  387. `skill_axe_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  388. `skill_dist` int(10) UNSIGNED NOT NULL DEFAULT '10',
  389. `skill_dist_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  390. `skill_shielding` int(10) UNSIGNED NOT NULL DEFAULT '10',
  391. `skill_shielding_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  392. `skill_fishing` int(10) UNSIGNED NOT NULL DEFAULT '10',
  393. `skill_fishing_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  394. `deleted` tinyint(1) NOT NULL DEFAULT '0',
  395. `description` varchar(255) NOT NULL DEFAULT '',
  396. `comment` text NOT NULL,
  397. `create_ip` int(11) NOT NULL DEFAULT '0',
  398. `create_date` int(11) NOT NULL DEFAULT '0',
  399. `hide_char` int(11) NOT NULL DEFAULT '0',
  400. `cast` tinyint(1) NOT NULL DEFAULT '0',
  401. `skill_critical_hit_chance` int(10) UNSIGNED NOT NULL DEFAULT '0',
  402. `skill_critical_hit_chance_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  403. `skill_critical_hit_damage` int(10) UNSIGNED NOT NULL DEFAULT '0',
  404. `skill_critical_hit_damage_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  405. `skill_life_leech_chance` int(10) UNSIGNED NOT NULL DEFAULT '0',
  406. `skill_life_leech_chance_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  407. `skill_life_leech_amount` int(10) UNSIGNED NOT NULL DEFAULT '0',
  408. `skill_life_leech_amount_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  409. `skill_mana_leech_chance` int(10) UNSIGNED NOT NULL DEFAULT '0',
  410. `skill_mana_leech_chance_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  411. `skill_mana_leech_amount` int(10) UNSIGNED NOT NULL DEFAULT '0',
  412. `skill_mana_leech_amount_tries` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  413. `skill_criticalhit_chance` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  414. `skill_criticalhit_damage` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  415. `skill_lifeleech_chance` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  416. `skill_lifeleech_amount` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  417. `skill_manaleech_chance` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  418. `skill_manaleech_amount` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  419. `marriage_status` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  420. `former` varchar(255) NOT NULL DEFAULT '-'
  421. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  422.  
  423. --
  424. -- Extraindo dados da tabela `players`
  425. --
  426.  
  427. INSERT INTO `players` (`id`, `name`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `lookaddons`, `maglevel`, `mana`, `manamax`, `manaspent`, `soul`, `town_id`, `posx`, `posy`, `posz`, `conditions`, `cap`, `sex`, `lastlogin`, `lastip`, `save`, `skull`, `skulltime`, `lastlogout`, `blessings`, `onlinetime`, `deletion`, `balance`, `offlinetraining_time`, `offlinetraining_skill`, `stamina`, `skill_fist`, `skill_fist_tries`, `skill_club`, `skill_club_tries`, `skill_sword`, `skill_sword_tries`, `skill_axe`, `skill_axe_tries`, `skill_dist`, `skill_dist_tries`, `skill_shielding`, `skill_shielding_tries`, `skill_fishing`, `skill_fishing_tries`, `deleted`, `description`, `comment`, `create_ip`, `create_date`, `hide_char`, `cast`, `skill_critical_hit_chance`, `skill_critical_hit_chance_tries`, `skill_critical_hit_damage`, `skill_critical_hit_damage_tries`, `skill_life_leech_chance`, `skill_life_leech_chance_tries`, `skill_life_leech_amount`, `skill_life_leech_amount_tries`, `skill_mana_leech_chance`, `skill_mana_leech_chance_tries`, `skill_mana_leech_amount`, `skill_mana_leech_amount_tries`, `skill_criticalhit_chance`, `skill_criticalhit_damage`, `skill_lifeleech_chance`, `skill_lifeleech_amount`, `skill_manaleech_chance`, `skill_manaleech_amount`, `marriage_status`, `former`) VALUES
  428. (1, 'Rook Sample', 1, 1, 8, 0, 180, 180, 4200, 0, 95, 78, 115, 128, 0, 0, 35, 35, 0, 0, 2, 32104, 32191, 6, '', 400, 0, 1407021967, 1793873073, 1, 0, 0, 1407021968, 0, 203, 0, 0, 43200, -1, 2520, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '-'),
  429. (2, 'Sorcerer Sample', 1, 1, 8, 1, 180, 180, 4200, 0, 95, 78, 115, 128, 0, 0, 35, 35, 0, 100, 2, 32104, 32191, 6, '', 400, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 43200, -1, 2520, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '-'),
  430. (3, 'Druid Sample', 1, 1, 8, 2, 180, 180, 4200, 0, 95, 78, 115, 128, 0, 0, 35, 35, 0, 100, 2, 32104, 32191, 6, 0x010004000002ffffffff0360ea00001a001b00000000fe, 400, 0, 1407021516, 255183537, 1, 0, 0, 1407021548, 0, 32, 0, 0, 43200, -1, 2520, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '-'),
  431. (4, 'Paladin Sample', 1, 1, 8, 3, 180, 180, 4200, 0, 95, 78, 115, 128, 0, 0, 35, 35, 0, 100, 2, 32104, 32191, 6, '', 400, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 43200, -1, 2520, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '-'),
  432. (5, 'Knight Sample', 1, 1, 8, 4, 180, 180, 4200, 0, 95, 78, 115, 128, 0, 0, 35, 35, 0, 100, 2, 32104, 32191, 6, '', 400, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 43200, -1, 2520, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '-'),
  433. (150, 'ADM Suporte', 5, 8, 8, 2, 180, 180, 4200, 106, 62, 96, 80, 75, 0, 0, 15, 35, 200, 100, 2, 32360, 32217, 7, '', 400, 1, 1473587121, 16777343, 1, 0, 0, 1473587274, 63, 203456, 0, 199501, 43200, -1, 2520, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 10, 0, 0, '', '', 2147483647, 1472930428, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '-');
  434.  
  435. -- --------------------------------------------------------
  436.  
  437. --
  438. -- Estrutura da tabela `players_online`
  439. --
  440.  
  441. CREATE TABLE `players_online` (
  442. `player_id` int(11) NOT NULL
  443. ) ENGINE=MEMORY DEFAULT CHARSET=latin1;
  444.  
  445. -- --------------------------------------------------------
  446.  
  447. --
  448. -- Estrutura da tabela `player_deaths`
  449. --
  450.  
  451. CREATE TABLE `player_deaths` (
  452. `player_id` int(11) NOT NULL,
  453. `time` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  454. `level` int(11) NOT NULL DEFAULT '1',
  455. `killed_by` varchar(255) NOT NULL,
  456. `is_player` tinyint(1) NOT NULL DEFAULT '1',
  457. `mostdamage_by` varchar(100) NOT NULL,
  458. `mostdamage_is_player` tinyint(1) NOT NULL DEFAULT '0',
  459. `unjustified` tinyint(1) NOT NULL DEFAULT '0',
  460. `mostdamage_unjustified` tinyint(1) NOT NULL DEFAULT '0'
  461. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  462.  
  463. -- --------------------------------------------------------
  464.  
  465. --
  466. -- Estrutura da tabela `player_depotitems`
  467. --
  468.  
  469. CREATE TABLE `player_depotitems` (
  470. `player_id` int(11) NOT NULL,
  471. `sid` int(11) NOT NULL COMMENT 'any given range eg 0-100 will be reserved for depot lockers and all > 100 will be then normal items inside depots',
  472. `pid` int(11) NOT NULL DEFAULT '0',
  473. `itemtype` smallint(6) NOT NULL,
  474. `count` smallint(5) NOT NULL DEFAULT '0',
  475. `attributes` blob NOT NULL
  476. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  477.  
  478. -- --------------------------------------------------------
  479.  
  480. --
  481. -- Estrutura da tabela `player_inboxitems`
  482. --
  483.  
  484. CREATE TABLE `player_inboxitems` (
  485. `player_id` int(11) NOT NULL,
  486. `sid` int(11) NOT NULL,
  487. `pid` int(11) NOT NULL DEFAULT '0',
  488. `itemtype` smallint(6) NOT NULL,
  489. `count` smallint(5) NOT NULL DEFAULT '0',
  490. `attributes` blob NOT NULL
  491. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  492.  
  493. -- --------------------------------------------------------
  494.  
  495. --
  496. -- Estrutura da tabela `player_items`
  497. --
  498.  
  499. CREATE TABLE `player_items` (
  500. `player_id` int(11) NOT NULL DEFAULT '0',
  501. `pid` int(11) NOT NULL DEFAULT '0',
  502. `sid` int(11) NOT NULL DEFAULT '0',
  503. `itemtype` smallint(6) NOT NULL DEFAULT '0',
  504. `count` smallint(5) NOT NULL DEFAULT '0',
  505. `attributes` blob NOT NULL
  506. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  507.  
  508. -- --------------------------------------------------------
  509.  
  510. --
  511. -- Estrutura da tabela `player_namelocks`
  512. --
  513.  
  514. CREATE TABLE `player_namelocks` (
  515. `player_id` int(11) NOT NULL,
  516. `reason` varchar(255) NOT NULL,
  517. `namelocked_at` bigint(20) NOT NULL,
  518. `namelocked_by` int(11) NOT NULL
  519. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  520.  
  521. -- --------------------------------------------------------
  522.  
  523. --
  524. -- Estrutura da tabela `player_rewards`
  525. --
  526.  
  527. CREATE TABLE `player_rewards` (
  528. `player_id` int(11) NOT NULL,
  529. `sid` int(11) NOT NULL,
  530. `pid` int(11) NOT NULL DEFAULT '0',
  531. `itemtype` smallint(6) NOT NULL,
  532. `count` smallint(5) NOT NULL DEFAULT '0',
  533. `attributes` blob NOT NULL
  534. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  535.  
  536. -- --------------------------------------------------------
  537.  
  538. --
  539. -- Estrutura da tabela `player_spells`
  540. --
  541.  
  542. CREATE TABLE `player_spells` (
  543. `player_id` int(11) NOT NULL,
  544. `name` varchar(255) NOT NULL
  545. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  546.  
  547. -- --------------------------------------------------------
  548.  
  549. --
  550. -- Estrutura da tabela `player_storage`
  551. --
  552.  
  553. CREATE TABLE `player_storage` (
  554. `player_id` int(11) NOT NULL DEFAULT '0',
  555. `key` int(10) UNSIGNED NOT NULL DEFAULT '0',
  556. `value` int(11) NOT NULL DEFAULT '0'
  557. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  558.  
  559. -- --------------------------------------------------------
  560.  
  561. --
  562. -- Estrutura da tabela `sellchar`
  563. --
  564.  
  565. CREATE TABLE `sellchar` (
  566. `id` int(11) NOT NULL,
  567. `name` varchar(40) NOT NULL,
  568. `vocation` int(11) NOT NULL,
  569. `price` int(11) NOT NULL,
  570. `status` varchar(40) NOT NULL,
  571. `oldid` varchar(40) NOT NULL
  572. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  573.  
  574. -- --------------------------------------------------------
  575.  
  576. --
  577. -- Estrutura da tabela `server_config`
  578. --
  579.  
  580. CREATE TABLE `server_config` (
  581. `config` varchar(50) NOT NULL,
  582. `value` varchar(256) NOT NULL DEFAULT ''
  583. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  584.  
  585. --
  586. -- Extraindo dados da tabela `server_config`
  587. --
  588.  
  589. INSERT INTO `server_config` (`config`, `value`) VALUES
  590. ('db_version', '23'),
  591. ('motd_hash', 'bee004aa2da0bd5c470c0eefc4e1058d0e33aad6'),
  592. ('motd_num', '1'),
  593. ('players_record', '0');
  594.  
  595. -- --------------------------------------------------------
  596.  
  597. --
  598. -- Estrutura da tabela `store_history`
  599. --
  600.  
  601. CREATE TABLE `store_history` (
  602. `account_id` int(11) NOT NULL,
  603. `mode` smallint(2) NOT NULL DEFAULT '0',
  604. `description` varchar(3500) NOT NULL,
  605. `coin_amount` int(12) NOT NULL,
  606. `time` bigint(20) UNSIGNED NOT NULL,
  607. `timestamp` int(11) NOT NULL,
  608. `id` int(11) NOT NULL,
  609. `coins` int(11) NOT NULL DEFAULT '0'
  610. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  611.  
  612. -- --------------------------------------------------------
  613.  
  614. --
  615. -- Estrutura da tabela `tile_store`
  616. --
  617.  
  618. CREATE TABLE `tile_store` (
  619. `house_id` int(11) NOT NULL,
  620. `data` longblob NOT NULL
  621. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  622.  
  623. -- --------------------------------------------------------
  624.  
  625. --
  626. -- Estrutura da tabela `videos`
  627. --
  628.  
  629. CREATE TABLE `videos` (
  630. `id` int(11) NOT NULL,
  631. `titulo` varchar(255) NOT NULL,
  632. `descricao` text NOT NULL,
  633. `categoria` int(11) NOT NULL,
  634. `link` varchar(11) NOT NULL,
  635. `ativo` int(1) NOT NULL DEFAULT '1'
  636. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  637.  
  638. -- --------------------------------------------------------
  639.  
  640. --
  641. -- Estrutura da tabela `videos_categorias`
  642. --
  643.  
  644. CREATE TABLE `videos_categorias` (
  645. `id` int(11) NOT NULL,
  646. `nome` varchar(255) NOT NULL
  647. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  648.  
  649. -- --------------------------------------------------------
  650.  
  651. --
  652. -- Estrutura da tabela `videos_comentarios`
  653. --
  654.  
  655. CREATE TABLE `videos_comentarios` (
  656. `id` int(11) NOT NULL,
  657. `mensagem` text NOT NULL,
  658. `character` varchar(255) NOT NULL,
  659. `ip` varchar(15) NOT NULL,
  660. `topico` int(11) NOT NULL,
  661. `data` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  662. `ativo` int(1) NOT NULL DEFAULT '1'
  663. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  664.  
  665. -- --------------------------------------------------------
  666.  
  667. --
  668. -- Estrutura da tabela `z_forum`
  669. --
  670.  
  671. CREATE TABLE `z_forum` (
  672. `id` int(11) NOT NULL,
  673. `first_post` int(11) NOT NULL DEFAULT '0',
  674. `last_post` int(11) NOT NULL DEFAULT '0',
  675. `section` int(3) NOT NULL DEFAULT '0',
  676. `replies` int(20) NOT NULL DEFAULT '0',
  677. `views` int(20) NOT NULL DEFAULT '0',
  678. `author_aid` int(20) NOT NULL DEFAULT '0',
  679. `author_guid` int(20) NOT NULL DEFAULT '0',
  680. `post_text` text NOT NULL,
  681. `post_topic` varchar(255) NOT NULL,
  682. `post_smile` tinyint(1) NOT NULL DEFAULT '0',
  683. `post_date` int(20) NOT NULL DEFAULT '0',
  684. `last_edit_aid` int(20) NOT NULL DEFAULT '0',
  685. `edit_date` int(20) NOT NULL DEFAULT '0',
  686. `post_ip` varchar(15) NOT NULL DEFAULT '0.0.0.0',
  687. `icon_id` int(10) NOT NULL DEFAULT '0'
  688. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  689.  
  690. -- --------------------------------------------------------
  691.  
  692. --
  693. -- Estrutura da tabela `z_network_box`
  694. --
  695.  
  696. CREATE TABLE `z_network_box` (
  697. `id` int(11) NOT NULL,
  698. `network_name` varchar(10) NOT NULL,
  699. `network_link` varchar(50) NOT NULL
  700. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  701.  
  702. -- --------------------------------------------------------
  703.  
  704. --
  705. -- Estrutura da tabela `z_news_tickers`
  706. --
  707.  
  708. CREATE TABLE `z_news_tickers` (
  709. `date` int(11) NOT NULL DEFAULT '1',
  710. `author` int(11) NOT NULL,
  711. `image_id` int(3) NOT NULL DEFAULT '0',
  712. `text` text NOT NULL,
  713. `hide_ticker` tinyint(1) NOT NULL
  714. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  715.  
  716.  
  717.  
  718. INSERT INTO `z_news_tickers` (`date`, `author`, `image_id`, `text`, `hide_ticker`) VALUES
  719. (1445489191, 7944, 0, '<b>W</b>elcome <u>to</u> <b>Otx</b>Server-<b>G</b>lobal [<i>by Malucooo</i>].', 0);
  720. -- --------------------------------------------------------
  721.  
  722. --
  723. -- Estrutura da tabela `z_ots_comunication`
  724. --
  725.  
  726. CREATE TABLE `z_ots_comunication` (
  727. `id` int(11) NOT NULL,
  728. `name` varchar(255) NOT NULL,
  729. `type` varchar(255) NOT NULL,
  730. `action` varchar(255) NOT NULL,
  731. `param1` varchar(255) NOT NULL,
  732. `param2` varchar(255) NOT NULL,
  733. `param3` varchar(255) NOT NULL,
  734. `param4` varchar(255) NOT NULL,
  735. `param5` varchar(255) NOT NULL,
  736. `param6` varchar(255) NOT NULL,
  737. `param7` varchar(255) NOT NULL,
  738. `delete_it` int(2) NOT NULL DEFAULT '1'
  739. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  740.  
  741. -- --------------------------------------------------------
  742.  
  743. --
  744. -- Estrutura da tabela `z_ots_guildcomunication`
  745. --
  746.  
  747. CREATE TABLE `z_ots_guildcomunication` (
  748. `id` int(11) NOT NULL,
  749. `name` varchar(255) NOT NULL,
  750. `type` varchar(255) NOT NULL,
  751. `action` varchar(255) NOT NULL,
  752. `param1` varchar(255) NOT NULL,
  753. `param2` varchar(255) NOT NULL,
  754. `param3` varchar(255) NOT NULL,
  755. `param4` varchar(255) NOT NULL,
  756. `param5` varchar(255) NOT NULL,
  757. `param6` varchar(255) NOT NULL,
  758. `param7` varchar(255) NOT NULL,
  759. `delete_it` int(2) NOT NULL DEFAULT '1'
  760. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  761.  
  762. -- --------------------------------------------------------
  763.  
  764. --
  765. -- Estrutura da tabela `z_polls`
  766. --
  767.  
  768. CREATE TABLE `z_polls` (
  769. `id` int(11) NOT NULL,
  770. `question` varchar(255) NOT NULL,
  771. `end` int(11) NOT NULL,
  772. `start` int(11) NOT NULL,
  773. `answers` int(11) NOT NULL,
  774. `votes_all` int(11) NOT NULL
  775. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  776.  
  777. -- --------------------------------------------------------
  778.  
  779. --
  780. -- Estrutura da tabela `z_polls_answers`
  781. --
  782.  
  783. CREATE TABLE `z_polls_answers` (
  784. `poll_id` int(11) NOT NULL,
  785. `answer_id` int(11) NOT NULL,
  786. `answer` varchar(255) NOT NULL,
  787. `votes` int(11) NOT NULL
  788. ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  789.  
  790. -- --------------------------------------------------------
  791.  
  792. --
  793. -- Estrutura da tabela `z_shopguild_history_item`
  794. --
  795.  
  796. CREATE TABLE `z_shopguild_history_item` (
  797. `id` int(11) NOT NULL,
  798. `to_name` varchar(255) NOT NULL DEFAULT '0',
  799. `to_account` int(11) NOT NULL DEFAULT '0',
  800. `from_nick` varchar(255) NOT NULL,
  801. `from_account` int(11) NOT NULL DEFAULT '0',
  802. `price` int(11) NOT NULL DEFAULT '0',
  803. `offer_id` int(11) NOT NULL DEFAULT '0',
  804. `trans_state` varchar(255) NOT NULL,
  805. `trans_start` int(11) NOT NULL DEFAULT '0',
  806. `trans_real` int(11) NOT NULL DEFAULT '0'
  807. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  808.  
  809. -- --------------------------------------------------------
  810.  
  811. --
  812. -- Estrutura da tabela `z_shopguild_history_pacc`
  813. --
  814.  
  815. CREATE TABLE `z_shopguild_history_pacc` (
  816. `id` int(11) NOT NULL,
  817. `to_name` varchar(255) NOT NULL DEFAULT '0',
  818. `to_account` int(11) NOT NULL DEFAULT '0',
  819. `from_nick` varchar(255) NOT NULL,
  820. `from_account` int(11) NOT NULL DEFAULT '0',
  821. `price` int(11) NOT NULL DEFAULT '0',
  822. `pacc_days` int(11) NOT NULL DEFAULT '0',
  823. `trans_state` varchar(255) NOT NULL,
  824. `trans_start` int(11) NOT NULL DEFAULT '0',
  825. `trans_real` int(11) NOT NULL DEFAULT '0'
  826. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  827.  
  828. -- --------------------------------------------------------
  829.  
  830. --
  831. -- Estrutura da tabela `z_shopguild_offer`
  832. --
  833.  
  834. CREATE TABLE `z_shopguild_offer` (
  835. `id` int(11) NOT NULL,
  836. `points` int(11) NOT NULL DEFAULT '0',
  837. `itemid1` int(11) NOT NULL DEFAULT '0',
  838. `count1` int(11) NOT NULL DEFAULT '0',
  839. `itemid2` int(11) NOT NULL DEFAULT '0',
  840. `count2` int(11) NOT NULL DEFAULT '0',
  841. `offer_type` varchar(255) DEFAULT NULL,
  842. `offer_description` text NOT NULL,
  843. `offer_name` varchar(255) NOT NULL,
  844. `pid` int(11) NOT NULL DEFAULT '0'
  845. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  846.  
  847. --
  848. -- Extraindo dados da tabela `z_shopguild_offer`
  849. --
  850.  
  851. INSERT INTO `z_shopguild_offer` (`id`, `points`, `itemid1`, `count1`, `itemid2`, `count2`, `offer_type`, `offer_description`, `offer_name`, `pid`) VALUES
  852. (1, 1, 2160, 10, 0, 0, 'item', '10 crystal coin para seu char.', 'Crystal Coin', 0),
  853. (2, 10, 2640, 1, 0, 0, 'item', 'Soft Boots regenerate 10 health per 2 seconds and 15 mana per 2 seconds.', 'Pair of Soft Boots', 0),
  854. (3, 2, 2195, 1, 0, 0, 'item', 'boots of haste (speed +20).', 'Boots of Haste', 0),
  855. (4, 5, 18409, 1, 0, 0, 'item', 'Fire ataque max 85 e magic +1.', 'Wand of Everblazing', 0),
  856. (5, 5, 18411, 1, 0, 0, 'item', 'Earth ataque max 85 e magic +1.', 'Muck Rod', 0),
  857. (6, 5, 2400, 1, 0, 0, 'item', 'Atributos (Atk:48, Def:35 +3).', 'Magic Sword', 0),
  858. (7, 7, 2431, 1, 0, 0, 'item', 'Atributos (Atk:50, Def:30 +3).', 'Stonecutter Axe', 0),
  859. (8, 6, 8928, 1, 0, 0, 'item', 'Atributos (Atk:50, Def:30 +2).', 'Obsidian Truncheon', 0),
  860. (9, 5, 18453, 1, 0, 0, 'item', 'Atributos (Range:6, Atk+4, Hit%+3).', 'Crystal Crossbow', 0);
  861.  
  862. -- --------------------------------------------------------
  863.  
  864. --
  865. -- Estrutura da tabela `z_shop_history_item`
  866. --
  867.  
  868. CREATE TABLE `z_shop_history_item` (
  869. `id` int(11) NOT NULL,
  870. `to_name` varchar(255) NOT NULL DEFAULT '0',
  871. `to_account` int(11) NOT NULL DEFAULT '0',
  872. `from_nick` varchar(255) NOT NULL,
  873. `from_account` int(11) NOT NULL DEFAULT '0',
  874. `price` int(11) NOT NULL DEFAULT '0',
  875. `offer_id` varchar(255) NOT NULL DEFAULT '',
  876. `trans_state` varchar(255) NOT NULL,
  877. `trans_start` int(11) NOT NULL DEFAULT '0',
  878. `trans_real` int(11) NOT NULL DEFAULT '0'
  879. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  880.  
  881. -- --------------------------------------------------------
  882.  
  883. --
  884. -- Estrutura da tabela `z_shop_offer`
  885. --
  886.  
  887. CREATE TABLE `z_shop_offer` (
  888. `id` int(11) NOT NULL,
  889. `points` int(11) NOT NULL DEFAULT '0',
  890. `itemid1` int(11) NOT NULL DEFAULT '0',
  891. `count1` int(11) NOT NULL DEFAULT '0',
  892. `itemid2` int(11) NOT NULL DEFAULT '0',
  893. `count2` int(11) NOT NULL DEFAULT '0',
  894. `offer_type` varchar(255) DEFAULT NULL,
  895. `offer_description` text NOT NULL,
  896. `offer_name` varchar(255) NOT NULL,
  897. `offer_category` int(11) NOT NULL,
  898. `offer_new` int(11) NOT NULL,
  899. `pid` int(11) NOT NULL DEFAULT '0'
  900. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  901.  
  902. --
  903. -- Extraindo dados da tabela `z_shop_offer`
  904. --
  905.  
  906. INSERT INTO `z_shop_offer` (`id`, `points`, `itemid1`, `count1`, `itemid2`, `count2`, `offer_type`, `offer_description`, `offer_name`, `offer_category`, `offer_new`, `pid`) VALUES
  907. (234, 20, 2358, 1, 0, 0, 'itemvip', 'Faster regeneration', 'Fury Boots', 1, 0, 0),
  908. (235, 11, 12544, 1, 0, 0, 'itemvip', 'refill stamina 100% (1 charge).', 'Refill Stamina', 1, 0, 0),
  909. (236, 30, 16101, 1, 0, 0, 'itemvip', 'Using this item will add 30 Tibia Coins to your account once.', 'Tibia Coins', 1, 0, 0),
  910. (237, 8, 13030, 1, 0, 0, 'itemvip', 'Change your sex!', 'Change sex doll', 1, 0, 0),
  911. (238, 5, 11144, 1, 0, 0, 'itemvip', 'Use it to remove your black or red skull.', 'Remover Skull', 1, 0, 0),
  912. (239, 7, 18403, 1, 0, 0, 'item', 'you see a prismatic helmet (Arm:9, shielding +1, protection physical +5%). It can only be wielded properly by knights of level 150 or higher.', 'Prismatic Helmet', 2, 0, 0),
  913. (240, 7, 18404, 1, 0, 0, 'item', 'You see a prismatic armor (Arm:15, protection physical +5%, speed +15). It can only be wielded properly by knights and paladins of level 120 or higher.', 'Prismatic Armor', 2, 0, 0),
  914. (241, 7, 18405, 1, 0, 0, 'item', 'You see prismatic legs (Arm:8, distance fighting +2, protection physical +3%). It can only be wielded properly by paladins of level 150 or higher.', 'Prismatic Legs', 2, 0, 0),
  915. (242, 7, 18406, 1, 0, 0, 'item', 'You see prismatic boots (Arm:3, protection death +3%, speed +15). It can only be wielded properly by paladins of level 150 or higher.', 'Prismatic Boots', 2, 0, 0),
  916. (243, 7, 18410, 1, 0, 0, 'item', 'You see a prismatic shield (Def:37, shielding +2, protection physical +4%). It can only be wielded properly by knights of level 150 or higher.', 'Prismatic Shield', 2, 0, 0),
  917. (244, 5, 8851, 1, 0, 0, 'item', 'You see a royal crossbow (Range:6, Atk+5, Hit%+3). It can only be wielded properly by paladins of level 130 or higher. It weighs 120.00 oz.', 'Royal Crossbow', 2, 0, 0),
  918. (245, 8, 16112, 1, 0, 0, 'item', 'You see a spellbook of ancient arcana (Def:19, magic level +4, protection death +5%). It can only be wielded properly by sorcerers and druids of level 150 or higher. It weighs 25.00 oz. It shows your spells and can also shield against attacks when worn.', 'Spellbook of Ancient Arcana', 2, 0, 0),
  919. (246, 10, 12647, 1, 0, 0, 'item', 'You see a snake god''s wristguard (Def:14, magic level +3). It can only be wielded properly by sorcerers and druids of level 100 or higher. It weighs 28.00 oz. It shows your spells and can also shield against attacks when worn.', 'Snake God''s Wristguard', 2, 0, 0),
  920. (247, 5, 9778, 1, 0, 0, 'item', 'You see a yalahari mask (Arm:5, magic level +2). It can only be wielded properly by sorcerers and druids of level 80 or higher. It weighs 35.00 oz.', 'Yalahari Mask', 2, 0, 0),
  921. (248, 5, 9776, 1, 0, 0, 'item', 'You see a yalahari armor (Arm:16, protection death +3%). It can only be wielded properly by knights of level 80 or higher. It weighs 70.00 oz.', 'Yalahari Armor', 2, 0, 0),
  922. (249, 5, 9776, 1, 0, 0, 'item', 'You see a yalahari leg piece (Arm:8, distance fighting +2, protection death +5%). It can only be wielded properly by paladins of level 80 or higher. It weighs 65.00 oz.', 'Yalahari leg piece', 2, 0, 0),
  923. (250, 6, 12645, 1, 0, 0, 'item', 'You see an elite draken helmet (Arm:9, distance fighting +1, protection death +3%). It can only be wielded properly by paladins of level 100 or higher. It weighs 43.00 oz.', 'Elite draken helmet', 2, 0, 0),
  924. (251, 5, 12642, 1, 0, 0, 'item', 'You see a royal draken mail (Arm:16, shielding +3, protection physical +5%). It can only be wielded properly by knights of level 100 or higher. It weighs 130.00 oz.', 'Royal draken mail', 2, 0, 0),
  925. (252, 7, 12643, 1, 0, 0, 'item', 'You see a royal scale robe (Arm:12, magic level +2, protection fire +5%). It can only be wielded properly by sorcerers and druids of level 100 or higher. It weighs 45.00 oz.', 'royal scale robe', 2, 0, 0),
  926. (253, 6, 8889, 1, 0, 0, 'item', 'You see a skullcracker armor (Arm:14, protection holy -5%, death +5%). It can only be wielded properly by knights of level 100 or higher.', 'Skullcracker Armor', 2, 0, 0),
  927. (254, 8, 8881, 1, 0, 0, 'item', 'You see a fireborn giant armor (Arm:15, sword fighting +2, protection fire +5%, ice -5%). It can only be wielded properly by knights of level 100 or higher. It weighs 120.00 oz.', 'Fireborn giant armo', 2, 0, 0),
  928. (255, 8, 8883, 1, 0, 0, 'item', 'You see a windborn colossus armor (Arm:15, club fighting +2, protection energy +5%, earth -5%). It can only be wielded properly by knights of level 100 or higher. It weighs 120.00 oz.', 'Windborn colossus armor', 2, 0, 0),
  929. (256, 8, 8882, 1, 0, 0, 'itemvip', 'You see an earthborn titan armor (Arm:15, axe fighting +2, protection earth +5%, fire -5%). It can only be wielded properly by knights of level 100 or higher. It weighs 120.00 oz.', 'Earthborn titan armor', 2, 0, 0),
  930. (257, 10, 21725, 1, 0, 0, 'item', 'Furious frock (10 points)\r\nYou see a furious frock (Arm:12, magic level +2, protection fire +5%). It can only be wielded properly by sorcerers and druids of level 130 or higher. It weighs 34.00 oz.', 'Furious frock', 2, 0, 0),
  931. (258, 10, 15407, 1, 0, 0, 'item', 'You see a depth lorica (Arm:16, distance fighting +3, protection death +5%). It can only be wielded properly by paladins of level 150 or higher. It weighs 145.00 oz.', 'Depth lorica', 2, 0, 0),
  932. (259, 10, 15406, 1, 0, 0, 'item', 'You see an ornate chestplate (Arm:16, shielding +3, protection physical +8%). It can only be wielded properly by knights of level 200 or higher. It weighs 156.00 oz.', 'Ornate chestplate', 2, 0, 0),
  933. (260, 10, 15412, 1, 0, 0, 'item', 'You see an ornate legs (Arm:8, protection physical +5%). It can only be wielded properly by knights of level 185 or higher. It weighs 77.00 oz.', 'Ornate legs', 2, 0, 0),
  934. (261, 9, 2504, 1, 0, 0, 'item', 'Arm:7, protection physical +3%', 'Dwarven legs', 2, 0, 0),
  935. (262, 5, 15413, 1, 0, 0, 'item', 'You see an ornate shield (Def:36, protection physical +5%). It can only be wielded properly by knights of level 130 or higher. It weighs 71.00 oz.', 'Ornate shield', 2, 0, 0),
  936. (263, 7, 18423, 10, 0, 0, 'item', '10x major crystalline token.', 'Major crystalline token', 2, 0, 0),
  937. (264, 5, 18422, 10, 0, 0, 'item', '10x minor crystalline token.', 'Minor crystalline token', 2, 0, 0),
  938. (265, 7, 6433, 1, 0, 0, 'item', 'Def: 37', 'Necromancer shield', 2, 0, 0),
  939. (266, 7, 6391, 1, 0, 0, 'item', 'Def: 37', 'Nightmare shield', 2, 0, 0),
  940. (267, 10, 15408, 1, 0, 0, 'item', 'You see a depth galea (Arm:8, protection drown +100%). It can only be wielded properly by players of level 150 or higher. It weighs 46.00 oz. Enables underwater exploration.', 'Depth galea', 2, 0, 0),
  941. (268, 5, 20620, 1, 0, 0, 'item', 'You see a Zaoan chess box (Vol:32). It weighs 38.00 oz. This chess box is made of jade and obsidian. It will hold a full set of 32 Zaoan chess figures.', 'Zaoan chess box', 2, 0, 0),
  942. (269, 5, 18452, 1, 0, 0, 'item', 'You see a mycological mace (Atk:50, Def:31 +3, club fighting +1). It can only be wielded properly by players of level 120 or higher. It weighs 59.00 oz.', 'Mycological Mace', 2, 0, 0),
  943. (270, 5, 18451, 1, 0, 0, 'item', 'You see a crystalline axe (Atk:51, Def:29 +3, axe fighting +1). It can only be wielded properly by players of level 120 or higher. It weighs 76.00 oz. Even in the light of day, the stars seem to reflect in each facet of this crystalline axe.', 'Crystalline Axe', 2, 0, 0),
  944. (271, 5, 18465, 1, 0, 0, 'item', 'You see a shiny blade (Atk:50, Def:35 +3, sword fighting +1). It can only be wielded properly by players of level 120 or higher. It weighs 45.00 oz.', 'Shiny Blade', 2, 0, 0),
  945. (272, 8, 21700, 1, 0, 0, 'item', '(Arm:8, protection ice +16%)', 'Icy culottes', 2, 0, 0),
  946. (273, 20, 28423, 1, 0, 0, 'item', 'Voce recebera o addon male e female full no jogo.', 'Barbarian', 3, 0, 0),
  947. (274, 20, 28423, 1, 0, 0, 'addon', 'Voce recebera o addon male e female full no jogo.', 'Barbarian', 4, 0, 0),
  948. (275, 20, 28422, 1, 0, 0, 'addon', 'test', 'test', 3, 0, 0);
  949.  
  950. --
  951. -- Indexes for dumped tables
  952. --
  953.  
  954. --
  955. -- Indexes for table `accounts`
  956. --
  957. ALTER TABLE `accounts`
  958. ADD PRIMARY KEY (`id`),
  959. ADD UNIQUE KEY `name` (`name`),
  960. ADD UNIQUE KEY `name_2` (`name`),
  961. ADD UNIQUE KEY `name_3` (`name`);
  962.  
  963. --
  964. -- Indexes for table `account_bans`
  965. --
  966. ALTER TABLE `account_bans`
  967. ADD PRIMARY KEY (`account_id`),
  968. ADD KEY `banned_by` (`banned_by`);
  969.  
  970. --
  971. -- Indexes for table `account_ban_history`
  972. --
  973. ALTER TABLE `account_ban_history`
  974. ADD PRIMARY KEY (`id`),
  975. ADD KEY `account_id` (`account_id`),
  976. ADD KEY `banned_by` (`banned_by`),
  977. ADD KEY `account_id_2` (`account_id`),
  978. ADD KEY `account_id_3` (`account_id`),
  979. ADD KEY `account_id_4` (`account_id`),
  980. ADD KEY `account_id_5` (`account_id`);
  981.  
  982. --
  983. -- Indexes for table `account_viplist`
  984. --
  985. ALTER TABLE `account_viplist`
  986. ADD UNIQUE KEY `account_player_index` (`account_id`,`player_id`),
  987. ADD KEY `account_id` (`account_id`),
  988. ADD KEY `player_id` (`player_id`);
  989.  
  990. --
  991. -- Indexes for table `announcements`
  992. --
  993. ALTER TABLE `announcements`
  994. ADD PRIMARY KEY (`id`);
  995.  
  996. --
  997. -- Indexes for table `global_storage`
  998. --
  999. ALTER TABLE `global_storage`
  1000. ADD UNIQUE KEY `key` (`key`);
  1001.  
  1002. --
  1003. -- Indexes for table `guilds`
  1004. --
  1005. ALTER TABLE `guilds`
  1006. ADD PRIMARY KEY (`id`),
  1007. ADD UNIQUE KEY `name` (`name`),
  1008. ADD UNIQUE KEY `ownerid` (`ownerid`);
  1009.  
  1010. --
  1011. -- Indexes for table `guildwar_kills`
  1012. --
  1013. ALTER TABLE `guildwar_kills`
  1014. ADD PRIMARY KEY (`id`),
  1015. ADD KEY `warid` (`warid`);
  1016.  
  1017. --
  1018. -- Indexes for table `guild_invites`
  1019. --
  1020. ALTER TABLE `guild_invites`
  1021. ADD PRIMARY KEY (`player_id`,`guild_id`),
  1022. ADD KEY `guild_id` (`guild_id`);
  1023.  
  1024. --
  1025. -- Indexes for table `guild_membership`
  1026. --
  1027. ALTER TABLE `guild_membership`
  1028. ADD PRIMARY KEY (`player_id`),
  1029. ADD KEY `guild_id` (`guild_id`),
  1030. ADD KEY `rank_id` (`rank_id`);
  1031.  
  1032. --
  1033. -- Indexes for table `guild_ranks`
  1034. --
  1035. ALTER TABLE `guild_ranks`
  1036. ADD PRIMARY KEY (`id`),
  1037. ADD KEY `guild_id` (`guild_id`);
  1038.  
  1039. --
  1040. -- Indexes for table `guild_wars`
  1041. --
  1042. ALTER TABLE `guild_wars`
  1043. ADD PRIMARY KEY (`id`),
  1044. ADD KEY `guild1` (`guild1`),
  1045. ADD KEY `guild2` (`guild2`);
  1046.  
  1047. --
  1048. -- Indexes for table `houses`
  1049. --
  1050. ALTER TABLE `houses`
  1051. ADD PRIMARY KEY (`id`),
  1052. ADD KEY `owner` (`owner`),
  1053. ADD KEY `town_id` (`town_id`);
  1054.  
  1055. --
  1056. -- Indexes for table `house_lists`
  1057. --
  1058. ALTER TABLE `house_lists`
  1059. ADD KEY `house_id` (`house_id`);
  1060.  
  1061. --
  1062. -- Indexes for table `ip_bans`
  1063. --
  1064. ALTER TABLE `ip_bans`
  1065. ADD PRIMARY KEY (`ip`),
  1066. ADD KEY `banned_by` (`banned_by`);
  1067.  
  1068. --
  1069. -- Indexes for table `live_casts`
  1070. --
  1071. ALTER TABLE `live_casts`
  1072. ADD UNIQUE KEY `player_id_2` (`player_id`);
  1073.  
  1074. --
  1075. -- Indexes for table `market_history`
  1076. --
  1077. ALTER TABLE `market_history`
  1078. ADD PRIMARY KEY (`id`),
  1079. ADD KEY `player_id` (`player_id`,`sale`);
  1080.  
  1081. --
  1082. -- Indexes for table `market_offers`
  1083. --
  1084. ALTER TABLE `market_offers`
  1085. ADD PRIMARY KEY (`id`),
  1086. ADD KEY `sale` (`sale`,`itemtype`),
  1087. ADD KEY `created` (`created`),
  1088. ADD KEY `player_id` (`player_id`);
  1089.  
  1090. --
  1091. -- Indexes for table `players`
  1092. --
  1093. ALTER TABLE `players`
  1094. ADD PRIMARY KEY (`id`),
  1095. ADD UNIQUE KEY `name` (`name`),
  1096. ADD KEY `account_id` (`account_id`),
  1097. ADD KEY `vocation` (`vocation`);
  1098.  
  1099. --
  1100. -- Indexes for table `players_online`
  1101. --
  1102. ALTER TABLE `players_online`
  1103. ADD PRIMARY KEY (`player_id`);
  1104.  
  1105. --
  1106. -- Indexes for table `player_deaths`
  1107. --
  1108. ALTER TABLE `player_deaths`
  1109. ADD KEY `player_id` (`player_id`),
  1110. ADD KEY `killed_by` (`killed_by`),
  1111. ADD KEY `mostdamage_by` (`mostdamage_by`);
  1112.  
  1113. --
  1114. -- Indexes for table `player_depotitems`
  1115. --
  1116. ALTER TABLE `player_depotitems`
  1117. ADD UNIQUE KEY `player_id_2` (`player_id`,`sid`);
  1118.  
  1119. --
  1120. -- Indexes for table `player_inboxitems`
  1121. --
  1122. ALTER TABLE `player_inboxitems`
  1123. ADD UNIQUE KEY `player_id_2` (`player_id`,`sid`);
  1124.  
  1125. --
  1126. -- Indexes for table `player_items`
  1127. --
  1128. ALTER TABLE `player_items`
  1129. ADD KEY `player_id` (`player_id`),
  1130. ADD KEY `sid` (`sid`);
  1131.  
  1132. --
  1133. -- Indexes for table `player_namelocks`
  1134. --
  1135. ALTER TABLE `player_namelocks`
  1136. ADD PRIMARY KEY (`player_id`),
  1137. ADD KEY `namelocked_by` (`namelocked_by`);
  1138.  
  1139. --
  1140. -- Indexes for table `player_rewards`
  1141. --
  1142. ALTER TABLE `player_rewards`
  1143. ADD UNIQUE KEY `player_id_2` (`player_id`,`sid`);
  1144.  
  1145. --
  1146. -- Indexes for table `player_spells`
  1147. --
  1148. ALTER TABLE `player_spells`
  1149. ADD KEY `player_id` (`player_id`);
  1150.  
  1151. --
  1152. -- Indexes for table `player_storage`
  1153. --
  1154. ALTER TABLE `player_storage`
  1155. ADD PRIMARY KEY (`player_id`,`key`);
  1156.  
  1157. --
  1158. -- Indexes for table `sellchar`
  1159. --
  1160. ALTER TABLE `sellchar`
  1161. ADD PRIMARY KEY (`id`);
  1162.  
  1163. --
  1164. -- Indexes for table `server_config`
  1165. --
  1166. ALTER TABLE `server_config`
  1167. ADD PRIMARY KEY (`config`);
  1168.  
  1169. --
  1170. -- Indexes for table `store_history`
  1171. --
  1172. ALTER TABLE `store_history`
  1173. ADD KEY `account_id` (`account_id`);
  1174.  
  1175. --
  1176. -- Indexes for table `tile_store`
  1177. --
  1178. ALTER TABLE `tile_store`
  1179. ADD KEY `house_id` (`house_id`);
  1180.  
  1181. --
  1182. -- Indexes for table `videos`
  1183. --
  1184. ALTER TABLE `videos`
  1185. ADD PRIMARY KEY (`id`);
  1186.  
  1187. --
  1188. -- Indexes for table `videos_categorias`
  1189. --
  1190. ALTER TABLE `videos_categorias`
  1191. ADD PRIMARY KEY (`id`);
  1192.  
  1193. --
  1194. -- Indexes for table `videos_comentarios`
  1195. --
  1196. ALTER TABLE `videos_comentarios`
  1197. ADD PRIMARY KEY (`id`);
  1198.  
  1199. --
  1200. -- Indexes for table `z_forum`
  1201. --
  1202. ALTER TABLE `z_forum`
  1203. ADD PRIMARY KEY (`id`),
  1204. ADD KEY `section` (`section`);
  1205.  
  1206. --
  1207. -- Indexes for table `z_network_box`
  1208. --
  1209. ALTER TABLE `z_network_box`
  1210. ADD PRIMARY KEY (`id`);
  1211.  
  1212. --
  1213. -- Indexes for table `z_ots_comunication`
  1214. --
  1215. ALTER TABLE `z_ots_comunication`
  1216. ADD PRIMARY KEY (`id`);
  1217.  
  1218. --
  1219. -- Indexes for table `z_ots_guildcomunication`
  1220. --
  1221. ALTER TABLE `z_ots_guildcomunication`
  1222. ADD PRIMARY KEY (`id`);
  1223.  
  1224. --
  1225. -- Indexes for table `z_polls`
  1226. --
  1227. ALTER TABLE `z_polls`
  1228. ADD PRIMARY KEY (`id`);
  1229.  
  1230. --
  1231. -- Indexes for table `z_shopguild_history_item`
  1232. --
  1233. ALTER TABLE `z_shopguild_history_item`
  1234. ADD PRIMARY KEY (`id`);
  1235.  
  1236. --
  1237. -- Indexes for table `z_shopguild_history_pacc`
  1238. --
  1239. ALTER TABLE `z_shopguild_history_pacc`
  1240. ADD PRIMARY KEY (`id`);
  1241.  
  1242. --
  1243. -- Indexes for table `z_shopguild_offer`
  1244. --
  1245. ALTER TABLE `z_shopguild_offer`
  1246. ADD PRIMARY KEY (`id`);
  1247.  
  1248. --
  1249. -- Indexes for table `z_shop_history_item`
  1250. --
  1251. ALTER TABLE `z_shop_history_item`
  1252. ADD PRIMARY KEY (`id`);
  1253.  
  1254. --
  1255. -- Indexes for table `z_shop_offer`
  1256. --
  1257. ALTER TABLE `z_shop_offer`
  1258. ADD PRIMARY KEY (`id`);
  1259.  
  1260. --
  1261. -- AUTO_INCREMENT for dumped tables
  1262. --
  1263.  
  1264. --
  1265. -- AUTO_INCREMENT for table `accounts`
  1266. --
  1267. ALTER TABLE `accounts`
  1268. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
  1269. --
  1270. -- AUTO_INCREMENT for table `account_ban_history`
  1271. --
  1272. ALTER TABLE `account_ban_history`
  1273. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  1274. --
  1275. -- AUTO_INCREMENT for table `announcements`
  1276. --
  1277. ALTER TABLE `announcements`
  1278. MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
  1279. --
  1280. -- AUTO_INCREMENT for table `guilds`
  1281. --
  1282. ALTER TABLE `guilds`
  1283. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1284. --
  1285. -- AUTO_INCREMENT for table `guildwar_kills`
  1286. --
  1287. ALTER TABLE `guildwar_kills`
  1288. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1289. --
  1290. -- AUTO_INCREMENT for table `guild_ranks`
  1291. --
  1292. ALTER TABLE `guild_ranks`
  1293. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1294. --
  1295. -- AUTO_INCREMENT for table `guild_wars`
  1296. --
  1297. ALTER TABLE `guild_wars`
  1298. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1299. --
  1300. -- AUTO_INCREMENT for table `houses`
  1301. --
  1302. ALTER TABLE `houses`
  1303. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1304. --
  1305. -- AUTO_INCREMENT for table `market_history`
  1306. --
  1307. ALTER TABLE `market_history`
  1308. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  1309. --
  1310. -- AUTO_INCREMENT for table `market_offers`
  1311. --
  1312. ALTER TABLE `market_offers`
  1313. MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  1314. --
  1315. -- AUTO_INCREMENT for table `players`
  1316. --
  1317. ALTER TABLE `players`
  1318. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=151;
  1319. --
  1320. -- AUTO_INCREMENT for table `sellchar`
  1321. --
  1322. ALTER TABLE `sellchar`
  1323. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1324. --
  1325. -- AUTO_INCREMENT for table `videos`
  1326. --
  1327. ALTER TABLE `videos`
  1328. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
  1329. --
  1330. -- AUTO_INCREMENT for table `videos_categorias`
  1331. --
  1332. ALTER TABLE `videos_categorias`
  1333. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1334. --
  1335. -- AUTO_INCREMENT for table `videos_comentarios`
  1336. --
  1337. ALTER TABLE `videos_comentarios`
  1338. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1339. --
  1340. -- AUTO_INCREMENT for table `z_forum`
  1341. --
  1342. ALTER TABLE `z_forum`
  1343. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1344. --
  1345. -- AUTO_INCREMENT for table `z_network_box`
  1346. --
  1347. ALTER TABLE `z_network_box`
  1348. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  1349. --
  1350. -- AUTO_INCREMENT for table `z_ots_comunication`
  1351. --
  1352. ALTER TABLE `z_ots_comunication`
  1353. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;
  1354. --
  1355. -- AUTO_INCREMENT for table `z_ots_guildcomunication`
  1356. --
  1357. ALTER TABLE `z_ots_guildcomunication`
  1358. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13382;
  1359. --
  1360. -- AUTO_INCREMENT for table `z_polls`
  1361. --
  1362. ALTER TABLE `z_polls`
  1363. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1364. --
  1365. -- AUTO_INCREMENT for table `z_shopguild_history_item`
  1366. --
  1367. ALTER TABLE `z_shopguild_history_item`
  1368. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1369. --
  1370. -- AUTO_INCREMENT for table `z_shopguild_history_pacc`
  1371. --
  1372. ALTER TABLE `z_shopguild_history_pacc`
  1373. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1374. --
  1375. -- AUTO_INCREMENT for table `z_shopguild_offer`
  1376. --
  1377. ALTER TABLE `z_shopguild_offer`
  1378. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
  1379. --
  1380. -- AUTO_INCREMENT for table `z_shop_history_item`
  1381. --
  1382. ALTER TABLE `z_shop_history_item`
  1383. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  1384. --
  1385. -- AUTO_INCREMENT for table `z_shop_offer`
  1386. --
  1387. ALTER TABLE `z_shop_offer`
  1388. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=276;
  1389. --
  1390. -- Constraints for dumped tables
  1391. --
  1392.  
  1393. --
  1394. -- Limitadores para a tabela `account_bans`
  1395. --
  1396. ALTER TABLE `account_bans`
  1397. ADD CONSTRAINT `account_bans_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  1398. ADD CONSTRAINT `account_bans_ibfk_2` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  1399.  
  1400. --
  1401. -- Limitadores para a tabela `account_ban_history`
  1402. --
  1403. ALTER TABLE `account_ban_history`
  1404. ADD CONSTRAINT `account_ban_history_ibfk_2` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  1405. ADD CONSTRAINT `account_ban_history_ibfk_3` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  1406. ADD CONSTRAINT `account_ban_history_ibfk_4` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  1407. ADD CONSTRAINT `account_ban_history_ibfk_5` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  1408. ADD CONSTRAINT `account_ban_history_ibfk_6` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  1409.  
  1410. --
  1411. -- Limitadores para a tabela `account_viplist`
  1412. --
  1413. ALTER TABLE `account_viplist`
  1414. ADD CONSTRAINT `account_viplist_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE,
  1415. ADD CONSTRAINT `account_viplist_ibfk_2` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1416.  
  1417. --
  1418. -- Limitadores para a tabela `guilds`
  1419. --
  1420. ALTER TABLE `guilds`
  1421. ADD CONSTRAINT `guilds_ibfk_1` FOREIGN KEY (`ownerid`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1422.  
  1423. --
  1424. -- Limitadores para a tabela `guildwar_kills`
  1425. --
  1426. ALTER TABLE `guildwar_kills`
  1427. ADD CONSTRAINT `guildwar_kills_ibfk_1` FOREIGN KEY (`warid`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE;
  1428.  
  1429. --
  1430. -- Limitadores para a tabela `guild_invites`
  1431. --
  1432. ALTER TABLE `guild_invites`
  1433. ADD CONSTRAINT `guild_invites_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE,
  1434. ADD CONSTRAINT `guild_invites_ibfk_2` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE;
  1435.  
  1436. --
  1437. -- Limitadores para a tabela `guild_membership`
  1438. --
  1439. ALTER TABLE `guild_membership`
  1440. ADD CONSTRAINT `guild_membership_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  1441. ADD CONSTRAINT `guild_membership_ibfk_2` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  1442. ADD CONSTRAINT `guild_membership_ibfk_3` FOREIGN KEY (`rank_id`) REFERENCES `guild_ranks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  1443.  
  1444. --
  1445. -- Limitadores para a tabela `guild_ranks`
  1446. --
  1447. ALTER TABLE `guild_ranks`
  1448. ADD CONSTRAINT `guild_ranks_ibfk_1` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE;
  1449.  
  1450. --
  1451. -- Limitadores para a tabela `house_lists`
  1452. --
  1453. ALTER TABLE `house_lists`
  1454. ADD CONSTRAINT `house_lists_ibfk_1` FOREIGN KEY (`house_id`) REFERENCES `houses` (`id`) ON DELETE CASCADE;
  1455.  
  1456. --
  1457. -- Limitadores para a tabela `ip_bans`
  1458. --
  1459. ALTER TABLE `ip_bans`
  1460. ADD CONSTRAINT `ip_bans_ibfk_1` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  1461.  
  1462. --
  1463. -- Limitadores para a tabela `live_casts`
  1464. --
  1465. ALTER TABLE `live_casts`
  1466. ADD CONSTRAINT `live_casts_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1467.  
  1468. --
  1469. -- Limitadores para a tabela `market_history`
  1470. --
  1471. ALTER TABLE `market_history`
  1472. ADD CONSTRAINT `market_history_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1473.  
  1474. --
  1475. -- Limitadores para a tabela `market_offers`
  1476. --
  1477. ALTER TABLE `market_offers`
  1478. ADD CONSTRAINT `market_offers_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1479.  
  1480. --
  1481. -- Limitadores para a tabela `players`
  1482. --
  1483. ALTER TABLE `players`
  1484. ADD CONSTRAINT `players_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE;
  1485.  
  1486. --
  1487. -- Limitadores para a tabela `player_deaths`
  1488. --
  1489. ALTER TABLE `player_deaths`
  1490. ADD CONSTRAINT `player_deaths_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1491.  
  1492. --
  1493. -- Limitadores para a tabela `player_depotitems`
  1494. --
  1495. ALTER TABLE `player_depotitems`
  1496. ADD CONSTRAINT `player_depotitems_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1497.  
  1498. --
  1499. -- Limitadores para a tabela `player_inboxitems`
  1500. --
  1501. ALTER TABLE `player_inboxitems`
  1502. ADD CONSTRAINT `player_inboxitems_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1503.  
  1504. --
  1505. -- Limitadores para a tabela `player_items`
  1506. --
  1507. ALTER TABLE `player_items`
  1508. ADD CONSTRAINT `player_items_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1509.  
  1510. --
  1511. -- Limitadores para a tabela `player_namelocks`
  1512. --
  1513. ALTER TABLE `player_namelocks`
  1514. ADD CONSTRAINT `player_namelocks_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  1515. ADD CONSTRAINT `player_namelocks_ibfk_2` FOREIGN KEY (`namelocked_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  1516.  
  1517. --
  1518. -- Limitadores para a tabela `player_rewards`
  1519. --
  1520. ALTER TABLE `player_rewards`
  1521. ADD CONSTRAINT `player_rewards_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1522.  
  1523. --
  1524. -- Limitadores para a tabela `player_spells`
  1525. --
  1526. ALTER TABLE `player_spells`
  1527. ADD CONSTRAINT `player_spells_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1528.  
  1529. --
  1530. -- Limitadores para a tabela `player_storage`
  1531. --
  1532. ALTER TABLE `player_storage`
  1533. ADD CONSTRAINT `player_storage_ibfk_1` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE;
  1534.  
  1535. --
  1536. -- Limitadores para a tabela `store_history`
  1537. --
  1538. ALTER TABLE `store_history`
  1539. ADD CONSTRAINT `store_history_ibfk_1` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE;
  1540.  
  1541. --
  1542. -- Limitadores para a tabela `tile_store`
  1543. --
  1544. ALTER TABLE `tile_store`
  1545. ADD CONSTRAINT `tile_store_ibfk_1` FOREIGN KEY (`house_id`) REFERENCES `houses` (`id`) ON DELETE CASCADE;
  1546.  
  1547. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  1548. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  1549. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement