Skip to content

Commit 1308dec

Browse files
Markus DaveyMarkus Davey
Markus Davey
authored and
Markus Davey
committed
Update initital setup guide
and associated SQL files.
1 parent 83a68c3 commit 1308dec

9 files changed

+131
-100
lines changed

README.md

+41
Original file line numberDiff line numberDiff line change
@@ -1 +1,42 @@
11
# VanillaWoWDB2
2+
3+
========== AoWoW README ==========
4+
5+
AoWoW is MaNGOS database web interface written in PHP.
6+
This version of AoWoW supports World of Warcraft 1.12.1 version.
7+
Adapted initially by Shadowcrank of the Lights Hope (Formerly Elysium) vanilla WoW community.
8+
9+
---------- Information ----------
10+
11+
- Database Interface: DBSimple <http://dklab.ru/lib/DbSimple/>
12+
- Template Engine: Smarty <http://www.smarty.net/>
13+
14+
---------- Requirements ----------
15+
16+
- PHP, version 4.2.0 or higher. 7.X.X is welcome.
17+
- php-SimpleXML
18+
- php-GD
19+
- php-Mysqli
20+
- php-mbString
21+
- MySQL, version 4.X.X or higher. 5.X.X is welcome.
22+
23+
---------- How To Install (Ubuntu Linux 17.10) ----------
24+
25+
- Download AoWoW: $ git clone https://github.com/MarkusNemesis/VanillaWoWDB2.git aowow
26+
- Configure AoWoW by editing configs/config.php.in file.
27+
- Rename configs/config.php.in to configs/config.php.
28+
- Fetch the world.db file from the following repository: https://github.com/brotalnia/database
29+
- Execute the world.db sql into your aowow database.
30+
- Execute the following sql files into your aowow database (from tools/sql/aowow/):
31+
* aowow.sql
32+
* aowow_zones.sql
33+
* faction.sql
34+
* news.sql (feel free to modify this one first to reflect your changes)
35+
* indexes.sql (DB indexes, in case they were not already created)
36+
- Execute the following into your realmd database (from tools/sql/realmd/)
37+
* realmd.sql (import into realmd schema for accounts login/commenting)
38+
39+
---------- Attention! ----------
40+
41+
- This website requires full access to the cache folder: $ chmod -R 777 ./cache/
42+
- Everything created here is done under GPL. You can modify files or take program code or create project branches under GPL.

tools/sql/aowow/aowow_zones.sql

+88-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
-- MySQL dump 10.13 Distrib 5.7.17, for Win64 (x86_64)
1+
-- MySQL dump 10.13 Distrib 5.7.21, for Linux (x86_64)
22
--
3-
-- Host: 127.0.0.1 Database: old-db
3+
-- Host: localhost Database: world_prog
44
-- ------------------------------------------------------
5-
-- Server version 5.5.5-10.1.25-MariaDB
5+
-- Server version 5.7.21-0ubuntu0.16.04.1
66

