diff --git a/Admin/Templates/oasis.tpl b/Admin/Templates/oasis.tpl deleted file mode 100644 index 926d3c6b..00000000 --- a/Admin/Templates/oasis.tpl +++ /dev/null @@ -1,31 +0,0 @@ - -
- - - - - - - - - - - -
Populate Oases
-
-Oases Populated'; -} -?> \ No newline at end of file diff --git a/GameEngine/Admin/Mods/populateOases.php b/GameEngine/Admin/Mods/populateOases.php deleted file mode 100644 index 5985b7e7..00000000 --- a/GameEngine/Admin/Mods/populateOases.php +++ /dev/null @@ -1,19 +0,0 @@ -populateOasisUnitsLow(); - -header("Location: ../../../Admin/admin.php?p=server_info"); -?> \ No newline at end of file diff --git a/GameEngine/BBCode.php b/GameEngine/BBCode.php index a1b14437..2a2e7d95 100644 --- a/GameEngine/BBCode.php +++ b/GameEngine/BBCode.php @@ -1 +1 @@ -$1"; $replace[1] = "$1"; $replace[2] = "$1"; $replace[3] = "".U1.""; $replace[4] = "".U2.""; $replace[5] = "".U3.""; $replace[6] = "".U4.""; $replace[7] = "".U5.""; $replace[8] = "".U6.""; $replace[9] = "".U7.""; $replace[10] = "".U8.""; $replace[11] = "".U9.""; $replace[12] = "".U10.""; $replace[13] = "".U11.""; $replace[14] = "".U12.""; $replace[15] = "".U13.""; $replace[16] = "".U14.""; $replace[17] = "".U15.""; $replace[18] = "".U16.""; $replace[19] = "".U17.""; $replace[20] = "".U18.""; $replace[21] = "".U19.""; $replace[22] = "".U20.""; $replace[23] = "".U21.""; $replace[24] = "".U22.""; $replace[25] = "".U23.""; $replace[26] = "".U24.""; $replace[27] = "".U25.""; $replace[28] = "".U26.""; $replace[29] = "".U27.""; $replace[30] = "".U28.""; $replace[31] = "".U29.""; $replace[32] = "".U30.""; $replace[33] = "".U31.""; $replace[34] = "".U32.""; $replace[35] = "".U33.""; $replace[36] = "".U34.""; $replace[37] = "".U35.""; $replace[38] = "".U36.""; $replace[39] = "".U37.""; $replace[40] = "".U38.""; $replace[41] = "".U39.""; $replace[42] = "".U40.""; $replace[43] = "".U41.""; $replace[44] = "".U42.""; $replace[45] = "".U43.""; $replace[46] = "".U44.""; $replace[47] = "".U45.""; $replace[48] = "".U46.""; $replace[49] = "".U47.""; $replace[50] = "".U48.""; $replace[51] = "".U49.""; $replace[52] = "".U50.""; $replace[53] = "".U0.""; $replace[54] = "".R1.""; $replace[55] = "".R2.""; $replace[56] = "".R3.""; $replace[57] = "".R4.""; $replace[54] = "Lumber"; $replace[55] = "Clay"; $replace[56] = "Iron"; $replace[57] = "Crop"; $replace[58] = "*aha*"; $replace[59] = "*angry*"; $replace[60] = "*cool*"; $replace[61] = "*cry*"; $replace[62] = "*cute*"; $replace[63] = "*depressed*"; $replace[64] = "*eek*"; $replace[65] = "*ehem*"; $replace[66] = "*emotional*"; $replace[67] = ":D"; $replace[68] = ":)"; $replace[69] = "*hit*"; $replace[70] = "*hmm*"; $replace[71] = "*hmpf*"; $replace[72] = "*hrhr*"; $replace[73] = "*huh*"; $replace[74] = "*lazy*"; $replace[75] = "*love*"; $replace[76] = "*nocomment*"; $replace[77] = "*noemotion*"; $replace[78] = "*notamused*"; $replace[79] = "*pout*"; $replace[80] = "*redface*"; $replace[81] = "*rolleyes*"; $replace[82] = ":("; $replace[83] = "*shy*"; $replace[84] = "*smile*"; $replace[85] = "*tongue*"; $replace[86] = "*veryangry*"; $replace[87] = "*veryhappy*"; $replace[88] = ";)"; for($i=0;$i<=$alliance;$i++){ $pattern[89+$i] = "/\[alliance".$i."\](.*?)\[\/alliance".$i."\]/is"; ${'bbcoded1_'.$i} = preg_replace($pattern[89+$i], "$1", $input); ${'bbcoded1_'.$i} = preg_replace('/\[\/alliance'.$i.'\](.*?)\[\/message\]/is', '', $input); ${'bbcoded1_'.$i} = preg_replace('/\[message\](.*?)\[alliance'.$i.'\]/is', '', ${'bbcoded1_'.$i}); $aname = $database->getAllianceID(${'bbcoded1_'.$i}); if($aname != ""){ $replace[89+$i] = "$1"; }else{ $replace[89+$i] = "alliance not exist"; } $rep1 = 90+$i; } for($i=0;$i<=$player;$i++){ $pattern[$rep1+$i] = "/\[player".$i."\](.*?)\[\/player".$i."\]/is"; ${'bbcoded2_'.$i} = preg_replace($pattern[$rep1+$i], "$1", $input); ${'bbcoded2_'.$i} = preg_replace('/\[\/player'.$i.'\](.*?)\[\/message\]/is', '', $input); ${'bbcoded2_'.$i} = preg_replace('/\[message\](.*?)\[player'.$i.'\]/is', '', ${'bbcoded2_'.$i}); $uname = $database->getUserField(${'bbcoded2_'.$i}, "id", 1); if($uname != ""){ $replace[$rep1+$i] = "$1"; }else{ $replace[$rep1+$i] = "player not exist"; } $rep2 = $rep1+$i+1; } for($i=0;$i<=$report;$i++){ $pattern[$rep2+$i] = "/\[report".$i."\](.*?)\[\/report".$i."\]/is"; ${'bbcoded3_'.$i} = preg_replace($pattern[$rep2+$i], "$1", $input); ${'bbcoded3_'.$i} = preg_replace('/\[\/report'.$i.'\](.*?)\[\/message\]/is', '', $input); ${'bbcoded3_'.$i} = preg_replace('/\[message\](.*?)\[report'.$i.'\]/is', '', ${'bbcoded3_'.$i}); $report = count($database->getNotice4(${'bbcoded3_'.$i})); if($report > 0){ $topic = $database->getNotice2(${'bbcoded3_'.$i},"topic"); $replace[$rep2+$i] = "$topic"; }else{ $replace[$rep2+$i] = "report not exist"; } $rep3 = $rep2+$i+1; } for($i=0;$i<=$coor;$i++){ $pattern[$rep3+$i] = "/\[coor".$i."\](.*?)\[\/coor".$i."\]/is"; ${'bbcoded4_'.$i} = preg_replace($pattern[$rep3+$i], "$1", $input); ${'bbcoded4_'.$i} = preg_replace('/\[\/coor'.$i.'\](.*?)\[\/message\]/is', '', $input); ${'bbcoded4_'.$i} = preg_replace('/\[message\](.*?)\[coor'.$i.'\]/is', '', ${'bbcoded4_'.$i}); for($x = -400; $x < 401; $x++) { if(preg_match('/^'.$x.'/', ${'bbcoded4_'.$i})){ $xx = 1; $cx = $x; } } for($y = 0; $y < 401; $y++) { if(preg_match('/-'.$y.'$/', ${'bbcoded4_'.$i})){ $yy = 1; $cy = $y*(-1); }else if(preg_match('/'.$y.'$/', ${'bbcoded4_'.$i})){ $yy = 1; $cy = $y; } } if(preg_match('/|/', ${'bbcoded4_'.$i}) && $xx == 1 && $yy == 1){ $wref = $database->getVilWref($cx,$cy); $cwref = $generator->getMapCheck($wref); if($wref != ""){ $wref1 = $database->getVillageType3($wref); if($wref1['oasistype'] == 0 && $wref1['occupied'] == 1){ $vname = $database->getVillageField($wref,"name"); }else if($wref1['oasistype'] == 0 && $wref1['occupied'] == 0){ $vname = "Abandoned valley"; }else if($wref1['oasistype'] != 0 && $wref1['occupied'] == 1){ $vname = "Occupied Oasis"; }else if($wref1['oasistype'] != 0 && $wref1['occupied'] == 0){ $vname = "Unoccupied Oasis"; } $replace[$rep3+$i] = "$vname($cx|$cy)"; } } } $input = preg_replace('/\[message\]/', '', $input); $input = preg_replace('/\[\/message\]/', '', $input); $bbcoded = preg_replace($pattern, $replace, $input); ?> \ No newline at end of file +$1"; $replace[1] = "$1"; $replace[2] = "$1"; $replace[3] = "".U1.""; $replace[4] = "".U2.""; $replace[5] = "".U3.""; $replace[6] = "".U4.""; $replace[7] = "".U5.""; $replace[8] = "".U6.""; $replace[9] = "".U7.""; $replace[10] = "".U8.""; $replace[11] = "".U9.""; $replace[12] = "".U10.""; $replace[13] = "".U11.""; $replace[14] = "".U12.""; $replace[15] = "".U13.""; $replace[16] = "".U14.""; $replace[17] = "".U15.""; $replace[18] = "".U16.""; $replace[19] = "".U17.""; $replace[20] = "".U18.""; $replace[21] = "".U19.""; $replace[22] = "".U20.""; $replace[23] = "".U21.""; $replace[24] = "".U22.""; $replace[25] = "".U23.""; $replace[26] = "".U24.""; $replace[27] = "".U25.""; $replace[28] = "".U26.""; $replace[29] = "".U27.""; $replace[30] = "".U28.""; $replace[31] = "".U29.""; $replace[32] = "".U30.""; $replace[33] = "".U31.""; $replace[34] = "".U32.""; $replace[35] = "".U33.""; $replace[36] = "".U34.""; $replace[37] = "".U35.""; $replace[38] = "".U36.""; $replace[39] = "".U37.""; $replace[40] = "".U38.""; $replace[41] = "".U39.""; $replace[42] = "".U40.""; $replace[43] = "".U41.""; $replace[44] = "".U42.""; $replace[45] = "".U43.""; $replace[46] = "".U44.""; $replace[47] = "".U45.""; $replace[48] = "".U46.""; $replace[49] = "".U47.""; $replace[50] = "".U48.""; $replace[51] = "".U49.""; $replace[52] = "".U50.""; $replace[53] = "".U0.""; $replace[54] = "".R1.""; $replace[55] = "".R2.""; $replace[56] = "".R3.""; $replace[57] = "".R4.""; $replace[54] = "Lumber"; $replace[55] = "Clay"; $replace[56] = "Iron"; $replace[57] = "Crop"; $replace[58] = "*aha*"; $replace[59] = "*angry*"; $replace[60] = "*cool*"; $replace[61] = "*cry*"; $replace[62] = "*cute*"; $replace[63] = "*depressed*"; $replace[64] = "*eek*"; $replace[65] = "*ehem*"; $replace[66] = "*emotional*"; $replace[67] = ":D"; $replace[68] = ":)"; $replace[69] = "*hit*"; $replace[70] = "*hmm*"; $replace[71] = "*hmpf*"; $replace[72] = "*hrhr*"; $replace[73] = "*huh*"; $replace[74] = "*lazy*"; $replace[75] = "*love*"; $replace[76] = "*nocomment*"; $replace[77] = "*noemotion*"; $replace[78] = "*notamused*"; $replace[79] = "*pout*"; $replace[80] = "*redface*"; $replace[81] = "*rolleyes*"; $replace[82] = ":("; $replace[83] = "*shy*"; $replace[84] = "*smile*"; $replace[85] = "*tongue*"; $replace[86] = "*veryangry*"; $replace[87] = "*veryhappy*"; $replace[88] = ";)"; for($i=0;$i<=$alliance;$i++){ $pattern[89+$i] = "/\[alliance".$i."\](.*?)\[\/alliance".$i."\]/is"; ${'bbcoded1_'.$i} = preg_replace($pattern[89+$i], "$1", $input); ${'bbcoded1_'.$i} = preg_replace('/\[\/alliance'.$i.'\](.*?)\[\/message\]/is', '', $input); ${'bbcoded1_'.$i} = preg_replace('/\[message\](.*?)\[alliance'.$i.'\]/is', '', ${'bbcoded1_'.$i}); $aname = $database->getAllianceID(${'bbcoded1_'.$i}); if($aname != ""){ $replace[89+$i] = "$1"; }else{ $replace[89+$i] = "alliance not exist"; } $rep1 = 90+$i; } for($i=0;$i<=$player;$i++){ $pattern[$rep1+$i] = "/\[player".$i."\](.*?)\[\/player".$i."\]/is"; ${'bbcoded2_'.$i} = preg_replace($pattern[$rep1+$i], "$1", $input); ${'bbcoded2_'.$i} = preg_replace('/\[\/player'.$i.'\](.*?)\[\/message\]/is', '', $input); ${'bbcoded2_'.$i} = preg_replace('/\[message\](.*?)\[player'.$i.'\]/is', '', ${'bbcoded2_'.$i}); $uname = $database->getUserField(${'bbcoded2_'.$i}, "id", 1); if($uname != ""){ $replace[$rep1+$i] = "$1"; }else{ $replace[$rep1+$i] = "player not exist"; } $rep2 = $rep1+$i+1; } for($i=0;$i<=$report;$i++){ $pattern[$rep2+$i] = "/\[report".$i."\](.*?)\[\/report".$i."\]/is"; ${'bbcoded3_'.$i} = preg_replace($pattern[$rep2+$i], "$1", $input); ${'bbcoded3_'.$i} = preg_replace('/\[\/report'.$i.'\](.*?)\[\/message\]/is', '', $input); ${'bbcoded3_'.$i} = preg_replace('/\[message\](.*?)\[report'.$i.'\]/is', '', ${'bbcoded3_'.$i}); $report = count($database->getNotice4(${'bbcoded3_'.$i})); if($report > 0){ $topic = $database->getNotice2(${'bbcoded3_'.$i},"topic"); $replace[$rep2+$i] = "$topic"; }else{ $replace[$rep2+$i] = "report not exist"; } $rep3 = $rep2+$i+1; } for($i=0;$i<=$coor;$i++){ $pattern[$rep3+$i] = "/\[coor".$i."\](.*?)\[\/coor".$i."\]/is"; ${'bbcoded4_'.$i} = preg_replace($pattern[$rep3+$i], "$1", $input); ${'bbcoded4_'.$i} = preg_replace('/\[\/coor'.$i.'\](.*?)\[\/message\]/is', '', $input); ${'bbcoded4_'.$i} = preg_replace('/\[message\](.*?)\[coor'.$i.'\]/is', '', ${'bbcoded4_'.$i}); for($x = 0; $x < 401; $x++) { if(preg_match('/^'.$x.'/', ${'bbcoded4_'.$i})){ $xx = 1; $cx = $x; } } for($x = 0; $x > -401; $x--) { if(preg_match('/^'.$x.'/', ${'bbcoded4_'.$i})){ $xx = 1; $cx = $x; } } for($y = 0; $y < 401; $y++) { if(preg_match('/-'.$y.'$/', ${'bbcoded4_'.$i})){ $yy = 1; $cy = $y*(-1); }else if(preg_match('/'.$y.'$/', ${'bbcoded4_'.$i})){ $yy = 1; $cy = $y; } } if(preg_match('/|/', ${'bbcoded4_'.$i}) && $xx == 1 && $yy == 1){ $wref = $database->getVilWref($cx,$cy); $cwref = $generator->getMapCheck($wref); if($wref != ""){ $wref1 = $database->getVillageType3($wref); if($wref1['oasistype'] == 0 && $wref1['occupied'] == 1){ $vname = $database->getVillageField($wref,"name"); }else if($wref1['oasistype'] == 0 && $wref1['occupied'] == 0){ $vname = "Abandoned valley"; }else if($wref1['oasistype'] != 0 && $wref1['occupied'] == 1){ $vname = "Occupied Oasis"; }else if($wref1['oasistype'] != 0 && $wref1['occupied'] == 0){ $vname = "Unoccupied Oasis"; } $replace[$rep3+$i] = "$vname($cx|$cy)"; } } } $input = preg_replace('/\[message\]/', '', $input); $input = preg_replace('/\[\/message\]/', '', $input); $bbcoded = preg_replace($pattern, $replace, $input); ?> \ No newline at end of file diff --git a/Templates/Build/avaliable/ww.tpl b/Templates/Build/avaliable/ww.tpl deleted file mode 100644 index 3b7002ff..00000000 --- a/Templates/Build/avaliable/ww.tpl +++ /dev/null @@ -1,16 +0,0 @@ -

