diff --git a/install/data/sql.sql b/install/data/sql.sql index 16f1d38a..a9edcbf4 100644 --- a/install/data/sql.sql +++ b/install/data/sql.sql @@ -22,22 +22,22 @@ SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- CREATE TABLE IF NOT EXISTS `%PREFIX%a2b` ( - `id` int(11) NULL AUTO_INCREMENT, - `ckey` varchar(255) NULL, - `time_check` int(11) NULL DEFAULT '0', - `to_vid` int(11) NULL, - `u1` int(11) NULL, - `u2` int(11) NULL, - `u3` int(11) NULL, - `u4` int(11) NULL, - `u5` int(11) NULL, - `u6` int(11) NULL, - `u7` int(11) NULL, - `u8` int(11) NULL, - `u9` int(11) NULL, - `u10` int(11) NULL, - `u11` int(11) NULL, - `type` smallint(1) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `ckey` varchar(255) unsigned NOT NULL, + `time_check` int(11) unsigned NOT NULL DEFAULT '0', + `to_vid` int(11) unsigned NOT NULL, + `u1` int(11) unsigned NOT NULL, + `u2` int(11) unsigned NOT NULL, + `u3` int(11) unsigned NOT NULL, + `u4` int(11) unsigned NOT NULL, + `u5` int(11) unsigned NOT NULL, + `u6` int(11) unsigned NOT NULL, + `u7` int(11) unsigned NOT NULL, + `u8` int(11) unsigned NOT NULL, + `u9` int(11) unsigned NOT NULL, + `u10` int(11) unsigned NOT NULL, + `u11` int(11) unsigned NOT NULL, + `type` smallint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -50,11 +50,11 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%a2b` ( -- CREATE TABLE `%PREFIX%links` ( - `id` INT( 25 ) NULL AUTO_INCREMENT PRIMARY KEY , - `userid` INT( 25 ) NULL , - `name` VARCHAR( 50 ) NULL , - `url` VARCHAR( 150 ) NULL , - `pos` INT( 10 ) NULL + `id` INT( 25 ) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY , + `userid` INT( 25 ) unsigned NOT NULL , + `name` VARCHAR( 50 ) unsigned NOT NULL , + `url` VARCHAR( 150 ) unsigned NOT NULL , + `pos` INT( 10 ) unsigned NOT NULL ) ENGINE = MYISAM; -- @@ -68,23 +68,23 @@ CREATE TABLE `%PREFIX%links` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%abdata` ( - `vref` int(11) NULL, - `a1` tinyint(2) NULL DEFAULT '0', - `a2` tinyint(2) NULL DEFAULT '0', - `a3` tinyint(2) NULL DEFAULT '0', - `a4` tinyint(2) NULL DEFAULT '0', - `a5` tinyint(2) NULL DEFAULT '0', - `a6` tinyint(2) NULL DEFAULT '0', - `a7` tinyint(2) NULL DEFAULT '0', - `a8` tinyint(2) NULL DEFAULT '0', - `b1` tinyint(2) NULL DEFAULT '0', - `b2` tinyint(2) NULL DEFAULT '0', - `b3` tinyint(2) NULL DEFAULT '0', - `b4` tinyint(2) NULL DEFAULT '0', - `b5` tinyint(2) NULL DEFAULT '0', - `b6` tinyint(2) NULL DEFAULT '0', - `b7` tinyint(2) NULL DEFAULT '0', - `b8` tinyint(2) NULL DEFAULT '0', + `vref` int(11) unsigned NOT NULL, + `a1` tinyint(2) unsigned NOT NULL DEFAULT '0', + `a2` tinyint(2) unsigned NOT NULL DEFAULT '0', + `a3` tinyint(2) unsigned NOT NULL DEFAULT '0', + `a4` tinyint(2) unsigned NOT NULL DEFAULT '0', + `a5` tinyint(2) unsigned NOT NULL DEFAULT '0', + `a6` tinyint(2) unsigned NOT NULL DEFAULT '0', + `a7` tinyint(2) unsigned NOT NULL DEFAULT '0', + `a8` tinyint(2) unsigned NOT NULL DEFAULT '0', + `b1` tinyint(2) unsigned NOT NULL DEFAULT '0', + `b2` tinyint(2) unsigned NOT NULL DEFAULT '0', + `b3` tinyint(2) unsigned NOT NULL DEFAULT '0', + `b4` tinyint(2) unsigned NOT NULL DEFAULT '0', + `b5` tinyint(2) unsigned NOT NULL DEFAULT '0', + `b6` tinyint(2) unsigned NOT NULL DEFAULT '0', + `b7` tinyint(2) unsigned NOT NULL DEFAULT '0', + `b8` tinyint(2) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`vref`) ) ENGINE=MYISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -100,16 +100,16 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%abdata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%activate` ( - `id` int(255) NULL AUTO_INCREMENT, - `username` varchar(100) NULL, - `password` varchar(100) NULL, - `email` text NULL, - `tribe` tinyint(1) NULL, - `access` tinyint(1) NULL DEFAULT '1', - `act` varchar(10) NULL, - `timestamp` int(11) NULL DEFAULT '0', - `location` text NULL, - `act2` varchar(10) NULL, + `id` int(255) unsigned NOT NULL AUTO_INCREMENT, + `username` varchar(100) unsigned NOT NULL, + `password` varchar(100) unsigned NOT NULL, + `email` text unsigned NOT NULL, + `tribe` tinyint(1) unsigned NOT NULL, + `access` tinyint(1) unsigned NOT NULL DEFAULT '1', + `act` varchar(10) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL DEFAULT '0', + `location` text unsigned NOT NULL, + `act2` varchar(10) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -125,8 +125,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%activate` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%active` ( - `username` varchar(100) NULL, - `timestamp` int(11) NULL, + `username` varchar(100) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL, PRIMARY KEY (`username`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -142,10 +142,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%active` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%admin_log` ( - `id` int(11) NULL AUTO_INCREMENT, - `user` text NULL, - `log` text NULL, - `time` int(25) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `user` text unsigned NOT NULL, + `log` text unsigned NOT NULL, + `time` int(25) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=80 ; @@ -160,14 +160,14 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%admin_log` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%allimedal` ( - `id` int(11) NULL AUTO_INCREMENT, - `allyid` int(11) NULL, - `categorie` int(11) NULL, - `plaats` int(11) NULL, - `week` int(11) NULL, - `points` bigint(255) NULL, - `img` varchar(255) NULL, - `del` tinyint(1) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `allyid` int(11) unsigned NOT NULL, + `categorie` int(11) unsigned NOT NULL, + `plaats` int(11) unsigned NOT NULL, + `week` int(11) unsigned NOT NULL, + `points` bigint(255) unsigned NOT NULL, + `img` varchar(255) unsigned NOT NULL, + `del` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -178,21 +178,21 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%allimedal` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts` ( - `id` int(11) NULL AUTO_INCREMENT, - `vref` int(11) NULL, - `owner` int(11) NULL, - `type` tinyint(2) NULL, - `size` tinyint(1) NULL, - `conquered` int(11) NULL, - `name` varchar(100) NULL, - `desc` text NULL, - `effect` varchar(100) NULL, - `img` varchar(20) NULL, - `active` tinyint(1) NULL, - `kind` tinyint(1) NULL, - `bad_effect` tinyint(1) NULL, - `effect2` tinyint(2) NULL, - `lastupdate` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `vref` int(11) unsigned NOT NULL, + `owner` int(11) unsigned NOT NULL, + `type` tinyint(2) unsigned NOT NULL, + `size` tinyint(1) unsigned NOT NULL, + `conquered` int(11) unsigned NOT NULL, + `name` varchar(100) unsigned NOT NULL, + `desc` text unsigned NOT NULL, + `effect` varchar(100) unsigned NOT NULL, + `img` varchar(20) unsigned NOT NULL, + `active` tinyint(1) unsigned NOT NULL, + `kind` tinyint(1) unsigned NOT NULL, + `bad_effect` tinyint(1) unsigned NOT NULL, + `effect2` tinyint(2) unsigned NOT NULL, + `lastupdate` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MYISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -206,25 +206,25 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%alidata` ( - `id` int(11) NULL AUTO_INCREMENT, - `name` varchar(100) NULL, - `tag` varchar(100) NULL, - `leader` int(11) NULL, - `coor` int(11) NULL, - `advisor` int(11) NULL, - `recruiter` int(11) NULL, - `notice` text NULL, - `desc` text NULL, - `max` tinyint(2) NULL, - `ap` bigint(255) NULL DEFAULT '0', - `dp` bigint(255) NULL DEFAULT '0', - `Rc` bigint(255) NULL DEFAULT '0', - `RR` bigint(255) NULL DEFAULT '0', - `Aap` bigint(255) NULL DEFAULT '0', - `Adp` bigint(255) NULL DEFAULT '0', - `clp` bigint(255) NULL DEFAULT '0', - `oldrank` bigint(255) NULL DEFAULT '0', - `forumlink` varchar(150) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(100) unsigned NOT NULL, + `tag` varchar(100) unsigned NOT NULL, + `leader` int(11) unsigned NOT NULL, + `coor` int(11) unsigned NOT NULL, + `advisor` int(11) unsigned NOT NULL, + `recruiter` int(11) unsigned NOT NULL, + `notice` text unsigned NOT NULL, + `desc` text unsigned NOT NULL, + `max` tinyint(2) unsigned NOT NULL, + `ap` bigint(255) unsigned NOT NULL DEFAULT '0', + `dp` bigint(255) unsigned NOT NULL DEFAULT '0', + `Rc` bigint(255) unsigned NOT NULL DEFAULT '0', + `RR` bigint(255) unsigned NOT NULL DEFAULT '0', + `Aap` bigint(255) unsigned NOT NULL DEFAULT '0', + `Adp` bigint(255) unsigned NOT NULL DEFAULT '0', + `clp` bigint(255) unsigned NOT NULL DEFAULT '0', + `oldrank` bigint(255) unsigned NOT NULL DEFAULT '0', + `forumlink` varchar(150) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -240,12 +240,12 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%alidata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%ali_invite` ( - `id` int(11) NULL AUTO_INCREMENT, - `uid` int(11) NULL, - `alliance` int(11) NULL, - `sender` int(11) NULL, - `timestamp` int(11) NULL, - `accept` int(1) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `uid` int(11) unsigned NOT NULL, + `alliance` int(11) unsigned NOT NULL, + `sender` int(11) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL, + `accept` int(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -261,10 +261,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%ali_invite` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%ali_log` ( - `id` int(11) NULL AUTO_INCREMENT, - `aid` int(11) NULL, - `comment` text NULL, - `date` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `aid` int(11) unsigned NOT NULL, + `comment` text unsigned NOT NULL, + `date` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -280,18 +280,18 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%ali_log` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%ali_permission` ( - `id` int(11) NULL AUTO_INCREMENT, - `uid` int(11) NULL, - `alliance` int(11) NULL, - `rank` varchar(100) NULL, - `opt1` int(1) NULL DEFAULT '0', - `opt2` int(1) NULL DEFAULT '0', - `opt3` int(1) NULL DEFAULT '0', - `opt4` int(1) NULL DEFAULT '0', - `opt5` int(1) NULL DEFAULT '0', - `opt6` int(1) NULL DEFAULT '0', - `opt7` int(1) NULL DEFAULT '0', - `opt8` int(1) NULL DEFAULT '0', + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `uid` int(11) unsigned NOT NULL, + `alliance` int(11) unsigned NOT NULL, + `rank` varchar(100) unsigned NOT NULL, + `opt1` int(1) unsigned NOT NULL DEFAULT '0', + `opt2` int(1) unsigned NOT NULL DEFAULT '0', + `opt3` int(1) unsigned NOT NULL DEFAULT '0', + `opt4` int(1) unsigned NOT NULL DEFAULT '0', + `opt5` int(1) unsigned NOT NULL DEFAULT '0', + `opt6` int(1) unsigned NOT NULL DEFAULT '0', + `opt7` int(1) unsigned NOT NULL DEFAULT '0', + `opt8` int(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -307,31 +307,31 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%ali_permission` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%attacks` ( - `id` int(11) NULL AUTO_INCREMENT, - `vref` int(11) NULL, - `t1` int(11) NULL, - `t2` int(11) NULL, - `t3` int(11) NULL, - `t4` int(11) NULL, - `t5` int(11) NULL, - `t6` int(11) NULL, - `t7` int(11) NULL, - `t8` int(11) NULL, - `t9` int(11) NULL, - `t10` int(11) NULL, - `t11` int(11) NULL, - `attack_type` tinyint(1) NULL, - `ctar1` int(11) NULL, - `ctar2` int(11) NULL, - `spy` int(11) NULL, - `b1` tinyint(1) NULL, - `b2` tinyint(1) NULL, - `b3` tinyint(1) NULL, - `b4` tinyint(1) NULL, - `b5` tinyint(1) NULL, - `b6` tinyint(1) NULL, - `b7` tinyint(1) NULL, - `b8` tinyint(1) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `vref` int(11) unsigned NOT NULL, + `t1` int(11) unsigned NOT NULL, + `t2` int(11) unsigned NOT NULL, + `t3` int(11) unsigned NOT NULL, + `t4` int(11) unsigned NOT NULL, + `t5` int(11) unsigned NOT NULL, + `t6` int(11) unsigned NOT NULL, + `t7` int(11) unsigned NOT NULL, + `t8` int(11) unsigned NOT NULL, + `t9` int(11) unsigned NOT NULL, + `t10` int(11) unsigned NOT NULL, + `t11` int(11) unsigned NOT NULL, + `attack_type` tinyint(1) unsigned NOT NULL, + `ctar1` int(11) unsigned NOT NULL, + `ctar2` int(11) unsigned NOT NULL, + `spy` int(11) unsigned NOT NULL, + `b1` tinyint(1) unsigned NOT NULL, + `b2` tinyint(1) unsigned NOT NULL, + `b3` tinyint(1) unsigned NOT NULL, + `b4` tinyint(1) unsigned NOT NULL, + `b5` tinyint(1) unsigned NOT NULL, + `b6` tinyint(1) unsigned NOT NULL, + `b7` tinyint(1) unsigned NOT NULL, + `b8` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -347,14 +347,14 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%attacks` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%banlist` ( - `id` int(11) NULL AUTO_INCREMENT, - `uid` int(11) NULL, - `name` varchar(100) NULL, - `reason` varchar(30) NULL, - `time` int(11) NULL, - `end` varchar(10) NULL, - `admin` int(11) NULL, - `active` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `uid` int(11) unsigned NOT NULL, + `name` varchar(100) unsigned NOT NULL, + `reason` varchar(30) unsigned NOT NULL, + `time` int(11) unsigned NOT NULL, + `end` varchar(10) unsigned NOT NULL, + `admin` int(11) unsigned NOT NULL, + `active` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -370,14 +370,14 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%banlist` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%bdata` ( - `id` int(11) NULL AUTO_INCREMENT, - `wid` int(11) NULL, - `field` tinyint(2) NULL, - `type` tinyint(2) NULL, - `loopcon` tinyint(1) NULL, - `timestamp` int(11) NULL, - `master` tinyint(1) NULL, - `level` tinyint(3) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `wid` int(11) unsigned NOT NULL, + `field` tinyint(2) unsigned NOT NULL, + `type` tinyint(2) unsigned NOT NULL, + `loopcon` tinyint(1) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL, + `master` tinyint(1) unsigned NOT NULL, + `level` tinyint(3) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -393,9 +393,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%bdata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%build_log` ( - `id` int(11) NULL AUTO_INCREMENT, - `wid` int(11) NULL, - `log` text NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `wid` int(11) unsigned NOT NULL, + `log` text unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -411,12 +411,12 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%build_log` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%chat` ( - `id` int(20) NULL AUTO_INCREMENT, - `id_user` int(11) NULL, - `name` varchar(255) NULL, - `alli` varchar(255) NULL, - `date` varchar(255) NULL, - `msg` varchar(255) NULL, + `id` int(20) unsigned NOT NULL AUTO_INCREMENT, + `id_user` int(11) unsigned NOT NULL, + `name` varchar(255) unsigned NOT NULL, + `alli` varchar(255) unsigned NOT NULL, + `date` varchar(255) unsigned NOT NULL, + `msg` varchar(255) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -432,7 +432,7 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%chat` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%config` ( - `lastgavemedal` int(11) NULL + `lastgavemedal` int(11) unsigned NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; INSERT INTO `%PREFIX%config` VALUES (0); @@ -448,8 +448,8 @@ INSERT INTO `%PREFIX%config` VALUES (0); -- CREATE TABLE IF NOT EXISTS `%PREFIX%deleting` ( - `uid` int(11) NULL, - `timestamp` int(11) NULL, + `uid` int(11) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL, PRIMARY KEY (`uid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -465,10 +465,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%deleting` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%demolition` ( - `vref` int(11) NULL, - `buildnumber` int(11) NULL DEFAULT '0', - `lvl` int(11) NULL DEFAULT '0', - `timetofinish` int(11) NULL, + `vref` int(11) unsigned NOT NULL, + `buildnumber` int(11) unsigned NOT NULL DEFAULT '0', + `lvl` int(11) unsigned NOT NULL DEFAULT '0', + `timetofinish` int(11) unsigned NOT NULL, PRIMARY KEY (`vref`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -484,11 +484,11 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%demolition` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%diplomacy` ( - `id` int(11) NULL AUTO_INCREMENT, - `alli1` int(11) NULL, - `alli2` int(11) NULL, - `type` tinyint(1) NULL, - `accepted` tinyint(1) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `alli1` int(11) unsigned NOT NULL, + `alli2` int(11) unsigned NOT NULL, + `type` tinyint(1) unsigned NOT NULL, + `accepted` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- @@ -503,60 +503,60 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%diplomacy` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%enforcement` ( - `id` int(11) NULL AUTO_INCREMENT, - `u1` int(11) NULL DEFAULT '0', - `u2` int(11) NULL DEFAULT '0', - `u3` int(11) NULL DEFAULT '0', - `u4` int(11) NULL DEFAULT '0', - `u5` int(11) NULL DEFAULT '0', - `u6` int(11) NULL DEFAULT '0', - `u7` int(11) NULL DEFAULT '0', - `u8` int(11) NULL DEFAULT '0', - `u9` int(11) NULL DEFAULT '0', - `u10` int(11) NULL DEFAULT '0', - `u11` int(11) NULL DEFAULT '0', - `u12` int(11) NULL DEFAULT '0', - `u13` int(11) NULL DEFAULT '0', - `u14` int(11) NULL DEFAULT '0', - `u15` int(11) NULL DEFAULT '0', - `u16` int(11) NULL DEFAULT '0', - `u17` int(11) NULL DEFAULT '0', - `u18` int(11) NULL DEFAULT '0', - `u19` int(11) NULL DEFAULT '0', - `u20` int(11) NULL DEFAULT '0', - `u21` int(11) NULL DEFAULT '0', - `u22` int(11) NULL DEFAULT '0', - `u23` int(11) NULL DEFAULT '0', - `u24` int(11) NULL DEFAULT '0', - `u25` int(11) NULL DEFAULT '0', - `u26` int(11) NULL DEFAULT '0', - `u27` int(11) NULL DEFAULT '0', - `u28` int(11) NULL DEFAULT '0', - `u29` int(11) NULL DEFAULT '0', - `u30` int(11) NULL DEFAULT '0', - `u31` int(11) NULL DEFAULT '0', - `u32` int(11) NULL DEFAULT '0', - `u33` int(11) NULL DEFAULT '0', - `u34` int(11) NULL DEFAULT '0', - `u35` int(11) NULL DEFAULT '0', - `u36` int(11) NULL DEFAULT '0', - `u37` int(11) NULL DEFAULT '0', - `u38` int(11) NULL DEFAULT '0', - `u39` int(11) NULL DEFAULT '0', - `u40` int(11) NULL DEFAULT '0', - `u41` int(11) NULL DEFAULT '0', - `u42` int(11) NULL DEFAULT '0', - `u43` int(11) NULL DEFAULT '0', - `u44` int(11) NULL DEFAULT '0', - `u45` int(11) NULL DEFAULT '0', - `u46` int(11) NULL DEFAULT '0', - `u47` int(11) NULL DEFAULT '0', - `u48` int(11) NULL DEFAULT '0', - `u49` int(11) NULL DEFAULT '0', - `u50` int(11) NULL DEFAULT '0', - `hero` tinyint(1) NULL DEFAULT '0', - `from` int(11) NULL DEFAULT '0', - `vref` int(11) NULL DEFAULT '0', + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `u1` int(11) unsigned NOT NULL DEFAULT '0', + `u2` int(11) unsigned NOT NULL DEFAULT '0', + `u3` int(11) unsigned NOT NULL DEFAULT '0', + `u4` int(11) unsigned NOT NULL DEFAULT '0', + `u5` int(11) unsigned NOT NULL DEFAULT '0', + `u6` int(11) unsigned NOT NULL DEFAULT '0', + `u7` int(11) unsigned NOT NULL DEFAULT '0', + `u8` int(11) unsigned NOT NULL DEFAULT '0', + `u9` int(11) unsigned NOT NULL DEFAULT '0', + `u10` int(11) unsigned NOT NULL DEFAULT '0', + `u11` int(11) unsigned NOT NULL DEFAULT '0', + `u12` int(11) unsigned NOT NULL DEFAULT '0', + `u13` int(11) unsigned NOT NULL DEFAULT '0', + `u14` int(11) unsigned NOT NULL DEFAULT '0', + `u15` int(11) unsigned NOT NULL DEFAULT '0', + `u16` int(11) unsigned NOT NULL DEFAULT '0', + `u17` int(11) unsigned NOT NULL DEFAULT '0', + `u18` int(11) unsigned NOT NULL DEFAULT '0', + `u19` int(11) unsigned NOT NULL DEFAULT '0', + `u20` int(11) unsigned NOT NULL DEFAULT '0', + `u21` int(11) unsigned NOT NULL DEFAULT '0', + `u22` int(11) unsigned NOT NULL DEFAULT '0', + `u23` int(11) unsigned NOT NULL DEFAULT '0', + `u24` int(11) unsigned NOT NULL DEFAULT '0', + `u25` int(11) unsigned NOT NULL DEFAULT '0', + `u26` int(11) unsigned NOT NULL DEFAULT '0', + `u27` int(11) unsigned NOT NULL DEFAULT '0', + `u28` int(11) unsigned NOT NULL DEFAULT '0', + `u29` int(11) unsigned NOT NULL DEFAULT '0', + `u30` int(11) unsigned NOT NULL DEFAULT '0', + `u31` int(11) unsigned NOT NULL DEFAULT '0', + `u32` int(11) unsigned NOT NULL DEFAULT '0', + `u33` int(11) unsigned NOT NULL DEFAULT '0', + `u34` int(11) unsigned NOT NULL DEFAULT '0', + `u35` int(11) unsigned NOT NULL DEFAULT '0', + `u36` int(11) unsigned NOT NULL DEFAULT '0', + `u37` int(11) unsigned NOT NULL DEFAULT '0', + `u38` int(11) unsigned NOT NULL DEFAULT '0', + `u39` int(11) unsigned NOT NULL DEFAULT '0', + `u40` int(11) unsigned NOT NULL DEFAULT '0', + `u41` int(11) unsigned NOT NULL DEFAULT '0', + `u42` int(11) unsigned NOT NULL DEFAULT '0', + `u43` int(11) unsigned NOT NULL DEFAULT '0', + `u44` int(11) unsigned NOT NULL DEFAULT '0', + `u45` int(11) unsigned NOT NULL DEFAULT '0', + `u46` int(11) unsigned NOT NULL DEFAULT '0', + `u47` int(11) unsigned NOT NULL DEFAULT '0', + `u48` int(11) unsigned NOT NULL DEFAULT '0', + `u49` int(11) unsigned NOT NULL DEFAULT '0', + `u50` int(11) unsigned NOT NULL DEFAULT '0', + `hero` tinyint(1) unsigned NOT NULL DEFAULT '0', + `from` int(11) unsigned NOT NULL DEFAULT '0', + `vref` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -571,10 +571,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%enforcement` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%farmlist` ( - `id` int(11) NULL AUTO_INCREMENT, - `wref` int(11) NULL, - `owner` int(11) NULL, - `name` varchar(100) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `wref` int(11) unsigned NOT NULL, + `owner` int(11) unsigned NOT NULL, + `name` varchar(100) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -590,90 +590,90 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%farmlist` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%fdata` ( - `vref` int(11) NULL, - `f1` tinyint(2) NULL DEFAULT '0', - `f1t` tinyint(2) NULL DEFAULT '0', - `f2` tinyint(2) NULL DEFAULT '0', - `f2t` tinyint(2) NULL DEFAULT '0', - `f3` tinyint(2) NULL DEFAULT '0', - `f3t` tinyint(2) NULL DEFAULT '0', - `f4` tinyint(2) NULL DEFAULT '0', - `f4t` tinyint(2) NULL DEFAULT '0', - `f5` tinyint(2) NULL DEFAULT '0', - `f5t` tinyint(2) NULL DEFAULT '0', - `f6` tinyint(2) NULL DEFAULT '0', - `f6t` tinyint(2) NULL DEFAULT '0', - `f7` tinyint(2) NULL DEFAULT '0', - `f7t` tinyint(2) NULL DEFAULT '0', - `f8` tinyint(2) NULL DEFAULT '0', - `f8t` tinyint(2) NULL DEFAULT '0', - `f9` tinyint(2) NULL DEFAULT '0', - `f9t` tinyint(2) NULL DEFAULT '0', - `f10` tinyint(2) NULL DEFAULT '0', - `f10t` tinyint(2) NULL DEFAULT '0', - `f11` tinyint(2) NULL DEFAULT '0', - `f11t` tinyint(2) NULL DEFAULT '0', - `f12` tinyint(2) NULL DEFAULT '0', - `f12t` tinyint(2) NULL DEFAULT '0', - `f13` tinyint(2) NULL DEFAULT '0', - `f13t` tinyint(2) NULL DEFAULT '0', - `f14` tinyint(2) NULL DEFAULT '0', - `f14t` tinyint(2) NULL DEFAULT '0', - `f15` tinyint(2) NULL DEFAULT '0', - `f15t` tinyint(2) NULL DEFAULT '0', - `f16` tinyint(2) NULL DEFAULT '0', - `f16t` tinyint(2) NULL DEFAULT '0', - `f17` tinyint(2) NULL DEFAULT '0', - `f17t` tinyint(2) NULL DEFAULT '0', - `f18` tinyint(2) NULL DEFAULT '0', - `f18t` tinyint(2) NULL DEFAULT '0', - `f19` tinyint(2) NULL DEFAULT '0', - `f19t` tinyint(2) NULL DEFAULT '0', - `f20` tinyint(2) NULL DEFAULT '0', - `f20t` tinyint(2) NULL DEFAULT '0', - `f21` tinyint(2) NULL DEFAULT '0', - `f21t` tinyint(2) NULL DEFAULT '0', - `f22` tinyint(2) NULL DEFAULT '0', - `f22t` tinyint(2) NULL DEFAULT '0', - `f23` tinyint(2) NULL DEFAULT '0', - `f23t` tinyint(2) NULL DEFAULT '0', - `f24` tinyint(2) NULL DEFAULT '0', - `f24t` tinyint(2) NULL DEFAULT '0', - `f25` tinyint(2) NULL DEFAULT '0', - `f25t` tinyint(2) NULL DEFAULT '0', - `f26` tinyint(2) NULL DEFAULT '0', - `f26t` tinyint(2) NULL DEFAULT '0', - `f27` tinyint(2) NULL DEFAULT '0', - `f27t` tinyint(2) NULL DEFAULT '0', - `f28` tinyint(2) NULL DEFAULT '0', - `f28t` tinyint(2) NULL DEFAULT '0', - `f29` tinyint(2) NULL DEFAULT '0', - `f29t` tinyint(2) NULL DEFAULT '0', - `f30` tinyint(2) NULL DEFAULT '0', - `f30t` tinyint(2) NULL DEFAULT '0', - `f31` tinyint(2) NULL DEFAULT '0', - `f31t` tinyint(2) NULL DEFAULT '0', - `f32` tinyint(2) NULL DEFAULT '0', - `f32t` tinyint(2) NULL DEFAULT '0', - `f33` tinyint(2) NULL DEFAULT '0', - `f33t` tinyint(2) NULL DEFAULT '0', - `f34` tinyint(2) NULL DEFAULT '0', - `f34t` tinyint(2) NULL DEFAULT '0', - `f35` tinyint(2) NULL DEFAULT '0', - `f35t` tinyint(2) NULL DEFAULT '0', - `f36` tinyint(2) NULL DEFAULT '0', - `f36t` tinyint(2) NULL DEFAULT '0', - `f37` tinyint(2) NULL DEFAULT '0', - `f37t` tinyint(2) NULL DEFAULT '0', - `f38` tinyint(2) NULL DEFAULT '0', - `f38t` tinyint(2) NULL DEFAULT '0', - `f39` tinyint(2) NULL DEFAULT '0', - `f39t` tinyint(2) NULL DEFAULT '0', - `f40` tinyint(2) NULL DEFAULT '0', - `f40t` tinyint(2) NULL DEFAULT '0', - `f99` tinyint(2) NULL DEFAULT '0', - `f99t` tinyint(2) NULL DEFAULT '0', - `wwname` varchar(100) NULL DEFAULT 'World Wonder', + `vref` int(11) unsigned NOT NULL, + `f1` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f1t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f2` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f2t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f3` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f3t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f4` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f4t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f5` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f5t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f6` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f6t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f7` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f7t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f8` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f8t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f9` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f9t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f10` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f10t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f11` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f11t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f12` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f12t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f13` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f13t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f14` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f14t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f15` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f15t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f16` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f16t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f17` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f17t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f18` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f18t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f19` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f19t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f20` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f20t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f21` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f21t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f22` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f22t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f23` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f23t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f24` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f24t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f25` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f25t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f26` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f26t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f27` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f27t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f28` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f28t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f29` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f29t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f30` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f30t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f31` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f31t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f32` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f32t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f33` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f33t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f34` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f34t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f35` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f35t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f36` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f36t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f37` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f37t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f38` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f38t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f39` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f39t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f40` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f40t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f99` tinyint(2) unsigned NOT NULL DEFAULT '0', + `f99t` tinyint(2) unsigned NOT NULL DEFAULT '0', + `wwname` varchar(100) unsigned NOT NULL DEFAULT 'World Wonder', PRIMARY KEY (`vref`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; @@ -689,12 +689,12 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%fdata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%forum_cat` ( - `id` int(11) NULL AUTO_INCREMENT, - `owner` varchar(255) NULL, - `alliance` varchar(255) NULL, - `forum_name` varchar(255) NULL, - `forum_des` text NULL, - `forum_area` varchar(255) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `owner` varchar(255) unsigned NOT NULL, + `alliance` varchar(255) unsigned NOT NULL, + `forum_name` varchar(255) unsigned NOT NULL, + `forum_des` text unsigned NOT NULL, + `forum_area` varchar(255) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -710,9 +710,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_cat` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%forum_edit` ( - `id` int(11) NULL AUTO_INCREMENT, - `alliance` varchar(255) NULL, - `result` varchar(255) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `alliance` varchar(255) unsigned NOT NULL, + `result` varchar(255) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -728,15 +728,15 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_edit` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%forum_post` ( - `id` int(11) NULL AUTO_INCREMENT, - `post` longtext NULL, - `topic` varchar(255) NULL, - `owner` varchar(255) NULL, - `date` varchar(255) NULL, - `alliance0` int(11) NULL, - `player0` int(11) NULL, - `coor0` int(11) NULL, - `report0` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `post` longtext unsigned NOT NULL, + `topic` varchar(255) unsigned NOT NULL, + `owner` varchar(255) unsigned NOT NULL, + `date` varchar(255) unsigned NOT NULL, + `alliance0` int(11) unsigned NOT NULL, + `player0` int(11) unsigned NOT NULL, + `coor0` int(11) unsigned NOT NULL, + `report0` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -752,26 +752,26 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_post` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%forum_survey` ( - `topic` int(11) NULL, - `title` varchar(255) NULL, - `option1` varchar(255) NULL, - `option2` varchar(255) NULL, - `option3` varchar(255) NULL, - `option4` varchar(255) NULL, - `option5` varchar(255) NULL, - `option6` varchar(255) NULL, - `option7` varchar(255) NULL, - `option8` varchar(255) NULL, - `vote1` int(11) NULL DEFAULT '0', - `vote2` int(11) NULL DEFAULT '0', - `vote3` int(11) NULL DEFAULT '0', - `vote4` int(11) NULL DEFAULT '0', - `vote5` int(11) NULL DEFAULT '0', - `vote6` int(11) NULL DEFAULT '0', - `vote7` int(11) NULL DEFAULT '0', - `vote8` int(11) NULL DEFAULT '0', - `voted` text NULL, - `ends` int(11) NULL + `topic` int(11) unsigned NOT NULL, + `title` varchar(255) unsigned NOT NULL, + `option1` varchar(255) unsigned NOT NULL, + `option2` varchar(255) unsigned NOT NULL, + `option3` varchar(255) unsigned NOT NULL, + `option4` varchar(255) unsigned NOT NULL, + `option5` varchar(255) unsigned NOT NULL, + `option6` varchar(255) unsigned NOT NULL, + `option7` varchar(255) unsigned NOT NULL, + `option8` varchar(255) unsigned NOT NULL, + `vote1` int(11) unsigned NOT NULL DEFAULT '0', + `vote2` int(11) unsigned NOT NULL DEFAULT '0', + `vote3` int(11) unsigned NOT NULL DEFAULT '0', + `vote4` int(11) unsigned NOT NULL DEFAULT '0', + `vote5` int(11) unsigned NOT NULL DEFAULT '0', + `vote6` int(11) unsigned NOT NULL DEFAULT '0', + `vote7` int(11) unsigned NOT NULL DEFAULT '0', + `vote8` int(11) unsigned NOT NULL DEFAULT '0', + `voted` text unsigned NOT NULL, + `ends` int(11) unsigned NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- @@ -786,21 +786,21 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_survey` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%forum_topic` ( - `id` int(11) NULL AUTO_INCREMENT, - `title` varchar(255) NULL, - `post` longtext NULL, - `date` varchar(255) NULL, - `post_date` varchar(255) NULL, - `cat` varchar(255) NULL, - `owner` varchar(255) NULL, - `alliance` varchar(255) NULL, - `ends` varchar(255) NULL, - `close` varchar(255) NULL, - `stick` varchar(255) NULL, - `alliance0` int(11) NULL, - `player0` int(11) NULL, - `coor0` int(11) NULL, - `report0` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `title` varchar(255) unsigned NOT NULL, + `post` longtext unsigned NOT NULL, + `date` varchar(255) unsigned NOT NULL, + `post_date` varchar(255) unsigned NOT NULL, + `cat` varchar(255) unsigned NOT NULL, + `owner` varchar(255) unsigned NOT NULL, + `alliance` varchar(255) unsigned NOT NULL, + `ends` varchar(255) unsigned NOT NULL, + `close` varchar(255) unsigned NOT NULL, + `stick` varchar(255) unsigned NOT NULL, + `alliance0` int(11) unsigned NOT NULL, + `player0` int(11) unsigned NOT NULL, + `coor0` int(11) unsigned NOT NULL, + `report0` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -816,10 +816,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_topic` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%general` ( - `id` int(11) NULL AUTO_INCREMENT, - `casualties` int(11) NULL, - `time` int(11) NULL, - `shown` tinyint(1) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `casualties` int(11) unsigned NOT NULL, + `time` int(11) unsigned NOT NULL, + `shown` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -835,9 +835,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%general` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%gold_fin_log` ( - `id` int(11) NULL AUTO_INCREMENT, - `wid` int(11) NULL, - `log` text NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `wid` int(11) unsigned NOT NULL, + `log` text unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -853,26 +853,26 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%gold_fin_log` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%hero` ( - `heroid` int(11) NULL AUTO_INCREMENT, - `uid` int(11) NULL, - `unit` smallint(2) NULL, - `name` tinytext NULL, - `wref` int(11) NULL, - `level` tinyint(3) NULL, - `points` int(3) NULL, - `experience` int(11) NULL, - `dead` tinyint(1) NULL, - `health` float(12,9) NULL, - `attack` tinyint(3) NULL, - `defence` tinyint(3) NULL, - `attackbonus` tinyint(3) NULL, - `defencebonus` tinyint(3) NULL, - `regeneration` tinyint(3) NULL, - `autoregen` int(2) NULL, - `lastupdate` int(11) NULL, - `trainingtime` int(11) NULL, - `inrevive` tinyint(1) NULL, - `intraining` tinyint(1) NULL, + `heroid` int(11) unsigned NOT NULL AUTO_INCREMENT, + `uid` int(11) unsigned NOT NULL, + `unit` smallint(2) unsigned NOT NULL, + `name` tinytext unsigned NOT NULL, + `wref` int(11) unsigned NOT NULL, + `level` tinyint(3) unsigned NOT NULL, + `points` int(3) unsigned NOT NULL, + `experience` int(11) unsigned NOT NULL, + `dead` tinyint(1) unsigned NOT NULL, + `health` float(12,9) unsigned NOT NULL, + `attack` tinyint(3) unsigned NOT NULL, + `defence` tinyint(3) unsigned NOT NULL, + `attackbonus` tinyint(3) unsigned NOT NULL, + `defencebonus` tinyint(3) unsigned NOT NULL, + `regeneration` tinyint(3) unsigned NOT NULL, + `autoregen` int(2) unsigned NOT NULL, + `lastupdate` int(11) unsigned NOT NULL, + `trainingtime` int(11) unsigned NOT NULL, + `inrevive` tinyint(1) unsigned NOT NULL, + `intraining` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`heroid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1; @@ -889,9 +889,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%hero` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%illegal_log` ( - `id` int(11) NULL AUTO_INCREMENT, - `user` int(11) NULL, - `log` text NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `user` int(11) unsigned NOT NULL, + `log` text unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -907,9 +907,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%illegal_log` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%login_log` ( - `id` int(11) NULL AUTO_INCREMENT, - `uid` int(11) NULL, - `ip` varchar(15) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `uid` int(11) unsigned NOT NULL, + `ip` varchar(15) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -925,16 +925,16 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%login_log` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%market` ( - `id` int(11) NULL AUTO_INCREMENT, - `vref` int(11) NULL, - `gtype` tinyint(1) NULL, - `gamt` int(11) NULL, - `wtype` tinyint(1) NULL, - `wamt` int(11) NULL, - `accept` tinyint(1) NULL, - `maxtime` int(11) NULL, - `alliance` int(11) NULL, - `merchant` tinyint(2) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `vref` int(11) unsigned NOT NULL, + `gtype` tinyint(1) unsigned NOT NULL, + `gamt` int(11) unsigned NOT NULL, + `wtype` tinyint(1) unsigned NOT NULL, + `wamt` int(11) unsigned NOT NULL, + `accept` tinyint(1) unsigned NOT NULL, + `maxtime` int(11) unsigned NOT NULL, + `alliance` int(11) unsigned NOT NULL, + `merchant` tinyint(2) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -950,9 +950,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%market` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%market_log` ( - `id` int(11) NULL AUTO_INCREMENT, - `wid` int(11) NULL, - `log` text NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `wid` int(11) unsigned NOT NULL, + `log` text unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -968,21 +968,21 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%market_log` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%mdata` ( - `id` int(11) NULL AUTO_INCREMENT, - `target` int(11) NULL, - `owner` int(11) NULL, - `topic` varchar(100) NULL, - `message` text NULL, - `viewed` tinyint(1) NULL, - `archived` tinyint(1) NULL, - `send` tinyint(1) NULL, - `time` int(11) NULL DEFAULT '0', - `deltarget` int(11) NULL, - `delowner` int(11) NULL, - `alliance` int(11) NULL, - `player` int(11) NULL, - `coor` int(11) NULL, - `report` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `target` int(11) unsigned NOT NULL, + `owner` int(11) unsigned NOT NULL, + `topic` varchar(100) unsigned NOT NULL, + `message` text unsigned NOT NULL, + `viewed` tinyint(1) unsigned NOT NULL, + `archived` tinyint(1) unsigned NOT NULL, + `send` tinyint(1) unsigned NOT NULL, + `time` int(11) unsigned NOT NULL DEFAULT '0', + `deltarget` int(11) unsigned NOT NULL, + `delowner` int(11) unsigned NOT NULL, + `alliance` int(11) unsigned NOT NULL, + `player` int(11) unsigned NOT NULL, + `coor` int(11) unsigned NOT NULL, + `report` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -998,14 +998,14 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%mdata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%medal` ( - `id` int(11) NULL AUTO_INCREMENT, - `userid` int(11) NULL, - `categorie` int(11) NULL, - `plaats` int(11) NULL, - `week` int(11) NULL, - `points` varchar(15) NULL, - `img` varchar(10) NULL, - `del` tinyint(1) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `userid` int(11) unsigned NOT NULL, + `categorie` int(11) unsigned NOT NULL, + `plaats` int(11) unsigned NOT NULL, + `week` int(11) unsigned NOT NULL, + `points` varchar(15) unsigned NOT NULL, + `img` varchar(10) unsigned NOT NULL, + `del` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1021,20 +1021,20 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%medal` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%movement` ( - `moveid` int(11) NULL AUTO_INCREMENT, - `sort_type` tinyint(4) NULL DEFAULT '0', - `from` int(11) NULL DEFAULT '0', - `to` int(11) NULL DEFAULT '0', - `ref` int(11) NULL DEFAULT '0', - `ref2` int(11) NULL DEFAULT '0', - `starttime` int(11) NULL DEFAULT '0', - `endtime` int(11) NULL DEFAULT '0', - `proc` tinyint(1) NULL DEFAULT '0', - `send` tinyint(1) NULL, - `wood` int(11) NULL, - `clay` int(11) NULL, - `iron` int(11) NULL, - `crop` int(11) NULL, + `moveid` int(11) unsigned NOT NULL AUTO_INCREMENT, + `sort_type` tinyint(4) unsigned NOT NULL DEFAULT '0', + `from` int(11) unsigned NOT NULL DEFAULT '0', + `to` int(11) unsigned NOT NULL DEFAULT '0', + `ref` int(11) unsigned NOT NULL DEFAULT '0', + `ref2` int(11) unsigned NOT NULL DEFAULT '0', + `starttime` int(11) unsigned NOT NULL DEFAULT '0', + `endtime` int(11) unsigned NOT NULL DEFAULT '0', + `proc` tinyint(1) unsigned NOT NULL DEFAULT '0', + `send` tinyint(1) unsigned NOT NULL, + `wood` int(11) unsigned NOT NULL, + `clay` int(11) unsigned NOT NULL, + `iron` int(11) unsigned NOT NULL, + `crop` int(11) unsigned NOT NULL, PRIMARY KEY (`moveid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1050,17 +1050,17 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%movement` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%ndata` ( - `id` int(11) NULL AUTO_INCREMENT, - `uid` int(11) NULL, - `toWref` int(11) NULL, - `ally` int(11) NULL, - `topic` text NULL, - `ntype` tinyint(1) NULL, - `data` text NULL, - `time` int(11) NULL, - `viewed` tinyint(1) NULL, - `archive` tinyint(1) NULL, - `del` tinyint(1) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `uid` int(11) unsigned NOT NULL, + `toWref` int(11) unsigned NOT NULL, + `ally` int(11) unsigned NOT NULL, + `topic` text unsigned NOT NULL, + `ntype` tinyint(1) unsigned NOT NULL, + `data` text unsigned NOT NULL, + `time` int(11) unsigned NOT NULL, + `viewed` tinyint(1) unsigned NOT NULL, + `archive` tinyint(1) unsigned NOT NULL, + `del` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1076,21 +1076,21 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%ndata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%odata` ( - `wref` int(11) NULL, - `type` tinyint(2) NULL, - `conqured` int(11) NULL, - `wood` int(11) NULL, - `iron` int(11) NULL, - `clay` int(11) NULL, - `maxstore` int(11) NULL, - `crop` int(11) NULL, - `maxcrop` int(11) NULL, - `lastupdated` int(11) NULL, - `lastupdated2` int(11) NULL, - `loyalty` float(9,6) NULL DEFAULT '100', - `owner` int(11) NULL DEFAULT '2', - `name` varchar(32) NULL DEFAULT 'Unoccupied Oasis', - `high` tinyint(1) NULL, + `wref` int(11) unsigned NOT NULL, + `type` tinyint(2) unsigned NOT NULL, + `conqured` int(11) unsigned NOT NULL, + `wood` int(11) unsigned NOT NULL, + `iron` int(11) unsigned NOT NULL, + `clay` int(11) unsigned NOT NULL, + `maxstore` int(11) unsigned NOT NULL, + `crop` int(11) unsigned NOT NULL, + `maxcrop` int(11) unsigned NOT NULL, + `lastupdated` int(11) unsigned NOT NULL, + `lastupdated2` int(11) unsigned NOT NULL, + `loyalty` float(9,6) unsigned NOT NULL DEFAULT '100', + `owner` int(11) unsigned NOT NULL DEFAULT '2', + `name` varchar(32) unsigned NOT NULL DEFAULT 'Unoccupied Oasis', + `high` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`wref`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -1106,10 +1106,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%odata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%online` ( - `name` varchar(32) NULL, - `uid` int(11) NULL, - `time` varchar(32) NULL, - `sit` tinyint(1) NULL, + `name` varchar(32) unsigned NOT NULL, + `uid` int(11) unsigned NOT NULL, + `time` varchar(32) unsigned NOT NULL, + `sit` tinyint(1) unsigned NOT NULL, UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -1124,20 +1124,20 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%online` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%prisoners` ( - `id` int(11) NULL AUTO_INCREMENT, - `wref` int(11) NULL, - `from` int(11) NULL, - `t1` int(11) NULL, - `t2` int(11) NULL, - `t3` int(11) NULL, - `t4` int(11) NULL, - `t5` int(11) NULL, - `t6` int(11) NULL, - `t7` int(11) NULL, - `t8` int(11) NULL, - `t9` int(11) NULL, - `t10` int(11) NULL, - `t11` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `wref` int(11) unsigned NOT NULL, + `from` int(11) unsigned NOT NULL, + `t1` int(11) unsigned NOT NULL, + `t2` int(11) unsigned NOT NULL, + `t3` int(11) unsigned NOT NULL, + `t4` int(11) unsigned NOT NULL, + `t5` int(11) unsigned NOT NULL, + `t6` int(11) unsigned NOT NULL, + `t7` int(11) unsigned NOT NULL, + `t8` int(11) unsigned NOT NULL, + `t9` int(11) unsigned NOT NULL, + `t10` int(11) unsigned NOT NULL, + `t11` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1153,22 +1153,22 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%prisoners` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%raidlist` ( - `id` int(11) NULL AUTO_INCREMENT, - `lid` int(11) NULL, - `towref` int(11) NULL, - `x` int(11) NULL, - `y` int(11) NULL, - `distance` varchar(5) NULL DEFAULT '0', - `t1` int(11) NULL, - `t2` int(11) NULL, - `t3` int(11) NULL, - `t4` int(11) NULL, - `t5` int(11) NULL, - `t6` int(11) NULL, - `t7` int(11) NULL, - `t8` int(11) NULL, - `t9` int(11) NULL, - `t10` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `lid` int(11) unsigned NOT NULL, + `towref` int(11) unsigned NOT NULL, + `x` int(11) unsigned NOT NULL, + `y` int(11) unsigned NOT NULL, + `distance` varchar(5) unsigned NOT NULL DEFAULT '0', + `t1` int(11) unsigned NOT NULL, + `t2` int(11) unsigned NOT NULL, + `t3` int(11) unsigned NOT NULL, + `t4` int(11) unsigned NOT NULL, + `t5` int(11) unsigned NOT NULL, + `t6` int(11) unsigned NOT NULL, + `t7` int(11) unsigned NOT NULL, + `t8` int(11) unsigned NOT NULL, + `t9` int(11) unsigned NOT NULL, + `t10` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1184,10 +1184,10 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%raidlist` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%research` ( - `id` int(11) NULL AUTO_INCREMENT, - `vref` int(11) NULL, - `tech` varchar(3) NULL, - `timestamp` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `vref` int(11) unsigned NOT NULL, + `tech` varchar(3) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1203,19 +1203,19 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%research` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%route` ( - `id` int(11) NULL AUTO_INCREMENT, - `uid` int(11) NULL, - `wid` int(11) NULL, - `from` int(11) NULL, - `wood` int(5) NULL, - `clay` int(5) NULL, - `iron` int(5) NULL, - `crop` int(5) NULL, - `start` tinyint(2) NULL, - `deliveries` tinyint(1) NULL, - `merchant` int(11) NULL, - `timestamp` int(11) NULL, - `timeleft` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `uid` int(11) unsigned NOT NULL, + `wid` int(11) unsigned NOT NULL, + `from` int(11) unsigned NOT NULL, + `wood` int(5) unsigned NOT NULL, + `clay` int(5) unsigned NOT NULL, + `iron` int(5) unsigned NOT NULL, + `crop` int(5) unsigned NOT NULL, + `start` tinyint(2) unsigned NOT NULL, + `deliveries` tinyint(1) unsigned NOT NULL, + `merchant` int(11) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL, + `timeleft` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1231,12 +1231,12 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%route` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%send` ( - `id` int(11) NULL AUTO_INCREMENT, - `wood` int(11) NULL, - `clay` int(11) NULL, - `iron` int(11) NULL, - `crop` int(11) NULL, - `merchant` tinyint(2) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `wood` int(11) unsigned NOT NULL, + `clay` int(11) unsigned NOT NULL, + `iron` int(11) unsigned NOT NULL, + `crop` int(11) unsigned NOT NULL, + `merchant` tinyint(2) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1252,47 +1252,47 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%send` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%tdata` ( - `vref` int(11) NULL, - `t2` tinyint(1) NULL DEFAULT '0', - `t3` tinyint(1) NULL DEFAULT '0', - `t4` tinyint(1) NULL DEFAULT '0', - `t5` tinyint(1) NULL DEFAULT '0', - `t6` tinyint(1) NULL DEFAULT '0', - `t7` tinyint(1) NULL DEFAULT '0', - `t8` tinyint(1) NULL DEFAULT '0', - `t9` tinyint(1) NULL DEFAULT '0', - `t12` tinyint(1) NULL DEFAULT '0', - `t13` tinyint(1) NULL DEFAULT '0', - `t14` tinyint(1) NULL DEFAULT '0', - `t15` tinyint(1) NULL DEFAULT '0', - `t16` tinyint(1) NULL DEFAULT '0', - `t17` tinyint(1) NULL DEFAULT '0', - `t18` tinyint(1) NULL DEFAULT '0', - `t19` tinyint(1) NULL DEFAULT '0', - `t22` tinyint(1) NULL DEFAULT '0', - `t23` tinyint(1) NULL DEFAULT '0', - `t24` tinyint(1) NULL DEFAULT '0', - `t25` tinyint(1) NULL DEFAULT '0', - `t26` tinyint(1) NULL DEFAULT '0', - `t27` tinyint(1) NULL DEFAULT '0', - `t28` tinyint(1) NULL DEFAULT '0', - `t29` tinyint(1) NULL DEFAULT '0', - `t32` tinyint(1) NULL DEFAULT '0', - `t33` tinyint(1) NULL DEFAULT '0', - `t34` tinyint(1) NULL DEFAULT '0', - `t35` tinyint(1) NULL DEFAULT '0', - `t36` tinyint(1) NULL DEFAULT '0', - `t37` tinyint(1) NULL DEFAULT '0', - `t38` tinyint(1) NULL DEFAULT '0', - `t39` tinyint(1) NULL DEFAULT '0', - `t42` tinyint(1) NULL DEFAULT '0', - `t43` tinyint(1) NULL DEFAULT '0', - `t44` tinyint(1) NULL DEFAULT '0', - `t45` tinyint(1) NULL DEFAULT '0', - `t46` tinyint(1) NULL DEFAULT '0', - `t47` tinyint(1) NULL DEFAULT '0', - `t48` tinyint(1) NULL DEFAULT '0', - `t49` tinyint(1) NULL DEFAULT '0', + `vref` int(11) unsigned NOT NULL, + `t2` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t3` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t4` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t5` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t6` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t7` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t8` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t9` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t12` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t13` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t14` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t15` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t16` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t17` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t18` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t19` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t22` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t23` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t24` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t25` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t26` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t27` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t28` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t29` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t32` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t33` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t34` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t35` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t36` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t37` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t38` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t39` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t42` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t43` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t44` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t45` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t46` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t47` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t48` tinyint(1) unsigned NOT NULL DEFAULT '0', + `t49` tinyint(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`vref`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -1308,9 +1308,9 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%tdata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%tech_log` ( - `id` int(11) NULL AUTO_INCREMENT, - `wid` int(11) NULL, - `log` text NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `wid` int(11) unsigned NOT NULL, + `log` text unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1326,14 +1326,14 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%tech_log` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%training` ( - `id` int(11) NULL AUTO_INCREMENT, - `vref` int(11) NULL, - `unit` tinyint(2) NULL, - `amt` int(11) NULL, - `pop` int(11) NULL, - `timestamp` int(11) NULL, - `eachtime` int(11) NULL, - `timestamp2` int(11) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `vref` int(11) unsigned NOT NULL, + `unit` tinyint(2) unsigned NOT NULL, + `amt` int(11) unsigned NOT NULL, + `pop` int(11) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL, + `eachtime` int(11) unsigned NOT NULL, + `timestamp2` int(11) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1349,60 +1349,60 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%training` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%units` ( - `vref` int(11) NULL, - `u1` int(11) NULL DEFAULT '0', - `u2` int(11) NULL DEFAULT '0', - `u3` int(11) NULL DEFAULT '0', - `u4` int(11) NULL DEFAULT '0', - `u5` int(11) NULL DEFAULT '0', - `u6` int(11) NULL DEFAULT '0', - `u7` int(11) NULL DEFAULT '0', - `u8` int(11) NULL DEFAULT '0', - `u9` int(11) NULL DEFAULT '0', - `u10` int(11) NULL DEFAULT '0', - `u11` int(11) NULL DEFAULT '0', - `u12` int(11) NULL DEFAULT '0', - `u13` int(11) NULL DEFAULT '0', - `u14` int(11) NULL DEFAULT '0', - `u15` int(11) NULL DEFAULT '0', - `u16` int(11) NULL DEFAULT '0', - `u17` int(11) NULL DEFAULT '0', - `u18` int(11) NULL DEFAULT '0', - `u19` int(11) NULL DEFAULT '0', - `u20` int(11) NULL DEFAULT '0', - `u21` int(11) NULL DEFAULT '0', - `u22` int(11) NULL DEFAULT '0', - `u23` int(11) NULL DEFAULT '0', - `u24` int(11) NULL DEFAULT '0', - `u25` int(11) NULL DEFAULT '0', - `u26` int(11) NULL DEFAULT '0', - `u27` int(11) NULL DEFAULT '0', - `u28` int(11) NULL DEFAULT '0', - `u29` int(11) NULL DEFAULT '0', - `u30` int(11) NULL DEFAULT '0', - `u31` int(11) NULL DEFAULT '0', - `u32` int(11) NULL DEFAULT '0', - `u33` int(11) NULL DEFAULT '0', - `u34` int(11) NULL DEFAULT '0', - `u35` int(11) NULL DEFAULT '0', - `u36` int(11) NULL DEFAULT '0', - `u37` int(11) NULL DEFAULT '0', - `u38` int(11) NULL DEFAULT '0', - `u39` int(11) NULL DEFAULT '0', - `u40` int(11) NULL DEFAULT '0', - `u41` int(11) NULL DEFAULT '0', - `u42` int(11) NULL DEFAULT '0', - `u43` int(11) NULL DEFAULT '0', - `u44` int(11) NULL DEFAULT '0', - `u45` int(11) NULL DEFAULT '0', - `u46` int(11) NULL DEFAULT '0', - `u47` int(11) NULL DEFAULT '0', - `u48` int(11) NULL DEFAULT '0', - `u49` int(11) NULL DEFAULT '0', - `u50` int(11) NULL DEFAULT '0', - `u99` int(11) NULL DEFAULT '0', - `u99o` int(11) NULL DEFAULT '0', - `hero` int(11) NULL DEFAULT '0', + `vref` int(11) unsigned NOT NULL, + `u1` int(11) unsigned NOT NULL DEFAULT '0', + `u2` int(11) unsigned NOT NULL DEFAULT '0', + `u3` int(11) unsigned NOT NULL DEFAULT '0', + `u4` int(11) unsigned NOT NULL DEFAULT '0', + `u5` int(11) unsigned NOT NULL DEFAULT '0', + `u6` int(11) unsigned NOT NULL DEFAULT '0', + `u7` int(11) unsigned NOT NULL DEFAULT '0', + `u8` int(11) unsigned NOT NULL DEFAULT '0', + `u9` int(11) unsigned NOT NULL DEFAULT '0', + `u10` int(11) unsigned NOT NULL DEFAULT '0', + `u11` int(11) unsigned NOT NULL DEFAULT '0', + `u12` int(11) unsigned NOT NULL DEFAULT '0', + `u13` int(11) unsigned NOT NULL DEFAULT '0', + `u14` int(11) unsigned NOT NULL DEFAULT '0', + `u15` int(11) unsigned NOT NULL DEFAULT '0', + `u16` int(11) unsigned NOT NULL DEFAULT '0', + `u17` int(11) unsigned NOT NULL DEFAULT '0', + `u18` int(11) unsigned NOT NULL DEFAULT '0', + `u19` int(11) unsigned NOT NULL DEFAULT '0', + `u20` int(11) unsigned NOT NULL DEFAULT '0', + `u21` int(11) unsigned NOT NULL DEFAULT '0', + `u22` int(11) unsigned NOT NULL DEFAULT '0', + `u23` int(11) unsigned NOT NULL DEFAULT '0', + `u24` int(11) unsigned NOT NULL DEFAULT '0', + `u25` int(11) unsigned NOT NULL DEFAULT '0', + `u26` int(11) unsigned NOT NULL DEFAULT '0', + `u27` int(11) unsigned NOT NULL DEFAULT '0', + `u28` int(11) unsigned NOT NULL DEFAULT '0', + `u29` int(11) unsigned NOT NULL DEFAULT '0', + `u30` int(11) unsigned NOT NULL DEFAULT '0', + `u31` int(11) unsigned NOT NULL DEFAULT '0', + `u32` int(11) unsigned NOT NULL DEFAULT '0', + `u33` int(11) unsigned NOT NULL DEFAULT '0', + `u34` int(11) unsigned NOT NULL DEFAULT '0', + `u35` int(11) unsigned NOT NULL DEFAULT '0', + `u36` int(11) unsigned NOT NULL DEFAULT '0', + `u37` int(11) unsigned NOT NULL DEFAULT '0', + `u38` int(11) unsigned NOT NULL DEFAULT '0', + `u39` int(11) unsigned NOT NULL DEFAULT '0', + `u40` int(11) unsigned NOT NULL DEFAULT '0', + `u41` int(11) unsigned NOT NULL DEFAULT '0', + `u42` int(11) unsigned NOT NULL DEFAULT '0', + `u43` int(11) unsigned NOT NULL DEFAULT '0', + `u44` int(11) unsigned NOT NULL DEFAULT '0', + `u45` int(11) unsigned NOT NULL DEFAULT '0', + `u46` int(11) unsigned NOT NULL DEFAULT '0', + `u47` int(11) unsigned NOT NULL DEFAULT '0', + `u48` int(11) unsigned NOT NULL DEFAULT '0', + `u49` int(11) unsigned NOT NULL DEFAULT '0', + `u50` int(11) unsigned NOT NULL DEFAULT '0', + `u99` int(11) unsigned NOT NULL DEFAULT '0', + `u99o` int(11) unsigned NOT NULL DEFAULT '0', + `hero` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`vref`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -1418,92 +1418,92 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%units` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%users` ( - `id` int(11) NULL AUTO_INCREMENT, - `username` varchar(100) NULL, - `password` varchar(100) NULL, - `email` text NULL, - `tribe` tinyint(1) NULL, - `access` tinyint(1) NULL DEFAULT '1', - `gold` int(9) NULL DEFAULT '0', - `gender` tinyint(1) NULL DEFAULT '0', - `birthday` date NULL DEFAULT '0000-00-00', - `location` text NULL, - `desc1` text NULL, - `desc2` text NULL, - `plus` int(11) NULL DEFAULT '0', - `goldclub` int(11) NULL DEFAULT '0', - `b1` int(11) NULL DEFAULT '0', - `b2` int(11) NULL DEFAULT '0', - `b3` int(11) NULL DEFAULT '0', - `b4` int(11) NULL DEFAULT '0', - `sit1` int(11) NULL DEFAULT '0', - `sit2` int(11) NULL DEFAULT '0', - `alliance` int(11) NULL DEFAULT '0', - `sessid` varchar(100) NULL, - `act` varchar(10) NULL, - `timestamp` int(11) NULL DEFAULT '0', - `ap` int(11) NULL DEFAULT '0', - `apall` int(11) NULL DEFAULT '0', - `dp` int(11) NULL DEFAULT '0', - `dpall` int(11) NULL DEFAULT '0', - `protect` int(11) NULL, - `quest` tinyint(2) NULL, - `quest_time` int(11) NULL, - `gpack` varchar(255) NULL DEFAULT 'gpack/travian_default/', - `cp` float(14,5) NULL DEFAULT '1', - `lastupdate` int(11) NULL, - `RR` int(255) NULL DEFAULT '0', - `Rc` int(255) NULL DEFAULT '0', - `ok` tinyint(1) NULL DEFAULT '0', - `clp` bigint(255) NULL DEFAULT '0', - `oldrank` bigint(255) NULL DEFAULT '0', - `regtime` int(11) NULL DEFAULT '0', - `invited` int(11) NULL DEFAULT '0', - `friend0` int(11) NULL, - `friend1` int(11) NULL, - `friend2` int(11) NULL, - `friend3` int(11) NULL, - `friend4` int(11) NULL, - `friend5` int(11) NULL, - `friend6` int(11) NULL, - `friend7` int(11) NULL, - `friend8` int(11) NULL, - `friend9` int(11) NULL, - `friend10` int(11) NULL, - `friend11` int(11) NULL, - `friend12` int(11) NULL, - `friend13` int(11) NULL, - `friend14` int(11) NULL, - `friend15` int(11) NULL, - `friend16` int(11) NULL, - `friend17` int(11) NULL, - `friend18` int(11) NULL, - `friend19` int(11) NULL, - `friend0wait` int(11) NULL, - `friend1wait` int(11) NULL, - `friend2wait` int(11) NULL, - `friend3wait` int(11) NULL, - `friend4wait` int(11) NULL, - `friend5wait` int(11) NULL, - `friend6wait` int(11) NULL, - `friend7wait` int(11) NULL, - `friend8wait` int(11) NULL, - `friend9wait` int(11) NULL, - `friend10wait` int(11) NULL, - `friend11wait` int(11) NULL, - `friend12wait` int(11) NULL, - `friend13wait` int(11) NULL, - `friend14wait` int(11) NULL, - `friend15wait` int(11) NULL, - `friend16wait` int(11) NULL, - `friend17wait` int(11) NULL, - `friend18wait` int(11) NULL, - `friend19wait` int(11) NULL, - `maxevasion` mediumint(3) NULL, - `village_select` bigint(20) DEFAULT NULL, - `vac_time` varchar(255) NULL, - `vac_mode` int(2) NULL DEFAULT '0', - `vactwoweeks` varchar(255) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `username` varchar(100) unsigned NOT NULL, + `password` varchar(100) unsigned NOT NULL, + `email` text unsigned NOT NULL, + `tribe` tinyint(1) unsigned NOT NULL, + `access` tinyint(1) unsigned NOT NULL DEFAULT '1', + `gold` int(9) unsigned NOT NULL DEFAULT '0', + `gender` tinyint(1) unsigned NOT NULL DEFAULT '0', + `birthday` date unsigned NOT NULL DEFAULT '0000-00-00', + `location` text unsigned NOT NULL, + `desc1` text unsigned NOT NULL, + `desc2` text unsigned NOT NULL, + `plus` int(11) unsigned NOT NULL DEFAULT '0', + `goldclub` int(11) unsigned NOT NULL DEFAULT '0', + `b1` int(11) unsigned NOT NULL DEFAULT '0', + `b2` int(11) unsigned NOT NULL DEFAULT '0', + `b3` int(11) unsigned NOT NULL DEFAULT '0', + `b4` int(11) unsigned NOT NULL DEFAULT '0', + `sit1` int(11) unsigned NOT NULL DEFAULT '0', + `sit2` int(11) unsigned NOT NULL DEFAULT '0', + `alliance` int(11) unsigned NOT NULL DEFAULT '0', + `sessid` varchar(100) unsigned NOT NULL, + `act` varchar(10) unsigned NOT NULL, + `timestamp` int(11) unsigned NOT NULL DEFAULT '0', + `ap` int(11) unsigned NOT NULL DEFAULT '0', + `apall` int(11) unsigned NOT NULL DEFAULT '0', + `dp` int(11) unsigned NOT NULL DEFAULT '0', + `dpall` int(11) unsigned NOT NULL DEFAULT '0', + `protect` int(11) unsigned NOT NULL, + `quest` tinyint(2) unsigned NOT NULL, + `quest_time` int(11) unsigned NOT NULL, + `gpack` varchar(255) unsigned NOT NULL DEFAULT 'gpack/travian_default/', + `cp` float(14,5) unsigned NOT NULL DEFAULT '1', + `lastupdate` int(11) unsigned NOT NULL, + `RR` int(255) unsigned NOT NULL DEFAULT '0', + `Rc` int(255) unsigned NOT NULL DEFAULT '0', + `ok` tinyint(1) unsigned NOT NULL DEFAULT '0', + `clp` bigint(255) unsigned NOT NULL DEFAULT '0', + `oldrank` bigint(255) unsigned NOT NULL DEFAULT '0', + `regtime` int(11) unsigned NOT NULL DEFAULT '0', + `invited` int(11) unsigned NOT NULL DEFAULT '0', + `friend0` int(11) unsigned NOT NULL, + `friend1` int(11) unsigned NOT NULL, + `friend2` int(11) unsigned NOT NULL, + `friend3` int(11) unsigned NOT NULL, + `friend4` int(11) unsigned NOT NULL, + `friend5` int(11) unsigned NOT NULL, + `friend6` int(11) unsigned NOT NULL, + `friend7` int(11) unsigned NOT NULL, + `friend8` int(11) unsigned NOT NULL, + `friend9` int(11) unsigned NOT NULL, + `friend10` int(11) unsigned NOT NULL, + `friend11` int(11) unsigned NOT NULL, + `friend12` int(11) unsigned NOT NULL, + `friend13` int(11) unsigned NOT NULL, + `friend14` int(11) unsigned NOT NULL, + `friend15` int(11) unsigned NOT NULL, + `friend16` int(11) unsigned NOT NULL, + `friend17` int(11) unsigned NOT NULL, + `friend18` int(11) unsigned NOT NULL, + `friend19` int(11) unsigned NOT NULL, + `friend0wait` int(11) unsigned NOT NULL, + `friend1wait` int(11) unsigned NOT NULL, + `friend2wait` int(11) unsigned NOT NULL, + `friend3wait` int(11) unsigned NOT NULL, + `friend4wait` int(11) unsigned NOT NULL, + `friend5wait` int(11) unsigned NOT NULL, + `friend6wait` int(11) unsigned NOT NULL, + `friend7wait` int(11) unsigned NOT NULL, + `friend8wait` int(11) unsigned NOT NULL, + `friend9wait` int(11) unsigned NOT NULL, + `friend10wait` int(11) unsigned NOT NULL, + `friend11wait` int(11) unsigned NOT NULL, + `friend12wait` int(11) unsigned NOT NULL, + `friend13wait` int(11) unsigned NOT NULL, + `friend14wait` int(11) unsigned NOT NULL, + `friend15wait` int(11) unsigned NOT NULL, + `friend16wait` int(11) unsigned NOT NULL, + `friend17wait` int(11) unsigned NOT NULL, + `friend18wait` int(11) unsigned NOT NULL, + `friend19wait` int(11) unsigned NOT NULL, + `maxevasion` mediumint(3) unsigned NOT NULL, + `village_select` bigint(20) DEFAULT unsigned NOT NULL, + `vac_time` varchar(255) unsigned NOT NULL, + `vac_mode` int(2) unsigned NOT NULL DEFAULT '0', + `vactwoweeks` varchar(255) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; @@ -1524,31 +1524,31 @@ INSERT INTO `%PREFIX%users` (`id`, `username`, `password`, `email`, `tribe`, `ac -- CREATE TABLE IF NOT EXISTS `%PREFIX%vdata` ( -`wref` int(11) NULL, -`owner` int(11) NULL, -`name` varchar(100) NULL, -`capital` tinyint(1) NULL, -`pop` int(11) NULL, -`cp` int(11) NULL, -`celebration` int(11) NULL DEFAULT '0', -`type` int(11) NULL DEFAULT '0', -`wood` float(12,2) NULL, -`clay` float(12,2) NULL, -`iron` float(12,2) NULL, -`maxstore` int(11) NULL, -`crop` float(12,2) NULL, -`maxcrop` int(11) NULL, -`lastupdate` int(11) NULL, -`lastupdate2` int(11) NULL, -`loyalty` float(9,6) NULL DEFAULT '100', -`exp1` int(11) NULL, -`exp2` int(11) NULL, -`exp3` int(11) NULL, -`created` int(11) NULL, -`natar` tinyint(1) NULL, -`starv` int(11) NULL, -`starvupdate` int(11) NULL, -`evasion` tinyint(1) NULL, +`wref` int(11) unsigned NOT NULL, +`owner` int(11) unsigned NOT NULL, +`name` varchar(100) unsigned NOT NULL, +`capital` tinyint(1) unsigned NOT NULL, +`pop` int(11) unsigned NOT NULL, +`cp` int(11) unsigned NOT NULL, +`celebration` int(11) unsigned NOT NULL DEFAULT '0', +`type` int(11) unsigned NOT NULL DEFAULT '0', +`wood` float(12,2) unsigned NOT NULL, +`clay` float(12,2) unsigned NOT NULL, +`iron` float(12,2) unsigned NOT NULL, +`maxstore` int(11) unsigned NOT NULL, +`crop` float(12,2) unsigned NOT NULL, +`maxcrop` int(11) unsigned NOT NULL, +`lastupdate` int(11) unsigned NOT NULL, +`lastupdate2` int(11) unsigned NOT NULL, +`loyalty` float(9,6) unsigned NOT NULL DEFAULT '100', +`exp1` int(11) unsigned NOT NULL, +`exp2` int(11) unsigned NOT NULL, +`exp3` int(11) unsigned NOT NULL, +`created` int(11) unsigned NOT NULL, +`natar` tinyint(1) unsigned NOT NULL, +`starv` int(11) unsigned NOT NULL, +`starvupdate` int(11) unsigned NOT NULL, +`evasion` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`wref`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1564,13 +1564,13 @@ PRIMARY KEY (`wref`) -- CREATE TABLE IF NOT EXISTS `%PREFIX%wdata` ( - `id` int(11) NULL AUTO_INCREMENT, - `fieldtype` tinyint(2) NULL, - `oasistype` tinyint(2) NULL, - `x` int(11) NULL, - `y` int(11) NULL, - `occupied` tinyint(1) NULL, - `image` varchar(3) NULL, + `id` int(11) unsigned NOT NULL AUTO_INCREMENT, + `fieldtype` tinyint(2) unsigned NOT NULL, + `oasistype` tinyint(2) unsigned NOT NULL, + `x` int(11) unsigned NOT NULL, + `y` int(11) unsigned NOT NULL, + `occupied` tinyint(1) unsigned NOT NULL, + `image` varchar(3) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; @@ -1584,11 +1584,11 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%wdata` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%password` ( - `uid` int(11) NULL, - `npw` varchar(100) NULL, - `cpw` varchar(100) NULL, - `used` tinyint(1) NULL DEFAULT '0', - `timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + `uid` int(11) unsigned NOT NULL, + `npw` varchar(100) unsigned NOT NULL, + `cpw` varchar(100) unsigned NOT NULL, + `used` tinyint(1) unsigned NOT NULL DEFAULT '0', + `timestamp` timestamp unsigned NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`uid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; @@ -1602,8 +1602,8 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%password` ( -- CREATE TABLE IF NOT EXISTS `%PREFIX%ww_attacks` ( - `vid` int(25) NULL, - `attack_time` int(25) NULL + `vid` int(25) unsigned NOT NULL, + `attack_time` int(25) unsigned NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; -- diff --git a/install/data/sql_good.sql b/install/data/sql_good.sql new file mode 100644 index 00000000..16f1d38a --- /dev/null +++ b/install/data/sql_good.sql @@ -0,0 +1,1613 @@ +-- phpMyAdmin SQL Dump +-- version 3.3.9 +-- http://www.phpmyadmin.net +-- +-- Host: localhost +-- Generation Time: Jul 21, 2011 at 02:49 AM +-- Server version: 5.5.8 +-- PHP Version: 5.3.5 + +SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%a2b` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%a2b` ( + `id` int(11) NULL AUTO_INCREMENT, + `ckey` varchar(255) NULL, + `time_check` int(11) NULL DEFAULT '0', + `to_vid` int(11) NULL, + `u1` int(11) NULL, + `u2` int(11) NULL, + `u3` int(11) NULL, + `u4` int(11) NULL, + `u5` int(11) NULL, + `u6` int(11) NULL, + `u7` int(11) NULL, + `u8` int(11) NULL, + `u9` int(11) NULL, + `u10` int(11) NULL, + `u11` int(11) NULL, + `type` smallint(1) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%a2b` +-- + +-- +-- Table structure for table `%PREFIX%links` +-- + +CREATE TABLE `%PREFIX%links` ( + `id` INT( 25 ) NULL AUTO_INCREMENT PRIMARY KEY , + `userid` INT( 25 ) NULL , + `name` VARCHAR( 50 ) NULL , + `url` VARCHAR( 150 ) NULL , + `pos` INT( 10 ) NULL +) ENGINE = MYISAM; + +-- +-- Dumping data for table `%PREFIX%links` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%abdata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%abdata` ( + `vref` int(11) NULL, + `a1` tinyint(2) NULL DEFAULT '0', + `a2` tinyint(2) NULL DEFAULT '0', + `a3` tinyint(2) NULL DEFAULT '0', + `a4` tinyint(2) NULL DEFAULT '0', + `a5` tinyint(2) NULL DEFAULT '0', + `a6` tinyint(2) NULL DEFAULT '0', + `a7` tinyint(2) NULL DEFAULT '0', + `a8` tinyint(2) NULL DEFAULT '0', + `b1` tinyint(2) NULL DEFAULT '0', + `b2` tinyint(2) NULL DEFAULT '0', + `b3` tinyint(2) NULL DEFAULT '0', + `b4` tinyint(2) NULL DEFAULT '0', + `b5` tinyint(2) NULL DEFAULT '0', + `b6` tinyint(2) NULL DEFAULT '0', + `b7` tinyint(2) NULL DEFAULT '0', + `b8` tinyint(2) NULL DEFAULT '0', + PRIMARY KEY (`vref`) +) ENGINE=MYISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%abdata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%activate` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%activate` ( + `id` int(255) NULL AUTO_INCREMENT, + `username` varchar(100) NULL, + `password` varchar(100) NULL, + `email` text NULL, + `tribe` tinyint(1) NULL, + `access` tinyint(1) NULL DEFAULT '1', + `act` varchar(10) NULL, + `timestamp` int(11) NULL DEFAULT '0', + `location` text NULL, + `act2` varchar(10) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%activate` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%active` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%active` ( + `username` varchar(100) NULL, + `timestamp` int(11) NULL, + PRIMARY KEY (`username`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `%PREFIX%active` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%admin_log` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%admin_log` ( + `id` int(11) NULL AUTO_INCREMENT, + `user` text NULL, + `log` text NULL, + `time` int(25) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=80 ; + +-- +-- Dumping data for table `%PREFIX%admin_log` +-- + + +-- -------------------------------------------------------- +-- +-- Table structure for table `%PREFIX%allimedal` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%allimedal` ( + `id` int(11) NULL AUTO_INCREMENT, + `allyid` int(11) NULL, + `categorie` int(11) NULL, + `plaats` int(11) NULL, + `week` int(11) NULL, + `points` bigint(255) NULL, + `img` varchar(255) NULL, + `del` tinyint(1) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%artefacts` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts` ( + `id` int(11) NULL AUTO_INCREMENT, + `vref` int(11) NULL, + `owner` int(11) NULL, + `type` tinyint(2) NULL, + `size` tinyint(1) NULL, + `conquered` int(11) NULL, + `name` varchar(100) NULL, + `desc` text NULL, + `effect` varchar(100) NULL, + `img` varchar(20) NULL, + `active` tinyint(1) NULL, + `kind` tinyint(1) NULL, + `bad_effect` tinyint(1) NULL, + `effect2` tinyint(2) NULL, + `lastupdate` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MYISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Table structure for table `s1_artefacts` +-- +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%alidata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%alidata` ( + `id` int(11) NULL AUTO_INCREMENT, + `name` varchar(100) NULL, + `tag` varchar(100) NULL, + `leader` int(11) NULL, + `coor` int(11) NULL, + `advisor` int(11) NULL, + `recruiter` int(11) NULL, + `notice` text NULL, + `desc` text NULL, + `max` tinyint(2) NULL, + `ap` bigint(255) NULL DEFAULT '0', + `dp` bigint(255) NULL DEFAULT '0', + `Rc` bigint(255) NULL DEFAULT '0', + `RR` bigint(255) NULL DEFAULT '0', + `Aap` bigint(255) NULL DEFAULT '0', + `Adp` bigint(255) NULL DEFAULT '0', + `clp` bigint(255) NULL DEFAULT '0', + `oldrank` bigint(255) NULL DEFAULT '0', + `forumlink` varchar(150) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%alidata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%ali_invite` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%ali_invite` ( + `id` int(11) NULL AUTO_INCREMENT, + `uid` int(11) NULL, + `alliance` int(11) NULL, + `sender` int(11) NULL, + `timestamp` int(11) NULL, + `accept` int(1) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%ali_invite` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%ali_log` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%ali_log` ( + `id` int(11) NULL AUTO_INCREMENT, + `aid` int(11) NULL, + `comment` text NULL, + `date` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%ali_log` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%ali_permission` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%ali_permission` ( + `id` int(11) NULL AUTO_INCREMENT, + `uid` int(11) NULL, + `alliance` int(11) NULL, + `rank` varchar(100) NULL, + `opt1` int(1) NULL DEFAULT '0', + `opt2` int(1) NULL DEFAULT '0', + `opt3` int(1) NULL DEFAULT '0', + `opt4` int(1) NULL DEFAULT '0', + `opt5` int(1) NULL DEFAULT '0', + `opt6` int(1) NULL DEFAULT '0', + `opt7` int(1) NULL DEFAULT '0', + `opt8` int(1) NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%ali_permission` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%attacks` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%attacks` ( + `id` int(11) NULL AUTO_INCREMENT, + `vref` int(11) NULL, + `t1` int(11) NULL, + `t2` int(11) NULL, + `t3` int(11) NULL, + `t4` int(11) NULL, + `t5` int(11) NULL, + `t6` int(11) NULL, + `t7` int(11) NULL, + `t8` int(11) NULL, + `t9` int(11) NULL, + `t10` int(11) NULL, + `t11` int(11) NULL, + `attack_type` tinyint(1) NULL, + `ctar1` int(11) NULL, + `ctar2` int(11) NULL, + `spy` int(11) NULL, + `b1` tinyint(1) NULL, + `b2` tinyint(1) NULL, + `b3` tinyint(1) NULL, + `b4` tinyint(1) NULL, + `b5` tinyint(1) NULL, + `b6` tinyint(1) NULL, + `b7` tinyint(1) NULL, + `b8` tinyint(1) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%attacks` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%banlist` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%banlist` ( + `id` int(11) NULL AUTO_INCREMENT, + `uid` int(11) NULL, + `name` varchar(100) NULL, + `reason` varchar(30) NULL, + `time` int(11) NULL, + `end` varchar(10) NULL, + `admin` int(11) NULL, + `active` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%banlist` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%bdata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%bdata` ( + `id` int(11) NULL AUTO_INCREMENT, + `wid` int(11) NULL, + `field` tinyint(2) NULL, + `type` tinyint(2) NULL, + `loopcon` tinyint(1) NULL, + `timestamp` int(11) NULL, + `master` tinyint(1) NULL, + `level` tinyint(3) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%bdata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%build_log` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%build_log` ( + `id` int(11) NULL AUTO_INCREMENT, + `wid` int(11) NULL, + `log` text NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%build_log` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%chat` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%chat` ( + `id` int(20) NULL AUTO_INCREMENT, + `id_user` int(11) NULL, + `name` varchar(255) NULL, + `alli` varchar(255) NULL, + `date` varchar(255) NULL, + `msg` varchar(255) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%chat` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%config` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%config` ( + `lastgavemedal` int(11) NULL +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; +INSERT INTO `%PREFIX%config` VALUES (0); + +-- +-- Dumping data for table `%prefix%config` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%deleting` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%deleting` ( + `uid` int(11) NULL, + `timestamp` int(11) NULL, + PRIMARY KEY (`uid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `%prefix%deleting` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%demolition` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%demolition` ( + `vref` int(11) NULL, + `buildnumber` int(11) NULL DEFAULT '0', + `lvl` int(11) NULL DEFAULT '0', + `timetofinish` int(11) NULL, + PRIMARY KEY (`vref`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%demolition` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%diplomacy` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%diplomacy` ( + `id` int(11) NULL AUTO_INCREMENT, + `alli1` int(11) NULL, + `alli2` int(11) NULL, + `type` tinyint(1) NULL, + `accepted` tinyint(1) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; +-- +-- Dumping data for table `%prefix%diplomacy` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%enforcement` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%enforcement` ( + `id` int(11) NULL AUTO_INCREMENT, + `u1` int(11) NULL DEFAULT '0', + `u2` int(11) NULL DEFAULT '0', + `u3` int(11) NULL DEFAULT '0', + `u4` int(11) NULL DEFAULT '0', + `u5` int(11) NULL DEFAULT '0', + `u6` int(11) NULL DEFAULT '0', + `u7` int(11) NULL DEFAULT '0', + `u8` int(11) NULL DEFAULT '0', + `u9` int(11) NULL DEFAULT '0', + `u10` int(11) NULL DEFAULT '0', + `u11` int(11) NULL DEFAULT '0', + `u12` int(11) NULL DEFAULT '0', + `u13` int(11) NULL DEFAULT '0', + `u14` int(11) NULL DEFAULT '0', + `u15` int(11) NULL DEFAULT '0', + `u16` int(11) NULL DEFAULT '0', + `u17` int(11) NULL DEFAULT '0', + `u18` int(11) NULL DEFAULT '0', + `u19` int(11) NULL DEFAULT '0', + `u20` int(11) NULL DEFAULT '0', + `u21` int(11) NULL DEFAULT '0', + `u22` int(11) NULL DEFAULT '0', + `u23` int(11) NULL DEFAULT '0', + `u24` int(11) NULL DEFAULT '0', + `u25` int(11) NULL DEFAULT '0', + `u26` int(11) NULL DEFAULT '0', + `u27` int(11) NULL DEFAULT '0', + `u28` int(11) NULL DEFAULT '0', + `u29` int(11) NULL DEFAULT '0', + `u30` int(11) NULL DEFAULT '0', + `u31` int(11) NULL DEFAULT '0', + `u32` int(11) NULL DEFAULT '0', + `u33` int(11) NULL DEFAULT '0', + `u34` int(11) NULL DEFAULT '0', + `u35` int(11) NULL DEFAULT '0', + `u36` int(11) NULL DEFAULT '0', + `u37` int(11) NULL DEFAULT '0', + `u38` int(11) NULL DEFAULT '0', + `u39` int(11) NULL DEFAULT '0', + `u40` int(11) NULL DEFAULT '0', + `u41` int(11) NULL DEFAULT '0', + `u42` int(11) NULL DEFAULT '0', + `u43` int(11) NULL DEFAULT '0', + `u44` int(11) NULL DEFAULT '0', + `u45` int(11) NULL DEFAULT '0', + `u46` int(11) NULL DEFAULT '0', + `u47` int(11) NULL DEFAULT '0', + `u48` int(11) NULL DEFAULT '0', + `u49` int(11) NULL DEFAULT '0', + `u50` int(11) NULL DEFAULT '0', + `hero` tinyint(1) NULL DEFAULT '0', + `from` int(11) NULL DEFAULT '0', + `vref` int(11) NULL DEFAULT '0', + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%enforcement` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%farmlist` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%farmlist` ( + `id` int(11) NULL AUTO_INCREMENT, + `wref` int(11) NULL, + `owner` int(11) NULL, + `name` varchar(100) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%farmlist` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%fdata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%fdata` ( + `vref` int(11) NULL, + `f1` tinyint(2) NULL DEFAULT '0', + `f1t` tinyint(2) NULL DEFAULT '0', + `f2` tinyint(2) NULL DEFAULT '0', + `f2t` tinyint(2) NULL DEFAULT '0', + `f3` tinyint(2) NULL DEFAULT '0', + `f3t` tinyint(2) NULL DEFAULT '0', + `f4` tinyint(2) NULL DEFAULT '0', + `f4t` tinyint(2) NULL DEFAULT '0', + `f5` tinyint(2) NULL DEFAULT '0', + `f5t` tinyint(2) NULL DEFAULT '0', + `f6` tinyint(2) NULL DEFAULT '0', + `f6t` tinyint(2) NULL DEFAULT '0', + `f7` tinyint(2) NULL DEFAULT '0', + `f7t` tinyint(2) NULL DEFAULT '0', + `f8` tinyint(2) NULL DEFAULT '0', + `f8t` tinyint(2) NULL DEFAULT '0', + `f9` tinyint(2) NULL DEFAULT '0', + `f9t` tinyint(2) NULL DEFAULT '0', + `f10` tinyint(2) NULL DEFAULT '0', + `f10t` tinyint(2) NULL DEFAULT '0', + `f11` tinyint(2) NULL DEFAULT '0', + `f11t` tinyint(2) NULL DEFAULT '0', + `f12` tinyint(2) NULL DEFAULT '0', + `f12t` tinyint(2) NULL DEFAULT '0', + `f13` tinyint(2) NULL DEFAULT '0', + `f13t` tinyint(2) NULL DEFAULT '0', + `f14` tinyint(2) NULL DEFAULT '0', + `f14t` tinyint(2) NULL DEFAULT '0', + `f15` tinyint(2) NULL DEFAULT '0', + `f15t` tinyint(2) NULL DEFAULT '0', + `f16` tinyint(2) NULL DEFAULT '0', + `f16t` tinyint(2) NULL DEFAULT '0', + `f17` tinyint(2) NULL DEFAULT '0', + `f17t` tinyint(2) NULL DEFAULT '0', + `f18` tinyint(2) NULL DEFAULT '0', + `f18t` tinyint(2) NULL DEFAULT '0', + `f19` tinyint(2) NULL DEFAULT '0', + `f19t` tinyint(2) NULL DEFAULT '0', + `f20` tinyint(2) NULL DEFAULT '0', + `f20t` tinyint(2) NULL DEFAULT '0', + `f21` tinyint(2) NULL DEFAULT '0', + `f21t` tinyint(2) NULL DEFAULT '0', + `f22` tinyint(2) NULL DEFAULT '0', + `f22t` tinyint(2) NULL DEFAULT '0', + `f23` tinyint(2) NULL DEFAULT '0', + `f23t` tinyint(2) NULL DEFAULT '0', + `f24` tinyint(2) NULL DEFAULT '0', + `f24t` tinyint(2) NULL DEFAULT '0', + `f25` tinyint(2) NULL DEFAULT '0', + `f25t` tinyint(2) NULL DEFAULT '0', + `f26` tinyint(2) NULL DEFAULT '0', + `f26t` tinyint(2) NULL DEFAULT '0', + `f27` tinyint(2) NULL DEFAULT '0', + `f27t` tinyint(2) NULL DEFAULT '0', + `f28` tinyint(2) NULL DEFAULT '0', + `f28t` tinyint(2) NULL DEFAULT '0', + `f29` tinyint(2) NULL DEFAULT '0', + `f29t` tinyint(2) NULL DEFAULT '0', + `f30` tinyint(2) NULL DEFAULT '0', + `f30t` tinyint(2) NULL DEFAULT '0', + `f31` tinyint(2) NULL DEFAULT '0', + `f31t` tinyint(2) NULL DEFAULT '0', + `f32` tinyint(2) NULL DEFAULT '0', + `f32t` tinyint(2) NULL DEFAULT '0', + `f33` tinyint(2) NULL DEFAULT '0', + `f33t` tinyint(2) NULL DEFAULT '0', + `f34` tinyint(2) NULL DEFAULT '0', + `f34t` tinyint(2) NULL DEFAULT '0', + `f35` tinyint(2) NULL DEFAULT '0', + `f35t` tinyint(2) NULL DEFAULT '0', + `f36` tinyint(2) NULL DEFAULT '0', + `f36t` tinyint(2) NULL DEFAULT '0', + `f37` tinyint(2) NULL DEFAULT '0', + `f37t` tinyint(2) NULL DEFAULT '0', + `f38` tinyint(2) NULL DEFAULT '0', + `f38t` tinyint(2) NULL DEFAULT '0', + `f39` tinyint(2) NULL DEFAULT '0', + `f39t` tinyint(2) NULL DEFAULT '0', + `f40` tinyint(2) NULL DEFAULT '0', + `f40t` tinyint(2) NULL DEFAULT '0', + `f99` tinyint(2) NULL DEFAULT '0', + `f99t` tinyint(2) NULL DEFAULT '0', + `wwname` varchar(100) NULL DEFAULT 'World Wonder', + PRIMARY KEY (`vref`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; + +-- +-- Dumping data for table `%prefix%fdata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%forum_cat` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%forum_cat` ( + `id` int(11) NULL AUTO_INCREMENT, + `owner` varchar(255) NULL, + `alliance` varchar(255) NULL, + `forum_name` varchar(255) NULL, + `forum_des` text NULL, + `forum_area` varchar(255) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%forum_cat` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%forum_edit` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%forum_edit` ( + `id` int(11) NULL AUTO_INCREMENT, + `alliance` varchar(255) NULL, + `result` varchar(255) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%forum_edit` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%forum_post` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%forum_post` ( + `id` int(11) NULL AUTO_INCREMENT, + `post` longtext NULL, + `topic` varchar(255) NULL, + `owner` varchar(255) NULL, + `date` varchar(255) NULL, + `alliance0` int(11) NULL, + `player0` int(11) NULL, + `coor0` int(11) NULL, + `report0` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%forum_post` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%forum_survey` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%forum_survey` ( + `topic` int(11) NULL, + `title` varchar(255) NULL, + `option1` varchar(255) NULL, + `option2` varchar(255) NULL, + `option3` varchar(255) NULL, + `option4` varchar(255) NULL, + `option5` varchar(255) NULL, + `option6` varchar(255) NULL, + `option7` varchar(255) NULL, + `option8` varchar(255) NULL, + `vote1` int(11) NULL DEFAULT '0', + `vote2` int(11) NULL DEFAULT '0', + `vote3` int(11) NULL DEFAULT '0', + `vote4` int(11) NULL DEFAULT '0', + `vote5` int(11) NULL DEFAULT '0', + `vote6` int(11) NULL DEFAULT '0', + `vote7` int(11) NULL DEFAULT '0', + `vote8` int(11) NULL DEFAULT '0', + `voted` text NULL, + `ends` int(11) NULL +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%forum_survey` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%forum_topic` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%forum_topic` ( + `id` int(11) NULL AUTO_INCREMENT, + `title` varchar(255) NULL, + `post` longtext NULL, + `date` varchar(255) NULL, + `post_date` varchar(255) NULL, + `cat` varchar(255) NULL, + `owner` varchar(255) NULL, + `alliance` varchar(255) NULL, + `ends` varchar(255) NULL, + `close` varchar(255) NULL, + `stick` varchar(255) NULL, + `alliance0` int(11) NULL, + `player0` int(11) NULL, + `coor0` int(11) NULL, + `report0` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%forum_topic` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%general` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%general` ( + `id` int(11) NULL AUTO_INCREMENT, + `casualties` int(11) NULL, + `time` int(11) NULL, + `shown` tinyint(1) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%general` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%gold_fin_log` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%gold_fin_log` ( + `id` int(11) NULL AUTO_INCREMENT, + `wid` int(11) NULL, + `log` text NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%gold_fin_log` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%hero` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%hero` ( + `heroid` int(11) NULL AUTO_INCREMENT, + `uid` int(11) NULL, + `unit` smallint(2) NULL, + `name` tinytext NULL, + `wref` int(11) NULL, + `level` tinyint(3) NULL, + `points` int(3) NULL, + `experience` int(11) NULL, + `dead` tinyint(1) NULL, + `health` float(12,9) NULL, + `attack` tinyint(3) NULL, + `defence` tinyint(3) NULL, + `attackbonus` tinyint(3) NULL, + `defencebonus` tinyint(3) NULL, + `regeneration` tinyint(3) NULL, + `autoregen` int(2) NULL, + `lastupdate` int(11) NULL, + `trainingtime` int(11) NULL, + `inrevive` tinyint(1) NULL, + `intraining` tinyint(1) NULL, + PRIMARY KEY (`heroid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1; + +-- +-- Dumping data for table `%prefix%hero` +-- + + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%illegal_log` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%illegal_log` ( + `id` int(11) NULL AUTO_INCREMENT, + `user` int(11) NULL, + `log` text NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%illegal_log` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%login_log` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%login_log` ( + `id` int(11) NULL AUTO_INCREMENT, + `uid` int(11) NULL, + `ip` varchar(15) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%login_log` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%market` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%market` ( + `id` int(11) NULL AUTO_INCREMENT, + `vref` int(11) NULL, + `gtype` tinyint(1) NULL, + `gamt` int(11) NULL, + `wtype` tinyint(1) NULL, + `wamt` int(11) NULL, + `accept` tinyint(1) NULL, + `maxtime` int(11) NULL, + `alliance` int(11) NULL, + `merchant` tinyint(2) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%market` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%market_log` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%market_log` ( + `id` int(11) NULL AUTO_INCREMENT, + `wid` int(11) NULL, + `log` text NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%market_log` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%mdata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%mdata` ( + `id` int(11) NULL AUTO_INCREMENT, + `target` int(11) NULL, + `owner` int(11) NULL, + `topic` varchar(100) NULL, + `message` text NULL, + `viewed` tinyint(1) NULL, + `archived` tinyint(1) NULL, + `send` tinyint(1) NULL, + `time` int(11) NULL DEFAULT '0', + `deltarget` int(11) NULL, + `delowner` int(11) NULL, + `alliance` int(11) NULL, + `player` int(11) NULL, + `coor` int(11) NULL, + `report` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%mdata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%medal` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%medal` ( + `id` int(11) NULL AUTO_INCREMENT, + `userid` int(11) NULL, + `categorie` int(11) NULL, + `plaats` int(11) NULL, + `week` int(11) NULL, + `points` varchar(15) NULL, + `img` varchar(10) NULL, + `del` tinyint(1) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%medal` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%movement` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%movement` ( + `moveid` int(11) NULL AUTO_INCREMENT, + `sort_type` tinyint(4) NULL DEFAULT '0', + `from` int(11) NULL DEFAULT '0', + `to` int(11) NULL DEFAULT '0', + `ref` int(11) NULL DEFAULT '0', + `ref2` int(11) NULL DEFAULT '0', + `starttime` int(11) NULL DEFAULT '0', + `endtime` int(11) NULL DEFAULT '0', + `proc` tinyint(1) NULL DEFAULT '0', + `send` tinyint(1) NULL, + `wood` int(11) NULL, + `clay` int(11) NULL, + `iron` int(11) NULL, + `crop` int(11) NULL, + PRIMARY KEY (`moveid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%movement` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%ndata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%ndata` ( + `id` int(11) NULL AUTO_INCREMENT, + `uid` int(11) NULL, + `toWref` int(11) NULL, + `ally` int(11) NULL, + `topic` text NULL, + `ntype` tinyint(1) NULL, + `data` text NULL, + `time` int(11) NULL, + `viewed` tinyint(1) NULL, + `archive` tinyint(1) NULL, + `del` tinyint(1) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%ndata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%odata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%odata` ( + `wref` int(11) NULL, + `type` tinyint(2) NULL, + `conqured` int(11) NULL, + `wood` int(11) NULL, + `iron` int(11) NULL, + `clay` int(11) NULL, + `maxstore` int(11) NULL, + `crop` int(11) NULL, + `maxcrop` int(11) NULL, + `lastupdated` int(11) NULL, + `lastupdated2` int(11) NULL, + `loyalty` float(9,6) NULL DEFAULT '100', + `owner` int(11) NULL DEFAULT '2', + `name` varchar(32) NULL DEFAULT 'Unoccupied Oasis', + `high` tinyint(1) NULL, + PRIMARY KEY (`wref`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `%prefix%odata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%online` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%online` ( + `name` varchar(32) NULL, + `uid` int(11) NULL, + `time` varchar(32) NULL, + `sit` tinyint(1) NULL, + UNIQUE KEY `name` (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `%prefix%online` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%prisoners` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%prisoners` ( + `id` int(11) NULL AUTO_INCREMENT, + `wref` int(11) NULL, + `from` int(11) NULL, + `t1` int(11) NULL, + `t2` int(11) NULL, + `t3` int(11) NULL, + `t4` int(11) NULL, + `t5` int(11) NULL, + `t6` int(11) NULL, + `t7` int(11) NULL, + `t8` int(11) NULL, + `t9` int(11) NULL, + `t10` int(11) NULL, + `t11` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%PREFIX%prisoners` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%raidlist` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%raidlist` ( + `id` int(11) NULL AUTO_INCREMENT, + `lid` int(11) NULL, + `towref` int(11) NULL, + `x` int(11) NULL, + `y` int(11) NULL, + `distance` varchar(5) NULL DEFAULT '0', + `t1` int(11) NULL, + `t2` int(11) NULL, + `t3` int(11) NULL, + `t4` int(11) NULL, + `t5` int(11) NULL, + `t6` int(11) NULL, + `t7` int(11) NULL, + `t8` int(11) NULL, + `t9` int(11) NULL, + `t10` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%raidlist` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%research` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%research` ( + `id` int(11) NULL AUTO_INCREMENT, + `vref` int(11) NULL, + `tech` varchar(3) NULL, + `timestamp` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%research` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%route` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%route` ( + `id` int(11) NULL AUTO_INCREMENT, + `uid` int(11) NULL, + `wid` int(11) NULL, + `from` int(11) NULL, + `wood` int(5) NULL, + `clay` int(5) NULL, + `iron` int(5) NULL, + `crop` int(5) NULL, + `start` tinyint(2) NULL, + `deliveries` tinyint(1) NULL, + `merchant` int(11) NULL, + `timestamp` int(11) NULL, + `timeleft` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%route` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%send` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%send` ( + `id` int(11) NULL AUTO_INCREMENT, + `wood` int(11) NULL, + `clay` int(11) NULL, + `iron` int(11) NULL, + `crop` int(11) NULL, + `merchant` tinyint(2) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%send` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%tdata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%tdata` ( + `vref` int(11) NULL, + `t2` tinyint(1) NULL DEFAULT '0', + `t3` tinyint(1) NULL DEFAULT '0', + `t4` tinyint(1) NULL DEFAULT '0', + `t5` tinyint(1) NULL DEFAULT '0', + `t6` tinyint(1) NULL DEFAULT '0', + `t7` tinyint(1) NULL DEFAULT '0', + `t8` tinyint(1) NULL DEFAULT '0', + `t9` tinyint(1) NULL DEFAULT '0', + `t12` tinyint(1) NULL DEFAULT '0', + `t13` tinyint(1) NULL DEFAULT '0', + `t14` tinyint(1) NULL DEFAULT '0', + `t15` tinyint(1) NULL DEFAULT '0', + `t16` tinyint(1) NULL DEFAULT '0', + `t17` tinyint(1) NULL DEFAULT '0', + `t18` tinyint(1) NULL DEFAULT '0', + `t19` tinyint(1) NULL DEFAULT '0', + `t22` tinyint(1) NULL DEFAULT '0', + `t23` tinyint(1) NULL DEFAULT '0', + `t24` tinyint(1) NULL DEFAULT '0', + `t25` tinyint(1) NULL DEFAULT '0', + `t26` tinyint(1) NULL DEFAULT '0', + `t27` tinyint(1) NULL DEFAULT '0', + `t28` tinyint(1) NULL DEFAULT '0', + `t29` tinyint(1) NULL DEFAULT '0', + `t32` tinyint(1) NULL DEFAULT '0', + `t33` tinyint(1) NULL DEFAULT '0', + `t34` tinyint(1) NULL DEFAULT '0', + `t35` tinyint(1) NULL DEFAULT '0', + `t36` tinyint(1) NULL DEFAULT '0', + `t37` tinyint(1) NULL DEFAULT '0', + `t38` tinyint(1) NULL DEFAULT '0', + `t39` tinyint(1) NULL DEFAULT '0', + `t42` tinyint(1) NULL DEFAULT '0', + `t43` tinyint(1) NULL DEFAULT '0', + `t44` tinyint(1) NULL DEFAULT '0', + `t45` tinyint(1) NULL DEFAULT '0', + `t46` tinyint(1) NULL DEFAULT '0', + `t47` tinyint(1) NULL DEFAULT '0', + `t48` tinyint(1) NULL DEFAULT '0', + `t49` tinyint(1) NULL DEFAULT '0', + PRIMARY KEY (`vref`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `%prefix%tdata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%tech_log` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%tech_log` ( + `id` int(11) NULL AUTO_INCREMENT, + `wid` int(11) NULL, + `log` text NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%tech_log` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%training` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%training` ( + `id` int(11) NULL AUTO_INCREMENT, + `vref` int(11) NULL, + `unit` tinyint(2) NULL, + `amt` int(11) NULL, + `pop` int(11) NULL, + `timestamp` int(11) NULL, + `eachtime` int(11) NULL, + `timestamp2` int(11) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%training` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%units` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%units` ( + `vref` int(11) NULL, + `u1` int(11) NULL DEFAULT '0', + `u2` int(11) NULL DEFAULT '0', + `u3` int(11) NULL DEFAULT '0', + `u4` int(11) NULL DEFAULT '0', + `u5` int(11) NULL DEFAULT '0', + `u6` int(11) NULL DEFAULT '0', + `u7` int(11) NULL DEFAULT '0', + `u8` int(11) NULL DEFAULT '0', + `u9` int(11) NULL DEFAULT '0', + `u10` int(11) NULL DEFAULT '0', + `u11` int(11) NULL DEFAULT '0', + `u12` int(11) NULL DEFAULT '0', + `u13` int(11) NULL DEFAULT '0', + `u14` int(11) NULL DEFAULT '0', + `u15` int(11) NULL DEFAULT '0', + `u16` int(11) NULL DEFAULT '0', + `u17` int(11) NULL DEFAULT '0', + `u18` int(11) NULL DEFAULT '0', + `u19` int(11) NULL DEFAULT '0', + `u20` int(11) NULL DEFAULT '0', + `u21` int(11) NULL DEFAULT '0', + `u22` int(11) NULL DEFAULT '0', + `u23` int(11) NULL DEFAULT '0', + `u24` int(11) NULL DEFAULT '0', + `u25` int(11) NULL DEFAULT '0', + `u26` int(11) NULL DEFAULT '0', + `u27` int(11) NULL DEFAULT '0', + `u28` int(11) NULL DEFAULT '0', + `u29` int(11) NULL DEFAULT '0', + `u30` int(11) NULL DEFAULT '0', + `u31` int(11) NULL DEFAULT '0', + `u32` int(11) NULL DEFAULT '0', + `u33` int(11) NULL DEFAULT '0', + `u34` int(11) NULL DEFAULT '0', + `u35` int(11) NULL DEFAULT '0', + `u36` int(11) NULL DEFAULT '0', + `u37` int(11) NULL DEFAULT '0', + `u38` int(11) NULL DEFAULT '0', + `u39` int(11) NULL DEFAULT '0', + `u40` int(11) NULL DEFAULT '0', + `u41` int(11) NULL DEFAULT '0', + `u42` int(11) NULL DEFAULT '0', + `u43` int(11) NULL DEFAULT '0', + `u44` int(11) NULL DEFAULT '0', + `u45` int(11) NULL DEFAULT '0', + `u46` int(11) NULL DEFAULT '0', + `u47` int(11) NULL DEFAULT '0', + `u48` int(11) NULL DEFAULT '0', + `u49` int(11) NULL DEFAULT '0', + `u50` int(11) NULL DEFAULT '0', + `u99` int(11) NULL DEFAULT '0', + `u99o` int(11) NULL DEFAULT '0', + `hero` int(11) NULL DEFAULT '0', + PRIMARY KEY (`vref`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `%prefix%units` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%PREFIX%users` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%users` ( + `id` int(11) NULL AUTO_INCREMENT, + `username` varchar(100) NULL, + `password` varchar(100) NULL, + `email` text NULL, + `tribe` tinyint(1) NULL, + `access` tinyint(1) NULL DEFAULT '1', + `gold` int(9) NULL DEFAULT '0', + `gender` tinyint(1) NULL DEFAULT '0', + `birthday` date NULL DEFAULT '0000-00-00', + `location` text NULL, + `desc1` text NULL, + `desc2` text NULL, + `plus` int(11) NULL DEFAULT '0', + `goldclub` int(11) NULL DEFAULT '0', + `b1` int(11) NULL DEFAULT '0', + `b2` int(11) NULL DEFAULT '0', + `b3` int(11) NULL DEFAULT '0', + `b4` int(11) NULL DEFAULT '0', + `sit1` int(11) NULL DEFAULT '0', + `sit2` int(11) NULL DEFAULT '0', + `alliance` int(11) NULL DEFAULT '0', + `sessid` varchar(100) NULL, + `act` varchar(10) NULL, + `timestamp` int(11) NULL DEFAULT '0', + `ap` int(11) NULL DEFAULT '0', + `apall` int(11) NULL DEFAULT '0', + `dp` int(11) NULL DEFAULT '0', + `dpall` int(11) NULL DEFAULT '0', + `protect` int(11) NULL, + `quest` tinyint(2) NULL, + `quest_time` int(11) NULL, + `gpack` varchar(255) NULL DEFAULT 'gpack/travian_default/', + `cp` float(14,5) NULL DEFAULT '1', + `lastupdate` int(11) NULL, + `RR` int(255) NULL DEFAULT '0', + `Rc` int(255) NULL DEFAULT '0', + `ok` tinyint(1) NULL DEFAULT '0', + `clp` bigint(255) NULL DEFAULT '0', + `oldrank` bigint(255) NULL DEFAULT '0', + `regtime` int(11) NULL DEFAULT '0', + `invited` int(11) NULL DEFAULT '0', + `friend0` int(11) NULL, + `friend1` int(11) NULL, + `friend2` int(11) NULL, + `friend3` int(11) NULL, + `friend4` int(11) NULL, + `friend5` int(11) NULL, + `friend6` int(11) NULL, + `friend7` int(11) NULL, + `friend8` int(11) NULL, + `friend9` int(11) NULL, + `friend10` int(11) NULL, + `friend11` int(11) NULL, + `friend12` int(11) NULL, + `friend13` int(11) NULL, + `friend14` int(11) NULL, + `friend15` int(11) NULL, + `friend16` int(11) NULL, + `friend17` int(11) NULL, + `friend18` int(11) NULL, + `friend19` int(11) NULL, + `friend0wait` int(11) NULL, + `friend1wait` int(11) NULL, + `friend2wait` int(11) NULL, + `friend3wait` int(11) NULL, + `friend4wait` int(11) NULL, + `friend5wait` int(11) NULL, + `friend6wait` int(11) NULL, + `friend7wait` int(11) NULL, + `friend8wait` int(11) NULL, + `friend9wait` int(11) NULL, + `friend10wait` int(11) NULL, + `friend11wait` int(11) NULL, + `friend12wait` int(11) NULL, + `friend13wait` int(11) NULL, + `friend14wait` int(11) NULL, + `friend15wait` int(11) NULL, + `friend16wait` int(11) NULL, + `friend17wait` int(11) NULL, + `friend18wait` int(11) NULL, + `friend19wait` int(11) NULL, + `maxevasion` mediumint(3) NULL, + `village_select` bigint(20) DEFAULT NULL, + `vac_time` varchar(255) NULL, + `vac_mode` int(2) NULL DEFAULT '0', + `vactwoweeks` varchar(255) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; + +-- +-- Dumping data for table `%prefix%users` +-- + +INSERT INTO `%PREFIX%users` (`id`, `username`, `password`, `email`, `tribe`, `access`, `gold`, `gender`, `birthday`, `location`, `desc1`, `desc2`, `plus`, `b1`, `b2`, `b3`, `b4`, `sit1`, `sit2`, `alliance`, `sessid`, `act`, `timestamp`, `ap`, `apall`, `dp`, `dpall`, `protect`, `quest`, `gpack`, `cp`, `lastupdate`, `RR`, `Rc`, `ok`) VALUES +(5, 'Multihunter', '', 'multihunter@travianx.mail', 0, 9, 0, 0, '0000-00-00', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'gpack/travian_default/', 1, 0, 0, 0, 0), +(1, 'Support', '', 'support@travianx.mail', 0, 8, 0, 0, '0000-00-00', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'gpack/travian_default/', 1, 0, 0, 0, 0), +(2, 'Nature', '', 'support@travianx.mail', 4, 8, 0, 0, '0000-00-00', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'gpack/travian_default/', 1, 0, 0, 0, 0), +(4, 'Taskmaster', '', 'support@travianx.mail', 0, 8, 0, 0, '0000-00-00', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'gpack/travian_default/', 1, 0, 0, 0, 0); + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%vdata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%vdata` ( +`wref` int(11) NULL, +`owner` int(11) NULL, +`name` varchar(100) NULL, +`capital` tinyint(1) NULL, +`pop` int(11) NULL, +`cp` int(11) NULL, +`celebration` int(11) NULL DEFAULT '0', +`type` int(11) NULL DEFAULT '0', +`wood` float(12,2) NULL, +`clay` float(12,2) NULL, +`iron` float(12,2) NULL, +`maxstore` int(11) NULL, +`crop` float(12,2) NULL, +`maxcrop` int(11) NULL, +`lastupdate` int(11) NULL, +`lastupdate2` int(11) NULL, +`loyalty` float(9,6) NULL DEFAULT '100', +`exp1` int(11) NULL, +`exp2` int(11) NULL, +`exp3` int(11) NULL, +`created` int(11) NULL, +`natar` tinyint(1) NULL, +`starv` int(11) NULL, +`starvupdate` int(11) NULL, +`evasion` tinyint(1) NULL, +PRIMARY KEY (`wref`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%vdata` +-- + + +-- -------------------------------------------------------- + +-- +-- Table structure for table `%prefix%wdata` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%wdata` ( + `id` int(11) NULL AUTO_INCREMENT, + `fieldtype` tinyint(2) NULL, + `oasistype` tinyint(2) NULL, + `x` int(11) NULL, + `y` int(11) NULL, + `occupied` tinyint(1) NULL, + `image` varchar(3) NULL, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; + +-- +-- Dumping data for table `%prefix%wdata` +-- + +-- -------------------------------------------------------- +-- +-- Table structure for table `%prefix%password` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%password` ( + `uid` int(11) NULL, + `npw` varchar(100) NULL, + `cpw` varchar(100) NULL, + `used` tinyint(1) NULL DEFAULT '0', + `timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, + PRIMARY KEY (`uid`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; + +-- +-- Dumping data for table `%prefix%password` +-- + +-- -------------------------------------------------------- +-- +-- Table structure for table `%prefix%ww_attacks` +-- + +CREATE TABLE IF NOT EXISTS `%PREFIX%ww_attacks` ( + `vid` int(25) NULL, + `attack_time` int(25) NULL +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; + +-- +-- Dumping data for table `%prefix%password` +-- + +-- -------------------------------------------------------- diff --git a/install/data/sql_old.sql b/install/data/sql_old.sql deleted file mode 100644 index a9edcbf4..00000000 --- a/install/data/sql_old.sql +++ /dev/null @@ -1,1613 +0,0 @@ --- phpMyAdmin SQL Dump --- version 3.3.9 --- http://www.phpmyadmin.net --- --- Host: localhost --- Generation Time: Jul 21, 2011 at 02:49 AM --- Server version: 5.5.8 --- PHP Version: 5.3.5 - -SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; - - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8 */; - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%a2b` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%a2b` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `ckey` varchar(255) unsigned NOT NULL, - `time_check` int(11) unsigned NOT NULL DEFAULT '0', - `to_vid` int(11) unsigned NOT NULL, - `u1` int(11) unsigned NOT NULL, - `u2` int(11) unsigned NOT NULL, - `u3` int(11) unsigned NOT NULL, - `u4` int(11) unsigned NOT NULL, - `u5` int(11) unsigned NOT NULL, - `u6` int(11) unsigned NOT NULL, - `u7` int(11) unsigned NOT NULL, - `u8` int(11) unsigned NOT NULL, - `u9` int(11) unsigned NOT NULL, - `u10` int(11) unsigned NOT NULL, - `u11` int(11) unsigned NOT NULL, - `type` smallint(1) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%a2b` --- - --- --- Table structure for table `%PREFIX%links` --- - -CREATE TABLE `%PREFIX%links` ( - `id` INT( 25 ) unsigned NOT NULL AUTO_INCREMENT PRIMARY KEY , - `userid` INT( 25 ) unsigned NOT NULL , - `name` VARCHAR( 50 ) unsigned NOT NULL , - `url` VARCHAR( 150 ) unsigned NOT NULL , - `pos` INT( 10 ) unsigned NOT NULL -) ENGINE = MYISAM; - --- --- Dumping data for table `%PREFIX%links` --- - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%abdata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%abdata` ( - `vref` int(11) unsigned NOT NULL, - `a1` tinyint(2) unsigned NOT NULL DEFAULT '0', - `a2` tinyint(2) unsigned NOT NULL DEFAULT '0', - `a3` tinyint(2) unsigned NOT NULL DEFAULT '0', - `a4` tinyint(2) unsigned NOT NULL DEFAULT '0', - `a5` tinyint(2) unsigned NOT NULL DEFAULT '0', - `a6` tinyint(2) unsigned NOT NULL DEFAULT '0', - `a7` tinyint(2) unsigned NOT NULL DEFAULT '0', - `a8` tinyint(2) unsigned NOT NULL DEFAULT '0', - `b1` tinyint(2) unsigned NOT NULL DEFAULT '0', - `b2` tinyint(2) unsigned NOT NULL DEFAULT '0', - `b3` tinyint(2) unsigned NOT NULL DEFAULT '0', - `b4` tinyint(2) unsigned NOT NULL DEFAULT '0', - `b5` tinyint(2) unsigned NOT NULL DEFAULT '0', - `b6` tinyint(2) unsigned NOT NULL DEFAULT '0', - `b7` tinyint(2) unsigned NOT NULL DEFAULT '0', - `b8` tinyint(2) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`vref`) -) ENGINE=MYISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%abdata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%activate` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%activate` ( - `id` int(255) unsigned NOT NULL AUTO_INCREMENT, - `username` varchar(100) unsigned NOT NULL, - `password` varchar(100) unsigned NOT NULL, - `email` text unsigned NOT NULL, - `tribe` tinyint(1) unsigned NOT NULL, - `access` tinyint(1) unsigned NOT NULL DEFAULT '1', - `act` varchar(10) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL DEFAULT '0', - `location` text unsigned NOT NULL, - `act2` varchar(10) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%activate` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%active` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%active` ( - `username` varchar(100) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL, - PRIMARY KEY (`username`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - --- --- Dumping data for table `%PREFIX%active` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%admin_log` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%admin_log` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `user` text unsigned NOT NULL, - `log` text unsigned NOT NULL, - `time` int(25) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=80 ; - --- --- Dumping data for table `%PREFIX%admin_log` --- - - --- -------------------------------------------------------- --- --- Table structure for table `%PREFIX%allimedal` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%allimedal` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `allyid` int(11) unsigned NOT NULL, - `categorie` int(11) unsigned NOT NULL, - `plaats` int(11) unsigned NOT NULL, - `week` int(11) unsigned NOT NULL, - `points` bigint(255) unsigned NOT NULL, - `img` varchar(255) unsigned NOT NULL, - `del` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%artefacts` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%artefacts` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `vref` int(11) unsigned NOT NULL, - `owner` int(11) unsigned NOT NULL, - `type` tinyint(2) unsigned NOT NULL, - `size` tinyint(1) unsigned NOT NULL, - `conquered` int(11) unsigned NOT NULL, - `name` varchar(100) unsigned NOT NULL, - `desc` text unsigned NOT NULL, - `effect` varchar(100) unsigned NOT NULL, - `img` varchar(20) unsigned NOT NULL, - `active` tinyint(1) unsigned NOT NULL, - `kind` tinyint(1) unsigned NOT NULL, - `bad_effect` tinyint(1) unsigned NOT NULL, - `effect2` tinyint(2) unsigned NOT NULL, - `lastupdate` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MYISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Table structure for table `s1_artefacts` --- --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%alidata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%alidata` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `name` varchar(100) unsigned NOT NULL, - `tag` varchar(100) unsigned NOT NULL, - `leader` int(11) unsigned NOT NULL, - `coor` int(11) unsigned NOT NULL, - `advisor` int(11) unsigned NOT NULL, - `recruiter` int(11) unsigned NOT NULL, - `notice` text unsigned NOT NULL, - `desc` text unsigned NOT NULL, - `max` tinyint(2) unsigned NOT NULL, - `ap` bigint(255) unsigned NOT NULL DEFAULT '0', - `dp` bigint(255) unsigned NOT NULL DEFAULT '0', - `Rc` bigint(255) unsigned NOT NULL DEFAULT '0', - `RR` bigint(255) unsigned NOT NULL DEFAULT '0', - `Aap` bigint(255) unsigned NOT NULL DEFAULT '0', - `Adp` bigint(255) unsigned NOT NULL DEFAULT '0', - `clp` bigint(255) unsigned NOT NULL DEFAULT '0', - `oldrank` bigint(255) unsigned NOT NULL DEFAULT '0', - `forumlink` varchar(150) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%alidata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%ali_invite` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%ali_invite` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `uid` int(11) unsigned NOT NULL, - `alliance` int(11) unsigned NOT NULL, - `sender` int(11) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL, - `accept` int(1) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%ali_invite` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%ali_log` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%ali_log` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `aid` int(11) unsigned NOT NULL, - `comment` text unsigned NOT NULL, - `date` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%ali_log` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%ali_permission` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%ali_permission` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `uid` int(11) unsigned NOT NULL, - `alliance` int(11) unsigned NOT NULL, - `rank` varchar(100) unsigned NOT NULL, - `opt1` int(1) unsigned NOT NULL DEFAULT '0', - `opt2` int(1) unsigned NOT NULL DEFAULT '0', - `opt3` int(1) unsigned NOT NULL DEFAULT '0', - `opt4` int(1) unsigned NOT NULL DEFAULT '0', - `opt5` int(1) unsigned NOT NULL DEFAULT '0', - `opt6` int(1) unsigned NOT NULL DEFAULT '0', - `opt7` int(1) unsigned NOT NULL DEFAULT '0', - `opt8` int(1) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%ali_permission` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%attacks` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%attacks` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `vref` int(11) unsigned NOT NULL, - `t1` int(11) unsigned NOT NULL, - `t2` int(11) unsigned NOT NULL, - `t3` int(11) unsigned NOT NULL, - `t4` int(11) unsigned NOT NULL, - `t5` int(11) unsigned NOT NULL, - `t6` int(11) unsigned NOT NULL, - `t7` int(11) unsigned NOT NULL, - `t8` int(11) unsigned NOT NULL, - `t9` int(11) unsigned NOT NULL, - `t10` int(11) unsigned NOT NULL, - `t11` int(11) unsigned NOT NULL, - `attack_type` tinyint(1) unsigned NOT NULL, - `ctar1` int(11) unsigned NOT NULL, - `ctar2` int(11) unsigned NOT NULL, - `spy` int(11) unsigned NOT NULL, - `b1` tinyint(1) unsigned NOT NULL, - `b2` tinyint(1) unsigned NOT NULL, - `b3` tinyint(1) unsigned NOT NULL, - `b4` tinyint(1) unsigned NOT NULL, - `b5` tinyint(1) unsigned NOT NULL, - `b6` tinyint(1) unsigned NOT NULL, - `b7` tinyint(1) unsigned NOT NULL, - `b8` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%attacks` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%banlist` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%banlist` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `uid` int(11) unsigned NOT NULL, - `name` varchar(100) unsigned NOT NULL, - `reason` varchar(30) unsigned NOT NULL, - `time` int(11) unsigned NOT NULL, - `end` varchar(10) unsigned NOT NULL, - `admin` int(11) unsigned NOT NULL, - `active` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%banlist` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%bdata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%bdata` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wid` int(11) unsigned NOT NULL, - `field` tinyint(2) unsigned NOT NULL, - `type` tinyint(2) unsigned NOT NULL, - `loopcon` tinyint(1) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL, - `master` tinyint(1) unsigned NOT NULL, - `level` tinyint(3) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%bdata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%build_log` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%build_log` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wid` int(11) unsigned NOT NULL, - `log` text unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%build_log` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%chat` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%chat` ( - `id` int(20) unsigned NOT NULL AUTO_INCREMENT, - `id_user` int(11) unsigned NOT NULL, - `name` varchar(255) unsigned NOT NULL, - `alli` varchar(255) unsigned NOT NULL, - `date` varchar(255) unsigned NOT NULL, - `msg` varchar(255) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%chat` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%config` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%config` ( - `lastgavemedal` int(11) unsigned NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -INSERT INTO `%PREFIX%config` VALUES (0); - --- --- Dumping data for table `%prefix%config` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%deleting` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%deleting` ( - `uid` int(11) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL, - PRIMARY KEY (`uid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - --- --- Dumping data for table `%prefix%deleting` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%demolition` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%demolition` ( - `vref` int(11) unsigned NOT NULL, - `buildnumber` int(11) unsigned NOT NULL DEFAULT '0', - `lvl` int(11) unsigned NOT NULL DEFAULT '0', - `timetofinish` int(11) unsigned NOT NULL, - PRIMARY KEY (`vref`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%demolition` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%diplomacy` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%diplomacy` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `alli1` int(11) unsigned NOT NULL, - `alli2` int(11) unsigned NOT NULL, - `type` tinyint(1) unsigned NOT NULL, - `accepted` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; --- --- Dumping data for table `%prefix%diplomacy` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%enforcement` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%enforcement` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `u1` int(11) unsigned NOT NULL DEFAULT '0', - `u2` int(11) unsigned NOT NULL DEFAULT '0', - `u3` int(11) unsigned NOT NULL DEFAULT '0', - `u4` int(11) unsigned NOT NULL DEFAULT '0', - `u5` int(11) unsigned NOT NULL DEFAULT '0', - `u6` int(11) unsigned NOT NULL DEFAULT '0', - `u7` int(11) unsigned NOT NULL DEFAULT '0', - `u8` int(11) unsigned NOT NULL DEFAULT '0', - `u9` int(11) unsigned NOT NULL DEFAULT '0', - `u10` int(11) unsigned NOT NULL DEFAULT '0', - `u11` int(11) unsigned NOT NULL DEFAULT '0', - `u12` int(11) unsigned NOT NULL DEFAULT '0', - `u13` int(11) unsigned NOT NULL DEFAULT '0', - `u14` int(11) unsigned NOT NULL DEFAULT '0', - `u15` int(11) unsigned NOT NULL DEFAULT '0', - `u16` int(11) unsigned NOT NULL DEFAULT '0', - `u17` int(11) unsigned NOT NULL DEFAULT '0', - `u18` int(11) unsigned NOT NULL DEFAULT '0', - `u19` int(11) unsigned NOT NULL DEFAULT '0', - `u20` int(11) unsigned NOT NULL DEFAULT '0', - `u21` int(11) unsigned NOT NULL DEFAULT '0', - `u22` int(11) unsigned NOT NULL DEFAULT '0', - `u23` int(11) unsigned NOT NULL DEFAULT '0', - `u24` int(11) unsigned NOT NULL DEFAULT '0', - `u25` int(11) unsigned NOT NULL DEFAULT '0', - `u26` int(11) unsigned NOT NULL DEFAULT '0', - `u27` int(11) unsigned NOT NULL DEFAULT '0', - `u28` int(11) unsigned NOT NULL DEFAULT '0', - `u29` int(11) unsigned NOT NULL DEFAULT '0', - `u30` int(11) unsigned NOT NULL DEFAULT '0', - `u31` int(11) unsigned NOT NULL DEFAULT '0', - `u32` int(11) unsigned NOT NULL DEFAULT '0', - `u33` int(11) unsigned NOT NULL DEFAULT '0', - `u34` int(11) unsigned NOT NULL DEFAULT '0', - `u35` int(11) unsigned NOT NULL DEFAULT '0', - `u36` int(11) unsigned NOT NULL DEFAULT '0', - `u37` int(11) unsigned NOT NULL DEFAULT '0', - `u38` int(11) unsigned NOT NULL DEFAULT '0', - `u39` int(11) unsigned NOT NULL DEFAULT '0', - `u40` int(11) unsigned NOT NULL DEFAULT '0', - `u41` int(11) unsigned NOT NULL DEFAULT '0', - `u42` int(11) unsigned NOT NULL DEFAULT '0', - `u43` int(11) unsigned NOT NULL DEFAULT '0', - `u44` int(11) unsigned NOT NULL DEFAULT '0', - `u45` int(11) unsigned NOT NULL DEFAULT '0', - `u46` int(11) unsigned NOT NULL DEFAULT '0', - `u47` int(11) unsigned NOT NULL DEFAULT '0', - `u48` int(11) unsigned NOT NULL DEFAULT '0', - `u49` int(11) unsigned NOT NULL DEFAULT '0', - `u50` int(11) unsigned NOT NULL DEFAULT '0', - `hero` tinyint(1) unsigned NOT NULL DEFAULT '0', - `from` int(11) unsigned NOT NULL DEFAULT '0', - `vref` int(11) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%enforcement` --- - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%farmlist` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%farmlist` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wref` int(11) unsigned NOT NULL, - `owner` int(11) unsigned NOT NULL, - `name` varchar(100) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%farmlist` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%fdata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%fdata` ( - `vref` int(11) unsigned NOT NULL, - `f1` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f1t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f2` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f2t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f3` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f3t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f4` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f4t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f5` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f5t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f6` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f6t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f7` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f7t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f8` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f8t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f9` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f9t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f10` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f10t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f11` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f11t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f12` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f12t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f13` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f13t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f14` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f14t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f15` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f15t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f16` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f16t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f17` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f17t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f18` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f18t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f19` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f19t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f20` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f20t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f21` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f21t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f22` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f22t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f23` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f23t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f24` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f24t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f25` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f25t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f26` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f26t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f27` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f27t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f28` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f28t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f29` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f29t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f30` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f30t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f31` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f31t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f32` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f32t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f33` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f33t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f34` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f34t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f35` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f35t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f36` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f36t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f37` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f37t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f38` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f38t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f39` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f39t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f40` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f40t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f99` tinyint(2) unsigned NOT NULL DEFAULT '0', - `f99t` tinyint(2) unsigned NOT NULL DEFAULT '0', - `wwname` varchar(100) unsigned NOT NULL DEFAULT 'World Wonder', - PRIMARY KEY (`vref`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; - --- --- Dumping data for table `%prefix%fdata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%forum_cat` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%forum_cat` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `owner` varchar(255) unsigned NOT NULL, - `alliance` varchar(255) unsigned NOT NULL, - `forum_name` varchar(255) unsigned NOT NULL, - `forum_des` text unsigned NOT NULL, - `forum_area` varchar(255) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%forum_cat` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%forum_edit` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%forum_edit` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `alliance` varchar(255) unsigned NOT NULL, - `result` varchar(255) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%forum_edit` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%forum_post` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%forum_post` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `post` longtext unsigned NOT NULL, - `topic` varchar(255) unsigned NOT NULL, - `owner` varchar(255) unsigned NOT NULL, - `date` varchar(255) unsigned NOT NULL, - `alliance0` int(11) unsigned NOT NULL, - `player0` int(11) unsigned NOT NULL, - `coor0` int(11) unsigned NOT NULL, - `report0` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%forum_post` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%forum_survey` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%forum_survey` ( - `topic` int(11) unsigned NOT NULL, - `title` varchar(255) unsigned NOT NULL, - `option1` varchar(255) unsigned NOT NULL, - `option2` varchar(255) unsigned NOT NULL, - `option3` varchar(255) unsigned NOT NULL, - `option4` varchar(255) unsigned NOT NULL, - `option5` varchar(255) unsigned NOT NULL, - `option6` varchar(255) unsigned NOT NULL, - `option7` varchar(255) unsigned NOT NULL, - `option8` varchar(255) unsigned NOT NULL, - `vote1` int(11) unsigned NOT NULL DEFAULT '0', - `vote2` int(11) unsigned NOT NULL DEFAULT '0', - `vote3` int(11) unsigned NOT NULL DEFAULT '0', - `vote4` int(11) unsigned NOT NULL DEFAULT '0', - `vote5` int(11) unsigned NOT NULL DEFAULT '0', - `vote6` int(11) unsigned NOT NULL DEFAULT '0', - `vote7` int(11) unsigned NOT NULL DEFAULT '0', - `vote8` int(11) unsigned NOT NULL DEFAULT '0', - `voted` text unsigned NOT NULL, - `ends` int(11) unsigned NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%forum_survey` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%forum_topic` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%forum_topic` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `title` varchar(255) unsigned NOT NULL, - `post` longtext unsigned NOT NULL, - `date` varchar(255) unsigned NOT NULL, - `post_date` varchar(255) unsigned NOT NULL, - `cat` varchar(255) unsigned NOT NULL, - `owner` varchar(255) unsigned NOT NULL, - `alliance` varchar(255) unsigned NOT NULL, - `ends` varchar(255) unsigned NOT NULL, - `close` varchar(255) unsigned NOT NULL, - `stick` varchar(255) unsigned NOT NULL, - `alliance0` int(11) unsigned NOT NULL, - `player0` int(11) unsigned NOT NULL, - `coor0` int(11) unsigned NOT NULL, - `report0` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%forum_topic` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%general` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%general` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `casualties` int(11) unsigned NOT NULL, - `time` int(11) unsigned NOT NULL, - `shown` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%general` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%gold_fin_log` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%gold_fin_log` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wid` int(11) unsigned NOT NULL, - `log` text unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%gold_fin_log` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%hero` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%hero` ( - `heroid` int(11) unsigned NOT NULL AUTO_INCREMENT, - `uid` int(11) unsigned NOT NULL, - `unit` smallint(2) unsigned NOT NULL, - `name` tinytext unsigned NOT NULL, - `wref` int(11) unsigned NOT NULL, - `level` tinyint(3) unsigned NOT NULL, - `points` int(3) unsigned NOT NULL, - `experience` int(11) unsigned NOT NULL, - `dead` tinyint(1) unsigned NOT NULL, - `health` float(12,9) unsigned NOT NULL, - `attack` tinyint(3) unsigned NOT NULL, - `defence` tinyint(3) unsigned NOT NULL, - `attackbonus` tinyint(3) unsigned NOT NULL, - `defencebonus` tinyint(3) unsigned NOT NULL, - `regeneration` tinyint(3) unsigned NOT NULL, - `autoregen` int(2) unsigned NOT NULL, - `lastupdate` int(11) unsigned NOT NULL, - `trainingtime` int(11) unsigned NOT NULL, - `inrevive` tinyint(1) unsigned NOT NULL, - `intraining` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`heroid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1; - --- --- Dumping data for table `%prefix%hero` --- - - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%illegal_log` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%illegal_log` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `user` int(11) unsigned NOT NULL, - `log` text unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%illegal_log` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%login_log` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%login_log` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `uid` int(11) unsigned NOT NULL, - `ip` varchar(15) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%login_log` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%market` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%market` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `vref` int(11) unsigned NOT NULL, - `gtype` tinyint(1) unsigned NOT NULL, - `gamt` int(11) unsigned NOT NULL, - `wtype` tinyint(1) unsigned NOT NULL, - `wamt` int(11) unsigned NOT NULL, - `accept` tinyint(1) unsigned NOT NULL, - `maxtime` int(11) unsigned NOT NULL, - `alliance` int(11) unsigned NOT NULL, - `merchant` tinyint(2) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%market` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%market_log` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%market_log` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wid` int(11) unsigned NOT NULL, - `log` text unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%market_log` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%mdata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%mdata` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `target` int(11) unsigned NOT NULL, - `owner` int(11) unsigned NOT NULL, - `topic` varchar(100) unsigned NOT NULL, - `message` text unsigned NOT NULL, - `viewed` tinyint(1) unsigned NOT NULL, - `archived` tinyint(1) unsigned NOT NULL, - `send` tinyint(1) unsigned NOT NULL, - `time` int(11) unsigned NOT NULL DEFAULT '0', - `deltarget` int(11) unsigned NOT NULL, - `delowner` int(11) unsigned NOT NULL, - `alliance` int(11) unsigned NOT NULL, - `player` int(11) unsigned NOT NULL, - `coor` int(11) unsigned NOT NULL, - `report` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%mdata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%medal` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%medal` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `userid` int(11) unsigned NOT NULL, - `categorie` int(11) unsigned NOT NULL, - `plaats` int(11) unsigned NOT NULL, - `week` int(11) unsigned NOT NULL, - `points` varchar(15) unsigned NOT NULL, - `img` varchar(10) unsigned NOT NULL, - `del` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%medal` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%movement` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%movement` ( - `moveid` int(11) unsigned NOT NULL AUTO_INCREMENT, - `sort_type` tinyint(4) unsigned NOT NULL DEFAULT '0', - `from` int(11) unsigned NOT NULL DEFAULT '0', - `to` int(11) unsigned NOT NULL DEFAULT '0', - `ref` int(11) unsigned NOT NULL DEFAULT '0', - `ref2` int(11) unsigned NOT NULL DEFAULT '0', - `starttime` int(11) unsigned NOT NULL DEFAULT '0', - `endtime` int(11) unsigned NOT NULL DEFAULT '0', - `proc` tinyint(1) unsigned NOT NULL DEFAULT '0', - `send` tinyint(1) unsigned NOT NULL, - `wood` int(11) unsigned NOT NULL, - `clay` int(11) unsigned NOT NULL, - `iron` int(11) unsigned NOT NULL, - `crop` int(11) unsigned NOT NULL, - PRIMARY KEY (`moveid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%movement` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%ndata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%ndata` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `uid` int(11) unsigned NOT NULL, - `toWref` int(11) unsigned NOT NULL, - `ally` int(11) unsigned NOT NULL, - `topic` text unsigned NOT NULL, - `ntype` tinyint(1) unsigned NOT NULL, - `data` text unsigned NOT NULL, - `time` int(11) unsigned NOT NULL, - `viewed` tinyint(1) unsigned NOT NULL, - `archive` tinyint(1) unsigned NOT NULL, - `del` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%ndata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%odata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%odata` ( - `wref` int(11) unsigned NOT NULL, - `type` tinyint(2) unsigned NOT NULL, - `conqured` int(11) unsigned NOT NULL, - `wood` int(11) unsigned NOT NULL, - `iron` int(11) unsigned NOT NULL, - `clay` int(11) unsigned NOT NULL, - `maxstore` int(11) unsigned NOT NULL, - `crop` int(11) unsigned NOT NULL, - `maxcrop` int(11) unsigned NOT NULL, - `lastupdated` int(11) unsigned NOT NULL, - `lastupdated2` int(11) unsigned NOT NULL, - `loyalty` float(9,6) unsigned NOT NULL DEFAULT '100', - `owner` int(11) unsigned NOT NULL DEFAULT '2', - `name` varchar(32) unsigned NOT NULL DEFAULT 'Unoccupied Oasis', - `high` tinyint(1) unsigned NOT NULL, - PRIMARY KEY (`wref`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - --- --- Dumping data for table `%prefix%odata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%online` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%online` ( - `name` varchar(32) unsigned NOT NULL, - `uid` int(11) unsigned NOT NULL, - `time` varchar(32) unsigned NOT NULL, - `sit` tinyint(1) unsigned NOT NULL, - UNIQUE KEY `name` (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - --- --- Dumping data for table `%prefix%online` --- - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%prisoners` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%prisoners` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wref` int(11) unsigned NOT NULL, - `from` int(11) unsigned NOT NULL, - `t1` int(11) unsigned NOT NULL, - `t2` int(11) unsigned NOT NULL, - `t3` int(11) unsigned NOT NULL, - `t4` int(11) unsigned NOT NULL, - `t5` int(11) unsigned NOT NULL, - `t6` int(11) unsigned NOT NULL, - `t7` int(11) unsigned NOT NULL, - `t8` int(11) unsigned NOT NULL, - `t9` int(11) unsigned NOT NULL, - `t10` int(11) unsigned NOT NULL, - `t11` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%PREFIX%prisoners` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%raidlist` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%raidlist` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `lid` int(11) unsigned NOT NULL, - `towref` int(11) unsigned NOT NULL, - `x` int(11) unsigned NOT NULL, - `y` int(11) unsigned NOT NULL, - `distance` varchar(5) unsigned NOT NULL DEFAULT '0', - `t1` int(11) unsigned NOT NULL, - `t2` int(11) unsigned NOT NULL, - `t3` int(11) unsigned NOT NULL, - `t4` int(11) unsigned NOT NULL, - `t5` int(11) unsigned NOT NULL, - `t6` int(11) unsigned NOT NULL, - `t7` int(11) unsigned NOT NULL, - `t8` int(11) unsigned NOT NULL, - `t9` int(11) unsigned NOT NULL, - `t10` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%raidlist` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%research` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%research` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `vref` int(11) unsigned NOT NULL, - `tech` varchar(3) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%research` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%route` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%route` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `uid` int(11) unsigned NOT NULL, - `wid` int(11) unsigned NOT NULL, - `from` int(11) unsigned NOT NULL, - `wood` int(5) unsigned NOT NULL, - `clay` int(5) unsigned NOT NULL, - `iron` int(5) unsigned NOT NULL, - `crop` int(5) unsigned NOT NULL, - `start` tinyint(2) unsigned NOT NULL, - `deliveries` tinyint(1) unsigned NOT NULL, - `merchant` int(11) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL, - `timeleft` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%route` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%send` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%send` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wood` int(11) unsigned NOT NULL, - `clay` int(11) unsigned NOT NULL, - `iron` int(11) unsigned NOT NULL, - `crop` int(11) unsigned NOT NULL, - `merchant` tinyint(2) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%send` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%tdata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%tdata` ( - `vref` int(11) unsigned NOT NULL, - `t2` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t3` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t4` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t5` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t6` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t7` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t8` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t9` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t12` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t13` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t14` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t15` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t16` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t17` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t18` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t19` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t22` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t23` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t24` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t25` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t26` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t27` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t28` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t29` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t32` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t33` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t34` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t35` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t36` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t37` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t38` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t39` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t42` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t43` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t44` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t45` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t46` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t47` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t48` tinyint(1) unsigned NOT NULL DEFAULT '0', - `t49` tinyint(1) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`vref`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - --- --- Dumping data for table `%prefix%tdata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%tech_log` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%tech_log` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wid` int(11) unsigned NOT NULL, - `log` text unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%tech_log` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%training` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%training` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `vref` int(11) unsigned NOT NULL, - `unit` tinyint(2) unsigned NOT NULL, - `amt` int(11) unsigned NOT NULL, - `pop` int(11) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL, - `eachtime` int(11) unsigned NOT NULL, - `timestamp2` int(11) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%training` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%units` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%units` ( - `vref` int(11) unsigned NOT NULL, - `u1` int(11) unsigned NOT NULL DEFAULT '0', - `u2` int(11) unsigned NOT NULL DEFAULT '0', - `u3` int(11) unsigned NOT NULL DEFAULT '0', - `u4` int(11) unsigned NOT NULL DEFAULT '0', - `u5` int(11) unsigned NOT NULL DEFAULT '0', - `u6` int(11) unsigned NOT NULL DEFAULT '0', - `u7` int(11) unsigned NOT NULL DEFAULT '0', - `u8` int(11) unsigned NOT NULL DEFAULT '0', - `u9` int(11) unsigned NOT NULL DEFAULT '0', - `u10` int(11) unsigned NOT NULL DEFAULT '0', - `u11` int(11) unsigned NOT NULL DEFAULT '0', - `u12` int(11) unsigned NOT NULL DEFAULT '0', - `u13` int(11) unsigned NOT NULL DEFAULT '0', - `u14` int(11) unsigned NOT NULL DEFAULT '0', - `u15` int(11) unsigned NOT NULL DEFAULT '0', - `u16` int(11) unsigned NOT NULL DEFAULT '0', - `u17` int(11) unsigned NOT NULL DEFAULT '0', - `u18` int(11) unsigned NOT NULL DEFAULT '0', - `u19` int(11) unsigned NOT NULL DEFAULT '0', - `u20` int(11) unsigned NOT NULL DEFAULT '0', - `u21` int(11) unsigned NOT NULL DEFAULT '0', - `u22` int(11) unsigned NOT NULL DEFAULT '0', - `u23` int(11) unsigned NOT NULL DEFAULT '0', - `u24` int(11) unsigned NOT NULL DEFAULT '0', - `u25` int(11) unsigned NOT NULL DEFAULT '0', - `u26` int(11) unsigned NOT NULL DEFAULT '0', - `u27` int(11) unsigned NOT NULL DEFAULT '0', - `u28` int(11) unsigned NOT NULL DEFAULT '0', - `u29` int(11) unsigned NOT NULL DEFAULT '0', - `u30` int(11) unsigned NOT NULL DEFAULT '0', - `u31` int(11) unsigned NOT NULL DEFAULT '0', - `u32` int(11) unsigned NOT NULL DEFAULT '0', - `u33` int(11) unsigned NOT NULL DEFAULT '0', - `u34` int(11) unsigned NOT NULL DEFAULT '0', - `u35` int(11) unsigned NOT NULL DEFAULT '0', - `u36` int(11) unsigned NOT NULL DEFAULT '0', - `u37` int(11) unsigned NOT NULL DEFAULT '0', - `u38` int(11) unsigned NOT NULL DEFAULT '0', - `u39` int(11) unsigned NOT NULL DEFAULT '0', - `u40` int(11) unsigned NOT NULL DEFAULT '0', - `u41` int(11) unsigned NOT NULL DEFAULT '0', - `u42` int(11) unsigned NOT NULL DEFAULT '0', - `u43` int(11) unsigned NOT NULL DEFAULT '0', - `u44` int(11) unsigned NOT NULL DEFAULT '0', - `u45` int(11) unsigned NOT NULL DEFAULT '0', - `u46` int(11) unsigned NOT NULL DEFAULT '0', - `u47` int(11) unsigned NOT NULL DEFAULT '0', - `u48` int(11) unsigned NOT NULL DEFAULT '0', - `u49` int(11) unsigned NOT NULL DEFAULT '0', - `u50` int(11) unsigned NOT NULL DEFAULT '0', - `u99` int(11) unsigned NOT NULL DEFAULT '0', - `u99o` int(11) unsigned NOT NULL DEFAULT '0', - `hero` int(11) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`vref`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - --- --- Dumping data for table `%prefix%units` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%PREFIX%users` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%users` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `username` varchar(100) unsigned NOT NULL, - `password` varchar(100) unsigned NOT NULL, - `email` text unsigned NOT NULL, - `tribe` tinyint(1) unsigned NOT NULL, - `access` tinyint(1) unsigned NOT NULL DEFAULT '1', - `gold` int(9) unsigned NOT NULL DEFAULT '0', - `gender` tinyint(1) unsigned NOT NULL DEFAULT '0', - `birthday` date unsigned NOT NULL DEFAULT '0000-00-00', - `location` text unsigned NOT NULL, - `desc1` text unsigned NOT NULL, - `desc2` text unsigned NOT NULL, - `plus` int(11) unsigned NOT NULL DEFAULT '0', - `goldclub` int(11) unsigned NOT NULL DEFAULT '0', - `b1` int(11) unsigned NOT NULL DEFAULT '0', - `b2` int(11) unsigned NOT NULL DEFAULT '0', - `b3` int(11) unsigned NOT NULL DEFAULT '0', - `b4` int(11) unsigned NOT NULL DEFAULT '0', - `sit1` int(11) unsigned NOT NULL DEFAULT '0', - `sit2` int(11) unsigned NOT NULL DEFAULT '0', - `alliance` int(11) unsigned NOT NULL DEFAULT '0', - `sessid` varchar(100) unsigned NOT NULL, - `act` varchar(10) unsigned NOT NULL, - `timestamp` int(11) unsigned NOT NULL DEFAULT '0', - `ap` int(11) unsigned NOT NULL DEFAULT '0', - `apall` int(11) unsigned NOT NULL DEFAULT '0', - `dp` int(11) unsigned NOT NULL DEFAULT '0', - `dpall` int(11) unsigned NOT NULL DEFAULT '0', - `protect` int(11) unsigned NOT NULL, - `quest` tinyint(2) unsigned NOT NULL, - `quest_time` int(11) unsigned NOT NULL, - `gpack` varchar(255) unsigned NOT NULL DEFAULT 'gpack/travian_default/', - `cp` float(14,5) unsigned NOT NULL DEFAULT '1', - `lastupdate` int(11) unsigned NOT NULL, - `RR` int(255) unsigned NOT NULL DEFAULT '0', - `Rc` int(255) unsigned NOT NULL DEFAULT '0', - `ok` tinyint(1) unsigned NOT NULL DEFAULT '0', - `clp` bigint(255) unsigned NOT NULL DEFAULT '0', - `oldrank` bigint(255) unsigned NOT NULL DEFAULT '0', - `regtime` int(11) unsigned NOT NULL DEFAULT '0', - `invited` int(11) unsigned NOT NULL DEFAULT '0', - `friend0` int(11) unsigned NOT NULL, - `friend1` int(11) unsigned NOT NULL, - `friend2` int(11) unsigned NOT NULL, - `friend3` int(11) unsigned NOT NULL, - `friend4` int(11) unsigned NOT NULL, - `friend5` int(11) unsigned NOT NULL, - `friend6` int(11) unsigned NOT NULL, - `friend7` int(11) unsigned NOT NULL, - `friend8` int(11) unsigned NOT NULL, - `friend9` int(11) unsigned NOT NULL, - `friend10` int(11) unsigned NOT NULL, - `friend11` int(11) unsigned NOT NULL, - `friend12` int(11) unsigned NOT NULL, - `friend13` int(11) unsigned NOT NULL, - `friend14` int(11) unsigned NOT NULL, - `friend15` int(11) unsigned NOT NULL, - `friend16` int(11) unsigned NOT NULL, - `friend17` int(11) unsigned NOT NULL, - `friend18` int(11) unsigned NOT NULL, - `friend19` int(11) unsigned NOT NULL, - `friend0wait` int(11) unsigned NOT NULL, - `friend1wait` int(11) unsigned NOT NULL, - `friend2wait` int(11) unsigned NOT NULL, - `friend3wait` int(11) unsigned NOT NULL, - `friend4wait` int(11) unsigned NOT NULL, - `friend5wait` int(11) unsigned NOT NULL, - `friend6wait` int(11) unsigned NOT NULL, - `friend7wait` int(11) unsigned NOT NULL, - `friend8wait` int(11) unsigned NOT NULL, - `friend9wait` int(11) unsigned NOT NULL, - `friend10wait` int(11) unsigned NOT NULL, - `friend11wait` int(11) unsigned NOT NULL, - `friend12wait` int(11) unsigned NOT NULL, - `friend13wait` int(11) unsigned NOT NULL, - `friend14wait` int(11) unsigned NOT NULL, - `friend15wait` int(11) unsigned NOT NULL, - `friend16wait` int(11) unsigned NOT NULL, - `friend17wait` int(11) unsigned NOT NULL, - `friend18wait` int(11) unsigned NOT NULL, - `friend19wait` int(11) unsigned NOT NULL, - `maxevasion` mediumint(3) unsigned NOT NULL, - `village_select` bigint(20) DEFAULT unsigned NOT NULL, - `vac_time` varchar(255) unsigned NOT NULL, - `vac_mode` int(2) unsigned NOT NULL DEFAULT '0', - `vactwoweeks` varchar(255) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; - --- --- Dumping data for table `%prefix%users` --- - -INSERT INTO `%PREFIX%users` (`id`, `username`, `password`, `email`, `tribe`, `access`, `gold`, `gender`, `birthday`, `location`, `desc1`, `desc2`, `plus`, `b1`, `b2`, `b3`, `b4`, `sit1`, `sit2`, `alliance`, `sessid`, `act`, `timestamp`, `ap`, `apall`, `dp`, `dpall`, `protect`, `quest`, `gpack`, `cp`, `lastupdate`, `RR`, `Rc`, `ok`) VALUES -(5, 'Multihunter', '', 'multihunter@travianx.mail', 0, 9, 0, 0, '0000-00-00', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'gpack/travian_default/', 1, 0, 0, 0, 0), -(1, 'Support', '', 'support@travianx.mail', 0, 8, 0, 0, '0000-00-00', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'gpack/travian_default/', 1, 0, 0, 0, 0), -(2, 'Nature', '', 'support@travianx.mail', 4, 8, 0, 0, '0000-00-00', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'gpack/travian_default/', 1, 0, 0, 0, 0), -(4, 'Taskmaster', '', 'support@travianx.mail', 0, 8, 0, 0, '0000-00-00', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'gpack/travian_default/', 1, 0, 0, 0, 0); - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%vdata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%vdata` ( -`wref` int(11) unsigned NOT NULL, -`owner` int(11) unsigned NOT NULL, -`name` varchar(100) unsigned NOT NULL, -`capital` tinyint(1) unsigned NOT NULL, -`pop` int(11) unsigned NOT NULL, -`cp` int(11) unsigned NOT NULL, -`celebration` int(11) unsigned NOT NULL DEFAULT '0', -`type` int(11) unsigned NOT NULL DEFAULT '0', -`wood` float(12,2) unsigned NOT NULL, -`clay` float(12,2) unsigned NOT NULL, -`iron` float(12,2) unsigned NOT NULL, -`maxstore` int(11) unsigned NOT NULL, -`crop` float(12,2) unsigned NOT NULL, -`maxcrop` int(11) unsigned NOT NULL, -`lastupdate` int(11) unsigned NOT NULL, -`lastupdate2` int(11) unsigned NOT NULL, -`loyalty` float(9,6) unsigned NOT NULL DEFAULT '100', -`exp1` int(11) unsigned NOT NULL, -`exp2` int(11) unsigned NOT NULL, -`exp3` int(11) unsigned NOT NULL, -`created` int(11) unsigned NOT NULL, -`natar` tinyint(1) unsigned NOT NULL, -`starv` int(11) unsigned NOT NULL, -`starvupdate` int(11) unsigned NOT NULL, -`evasion` tinyint(1) unsigned NOT NULL, -PRIMARY KEY (`wref`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%vdata` --- - - --- -------------------------------------------------------- - --- --- Table structure for table `%prefix%wdata` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%wdata` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `fieldtype` tinyint(2) unsigned NOT NULL, - `oasistype` tinyint(2) unsigned NOT NULL, - `x` int(11) unsigned NOT NULL, - `y` int(11) unsigned NOT NULL, - `occupied` tinyint(1) unsigned NOT NULL, - `image` varchar(3) unsigned NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%wdata` --- - --- -------------------------------------------------------- --- --- Table structure for table `%prefix%password` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%password` ( - `uid` int(11) unsigned NOT NULL, - `npw` varchar(100) unsigned NOT NULL, - `cpw` varchar(100) unsigned NOT NULL, - `used` tinyint(1) unsigned NOT NULL DEFAULT '0', - `timestamp` timestamp unsigned NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - PRIMARY KEY (`uid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; - --- --- Dumping data for table `%prefix%password` --- - --- -------------------------------------------------------- --- --- Table structure for table `%prefix%ww_attacks` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%ww_attacks` ( - `vid` int(25) unsigned NOT NULL, - `attack_time` int(25) unsigned NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; - --- --- Dumping data for table `%prefix%password` --- - --- --------------------------------------------------------