77
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
88
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -39,7 +39,90 @@ CREATE TABLE `aowow_zones` (
3939

4040
LOCK TABLES `aowow_zones` WRITE;
4141
/*!40000 ALTER TABLE `aowow_zones` DISABLE KEYS */;
42-
INSERT INTO `aowow_zones` VALUES (29,0,'CashTest',0,0,0,0),(30,2597,'Alterac Valley',0,0,0,0),(33,209,'Shadowfang Keep',0,0,0,0),(34,717,'Stormwind Stockade',0,0,0,0),(36,1581,'Deadmines',0,0,0,0),(43,718,'Wailing Caverns',0,0,0,0),(44,0,'<unused> Monastery',0,0,0,0),(47,491,'Razorfen Kraul',0,0,0,0),(48,719,'Blackfathom Deeps',0,0,0,0),(70,1337,'Uldaman',0,0,0,0),(90,721,'Gnomeregan',0,0,0,0),(109,1477,'Sunken Temple',0,0,0,0),(129,722,'Razorfen Downs',0,0,0,0),(169,0,'Emerald Dream',0,0,0,0),(189,796,'Scarlet Monastery',0,0,0,0),(209,978,'Zul\'Farrak',0,0,0,0),(229,1583,'Blackrock Spire',0,0,0,0),(230,1584,'Blackrock Depths',0,0,0,0),(249,2159,'Onyxia\'s Lair',0,0,0,0),(269,0,'Opening of the Dark Portal',0,0,0,0),(289,2057,'Scholomance',0,0,0,0),(309,19,'Zul\'Gurub',0,0,0,0),(329,2017,'Stratholme',0,0,0,0),(349,2100,'Maraudon',0,0,0,0),(389,2437,'Ragefire Chasm',0,0,0,0),(409,2717,'Molten Core',0,0,0,0),(429,2557,'Dire Maul',0,0,0,0),(469,2677,'Blackwing Lair',0,0,0,0),(489,3277,'Warsong Gulch',0,0,0,0),(509,3429,'Ruins of Ahn\'Qiraj',0,0,0,0),(529,3358,'Arathi Basin',0,0,0,0),(531,3428,'Ahn\'Qiraj Temple',0,0,0,0),(532,3457,'Karazhan',0,0,0,0),(533,3456,'Naxxramas',0,0,0,0),(534,616,'The Battle for Mount Hyjal',0,0,0,0),(540,3714,'Hellfire Citadel: The Shattered Halls',0,0,0,0),(542,3713,'Hellfire Citadel: The Blood Furnace',0,0,0,0),(543,3562,'Hellfire Citadel: Ramparts',0,0,0,0),(544,3836,'Magtheridon\'s Lair',0,0,0,0),(545,3715,'Coilfang: The Steamvault',0,0,0,0),(546,3716,'Coilfang: The Underbog',0,0,0,0),(547,3717,'Coilfang: The Slave Pens',0,0,0,0),(548,3607,'Coilfang: Serpentshrine Cavern',0,0,0,0),(550,3842,'Tempest Keep',0,0,0,0),(552,3848,'Tempest Keep: The Arcatraz',0,0,0,0),(553,3847,'Tempest Keep: The Botanica',0,0,0,0),(554,3849,'Tempest Keep: The Mechanar',0,0,0,0),(555,3789,'Auchindoun: Shadow Labyrinth',0,0,0,0),(556,3791,'Auchindoun: Sethekk Halls',0,0,0,0),(557,3792,'Auchindoun: Mana-Tombs',0,0,0,0),(558,3790,'Auchindoun: Auchenai Crypts',0,0,0,0),(559,3698,'Nagrand Arena',0,0,0,0),(560,267,'The Escape From Durnholde',0,0,0,0),(562,3702,'Blade\'s Edge Arena',0,0,0,0),(564,3959,'Black Temple',0,0,0,0),(565,3923,'Gruul\'s Lair',0,0,0,0),(566,3820,'Eye of the Storm',0,0,0,0),(568,3805,'Zul\'Aman',0,0,0,0),(572,3968,'Ruins of Lordaeron',0,0,0,0),(580,4075,'The Sunwell',0,0,0,0),(585,4095,'Magister\'s Terrace',0,0,0,0),(598,0,'Sunwell Fix (Unused)',0,0,0,0),(1,14,'Durotar',-1716.67,-7250,1808.33,-1962.5),(1,215,'Mulgore',-3697.92,-3089.58,-272.917,2047.92),(1,17,'The Barrens',-5143.75,-7510.42,1612.5,2622.92),(0,36,'Alterac Mountains',-366.667,-2016.67,1500,783.333),(0,45,'Arathi Highlands',-2533.33,-4466.67,-133.333,-866.667),(0,3,'Badlands',-7547.92,-4566.67,-5889.58,-2079.17),(0,4,'Blasted Lands',-12800,-4591.67,-10566.7,-1241.67),(0,85,'Tirisfal Glades',825,-1485.42,3837.5,3033.33),(0,130,'Silverpine Forest',-1133.33,-750,1666.67,3450),(0,28,'Western Plaguelands',500,-3883.33,3366.67,416.667),(0,139,'Eastern Plaguelands',1218.75,-6056.25,3800,-2185.42),(0,267,'Hillsbrad Foothills',-1733.33,-2133.33,400,1066.67),(0,47,'The Hinterlands',-1100,-5425,1466.67,-1575),(0,1,'Dun Morogh',-7160.42,-3122.92,-3877.08,1802.08),(0,51,'Searing Gorge',-7587.5,-2554.17,-6100,-322.917),(0,46,'Burning Steppes',-8983.33,-3195.83,-7031.25,-266.667),(0,12,'Elwynn Forest',-10254.2,-1935.42,-7939.58,1535.42),(0,41,'Deadwind Pass',-11533.3,-3333.33,-9866.67,-833.333),(0,10,'Duskwood',-11516.7,-1866.67,-9716.67,833.333),(0,38,'Loch Modan',-6327.08,-4752.08,-4487.5,-1993.75),(0,44,'Redridge Mountains',-10022.9,-3741.67,-8575,-1570.83),(0,33,'Stranglethorn Vale',-15422.9,-4160.42,-11168.8,2220.83),(0,8,'Swamp of Sorrows',-11150,-4516.67,-9620.83,-2222.92),(0,40,'Westfall',-11733.3,-483.333,-9400,3016.67),(0,11,'Wetlands',-4904.17,-4525,-2147.92,-389.583),(1,141,'Teldrassil',8437.5,-1277.08,11831.2,3814.58),(1,148,'Darkshore',3966.67,-3608.33,8333.33,2941.67),(1,331,'Ashenvale',829.167,-4066.67,4672.92,1700),(1,400,'Thousand Needles',-6900,-4833.33,-3966.67,-433.333),(1,406,'Stonetalon Mountains',-339.583,-1637.5,2916.67,3245.83),(1,405,'Desolace',-2545.83,-262.5,452.083,4233.33),(1,357,'Feralas',-7000,-1508.33,-2366.67,5441.67),(1,15,'Dustwallow Marsh',-5533.33,-6225,-2033.33,-975),(1,440,'Tanaris',-10475,-7118.75,-5875,-218.75),(1,16,'Azshara',1960.42,-8347.92,5341.67,-3277.08),(1,361,'Felwood',3300,-4108.33,7133.33,1641.67),(1,490,'Un\'Goro Crater',-8433.33,-3166.67,-5966.67,533.333),(1,493,'Moonglade',6952.08,-3689.58,8491.67,-1381.25),(1,1377,'Silithus',-8281.25,-945.834,-5958.33,2537.5),(1,618,'Winterspring',3800,-7416.67,8533.33,-316.667),(0,1519,'Stormwind City',-9175.21,36.7006,-8278.85,1380.97),(1,1637,'Orgrimmar',1338.46,-5083.21,2273.88,-3680.6),(0,1537,'Ironforge',-5096.85,-1504.22,-4569.24,-713.591),(1,1638,'Thunder Bluff',-1545.83,-527.083,-850,516.667),(1,1657,'Darnassus',9532.59,1880.03,10238.3,2938.36),(0,1497,'Undercity',1237.84,-86.1824,1877.95,873.193),(30,2597,'Alterac Valley',-1739.58,-2456.25,1085.42,1781.25),(489,3277,'Warsong Gulch',862.5,895.833,1627.08,2041.67),(529,3358,'Arathi Basin',337.5,102.083,1508.33,1858.33),(530,3430,'Eversong Woods',7758.33,-9412.5,11041.7,-4487.5),(530,3433,'Ghostlands',6066.67,-8583.33,8266.67,-5283.33),(530,3524,'Azuremyst Isle',-5508.33,-14570.8,-2793.75,-10500),(530,3483,'Hellfire Peninsula',-1962.5,375,1481.25,5539.58),(530,3521,'Zangarmarsh',-1416.67,4447.92,1935.42,9475),(530,3557,'The Exodar',-4314.37,-12123.1,-3609.68,-11066.4),(530,3520,'Shadowmoon Valley',-5614.58,-1275,-1947.92,4225),(530,3522,'Blade\'s Edge Mountains',791.667,3420.83,4408.33,8845.83),(530,3525,'Bloodmyst Isle',-2933.33,-13337.5,-758.333,-10075),(530,3518,'Nagrand',-3641.67,4770.83,41.6667,10295.8),(530,3519,'Terokkar Forest',-4600,1683.33,-1000,7083.33),(530,3523,'Netherstorm',1739.58,-91.6667,5456.25,5483.33),(530,3487,'Silvermoon City',9346.94,-7612.21,10153.7,-6400.75),(530,3703,'Shattrath City',-2344.79,4829.01,-1473.95,6135.26),(566,3820,'Eye of the Storm',1404.17,389.583,2918.75,2660.42),(530,4080,'Isle of Quel\'Danas',11350,-8629.17,13568.7,-5302.08),(449,2918,'Champions\' Hall',0,0,0,0);
42+
INSERT INTO `aowow_zones` VALUES (29,0,'CashTest',0,0,0,0),
43+
(30,2597,'Alterac Valley',0,0,0,0),
44+
(33,209,'Shadowfang Keep',0,0,0,0),
45+
(34,717,'Stormwind Stockade',0,0,0,0),
46+
(36,1581,'Deadmines',0,0,0,0),
47+
(43,718,'Wailing Caverns',0,0,0,0),
48+
(44,0,'<unused> Monastery',0,0,0,0),
49+
(47,491,'Razorfen Kraul',0,0,0,0),
50+
(48,719,'Blackfathom Deeps',0,0,0,0),
51+
(70,1337,'Uldaman',0,0,0,0),
52+
(90,721,'Gnomeregan',0,0,0,0),
53+
(109,1477,'Sunken Temple',0,0,0,0),
54+
(129,722,'Razorfen Downs',0,0,0,0),
55+
(169,0,'Emerald Dream',0,0,0,0),
56+
(189,796,'Scarlet Monastery',0,0,0,0),
57+
(209,978,'Zul\'Farrak',0,0,0,0),
58+
(229,1583,'Blackrock Spire',0,0,0,0),
59+
(230,1584,'Blackrock Depths',0,0,0,0),
60+
(249,2159,'Onyxia\'s Lair',0,0,0,0),
61+
(269,0,'Opening of the Dark Portal',0,0,0,0),
62+
(289,2057,'Scholomance',0,0,0,0),
63+
(309,19,'Zul\'Gurub',0,0,0,0),
64+
(329,2017,'Stratholme',0,0,0,0),
65+
(349,2100,'Maraudon',0,0,0,0),
66+
(389,2437,'Ragefire Chasm',0,0,0,0),
67+
(409,2717,'Molten Core',0,0,0,0),
68+
(429,2557,'Dire Maul',0,0,0,0),
69+
(469,2677,'Blackwing Lair',0,0,0,0),
70+
(489,3277,'Warsong Gulch',0,0,0,0),
71+
(509,3429,'Ruins of Ahn\'Qiraj',0,0,0,0),
72+
(529,3358,'Arathi Basin',0,0,0,0),
73+
(531,3428,'Ahn\'Qiraj Temple',0,0,0,0),
74+
(532,3457,'Karazhan',0,0,0,0),
75+
(533,3456,'Naxxramas',0,0,0,0),
76+
(1,14,'Durotar',-1716.67,-7250,1808.33,-1962.5),
77+
(1,215,'Mulgore',-3697.92,-3089.58,-272.917,2047.92),
78+
(1,17,'The Barrens',-5143.75,-7510.42,1612.5,2622.92),
79+
(0,36,'Alterac Mountains',-366.667,-2016.67,1500,783.333),
80+
(0,45,'Arathi Highlands',-2533.33,-4466.67,-133.333,-866.667),
81+
(0,3,'Badlands',-7547.92,-4566.67,-5889.58,-2079.17),
82+
(0,4,'Blasted Lands',-12800,-4591.67,-10566.7,-1241.67),
83+
(0,85,'Tirisfal Glades',825,-1485.42,3837.5,3033.33),
84+
(0,130,'Silverpine Forest',-1133.33,-750,1666.67,3450),
85+
(0,28,'Western Plaguelands',500,-3883.33,3366.67,416.667),
86+
(0,139,'Eastern Plaguelands',1218.75,-6056.25,3800,-2185.42),
87+
(0,267,'Hillsbrad Foothills',-1733.33,-2133.33,400,1066.67),
88+
(0,47,'The Hinterlands',-1100,-5425,1466.67,-1575),
89+
(0,1,'Dun Morogh',-7160.42,-3122.92,-3877.08,1802.08),
90+
(0,51,'Searing Gorge',-7587.5,-2554.17,-6100,-322.917),
91+
(0,46,'Burning Steppes',-8983.33,-3195.83,-7031.25,-266.667),
92+
(0,12,'Elwynn Forest',-10254.2,-1935.42,-7939.58,1535.42),
93+
(0,41,'Deadwind Pass',-11533.3,-3333.33,-9866.67,-833.333),
94+
(0,10,'Duskwood',-11516.7,-1866.67,-9716.67,833.333),
95+
(0,38,'Loch Modan',-6327.08,-4752.08,-4487.5,-1993.75),
96+
(0,44,'Redridge Mountains',-10022.9,-3741.67,-8575,-1570.83),
97+
(0,33,'Stranglethorn Vale',-15422.9,-4160.42,-11168.8,2220.83),
98+
(0,8,'Swamp of Sorrows',-11150,-4516.67,-9620.83,-2222.92),
99+
(0,40,'Westfall',-11733.3,-483.333,-9400,3016.67),
100+
(0,11,'Wetlands',-4904.17,-4525,-2147.92,-389.583),
101+
(1,141,'Teldrassil',8437.5,-1277.08,11831.2,3814.58),
102+
(1,148,'Darkshore',3966.67,-3608.33,8333.33,2941.67),
103+
(1,331,'Ashenvale',829.167,-4066.67,4672.92,1700),
104+
(1,400,'Thousand Needles',-6900,-4833.33,-3966.67,-433.333),
105+
(1,406,'Stonetalon Mountains',-339.583,-1637.5,2916.67,3245.83),
106+
(1,405,'Desolace',-2545.83,-262.5,452.083,4233.33),
107+
(1,357,'Feralas',-7000,-1508.33,-2366.67,5441.67),
108+
(1,15,'Dustwallow Marsh',-5533.33,-6225,-2033.33,-975),
109+
(1,440,'Tanaris',-10475,-7118.75,-5875,-218.75),
110+
(1,16,'Azshara',1960.42,-8347.92,5341.67,-3277.08),
111+
(1,361,'Felwood',3300,-4108.33,7133.33,1641.67),
112+
(1,490,'Un\'Goro Crater',-8433.33,-3166.67,-5966.67,533.333),
113+
(1,493,'Moonglade',6952.08,-3689.58,8491.67,-1381.25),
114+
(1,1377,'Silithus',-8281.25,-945.834,-5958.33,2537.5),
115+
(1,618,'Winterspring',3800,-7416.67,8533.33,-316.667),
116+
(0,1519,'Stormwind City',-9175.21,36.7006,-8278.85,1380.97),
117+
(1,1637,'Orgrimmar',1338.46,-5083.21,2273.88,-3680.6),
118+
(0,1537,'Ironforge',-5096.85,-1504.22,-4569.24,-713.591),
119+
(1,1638,'Thunder Bluff',-1545.83,-527.083,-850,516.667),
120+
(1,1657,'Darnassus',9532.59,1880.03,10238.3,2938.36),
121+
(0,1497,'Undercity',1237.84,-86.1824,1877.95,873.193),
122+
(30,2597,'Alterac Valley',-1739.58,-2456.25,1085.42,1781.25),
123+
(489,3277,'Warsong Gulch',862.5,895.833,1627.08,2041.67),
124+
(529,3358,'Arathi Basin',337.5,102.083,1508.33,1858.33);
125+
43126
/*!40000 ALTER TABLE `aowow_zones` ENABLE KEYS */;
44127
UNLOCK TABLES;
45128
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
@@ -52,4 +135,4 @@ UNLOCK TABLES;
52135
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
53136
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
54137

55-
-- Dump completed on 2017-10-24 12:59:04
138+
-- Dump completed on 2018-01-30 13:23:42

tools/sql/aowow/drop_indexes.sql

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ DROP INDEX `aowow` ON `fishing_loot_template`;
44
DROP INDEX `aowow` ON `gameobject_loot_template`;
55
DROP INDEX `aowow` ON `item_loot_template`;
66
DROP INDEX `aowow` ON `pickpocketing_loot_template`;
7-
DROP INDEX `aowow` ON `prospecting_loot_template`;
87
DROP INDEX `aowow` ON `skinning_loot_template`;
98
DROP INDEX `aowow` ON `reference_loot_template`;
109

@@ -14,7 +13,6 @@ DROP INDEX `aowow_item` ON `fishing_loot_template`;
1413
DROP INDEX `aowow_item` ON `gameobject_loot_template`;
1514
DROP INDEX `aowow_item` ON `item_loot_template`;
1615
DROP INDEX `aowow_item` ON `pickpocketing_loot_template`;
17-
DROP INDEX `aowow_item` ON `prospecting_loot_template`;
1816
DROP INDEX `aowow_item` ON `skinning_loot_template`;
1917
DROP INDEX `aowow_item` ON `reference_loot_template`;
2018

tools/sql/aowow/indexes.sql

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ CREATE INDEX `aowow` ON `fishing_loot_template` (`mincountOrRef`);
44
CREATE INDEX `aowow` ON `gameobject_loot_template` (`mincountOrRef`);
55
CREATE INDEX `aowow` ON `item_loot_template` (`mincountOrRef`);
66
CREATE INDEX `aowow` ON `pickpocketing_loot_template`(`mincountOrRef`);
7-
CREATE INDEX `aowow` ON `prospecting_loot_template` (`mincountOrRef`);
87
CREATE INDEX `aowow` ON `skinning_loot_template` (`mincountOrRef`);
98
CREATE INDEX `aowow` ON `reference_loot_template` (`mincountOrRef`);
109

@@ -14,7 +13,6 @@ CREATE INDEX `aowow_item` ON `fishing_loot_template` (`item`);
1413
CREATE INDEX `aowow_item` ON `gameobject_loot_template` (`item`);
1514
CREATE INDEX `aowow_item` ON `item_loot_template` (`item`);
1615
CREATE INDEX `aowow_item` ON `pickpocketing_loot_template`(`item`);
17-
CREATE INDEX `aowow_item` ON `prospecting_loot_template` (`item`);
1816
CREATE INDEX `aowow_item` ON `skinning_loot_template` (`item`);
1917
CREATE INDEX `aowow_item` ON `reference_loot_template` (`item`);
2018

tools/sql/aowow/instances.sql

-90
This file was deleted.
File renamed without changes.

tools/sql/world/readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# To get the latest database:
2+
git clone https://github.com/brotalnia/database worlddb

tools/sql/world/version.txt

-1
This file was deleted.

tools/sql/world/world.sql.zip

-26.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)