codice:
-- phpMyAdmin SQL Dump
-- version 3.2.0.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Mar 10, 2010 at 07:38 PM
-- Server version: 5.1.36
-- PHP Version: 5.3.0
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Database: `s1`
--
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%active`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%active` (
`username` varchar(15) NOT NULL,
`timestamp` int(11) unsigned NOT NULL,
PRIMARY KEY (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%alidata`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%alidata` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(25) NOT NULL,
`tag` varchar(8) NOT NULL,
`leader` int(10) unsigned NOT NULL,
`coor` int(10) unsigned NOT NULL,
`advisor` int(10) unsigned NOT NULL,
`recruiter` int(10) unsigned NOT NULL,
`notice` text NOT NULL,
`desc` text NOT NULL,
`max` tinyint(2) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%baselog`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%baselog` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`vid` int(10) unsigned NOT NULL,
`type` tinyint(1) unsigned NOT NULL,
`ref1` tinyint(5) unsigned NOT NULL,
`ref2` tinyint(5) unsigned NOT NULL,
`ref3` int(10) unsigned NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%battle`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%battle` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tr1` int(10) unsigned NOT NULL DEFAULT '0',
`tr2` int(10) unsigned NOT NULL DEFAULT '0',
`tr3` int(10) unsigned NOT NULL DEFAULT '0',
`tr4` int(10) unsigned NOT NULL DEFAULT '0',
`tr5` int(10) unsigned NOT NULL DEFAULT '0',
`tr6` int(10) unsigned NOT NULL DEFAULT '0',
`tr7` int(10) unsigned NOT NULL DEFAULT '0',
`tr8` int(10) unsigned NOT NULL DEFAULT '0',
`tr9` int(10) unsigned NOT NULL DEFAULT '0',
`tr10` int(10) unsigned NOT NULL DEFAULT '0',
`hero` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%constdata`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%constdata` (
`vref` int(10) unsigned NOT NULL,
`endtime1` int(11) unsigned NOT NULL DEFAULT '0',
`upgrading1` tinyint(2) unsigned NOT NULL DEFAULT '0',
`utype1` tinyint(2) unsigned NOT NULL DEFAULT '0',
`logid1` int(10) unsigned NOT NULL DEFAULT '0',
`endtime2` int(11) unsigned NOT NULL DEFAULT '0',
`upgrading2` tinyint(2) unsigned NOT NULL DEFAULT '0',
`utype2` tinyint(2) unsigned NOT NULL DEFAULT '0',
`logid2` int(10) unsigned NOT NULL DEFAULT '0',
`endtime3` int(11) unsigned NOT NULL DEFAULT '0',
`upgrading3` tinyint(2) unsigned NOT NULL DEFAULT '0',
`utype3` tinyint(2) unsigned NOT NULL DEFAULT '0',
`logid3` int(10) unsigned NOT NULL DEFAULT '0',
`endtime4` int(11) unsigned NOT NULL DEFAULT '0',
`upgrading4` tinyint(2) unsigned NOT NULL DEFAULT '0',
`utype4` tinyint(2) unsigned NOT NULL DEFAULT '0',
`logid4` int(10) unsigned NOT NULL DEFAULT '0',
`count` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`vref`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%deleting`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%deleting` (
`uid` int(10) unsigned NOT NULL,
`timestamp` int(10) unsigned NOT NULL,
PRIMARY KEY (`timestamp`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%enforcement`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%enforcement` (
`id` int(10) 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',
`from` int(10) unsigned NOT NULL DEFAULT '0',
`vref` int(10) unsigned NOT NULL DEFAULT '0',
`heroref` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%fdata`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%fdata` (
`vref` int(10) 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',
PRIMARY KEY (`vref`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%heroes`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%heroes` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`unit` tinyint(2) unsigned NOT NULL,
`exp` int(10) unsigned NOT NULL,
`health` int(10) unsigned NOT NULL,
`vref` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%mardata`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%mardata` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`sender` int(10) unsigned NOT NULL,
`recieve` int(10) unsigned NOT NULL,
`topic` varchar(45) NOT NULL,
`message` text NOT NULL,
`viewed` tinyint(1) unsigned NOT NULL,
`time` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%market`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%market` (
`id` int(10) 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=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%mdata`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%mdata` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`sender` int(10) unsigned NOT NULL,
`recieve` int(10) unsigned NOT NULL,
`topic` varchar(45) NOT NULL,
`message` text NOT NULL,
`viewed` tinyint(1) unsigned NOT NULL,
`time` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%movement`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%movement` (
`moveid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`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',
`endtime` int(11) unsigned NOT NULL DEFAULT '0',
`proc` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`moveid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%notice`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%notice` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`recieve` int(10) unsigned NOT NULL,
`topic` varchar(45) NOT NULL,
`message` text NOT NULL,
`viewed` tinyint(1) unsigned NOT NULL,
`time` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%research`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%research` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`vref` int(10) unsigned NOT NULL,
`tech` varchar(3) NOT NULL,
`timestamp` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%send`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%send` (
`id` int(10) 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=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%training`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%training` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`vref` int(10) unsigned NOT NULL,
`unit` tinyint(2) unsigned NOT NULL,
`amt` int(10) unsigned NOT NULL,
`timestamp` int(10) unsigned NOT NULL,
`eachtime` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%units`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%units` (
`vref` int(10) 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,
`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',
PRIMARY KEY (`vref`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%userlink`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%userlink` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uref` int(10) unsigned NOT NULL,
`name` text NOT NULL,
`link` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%users`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(15) NOT NULL,
`password` varchar(32) NOT NULL,
`access` tinyint(1) unsigned NOT NULL,
`email` varchar(50) NOT NULL,
`timestamp` int(11) NOT NULL DEFAULT '0',
`tribe` tinyint(1) unsigned NOT NULL,
`alliance` tinyint(3) unsigned NOT NULL DEFAULT '0',
`cp` int(10) unsigned NOT NULL DEFAULT '0',
`ap` int(10) unsigned NOT NULL DEFAULT '0',
`dp` int(10) unsigned NOT NULL DEFAULT '0',
`act` varchar(10) NOT NULL,
`sessid` varchar(45) NOT NULL,
`plus` int(11) unsigned NOT NULL DEFAULT '0',
`gold` int(5) unsigned NOT NULL DEFAULT '0',
`gender` tinyint(1) unsigned NOT NULL DEFAULT '0',
`birthday` date NOT NULL DEFAULT '0000-00-00',
`location` varchar(30) NOT NULL,
`desc1` text NOT NULL,
`desc2` text NOT NULL,
`glum` int(11) unsigned NOT NULL DEFAULT '0',
`gclay` int(11) unsigned NOT NULL DEFAULT '0',
`giron` int(11) unsigned NOT NULL DEFAULT '0',
`gcrop` int(11) unsigned NOT NULL DEFAULT '0',
`sit1` int(10) unsigned NOT NULL DEFAULT '0',
`sit2` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%vdata`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%vdata` (
`wref` int(10) unsigned NOT NULL,
`owner` int(10) unsigned NOT NULL,
`name` varchar(45) NOT NULL,
`capital` tinyint(1) unsigned NOT NULL,
`town` tinyint(1) unsigned NOT NULL,
`pop` int(10) unsigned NOT NULL,
`cp` int(10) unsigned NOT NULL,
`wood` float(12,2) NOT NULL,
`clay` float(12,2) NOT NULL,
`iron` float(12,2) NOT NULL,
`maxstore` int(10) unsigned NOT NULL,
`crop` float(12,2) NOT NULL,
`maxcrop` int(10) unsigned NOT NULL,
`lastupdate` int(11) unsigned NOT NULL,
PRIMARY KEY (`wref`),
KEY `wref` (`wref`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `%PREFIX%wdata`
--
CREATE TABLE IF NOT EXISTS `%PREFIX%wdata` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`fieldtype` tinyint(2) unsigned NOT NULL,
`oasistype` tinyint(2) unsigned NOT NULL,
`x` int(11) NOT NULL,
`y` int(11) NOT NULL,
`occupied` tinyint(1) unsigned NOT NULL,
`image` varchar(3) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Questo file elimina gli indici che poi dovresti ricostruirti.