Wonder Of The World

- - - - - - - - -
The wonder of the world represents the pride of creation. Only the mightiest and richest are able to build such a masterwork and defend it against envious enemies. - - Wonder Of The World -
\ No newline at end of file diff --git a/Templates/Build/avaliable/wwavailupgrade.tpl b/Templates/Build/avaliable/wwavailupgrade.tpl deleted file mode 100644 index 52351ef2..00000000 --- a/Templates/Build/avaliable/wwavailupgrade.tpl +++ /dev/null @@ -1,84 +0,0 @@ -canBuild(99,$bid); -$uprequire = $building->resourceRequired(99,$bid); -?> - - Lumber | Clay | Iron | Crop | Crop consumption | durationgetTimeFormat($uprequire['time']); - - if($session->userinfo['gold'] >= 3 && $building->getTypeLevel(17) >= 1) { - echo "|\"NPC"; - } ?> - - - -The workers are already at work."; - if($session->goldclub == 1){ -?>
-gold >= 1){ - echo "Constructing with master builder "; - echo '(costs: Gold1)'; - }else{ - echo "Constructing with master builder"; - echo '(costs: Gold1)'; - } - } - } - else if($bindicator == 3) { - echo "The workers are already at work. (waiting loop)"; - if($session->goldclub == 1){ -?>
-gold >= 1){ - echo "Constructing with master builder "; - echo '(costs: Gold1)'; - }else{ - echo "Constructing with master builder"; - echo '(costs: Gold1)'; - } - } - } - else if($bindicator == 4) { - echo "Not enough food. Expand cropland."; - } - else if($bindicator == 5) { - echo "Upgrade Warehouse."; - } - else if($bindicator == 6) { - echo "Upgrade Granary."; - } - else if($bindicator == 7) { - $neededtime = $building->calculateAvaliable(99,$bid); - echo "Enough resources ".$neededtime[0]." at ".$neededtime[1].""; - if($session->goldclub == 1){ -?>
-gold >= 1){ - echo "Constructing with master builder "; - echo '(costs: Gold1)'; - }else{ - echo "Constructing with master builder"; - echo '(costs: Gold1)'; - } - } - } - else if($bindicator == 8) { - if($session->access!=BANNED){ - echo "checker."\">Construct building."; - }else{ - echo "Construct building."; - } - } - else if($bindicator == 9) { - if($session->access!=BANNED){ - echo "checker."\">Construct building. (waiting loop)"; - }else{ - echo "checker."\">Construct building. (waiting loop)"; - } - } - ?> - \ No newline at end of file diff --git a/Templates/dorf3/menu.tpl b/Templates/dorf3/menu.tpl index 03683a68..cbdb3373 100644 --- a/Templates/dorf3/menu.tpl +++ b/Templates/dorf3/menu.tpl @@ -1,7 +1,7 @@ -
- Overview - | Resources - | Warehouse - | CP - | Troops +
+ Overview + | Resources + | Warehouse + | CP + | Troops
\ No newline at end of file diff --git a/install/data/constant_format.tpl b/install/data/constant_format.tpl deleted file mode 100644 index ffd91ea5..00000000 --- a/install/data/constant_format.tpl +++ /dev/null @@ -1,270 +0,0 @@ - \ No newline at end of file diff --git a/install/data/sql.sql b/install/data/sql.sql deleted file mode 100644 index 25744564..00000000 --- a/install/data/sql.sql +++ /dev/null @@ -1,1547 +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) 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 ) NOT NULL , - `name` VARCHAR( 50 ) NOT NULL , - `url` VARCHAR( 150 ) NOT NULL , - `pos` INT( 10 ) 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) NOT NULL, - `password` varchar(100) NOT NULL, - `email` text NOT NULL, - `tribe` tinyint(1) unsigned NOT NULL, - `access` tinyint(1) unsigned NOT NULL DEFAULT '1', - `act` varchar(10) NOT NULL, - `timestamp` int(11) unsigned NOT NULL DEFAULT '0', - `location` text NOT NULL, - `act2` varchar(10) 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(15) 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 NOT NULL, - `log` text NOT NULL, - `time` int(25) 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) NOT NULL AUTO_INCREMENT, - `allyid` int(11) NOT NULL, - `categorie` int(11) NOT NULL, - `plaats` int(11) NOT NULL, - `week` int(11) NOT NULL, - `points` bigint(255) NOT NULL, - `img` varchar(255) NOT NULL, - `del` tinyint(1) 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) NOT NULL, - `desc` text NOT NULL, - `effect` varchar(100) NOT NULL, - `img` varchar(20) 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) NOT NULL, - `tag` varchar(100) 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 NOT NULL, - `desc` text 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) NOT NULL DEFAULT '0', - `Aap` bigint(255) unsigned NOT NULL DEFAULT '0', - `Adp` bigint(255) unsigned NOT NULL DEFAULT '0', - `clp` bigint(255) NOT NULL DEFAULT '0', - `oldrank` bigint(255) unsigned NOT NULL DEFAULT '0', - `forumlink` varchar(150) 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) NOT NULL, - `timestamp` int(11) NOT NULL, - `accept` int(1) 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) NOT NULL, - `comment` text 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) 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) 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) NOT NULL AUTO_INCREMENT, - `uid` int(11) NOT NULL, - `name` varchar(100) NOT NULL, - `reason` varchar(30) NOT NULL, - `time` int(11) NOT NULL, - `end` varchar(10) NOT NULL, - `admin` int(11) NOT NULL, - `active` int(11) 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 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) NOT NULL, - `name` varchar(255) NOT NULL, - `alli` varchar(255) NOT NULL, - `date` varchar(255) NOT NULL, - `msg` varchar(255) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; - --- --- Dumping data for table `%prefix%chat` --- - - --- -------------------------------------------------------- - --- --- 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) 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) 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) 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) 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) NOT NULL AUTO_INCREMENT, - `owner` varchar(255) NOT NULL, - `alliance` varchar(255) NOT NULL, - `forum_name` varchar(255) NOT NULL, - `forum_des` text NOT NULL, - `forum_area` varchar(255) 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) NOT NULL AUTO_INCREMENT, - `alliance` varchar(255) NOT NULL, - `result` varchar(255) 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) NOT NULL AUTO_INCREMENT, - `post` longtext NOT NULL, - `topic` varchar(255) NOT NULL, - `owner` varchar(255) NOT NULL, - `date` varchar(255) 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_topic` --- - -CREATE TABLE IF NOT EXISTS `%PREFIX%forum_topic` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `title` varchar(255) NOT NULL, - `post` longtext NOT NULL, - `date` varchar(255) NOT NULL, - `post_date` varchar(255) NOT NULL, - `cat` varchar(255) NOT NULL, - `owner` varchar(255) NOT NULL, - `alliance` varchar(255) NOT NULL, - `ends` varchar(255) NOT NULL, - `close` varchar(255) NOT NULL, - `stick` varchar(255) 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 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 NOT NULL, - `wref` int(11) unsigned NOT NULL, - `level` tinyint(3) unsigned NOT NULL, - `points` int(3) unsigned NOT NULL, - `experience` int(11) 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) 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 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) 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 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) NOT NULL, - `message` text 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) NOT NULL, - `img` varchar(10) 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 NOT NULL, - `ntype` tinyint(1) unsigned NOT NULL, - `data` text 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, - `loyalty` int(11) NOT NULL DEFAULT '100', - `owner` int(11) unsigned NOT NULL DEFAULT '2', - `name` varchar(32) 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) NOT NULL, - `uid` int(11) unsigned NOT NULL, - `time` varchar(32) 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) NOT NULL, - `towref` int(11) unsigned NOT NULL, - `x` int(11) NOT NULL, - `y` int(11) NOT NULL, - `distance` varchar(5) 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) 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 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) NOT NULL, - `password` varchar(100) NOT NULL, - `email` text 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 NOT NULL DEFAULT '0000-00-00', - `location` text NOT NULL, - `desc1` text NOT NULL, - `desc2` text 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) NOT NULL, - `act` varchar(10) 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) NOT NULL, - `gpack` varchar(255) NOT NULL DEFAULT 'gpack/travian_default/', - `cp` float(14,5) unsigned NOT NULL DEFAULT '1', - `lastupdate` int(11) unsigned NOT NULL, - `RR` int(255) NOT NULL DEFAULT '0', - `Rc` int(255) NOT NULL DEFAULT '0', - `ok` tinyint(1) unsigned NOT NULL DEFAULT '0', - `clp` bigint(255) 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, - 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) NOT NULL, -`capital` tinyint(1) unsigned NOT NULL, -`pop` int(11) unsigned NOT NULL, -`cp` int(11) unsigned NOT NULL, -`celebration` int(11) NOT NULL DEFAULT '0', -`type` int(11) NOT NULL DEFAULT '0', -`wood` float(12,2) NOT NULL, -`clay` float(12,2) NOT NULL, -`iron` float(12,2) NOT NULL, -`maxstore` int(11) unsigned NOT NULL, -`crop` float(12,2) NOT NULL, -`maxcrop` int(11) unsigned NOT NULL, -`lastupdate` int(11) unsigned NOT NULL, -`loyalty` float(9,6) unsigned NOT NULL DEFAULT '100', -`exp1` int(11) NOT NULL, -`exp2` int(11) NOT NULL, -`exp3` int(11) NOT NULL, -`created` int(11) 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=latin1 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) NOT NULL, - `y` int(11) NOT NULL, - `occupied` tinyint(1) NOT NULL, - `image` varchar(3) 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) NOT NULL, - `cpw` varchar(100) NOT NULL, - `used` tinyint(1) NOT NULL DEFAULT '0', - `timestamp` timestamp 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) NOT NULL, - `attack_time` int(25) NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; - --- --- Dumping data for table `%prefix%password` --- - --- -------------------------------------------------------- \ No newline at end of file diff --git a/install/include/database.php b/install/include/database.php deleted file mode 100644 index b94124b5..00000000 --- a/install/include/database.php +++ /dev/null @@ -1,62 +0,0 @@ -connection = mysqli_connect(SQL_SERVER, SQL_USER, SQL_PASS, SQL_DB) or die(mysqli_error()); - } - function query($query) { - return $this->connection->query($query); - } - -}; - -class MYSQL_DB { - - var $connection; - - function MYSQL_DB() { - $this->connection = mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS) or die(mysql_error()); - mysql_select_db(SQL_DB, $this->connection) or die(mysql_error()); - } - - function mysql_exec_batch ($p_query, $p_transaction_safe = true) { - if ($p_transaction_safe) { - $p_query = 'START TRANSACTION;' . $p_query . '; COMMIT;'; - }; - $query_split = preg_split ("/[;]+/", $p_query); - foreach ($query_split as $command_line) { - $command_line = trim($command_line); - if ($command_line != '') { - $query_result = mysql_query($command_line); - if ($query_result == 0) { - break; - }; - }; - }; - return $query_result; -} - - function query($query) { - return mysql_query($query, $this->connection); - } -}; - -if(DB_TYPE) { - $database = new MYSQLi_DB; -} -else { - $database = new MYSQL_DB; -} -?> \ No newline at end of file diff --git a/install/include/multihunter.php b/install/include/multihunter.php deleted file mode 100644 index 3fee7536..00000000 --- a/install/include/multihunter.php +++ /dev/null @@ -1,31 +0,0 @@ -getWref(0, 0); - $uid = 5; - $status = $database->getVillageState($wid); - if($status == 0) { - $database->setFieldTaken($wid); - $database->addVillage($wid, $uid, 'Multihunter', '0'); - $database->addResourceFields($wid, $database->getVillageType($wid)); - $database->addUnits($wid); - $database->addTech($wid); - $database->addABTech($wid); - } - } - -$gameinstall = 0; - header("Location: ../index.php?s=5"); - -?> \ No newline at end of file diff --git a/install/include/oasis.php b/install/include/oasis.php deleted file mode 100644 index 2ec563aa..00000000 --- a/install/include/oasis.php +++ /dev/null @@ -1,21 +0,0 @@ -populateOasisdata(); - $database->populateOasis(); - $database->populateOasisUnitsHigh(); - - - - - header("Location: ../index.php?s=6"); - -?> \ No newline at end of file diff --git a/install/include/wdata.php b/install/include/wdata.php deleted file mode 100644 index 698bf119..00000000 --- a/install/include/wdata.php +++ /dev/null @@ -1,116 +0,0 @@ -= $rand){ - $typ='1'; - $otype='0'; - } else if("90" >= $rand){ - $typ='2'; - $otype='0'; - } else if("400" >= $rand){ - $typ='3'; - $otype='0'; - } else if("480" >= $rand){ - $typ='4'; - $otype='0'; - } else if("560" >= $rand){ - $typ='5'; - $otype='0'; - } else if("570" >= $rand){ - $typ='6'; - $otype='0'; - } else if("600" >= $rand){ - $typ='7'; - $otype='0'; - } else if("630" >= $rand){ - $typ='8'; - $otype='0'; - } else if("660" >= $rand){ - $typ='9'; - $otype='0'; - } else if("740" >= $rand){ - $typ='10'; - $otype='0'; - } else if("820" >= $rand){ - $typ='11'; - $otype='0'; - } else if("900" >= $rand){ - $typ='12'; - $otype='0'; - } else if("908" >= $rand){ - $typ='0'; - $otype='1'; - } else if("916" >= $rand){ - $typ='0'; - $otype='2'; - } else if("924" >= $rand){ - $typ='0'; - $otype='3'; - } else if("932" >= $rand){ - $typ='0'; - $otype='4'; - } else if("940" >= $rand){ - $typ='0'; - $otype='5'; - } else if("948" >= $rand){ - $typ='0'; - $otype='6'; - } else if("956" >= $rand){ - $typ='0'; - $otype='7'; - } else if("964" >= $rand){ - $typ='0'; - $otype='8'; - } else if("972" >= $rand){ - $typ='0'; - $otype='9'; - } else if("980" >= $rand){ - $typ='0'; - $otype='10'; - } else if("988" >= $rand){ - $typ='0'; - $otype='11'; - } else { - $typ='0'; - $otype='12'; - } - } - //image pick - if($otype=='0'){ - $image="t".rand(0,9).""; - } else { - $image="o".$otype.""; - } - - //into database - $q = "INSERT into ".TB_PREFIX."wdata values (0,'".$typ."','".$otype."','".$x."','".$y."',0,'".$image."')"; - $database->query($q); - } -} - - header("Location: ../index.php?s=4"); - -?> \ No newline at end of file diff --git a/install/index.php b/install/index.php deleted file mode 100644 index 1268dcbb..00000000 --- a/install/index.php +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - TravianX Installation - - - - - - - - - - - - - - - -
- - -
- - - -
-
- -
- - - - - -
- - -
- -
- - \ No newline at end of file diff --git a/install/process.php b/install/process.php deleted file mode 100644 index 2fd0cb76..00000000 --- a/install/process.php +++ /dev/null @@ -1,135 +0,0 @@ -constForm(); - } else - if(isset($_POST['substruc'])) { - $this->createStruc(); - } else - if(isset($_POST['subwdata'])) { - $this->createWdata(); - } else - if(isset($_POST['subacc'])) { - $this->createAcc(); - } else { - header("Location: index.php"); - } - } - - function constForm() { - $myFile = "include/constant.php"; - $fh = fopen($myFile, 'w') or die("


Can't open file: install\include\constant.php"); - $text = file_get_contents("data/constant_format.tpl"); - $text = preg_replace("'%SERVERNAME%'", $_POST['servername'], $text); - $text = preg_replace("'%SSTARTDATE%'", $_POST['start_date'], $text); - $text = preg_replace("'%SSTARTTIME%'", $_POST['start_time'], $text); - $text = preg_replace("'%LANG%'", $_POST['lang'], $text); - $text = preg_replace("'%SPEED%'", $_POST['speed'], $text); - $text = preg_replace("'%INCSPEED%'", $_POST['incspeed'], $text); - $text = preg_replace("'%EVASIONSPEED%'", $_POST['evasionspeed'], $text); - $text = preg_replace("'%TRADERCAP%'", $_POST['tradercap'], $text); - $text = preg_replace("'%STORAGE_MULTIPLIER%'", $_POST['storage_multiplier'], $text); - $text = preg_replace("'%UTRACK%'", $_POST['trackusers'], $text); - $text = preg_replace("'%UTOUT%'", $_POST['timeout'], $text); - $text = preg_replace("'%AUTOD%'", $_POST['autodel'], $text); - $text = preg_replace("'%AUTODT%'", $_POST['autodeltime'], $text); - $text = preg_replace("'%MAX%'", $_POST['wmax'], $text); - $text = preg_replace("'%GP%'", $_POST['gpack'], $text); - $text = preg_replace("'%SSERVER%'", $_POST['sserver'], $text); - $text = preg_replace("'%SUSER%'", $_POST['suser'], $text); - $text = preg_replace("'%SPASS%'", $_POST['spass'], $text); - $text = preg_replace("'%SDB%'", $_POST['sdb'], $text); - $text = preg_replace("'%PREFIX%'", $_POST['prefix'], $text); - $text = preg_replace("'%CONNECTT%'", $_POST['connectt'], $text); - $text = preg_replace("'%AEMAIL%'", $_POST['aemail'], $text); - $text = preg_replace("'%ANAME%'", $_POST['aname'], $text); - $text = preg_replace("'%SUBDOM%'", $_POST['subdom'], $text); - $text = preg_replace("'%LOGBUILD%'", $_POST['log_build'], $text); - $text = preg_replace("'%LOGTECH%'", $_POST['log_tech'], $text); - $text = preg_replace("'%LOGLOGIN%'", $_POST['log_login'], $text); - $text = preg_replace("'%LOGGOLDFIN%'", $_POST['log_gold_fin'], $text); - $text = preg_replace("'%LOGADMIN%'", $_POST['log_admin'], $text); - $text = preg_replace("'%LOGWAR%'", $_POST['log_war'], $text); - $text = preg_replace("'%LOGMARKET%'", $_POST['log_market'], $text); - $text = preg_replace("'%LOGILLEGAL%'", $_POST['log_illegal'], $text); - $text = preg_replace("'%MINUSERLENGTH%'", $_POST['userlength'], $text); - $text = preg_replace("'%MINPASSLENGTH%'", $_POST['passlength'], $text); - $text = preg_replace("'%SPECIALCHARS%'", $_POST['specialchars'], $text); - $text = preg_replace("'%ACTIVATE%'", $_POST['activate'], $text); - $text = preg_replace("'%ARANK%'", $_POST['admin_rank'], $text); - $text = preg_replace("'%QUEST%'", $_POST['quest'], $text); - $text = preg_replace("'%BEGINNER%'", $_POST['beginner'], $text); - $text = preg_replace("'%STARTTIME%'", time(), $text); - $text = preg_replace("'%DOMAIN%'", $_POST['domain'], $text); - $text = preg_replace("'%HOMEPAGE%'", $_POST['homepage'], $text); - $text = preg_replace("'%SERVER%'", $_POST['server'], $text); - $text = preg_replace("'%LIMIT_MAILBOX%'", $_POST['limit_mailbox'], $text); - $text = preg_replace("'%MAX_MAILS%'", $_POST['max_mails'], $text); - $text = preg_replace("'%DEMOLISH%'", $_POST['demolish'], $text); - $text = preg_replace("'%BOX1%'", $_POST['box1'], $text); - $text = preg_replace("'%BOX2%'", $_POST['box2'], $text); - $text = preg_replace("'%BOX3%'", $_POST['box3'], $text); - $text = preg_replace("'%VILLAGE_EXPAND%'", $_POST['village_expand'], $text); - $text = preg_replace("'%ERROR%'", $_POST['error'], $text); - $text = preg_replace("'%GP_LOCATE%'", $_POST['gp_locate'], $text); - $text = preg_replace("'%PLUS_TIME%'", $_POST['plus_time'], $text); - $text = preg_replace("'%PLUS_PRODUCTION%'", $_POST['plus_production'], $text); - $text = preg_replace("'%GREAT_WKS%'", $_POST['great_wks'], $text); - $text = preg_replace("'%TS_THRESHOLD%'", $_POST['ts_threshold'], $text); - $text = preg_replace("'%WW%'", $_POST['ww'], $text); - $text = preg_replace("'%T4_COMING%'", $_POST['t4_coming'], $text); - $text = preg_replace("'%REG_OPEN%'", $_POST['reg_open'], $text); - $text = preg_replace("'%PEACE%'", $_POST['peace'], $text); - - fwrite($fh, $text); - - if(file_exists("include/constant.php")) { - header("Location: index.php?s=2"); - } else { - header("Location: index.php?s=1&c=1"); - } - - fclose($fh); - } - - function createStruc() { - global $database; - $str = file_get_contents("data/sql.sql"); - $str = preg_replace("'%PREFIX%'", TB_PREFIX, $str); - if(DB_TYPE) { - $result = $database->connection->multi_query($str); - } else { - $result = $database->mysql_exec_batch($str); - } - if($result) { - header("Location: index.php?s=3"); - } else { - header("Location: index.php?s=2&c=1"); - } - } - - function createWdata() { - header("Location: include/wdata.php"); - } - -} -; - -$process = new Process; - -?> diff --git a/install/templates/config.tpl b/install/templates/config.tpl deleted file mode 100644 index 8fbed192..00000000 --- a/install/templates/config.tpl +++ /dev/null @@ -1,273 +0,0 @@ -Error creating constant.php check cmod.

"; -} -?> -
- -

- SERVER RELATED - - - - - - - - - - - - - - - - - - - - -
Server name:
Server speed:
Troop speed:
Evasion speed:
Trader capacity (1 = 1x...):
World size: - -
Register Open: - -
Server:
Domain:
Homepage:
Language: - -
Beginners protection length: - -
Plus account length: - -
+25% production length: - -
Storage Multipler:
Tourn Threshold:
Great Workshop: - -
ww: - -
Peace system: - -
-

- -

- ADMIN ACCOUNT - - - - - -
Admin name:
Admin email:
Show admin in stats: - -
-

- -

- SQL RELATED - - - - - - - -
Hostname:
Username:
Password:
DB name:
Prefix:
Type:
-

- - - - - - - -

- NEWSBOX OPTIONS - - - - -
Newsbox 1:
Newsbox 2:
Newsbox 3:
-

- -

- LOG RELATED (You should disable them) - - - - - - - - - - - -
Log Building:
Log Tech:
Log Login:
Log Gold:
Log Admin:
Log War:
Log Market:
Log Illegal:
Log :
-

- -

- EXTRA OPTIONS - - - - - - - - - - -
Quest:
Activate:
Limit Mailbox: (NOT DONE)
Max mails: (NOT DONE)
Demolish - lvl required:
Village Expand:
Error Reporting:
T4 is Coming screen:
-

-
- Server Start Settings - - - -
Start Date:
Start Time:
- -
- -
-
- -
\ No newline at end of file diff --git a/install/templates/dataform.tpl b/install/templates/dataform.tpl deleted file mode 100644 index ffc2788a..00000000 --- a/install/templates/dataform.tpl +++ /dev/null @@ -1,25 +0,0 @@ -Error importing database. Check configuration.
"; -} -?> -
- - -

- Create SQL Structure - - - -
Warning: This can take some time. Do not click, just wait till the next page has been loaded!
-

-
- \ No newline at end of file diff --git a/install/templates/end.tpl b/install/templates/end.tpl deleted file mode 100644 index 6c2dee05..00000000 --- a/install/templates/end.tpl +++ /dev/null @@ -1,20 +0,0 @@ - -

-Thanks for installing TravianX. -

Please remove/rename the installation folder.

-All the files are placed. The database is created, so you can now start playing on your own Travian. -

- - -

-

> My TravianX homepage <
-

- \ No newline at end of file diff --git a/install/templates/field.tpl b/install/templates/field.tpl deleted file mode 100644 index 60374858..00000000 --- a/install/templates/field.tpl +++ /dev/null @@ -1,25 +0,0 @@ -Error creating wdata. Check configuration or file.
"; -} -?> -
- - -

- Create World Data - - - -
Warning: This can take some time. Do not click, just wait till the next page has been loaded!
-

-
- \ No newline at end of file diff --git a/install/templates/greet.tpl b/install/templates/greet.tpl deleted file mode 100644 index 20e9df2d..00000000 --- a/install/templates/greet.tpl +++ /dev/null @@ -1,43 +0,0 @@ - -
- -

  Disclaimer

- - - - - -
- TravianX Team -
-
- -
-
- -
-
- - diff --git a/install/templates/menu.tpl b/install/templates/menu.tpl deleted file mode 100644 index 01be4f88..00000000 --- a/install/templates/menu.tpl +++ /dev/null @@ -1,27 +0,0 @@ - \ No newline at end of file diff --git a/install/templates/multihunter.tpl b/install/templates/multihunter.tpl deleted file mode 100644 index 13bc860d..00000000 --- a/install/templates/multihunter.tpl +++ /dev/null @@ -1,29 +0,0 @@ - - - - -
- -

- Create Multihunter account - - - - -
Name:
Password:
Note: Rember this password! You need it for the ACP
-

- -
-
-
- - \ No newline at end of file diff --git a/install/templates/oasis.tpl b/install/templates/oasis.tpl deleted file mode 100644 index eeb1dacb..00000000 --- a/install/templates/oasis.tpl +++ /dev/null @@ -1,18 +0,0 @@ - -
-

- Populate Oasis - - - -
Warning: This can take some time. Do not click, just wait till the next page has been loaded!
-

-
diff --git a/install/templates/script.tpl b/install/templates/script.tpl deleted file mode 100644 index 26c9141f..00000000 --- a/install/templates/script.tpl +++ /dev/null @@ -1,145 +0,0 @@ - - -bar_id = uniqid('progressbar'); - $this->label = $label; - - $this->max_ticks = $max_ticks; - $this->ticks = 0; - } - - public function tick() { - $this->ticks++; - $this->draw_progress(); - } - - public function draw() { - $this->draw_bar(); - $this->draw_progress(); - } - - static public function draw_css() { - echo ' - - '; - } - - protected function draw_bar() { - echo ' -
- -
- -
-
- '; - echo ' - - '; - - $this->flush(); - } - - protected function draw_progress() { - - $width = round($this->ticks / $this->max_ticks * 100, 2); - $label = sprintf($this->label, $this->ticks, $this->max_ticks); - - echo ' - - - '; - $this->flush(); - } - - protected function flush() { - while(ob_get_level() > 0) { - ob_end_flush(); - } - - flush(); - } -} -?> \ No newline at end of file diff --git a/install/winner.php b/install/winner.php deleted file mode 100644 index 5c653acb..00000000 --- a/install/winner.php +++ /dev/null @@ -1,1178 +0,0 @@ -pageLoadTimeStart(); -if(isset($_GET['newdid'])) { - $_SESSION['wid'] = $_GET['newdid']; - header("Location: ".$_SERVER['PHP_SELF']); -} -else { - $building->procBuild($_GET); -} - -## Get Rankings for Ranking Section -## Top 3 Population -$q = " - SELECT ".TB_PREFIX."users.id userid, ".TB_PREFIX."users.username username,".TB_PREFIX."users.alliance alliance, ( - SELECT SUM( ".TB_PREFIX."vdata.pop ) - FROM ".TB_PREFIX."vdata - WHERE ".TB_PREFIX."vdata.owner = userid - )totalpop, ( - SELECT COUNT( " . TB_PREFIX . "vdata.wref ) - FROM " . TB_PREFIX . "vdata - WHERE " . TB_PREFIX . "vdata.owner = userid AND type != 99 - )totalvillages, ( - SELECT " . TB_PREFIX . "alidata.tag - FROM " . TB_PREFIX . "alidata, " . TB_PREFIX . "users - WHERE " . TB_PREFIX . "alidata.id = " . TB_PREFIX . "users.alliance - AND " . TB_PREFIX . "users.id = userid - )allitag - FROM " . TB_PREFIX . "users - WHERE " . TB_PREFIX . "users.access < " . (INCLUDE_ADMIN ? "10" : "8") . " - ORDER BY totalpop DESC, totalvillages DESC, username ASC"; - - $result = (mysql_query($q)); - while($row = mysql_fetch_assoc($result)) - { - $datas[] = $row; - } - foreach($datas as $result) - { - $value['userid'] = $result['userid']; - $value['username'] = $result['username']; - $value['alliance'] = $result['alliance']; - $value['aname'] = $result['allitag']; - $value['totalpop'] = $result['totalpop']; - $value['totalvillage'] = $result['totalvillages']; - } - ## Top Attacker - $q = " - SELECT " . TB_PREFIX . "users.id userid, " . TB_PREFIX . "users.username username, " . TB_PREFIX . "users.apall, ( - SELECT COUNT( " . TB_PREFIX . "vdata.wref ) - FROM " . TB_PREFIX . "vdata - WHERE " . TB_PREFIX . "vdata.owner = userid AND type != 99 - )totalvillages, ( - SELECT SUM( " . TB_PREFIX . "vdata.pop ) - FROM " . TB_PREFIX . "vdata - WHERE " . TB_PREFIX . "vdata.owner = userid - )pop - FROM " . TB_PREFIX . "users - WHERE " . TB_PREFIX . "users.apall >=0 AND " . TB_PREFIX . "users.access < " . (INCLUDE_ADMIN ? "10" : "8") . " AND " . TB_PREFIX . "users.tribe <= 3 - ORDER BY " . TB_PREFIX . "users.apall DESC, pop DESC, username ASC"; - - $result = mysql_query($q) or die(mysql_error()); - while($row = mysql_fetch_assoc($result)) - { - $attacker[] = $row; - } - foreach($attacker as $key => $row) - { - $value['username'] = $row['username']; - $value['totalvillages'] = $row['totalvillages']; - $value['id'] = $row['userid']; - $value['totalpop'] = $row['pop']; - $value['apall'] = $row['apall']; - } - ## Top Defender - $q = " - SELECT " . TB_PREFIX . "users.id userid, " . TB_PREFIX . "users.username username, " . TB_PREFIX . "users.dpall, ( - SELECT COUNT( " . TB_PREFIX . "vdata.wref ) - FROM " . TB_PREFIX . "vdata - WHERE " . TB_PREFIX . "vdata.owner = userid AND type != 99 - )totalvillages, ( - SELECT SUM( " . TB_PREFIX . "vdata.pop ) - FROM " . TB_PREFIX . "vdata - WHERE " . TB_PREFIX . "vdata.owner = userid - )pop - FROM " . TB_PREFIX . "users - WHERE " . TB_PREFIX . "users.dpall >=0 AND " . TB_PREFIX . "users.access < " . (INCLUDE_ADMIN ? "10" : "8") . " - ORDER BY " . TB_PREFIX . "users.dpall DESC, pop DESC, username ASC"; - $result = mysql_query($q) or die(mysql_error()); - while($row = mysql_fetch_assoc($result)) - { - $defender[] = $row; - } - foreach($defender as $key => $row) - { - $value['username'] = $row['username']; - $value['totalvillages'] = $row['totalvillages']; - $value['id'] = $row['userid']; - $value['totalpop'] = $row['pop']; - $value['dpall'] = $row['dpall']; - } - - ## Get WW Winner Details - $sql = mysql_query("SELECT vref FROM ".TB_PREFIX."fdata WHERE f99 = '100' and f99t = '40'"); - $vref = mysql_result($sql, 0); - - $sql = mysql_query("SELECT name FROM ".TB_PREFIX."vdata WHERE wref = '$vref'")or die(mysql_error()); - $winningvillagename = mysql_result($sql, 0); - - $sql = mysql_query("SELECT owner FROM ".TB_PREFIX."vdata WHERE wref = '$vref'")or die(mysql_error()); - $owner = mysql_result($sql, 0); - - $sql = mysql_query("SELECT username FROM ".TB_PREFIX."users WHERE id = '$owner'")or die(mysql_error()); - $username = mysql_result($sql, 0); - - $sql = mysql_query("SELECT alliance FROM ".TB_PREFIX."users WHERE id = '$owner'")or die(mysql_error()); - $allianceid = mysql_result($sql, 0); - - $sql = mysql_query("SELECT name, tag FROM ".TB_PREFIX."alidata WHERE id = '$allianceid'")or die(mysql_error()); - $winningalliance = mysql_result($sql, 0); - - $sql = mysql_query("SELECT tag FROM ".TB_PREFIX."alidata WHERE id = '$allianceid'")or die(mysql_error()); - $winningalliancetag = mysql_result($sql, 0); - - $sql = mysql_query("SELECT vref FROM ".TB_PREFIX."fdata WHERE f99 = '100' and f99t = '40'"); - $winner = mysql_num_rows($sql); - - if($winner!=0){ -?> - - - - <?php echo SERVER_NAME ?> - - - - - - - - - - - - gpack == null || GP_ENABLE == false) - { - echo " - - "; - } - else - { - echo " - - "; - } - ?> - - - - -
- -
- -
- -
- -

- Dear Players, -

- All good things must come to an end, and so too must this age. Once solomon was given a ring, upon which was inscribed a message that could take away all - the joys or sorrows of the world, that message was roughly translated "this too shall pass". It is both our joy and sorrow to announce to all Players that - this too has now passed! We hope you enjoyed your time with us as much as we enjoyed serving you and thank you for staying until the very end!

- - The results: Day had long since passed into night, yet the workers in getMapCheck($vref)."\">$winningvillagename"; ?>, - laboured on throught the wintery eve, every wary of the countless armies marching to destroy their work, knowing that they raced against time and the greatest - threat that had ever faced the free people. Their tireless struggles were rewared at Time on Date after a - nameless worker laid the dinal stone in what will forever known as the greatest and most magnificent creation in all of history since the fall of the Natars

- - Together with the alliance "$winningalliancetag"; ?>", "$username"; ?>" - was the first to finish the Wonder of the World, using millions of resources whilst also protecting it with hundereds of thousands of brave defenders. It is therefore $username"; ?> - who recieves the title "Winner of this era"!

- - - "Total Population: ">" was the ruler over the largest personal empire, followed closely by "Total Population: ">" and "Total Population: ">".
- "Attack Points: ">" slew more than any other, and was the mightiest, most fearsome commander.
- "Defence Points: ">" was the most glorious defender, slaugtering enemies at the village gates, staining the lands around those villages with their blood. -

-

Congratulations to everyone.

-

- Best Regards,
- Team



- (By: aggenkeech & Eyas95)

- -

-
» Continue
-
-
- -
-
-
- -
- -
-
-
- Calculated in pageLoadTimeEnd()-$start)*1000);?> ms -
Server time: -
-
-
-
- - - \ No newline at end of file