瀏覽代碼

more 7s new stuff + some sql fixes and installer scripts additions. (by Lbaldi)

DrLecter 19 年之前
父節點
當前提交
0832020bcd
共有 26 個文件被更改,包括 304 次插入89 次删除
  1. 2 2
      datapack_development/data/html/seven_signs/dawn_priest_1b.htm
  2. 2 2
      datapack_development/data/html/seven_signs/dawn_priest_2a.htm
  3. 2 2
      datapack_development/data/html/seven_signs/dusk_priest_2a.htm
  4. 2 2
      datapack_development/data/html/seven_signs/signs_19_Avarice_dawn.htm
  5. 2 2
      datapack_development/data/html/seven_signs/signs_19_Avarice_dusk.htm
  6. 2 2
      datapack_development/data/html/seven_signs/signs_19_Gnosis_dawn.htm
  7. 2 2
      datapack_development/data/html/seven_signs/signs_19_Gnosis_dusk.htm
  8. 2 2
      datapack_development/data/html/seven_signs/signs_19_Strife_dawn.htm
  9. 2 2
      datapack_development/data/html/seven_signs/signs_19_Strife_dusk.htm
  10. 1 2
      datapack_development/sql/auction.sql
  11. 1 2
      datapack_development/sql/auction_bid.sql
  12. 1 2
      datapack_development/sql/auction_watch.sql
  13. 8 9
      datapack_development/sql/castle_siege_guards.sql
  14. 5 5
      datapack_development/sql/forums.sql
  15. 6 1
      datapack_development/sql/minions.sql
  16. 3 3
      datapack_development/sql/npc.sql
  17. 2 2
      datapack_development/sql/posts.sql
  18. 96 1
      datapack_development/sql/random_spawn.sql
  19. 111 14
      datapack_development/sql/random_spawn_loc.sql
  20. 14 9
      datapack_development/sql/seven_signs.sql
  21. 1 8
      datapack_development/sql/spawnlist.sql
  22. 8 7
      datapack_development/sql/teleport.sql
  23. 2 2
      datapack_development/sql/topic.sql
  24. 7 1
      datapack_development/tools/database_installer.bat
  25. 7 1
      datapack_development/tools/database_installer.sh
  26. 13 2
      datapack_development/tools/full_install.sql

+ 2 - 2
datapack_development/data/html/seven_signs/dawn_priest_1b.htm

@@ -20,7 +20,7 @@ Glory to the twilight empire! The Seal of Death has awoken! We, the Lords of Daw
 <br> 
 <a action="bypass -h npc_%objectId%_SevenSignsDesc 4">What is the Festival of Darkness?</a> 
 <br> 
-<a action="bypass -h npc_%objectId%_SevenSigns 8 0">"I wish to participate in the Festival of Darkness."</a> 
+<a action="bypass -h npc_%objectId%_SevenSigns 8 2">"I wish to participate in the Festival of Darkness."</a> 
 <br> 
 </body>
-</html>
+</html>

+ 2 - 2
datapack_development/data/html/seven_signs/dawn_priest_2a.htm

@@ -20,7 +20,7 @@ This bright dawn brings an end to chaos and achieves a new world order!
 <br> 
 <a action="bypass -h npc_%objectId%_SevenSigns 10 2">Teleport to nearby hunting grounds.</a> 
 <br> 
-<a action="bypass -h npc_%objectId%_SevenSigns 12">Purchase consumable items.</a> 
+<a action="bypass -h npc_%objectId%_multisell 500">Purchase consumable items.</a> 
 <br> 
 <a action="bypass -h npc_%objectId%_SevenSigns 16">Exchange seal stones for ancient adena.</a> 
 <br> 
@@ -29,4 +29,4 @@ This bright dawn brings an end to chaos and achieves a new world order!
 <a action="bypass -h npc_%objectId%_SevenSigns 11 -80157 111344 -4901 0">"I wish to go to the Oracle of Dawn."</a> 
 <br> 
 </body>
-</html>
+</html>

+ 2 - 2
datapack_development/data/html/seven_signs/dusk_priest_2a.htm

@@ -20,7 +20,7 @@ This shroud of darkness brings a time of chaos and achieves a new world order!
 <br> 
 <a action="bypass -h npc_%objectId%_SevenSigns 10 1">Teleport to nearby hunting grounds.</a> 
 <br> 
-<a action="bypass -h npc_%objectId%_SevenSigns 12">Purchase consumable items.</a> 
+<a action="bypass -h npc_%objectId%_multisell 500">Purchase consumable items.</a> 
 <br> 
 <a action="bypass -h npc_%objectId%_SevenSigns 16">Exchange seal stones for ancient adena.</a> 
 <br> 
@@ -29,4 +29,4 @@ This shroud of darkness brings a time of chaos and achieves a new world order!
 <a action="bypass -h npc_%objectId%_SevenSigns 11 -81261 86531 -5157 0">"I wish to go to the Oracle of Dusk."</a> 
 <br> 
 </body>
-</html>
+</html>

+ 2 - 2
datapack_development/data/html/seven_signs/signs_19_Avarice_dawn.htm

@@ -13,8 +13,8 @@ NEED TEXT!
 <font color="LEVEL">Commerce with Merchant of Mammon:</font>
 You can do business with the Merchant of Mammon in the Necropolises. They accept payment in ancient adena, and have many fine, rare articles.
 <br>
-<a action="bypass -h npc_%objectId%_SevenSigns 4 2 1">"I wish to fight for the Seal of Avarice."</a>
+<a action="bypass -h npc_%objectId%_SevenSigns 4 2 1" msg="1271">"I wish to fight for the Seal of Avarice."</a>
 <br>
 <a action="bypass -h npc_%objectId%_SevenSigns 3 2">Back</a>
 </body> 
-</html>
+</html>

+ 2 - 2
datapack_development/data/html/seven_signs/signs_19_Avarice_dusk.htm

@@ -13,8 +13,8 @@ The door to the Forbidden Sanctum opens and we finally meet the holy flame, Anak
 <font color="LEVEL">Transaction Privileges with Merchant of Mammon:</font>
 You can do business with the Merchant of Mammon in the Necropolises. They accept payment in ancient adena, and have many fine, rare articles.
 <br>
-<a action="bypass -h npc_%objectId%_SevenSigns 4 1 1">"I wish to fight for the Seal of Avarice."</a>
+<a action="bypass -h npc_%objectId%_SevenSigns 4 1 1" msg="1272">"I wish to fight for the Seal of Avarice."</a>
 <br>
 <a action="bypass -h npc_%objectId%_SevenSigns 3 1">Back</a>
 </body> 
-</html>
+</html>

+ 2 - 2
datapack_development/data/html/seven_signs/signs_19_Gnosis_dawn.htm

@@ -19,8 +19,8 @@ There is one who preaches of revelation in every village. He offers the blessing
 <font color="LEVEL">Preacher of Doom:</font>
 There is one who cries out for destruction in every village, calling down curses upon our enemy, the Revolutionaries of Dusk.
 <br>
-<a action="bypass -h npc_%objectId%_SevenSigns 4 2 2">"I wish to fight for the Seal of Gnosis."</a>
+<a action="bypass -h npc_%objectId%_SevenSigns 4 2 2" msg="1271">"I wish to fight for the Seal of Gnosis."</a>
 <br>
 <a action="bypass -h npc_%objectId%_SevenSigns 3 2">Back</a>
 </body> 
-</html>
+</html>

+ 2 - 2
datapack_development/data/html/seven_signs/signs_19_Gnosis_dusk.htm

@@ -19,8 +19,8 @@ There is one who preaches of revelation in every village. He offers the blessing
 <font color="LEVEL">Preacher of Doom:</font>
 There is one who cries out for destruction in every village, calling down curses upon our enemy, the Lords of Dawn.
 <br>
-<a action="bypass -h npc_%objectId%_SevenSigns 4 1 2">"I wish to fight for the Seal of Gnosis."</a>
+<a action="bypass -h npc_%objectId%_SevenSigns 4 1 2" msg="1272">"I wish to fight for the Seal of Gnosis."</a>
 <br>
 <a action="bypass -h npc_%objectId%_SevenSigns 3 1">Back</a>
 </body> 
-</html>
+</html>

+ 2 - 2
datapack_development/data/html/seven_signs/signs_19_Strife_dawn.htm

@@ -16,8 +16,8 @@ Upgrading castle gates and walls becomes very expensive.
 <font color="LEVEL">Reduced Tax Rate Limit:</font>
 The maximum tax rate is reduced.
 <br>
-<a action="bypass -h npc_%objectId%_SevenSigns 4 2 3">"I wish to fight for the Seal of Strife."</a>
+<a action="bypass -h npc_%objectId%_SevenSigns 4 2 3" msg="1271">"I wish to fight for the Seal of Strife."</a>
 <br>
 <a action="bypass -h npc_%objectId%_SevenSigns 3 2">Back</a>
 </body> 
-</html>
+</html>

+ 2 - 2
datapack_development/data/html/seven_signs/signs_19_Strife_dusk.htm

@@ -16,8 +16,8 @@ Upgrading castle gates and walls becomes very expensive.
 <font color="LEVEL">Reduced Tax Rate Limit:</font>
 The maximum tax rate is reduced.
 <br>
-<a action="bypass -h npc_%objectId%_SevenSigns 4 1 3">"I wish to fight for the Seal of Strife."</a>
+<a action="bypass -h npc_%objectId%_SevenSigns 4 1 3" msg="1272">"I wish to fight for the Seal of Strife."</a>
 <br>
 <a action="bypass -h npc_%objectId%_SevenSigns 3 1">Back</a>
 </body> 
-</html>
+</html>

+ 1 - 2
datapack_development/sql/auction.sql

@@ -1,8 +1,7 @@
 -- ---------------------------
 -- Table structure for auction
 -- ---------------------------
-DROP TABLE IF EXISTS auction;
-CREATE TABLE auction (
+CREATE TABLE IF NOT EXISTS auction (
   id INT NOT NULL default 0,
   sellerId INT NOT NULL default 0,
   sellerName varchar(50) NOT NULL default 'NPC',

+ 1 - 2
datapack_development/sql/auction_bid.sql

@@ -1,8 +1,7 @@
 -- ---------------------------
 -- Table structure for auction_bid
 -- ---------------------------
-DROP TABLE IF EXISTS auction_bid;
-CREATE TABLE auction_bid (
+CREATE TABLE IF NOT EXISTS auction_bid (
   id INT NOT NULL default 0,
   auctionId INT NOT NULL default 0,
   bidderId INT NOT NULL default 0,

+ 1 - 2
datapack_development/sql/auction_watch.sql

@@ -1,8 +1,7 @@
 -- ---------------------------
 -- Table structure for auction_watch
 -- ---------------------------
-DROP TABLE IF EXISTS auction_watch;
-CREATE TABLE auction_watch (
+CREATE TABLE IF NOT EXISTS auction_watch (
   charObjId INT NOT NULL default 0,
   auctionId INT NOT NULL default 0,
   PRIMARY KEY  (charObjId, auctionId)

+ 8 - 9
datapack_development/sql/castle_siege_guards.sql

@@ -1,8 +1,7 @@
 -- ---------------------------
 -- Table structure for castle_siege_guards
 -- ---------------------------
-DROP TABLE IF EXISTS castle_siege_guards;
-CREATE TABLE castle_siege_guards (
+CREATE TABLE IF NOT EXISTS castle_siege_guards (
   castleId INT NOT NULL default 0,
   id int(11) NOT NULL auto_increment,
   npcId INT NOT NULL default 0,
@@ -16,7 +15,7 @@ CREATE TABLE castle_siege_guards (
   KEY id (castleId)
 );
 
-INSERT INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES 
+INSERT IGNORE INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES 
   (1,1201,12031,-18175,110197,-2421,6320,60,0),
   (1,1200,12029,-18196,110223,-2419,6320,60,0),
   (1,1202,12029,-18157,110173,-2421,6320,60,0),
@@ -518,9 +517,9 @@ INSERT INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `he
   (2,657,12114,22532,156682,-2567,32768,10800,0),
   (2,658,12114,22531,156602,-2567,32768,10800,0);
 
-COMMIT;
+-- Dion
 
-INSERT INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES 
+INSERT IGNORE INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES 
   (2,665,12109,22037,156573,-2566,57344,10800,0),
   (2,666,12109,22047,156657,-2567,0,10800,0),
   (2,667,12110,22631,156572,-2567,40960,10800,0),
@@ -1022,9 +1021,9 @@ INSERT INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `he
   (3,825,12144,113583,145342,-2669,16328,10800,0),
   (3,826,12139,113611,145343,-2669,16328,10800,0);
 
-COMMIT;
+-- Gludio
 
-INSERT INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES 
+INSERT IGNORE INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES 
   (3,829,12143,113610,145322,-2659,16328,10800,0),
   (3,832,12142,113611,145304,-2645,16328,10800,0),
   (3,833,12142,113638,145308,-2644,16328,10800,0),
@@ -1528,7 +1527,7 @@ INSERT INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `he
 
 COMMIT;
 
-INSERT INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES 
+INSERT IGNORE INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `heading`, `respawnDelay`, `isHired`) VALUES 
   (5,366,12284,144976,5136,-80,8192,120,0),
   (5,370,12284,145133,5380,-80,8192,120,0),
   (5,374,12284,145290,5624,-80,8192,120,0),
@@ -1802,4 +1801,4 @@ INSERT INTO `castle_siege_guards` (`castleId`, `id`, `npcId`, `x`, `y`, `z`, `he
   (5,154,12284,148921,4766,-20,0,10800,0),
   (5,152,12284,148980,4766,-20,0,10800,0),
   (5,150,12284,149034,4790,-20,0,10800,0),
-  (5,151,12284,149008,4773,-20,0,10800,0);
+  (5,151,12284,149008,4773,-20,0,10800,0);

+ 5 - 5
datapack_development/sql/forums.sql

@@ -1,7 +1,7 @@
 -- ---------------------------
 -- Table structure for forums
 -- ---------------------------
-CREATE TABLE `forums` (
+CREATE TABLE IF NOT EXISTS `forums` (
   `forum_id` int(8) NOT NULL default '0',
   `forum_name` varchar(255) NOT NULL default '',
   `forum_parent` int(8) NOT NULL default '0',
@@ -13,7 +13,7 @@ CREATE TABLE `forums` (
 );
 
 
-INSERT INTO `forums` VALUES (1, 'NormalRoot', 0, 0, 0, 1, 0);
-INSERT INTO `forums` VALUES (2, 'ClanRoot', 0, 0, 0, 0, 0);
-INSERT INTO `forums` VALUES (3, 'MemoRoot', 0, 0, 0, 0, 0);
-INSERT INTO `forums` VALUES (4, 'MailRoot', 0, 0, 0, 0, 0);
+INSERT IGNORE INTO `forums` VALUES (1, 'NormalRoot', 0, 0, 0, 1, 0);
+INSERT IGNORE INTO `forums` VALUES (2, 'ClanRoot', 0, 0, 0, 0, 0);
+INSERT IGNORE INTO `forums` VALUES (3, 'MemoRoot', 0, 0, 0, 0, 0);
+INSERT IGNORE INTO `forums` VALUES (4, 'MailRoot', 0, 0, 0, 0, 0);

+ 6 - 1
datapack_development/sql/minions.sql

@@ -350,4 +350,9 @@ INSERT INTO `minions` VALUES
 (10266,10267,1,1),
 (10266,10268,2,4),
 (10269,10270,1,3),
-(10269,10271,1,2);
+(10269,10271,1,2),
+(10283,10284,1,3),
+(10283,10285,1,3),
+(10286,10287,1,2),
+(10286,10288,1,2),
+(10286,10289,1,2);

+ 3 - 3
datapack_development/sql/npc.sql

@@ -3322,7 +3322,7 @@ INSERT INTO `npc` (`id`, `name`, `class`, `collision_radius`, `collision_height`
   (8110,'Gatekeeper Ziggurat','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8111,'Gatekeeper Spirit','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8112,'Gatekeeper Spirit','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
-  (8113,'Merchant of Mammon','NPC.black_market_trader_MDwarf_set',22,18,75,'male','L2Npc',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
+  (8113,'Merchant of Mammon','NPC.black_market_trader_MDwarf_set',22,18,75,'male','L2SignsPriest',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8114,'Gatekeeper Ziggurat','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8115,'Gatekeeper Ziggurat','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8116,'Gatekeeper Ziggurat','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
@@ -3335,7 +3335,7 @@ INSERT INTO `npc` (`id`, `name`, `class`, `collision_radius`, `collision_height`
   (8123,'Gatekeeper Ziggurat','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8124,'Gatekeeper Ziggurat','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8125,'Gatekeeper Ziggurat','NPC.teleport_npc_sm',7,15,75,'male','L2Teleporter',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
-  (8126,'Blacksmith of Mammon','NPC.e_smith_master_MDwarf',8,17,75,'male','L2Trainer',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
+  (8126,'Blacksmith of Mammon','NPC.e_smith_master_MDwarf',8,17,75,'male','L2SignsPriest',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8127,'Festival Guide','NPC.priest_of_dawn',8,30.5,75,'male','L2FestivalGuide',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8128,'Festival Guide','NPC.priest_of_dawn',8,30.5,75,'male','L2FestivalGuide',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
   (8129,'Festival Guide','NPC.priest_of_dawn',8,30.5,75,'male','L2FestivalGuide',40,4229,1674,40,21,30,20,43,10,6742,730,1714,572,926,425,253,0,253,0,0,0,80,120,NULL,NULL,0),
@@ -6359,4 +6359,4 @@ INSERT INTO `npc` (`id`, `name`, `class`, `collision_radius`, `collision_height`
   (13849,'Dark Panther','Monster.dark_fencer',8,22,76,'male','L2Pet',40,4298,1710,40,21,30,20,43,10,6922,761,1770,584,962,434,253,0,333,0,0,0,80,120,'null',0,0),
   (13850,'Dark Panther','Monster.dark_fencer',8,22,76,'male','L2Pet',40,4298,1710,40,21,30,20,43,10,6922,761,1770,584,962,434,253,0,333,0,0,0,80,120,'null',0,0),
   (13851,'Dark Panther','Monster.dark_fencer',8,22,76,'male','L2Pet',40,4298,1710,40,21,30,20,43,10,6922,761,1770,584,962,434,253,0,333,0,0,0,80,120,'null',0,0),
-  (13852,'Dark Panther','Monster.dark_fencer',8,22,76,'male','L2Pet',40,4298,1710,40,21,30,20,43,10,6922,761,1770,584,962,434,253,0,333,0,0,0,80,120,'null',0,0);
+  (13852,'Dark Panther','Monster.dark_fencer',8,22,76,'male','L2Pet',40,4298,1710,40,21,30,20,43,10,6922,761,1770,584,962,434,253,0,333,0,0,0,80,120,'null',0,0);

+ 2 - 2
datapack_development/sql/posts.sql

@@ -1,7 +1,7 @@
 -- ---------------------------
 -- Table structure for posts
 -- ---------------------------
-CREATE TABLE `posts` (
+CREATE TABLE IF NOT EXISTS `posts` (
   `post_id` int(8) NOT NULL default '0',
   `post_owner_name` varchar(255) NOT NULL default '',
   `post_ownerid` int(8) NOT NULL default '0',
@@ -9,4 +9,4 @@ CREATE TABLE `posts` (
   `post_topic_id` int(8) NOT NULL default '0',
   `post_forum_id` int(8) NOT NULL default '0',
   `post_txt` text NOT NULL
-);
+);

+ 96 - 1
datapack_development/sql/random_spawn.sql

@@ -14,4 +14,99 @@ CREATE TABLE random_spawn (
   PRIMARY KEY  (groupId)
 );
 
-INSERT INTO `random_spawn` VALUES (1, 7556, 1, -1, 1800000, 1800000, 'false', 'true');
+INSERT INTO `random_spawn` VALUES 
+(1,7556,1,-1,1800000,1800000,'false','true'),
+(2,8092,1,-1,60,0,'false','false'),
+(3,8092,1,-1,60,0,'false','false'),
+(4,8092,1,-1,60,0,'false','false'),
+(5,8092,1,-1,60,0,'false','false'),
+(6,8092,1,-1,60,0,'false','false'),
+(7,8092,1,-1,60,0,'false','false'),
+(8,8092,1,-1,60,0,'false','false'),
+(9,8111,1,-1,60,0,'false','false'),
+(10,8112,1,-1,60,0,'false','false'),
+(11,8113,1,-1,-1,-1,'true','true'),
+(12,8126,1,-1,-1,-1,'true','true'),
+(13,8094,1,-1,60,0,'false','false'),
+(14,8094,1,-1,60,0,'false','false'),
+(15,8094,1,-1,60,0,'false','false'),
+(16,8094,1,-1,60,0,'false','false'),
+(17,8094,1,-1,60,0,'false','false'),
+(18,8094,1,-1,60,0,'false','false'),
+(19,8094,1,-1,60,0,'false','false'),
+(20,8094,1,-1,60,0,'false','false'),
+(21,8094,1,-1,60,0,'false','false'),
+(22,8094,1,-1,60,0,'false','false'),
+(23,8094,1,-1,60,0,'false','false'),
+(24,8094,1,-1,60,0,'false','false'),
+(25,8094,1,-1,60,0,'false','false'),
+(26,8094,1,-1,60,0,'false','false'),
+(27,8094,1,-1,60,0,'false','false'),
+(28,8094,1,-1,60,0,'false','false'),
+(29,8094,1,-1,60,0,'false','false'),
+(30,8094,1,-1,60,0,'false','false'),
+(31,8094,1,-1,60,0,'false','false'),
+(32,8094,1,-1,60,0,'false','false'),
+(33,8094,1,-1,60,0,'false','false'),
+(34,8094,1,-1,60,0,'false','false'),
+(35,8094,1,-1,60,0,'false','false'),
+(36,8094,1,-1,60,0,'false','false'),
+(37,8094,1,-1,60,0,'false','false'),
+(38,8094,1,-1,60,0,'false','false'),
+(39,8094,1,-1,60,0,'false','false'),
+(40,8094,1,-1,60,0,'false','false'),
+(41,8094,1,-1,60,0,'false','false'),
+(42,8094,1,-1,60,0,'false','false'),
+(43,8094,1,-1,60,0,'false','false'),
+(44,8094,1,-1,60,0,'false','false'),
+(45,8094,1,-1,60,0,'false','false'),
+(46,8094,1,-1,60,0,'false','false'),
+(47,8094,1,-1,60,0,'false','false'),
+(48,8094,1,-1,60,0,'false','false'),
+(49,8094,1,-1,60,0,'false','false'),
+(50,8094,1,-1,60,0,'false','false'),
+(51,8094,1,-1,60,0,'false','false'),
+(52,8094,1,-1,60,0,'false','false'),
+(53,8093,1,-1,60,0,'false','false'),
+(54,8093,1,-1,60,0,'false','false'),
+(55,8093,1,-1,60,0,'false','false'),
+(56,8093,1,-1,60,0,'false','false'),
+(57,8093,1,-1,60,0,'false','false'),
+(58,8093,1,-1,60,0,'false','false'),
+(59,8093,1,-1,60,0,'false','false'),
+(60,8093,1,-1,60,0,'false','false'),
+(61,8093,1,-1,60,0,'false','false'),
+(62,8093,1,-1,60,0,'false','false'),
+(63,8093,1,-1,60,0,'false','false'),
+(64,8093,1,-1,60,0,'false','false'),
+(65,8093,1,-1,60,0,'false','false'),
+(66,8093,1,-1,60,0,'false','false'),
+(67,8093,1,-1,60,0,'false','false'),
+(68,8093,1,-1,60,0,'false','false'),
+(69,8093,1,-1,60,0,'false','false'),
+(70,8093,1,-1,60,0,'false','false'),
+(71,8093,1,-1,60,0,'false','false'),
+(72,8093,1,-1,60,0,'false','false'),
+(73,8093,1,-1,60,0,'false','false'),
+(74,8093,1,-1,60,0,'false','false'),
+(75,8093,1,-1,60,0,'false','false'),
+(76,8093,1,-1,60,0,'false','false'),
+(77,8093,1,-1,60,0,'false','false'),
+(78,8093,1,-1,60,0,'false','false'),
+(79,8093,1,-1,60,0,'false','false'),
+(80,8093,1,-1,60,0,'false','false'),
+(81,8093,1,-1,60,0,'false','false'),
+(82,8093,1,-1,60,0,'false','false'),
+(83,8093,1,-1,60,0,'false','false'),
+(84,8093,1,-1,60,0,'false','false'),
+(85,8093,1,-1,60,0,'false','false'),
+(86,8093,1,-1,60,0,'false','false'),
+(87,8093,1,-1,60,0,'false','false'),
+(88,8093,1,-1,60,0,'false','false'),
+(89,8093,1,-1,60,0,'false','false'),
+(90,8093,1,-1,60,0,'false','false'),
+(91,8093,1,-1,60,0,'false','false'),
+(92,8093,1,-1,60,0,'false','false'),
+(93,8093,1,-1,60,0,'false','false'),
+(94,10283,1,-1,86400,0,'false','false'),
+(95,10286,1,-1,86400,0,'false','false');

+ 111 - 14
datapack_development/sql/random_spawn_loc.sql

@@ -1,15 +1,112 @@
--- ---------------------------
--- Table structure for random_spawn_loc
--- ---------------------------
-DROP TABLE IF EXISTS random_spawn_loc;
-CREATE TABLE random_spawn_loc (
-  groupId INT NOT NULL default 0,
-  x INT NOT NULL default 0,
-  y INT NOT NULL default 0,
-  z INT NOT NULL default 0,
-  PRIMARY KEY (groupId, x, y, z)
-);
+DROP TABLE IF EXISTS `random_spawn_loc`;
+CREATE TABLE `random_spawn_loc` (
+  `groupId` int(11) NOT NULL default '0',
+  `x` int(11) NOT NULL default '0',
+  `y` int(11) NOT NULL default '0',
+  `z` int(11) NOT NULL default '0',
+  `heading` int(11) NOT NULL default '-1',
+  PRIMARY KEY  (`groupId`,`x`,`y`,`z`,`heading`)
+) ENGINE=InnoDB;
 
-Insert Into random_spawn_loc Values (1, 178834, -184336, -355);
-Insert Into random_spawn_loc Values (1, 151680, -174891, -1782);
-Insert Into random_spawn_loc Values (1, 154153, -220105, -3402);
+--
+-- Dumping data for table `l2jdb`.`random_spawn_loc`
+--
+
+INSERT INTO `random_spawn_loc` VALUES 
+(1,151680,-174891,-1782,-1),
+(1,154153,-220105,-3402,-1),
+(1,178834,-184336,-355,-1),
+(2,-12345,121695,-2984,0),
+(3,81360,150016,-3528,16000),
+(4,120493,76520,-2136,35500),
+(5,-84745,151732,-3128,50000),
+(6,113481,218450,-3624,33000),
+(7,80129,56947,-1552,32500),
+(8,146986,29566,-2271,32500),
+(9,183280,-11905,-4904,-1),
+(10,185662,-13093,-5498,-1),
+(11,-52172,78884,-4741,-1),
+(12,-41350,209876,-5087,-1),
+(13,-21657,77164,-5173,-1),
+(14,45029,123802,-5413,-1),
+(15,83175,208998,-5439,-1),
+(16,111337,173804,-5439,-1),
+(17,118343,132578,-4831,-1),
+(18,172373,-17833,-4901,-1),
+(19,-19360,13278,-4901,-1),
+(20,43093,143706,-5381,-1),
+(21,46303,170091,-4981,-1),
+(22,77787,78176,-5125,-1),
+(23,114013,84326,-6541,-1),
+(24,140519,79464,-5429,-1),
+(25,-84356,152742,-3204,-1),
+(26,-83157,149846,-3155,-1),
+(27,-79563,152726,-3204,-1),
+(28,-79123,155098,-3204,-1),
+(29,-16168,124129,-3143,-1),
+(30,-14563,121461,-3015,-1),
+(31,-14199,126128,-3171,-1),
+(32,-12344,123605,-3132,-1),
+(33,16901,144748,-3027,-1),
+(34,17557,147084,-3150,-1),
+(35,19038,142923,-3078,-1),
+(36,20826,145769,-3171,-1),
+(37,77830,148627,-3623,-1),
+(38,81540,144204,-3559,-1),
+(39,81556,152183,-3559,-1),
+(40,83872,143882,-3431,-1),
+(41,85328,147352,-3431,-1),
+(42,114907,77916,-2662,-1),
+(43,115509,74857,-2625,-1),
+(44,118273,74592,-2529,-1),
+(45,107251,218166,-3701,-1),
+(46,115482,219266,-3689,-1),
+(47,80039,54291,-1586,-1),
+(48,81002,53495,-1586,-1),
+(49,81527,56009,-1551,-1),
+(50,143926,26468,-2338,-1),
+(51,147460,20537,-2101,-1),
+(52,150417,25182,-2141,-1),
+(53,-83107,150270,-3155,-1),
+(54,-83070,152740,-3204,-1),
+(55,-80752,152738,-3204,-1),
+(56,-80690,149996,-3070,-1),
+(57,-80037,154344,-3204,-1),
+(58,-15549,124170,-3143,-1),
+(59,-14480,122330,-3126,-1),
+(60,-14268,124941,-3156,-1),
+(61,-13252,123689,-3143,-1),
+(62,-12591,122673,-3142,-1),
+(63,15722,142877,-2732,-1),
+(64,18172,145740,-3140,-1),
+(65,19096,143980,-3096,-1),
+(66,19823,145863,-3142,-1),
+(67,79825,148619,-3559,-1),
+(68,81535,146866,-3559,-1),
+(69,81547,150347,-3559,-1),
+(70,83319,148054,-3431,-1),
+(71,83894,147495,-3431,-1),
+(72,115893,77551,-2729,-1),
+(73,115936,75382,-2625,-1),
+(74,117098,77066,-2720,-1),
+(75,118049,75783,-2715,-1),
+(76,107256,218615,-3701,-1),
+(77,109660,217339,-3775,-1),
+(78,110189,221393,-3569,-1),
+(79,111389,219257,-3572,-1),
+(80,113479,217795,-3731,-1),
+(81,114086,220214,-3568,-1),
+(82,80416,55959,-1586,-1),
+(83,80617,54116,-1586,-1),
+(84,82048,55417,-1551,-1),
+(85,82863,53290,-1522,-1),
+(86,145015,25269,-2167,-1),
+(87,145394,27629,-2295,-1),
+(88,146616,25816,-2039,-1),
+(89,147440,30047,-2487,-1),
+(90,147459,21148,-2167,-1),
+(91,148013,27029,-2231,-1),
+(92,149515,27641,-2295,-1),
+(93,149899,24719,-2167,-1),
+(94,184460,-12015,-5495,-1),
+(95,184460,-12015,-5495,-1);

+ 14 - 9
datapack_development/sql/seven_signs.sql

@@ -1,11 +1,16 @@
 CREATE TABLE IF NOT EXISTS `seven_signs` (
-  `char_obj_id` int(11) NOT NULL default '0',
-  `cabal` varchar(4) NOT NULL default '',
-  `seal` int(1) NOT NULL default '-1',
-  `red_stones` int(10) NOT NULL default '0',
-  `green_stones` int(10) NOT NULL default '0',
-  `blue_stones` int(10) NOT NULL default '0',
-  `ancient_adena_amount` int(10) NOT NULL default '0',
-  `contribution_score` int(10) NOT NULL default '0',
+  `char_obj_id` INT NOT NULL default '0',
+  `cabal` VARCHAR(4) NOT NULL default '',
+  `seal` INT(1) NOT NULL default '0',
+  `dawn_red_stones` INT NOT NULL default '0',
+  `dawn_green_stones` INT NOT NULL default '0',
+  `dawn_blue_stones` INT NOT NULL default '0',
+  `dawn_ancient_adena_amount` INT NOT NULL default '0',
+  `dawn_contribution_score` INT NOT NULL default '0',
+  `dusk_red_stones` INT NOT NULL default '0',
+  `dusk_green_stones` INT NOT NULL default '0',
+  `dusk_blue_stones` INT NOT NULL default '0',
+  `dusk_ancient_adena_amount` INT NOT NULL default '0',
+  `dusk_contribution_score` INT NOT NULL default '0',
   PRIMARY KEY  (`char_obj_id`)
-);
+);

+ 1 - 8
datapack_development/sql/spawnlist.sql

@@ -1971,7 +1971,6 @@ INSERT INTO `spawnlist` VALUES
 (1209013124, 'unset', 1, 7434, -14977, 126035, -3143, 0, 0, 32768, 5, 0),
 (1209013079, 'unset', 1, 7788, -14852, 125413, -3130, 0, 0, 16384, 5, 0),
 (1209013078, 'unset', 1, 7789, -14731, 125630, -3141, 0, 0, 0, 5, 0),
-(1209013205, 'unset', 1, 8092, -12345, 121695, -2984, 0, 0, 0, 5, 0),
 (1230013203, 'unset', 1, 8079, -13953, 121454, -2984, 0, 0, 33000, 5, 0),
 (1239013202, 'unset', 1, 8077, -13920, 121977, -2984, 0, 0, 12189, 5, 0),
 (1209013144, 'unset', 1, 7990, -12676, 122821, -3112, 0, 0, 48000, 5, 0),
@@ -2368,7 +2367,6 @@ INSERT INTO `spawnlist` VALUES
 (1209013932, 'unset', 1, 7091, 80510, 149250, -3508, 0, 0, 32768, 5, 0),
 (1209013888, 'unset', 1, 7082, 80518, 147873, -3506, 0, 0, 32768, 5, 0),
 (1209013887, 'unset', 1, 7081, 80518, 147922, -3506, 0, 0, 32768, 5, 0),
-(1209013986, 'unset', 1, 8092, 81360, 150016, -3528, 0, 0, 16000, 5, 0),
 (1209013908, 'unset', 1, 7753, 81296, 149728, -3469, 0, 0, 49152, 5, 0),
 (1209013897, 'unset', 1, 7104, 83263, 146736, -3464, 0, 0, 32768, 5, 0),
 (1209013894, 'unset', 1, 7511, 83263, 146667, -3464, 0, 0, 32768, 5, 0),
@@ -2402,7 +2400,6 @@ INSERT INTO `spawnlist` VALUES
 (1209014022, 'unset', 1, 7704, 120207, 75004, -2370, 0, 0, 32768, 5, 0),
 (1209014024, 'unset', 1, 7706, 120156, 74956, -2370, 0, 0, 32768, 5, 0),
 (1209014023, 'unset', 1, 7705, 120171, 75066, -2370, 0, 0, 32768, 5, 0),
-(1209014120, 'unset', 1, 8092, 120493, 76520, -2136, 0, 0, 35500, 5, 0),
 (1209014016, 'unset', 1, 7699, 120249, 76031, -2259, 0, 0, 31768, 5, 0),
 (1209014017, 'unset', 1, 7700, 120251, 76247, -2260, 0, 0, 40960, 5, 0),
 (1209014018, 'unset', 1, 7701, 120180, 75807, -2260, 0, 0, 18384, 5, 0),
@@ -2461,7 +2458,6 @@ INSERT INTO `spawnlist` VALUES
 (1209012903, 'unset', 1, 7767, -81376, 151715, -3132, 0, 0, 49152, 5, 0),
 (1209013071, 'unset', 1, 7996, -81824, 155264, -3168, 0, 0, 48460, 5, 0),
 (1219013125, 'unset', 1, 8076, -83123, 150868, -3120, 0, 0, 9760, 5, 0),
-(1209013130, 'unset', 1, 8092, -84745, 151732, -3128, 0, 0, 50000, 5, 0),
 (1209013832, 'unset', 1, 7876, 152007, 24856, -2137, 0, 0, 0, 5, 0),
 (1239013795, 'unset', 1, 7061, 17948, 144560, -3046, 0, 0, 6000, 5, 0),
 (1239013794, 'unset', 1, 7060, 17999, 144484, -3046, 0, 0, 6000, 5, 0),
@@ -26815,7 +26811,6 @@ INSERT INTO `spawnlist` VALUES
 (26958, 'unset', 1, 8209, 110572, 219501, -3664, 0, 0, 33967, 5, 0),
 (26959, 'unset', 1, 8067, 110605, 219495, -3672, 0, 0, 8192, 5, 0),
 (26960, 'unset', 1, 7899, 111386, 219413, -3536, 0, 0, 49756, 5, 0),
-(26961, 'unset', 1, 8092, 113481, 218450, -3624, 0, 0, 33000, 5, 0),
 (26962, 'unset', 1, 7901, 113967, 218584, -3626, 0, 0, 52200, 5, 0),
 (26963, 'unset', 1, 7902, 114373, 218268, -3626, 0, 0, 21824, 5, 0),
 (26964, 'unset', 1, 7900, 113739, 218423, -3626, 0, 0, 0, 5, 0),
@@ -30407,7 +30402,6 @@ INSERT INTO `spawnlist` VALUES
 (200937, 'CatacombOfTheWitch', 1, 1251, 145316, 87921, -5434, 0, 0, 45871, 120, 0),
 (200936, 'CatacombOfTheWitch', 1, 1251, 145477, 88289, -5434, 0, 0, 20541, 120, 0),
 (30833, 'unset', 1, 7676, 81753, 54620, -1509, 0, 0, 24576, 5, 0),
-(30834, 'unset', 1, 8092, 80129, 56947, -1552, 0, 0, 32500, 5, 0),
 (30835, 'unset', 1, 7200, 81631, 56240, -1522, 0, 0, 47124, 5, 0),
 (30836, 'unset', 1, 7201, 81420, 56240, -1522, 0, 0, 49300, 5, 0),
 (30837, 'unset', 1, 7760, 80036, 56568, -1557, 0, 0, 57344, 5, 0),
@@ -30451,7 +30445,6 @@ INSERT INTO `spawnlist` VALUES
 (30875, 'unset', 1, 8084, 146983, 26645, -2200, 0, 0, 16500, 5, 0),
 (30876, 'unset', 1, 8000, 146504, 28468, -2272, 0, 0, 61440, 5, 0),
 (30877, 'unset', 1, 7838, 146046, 27293, -2189, 0, 0, 49152, 5, 0),
-(30878, 'unset', 1, 8092, 146986, 29566, -2271, 0, 0, 32500, 5, 0),
 (30879, 'unset', 1, 7872, 147191, 32128, -2475, 0, 0, 16384, 5, 0),
 (30880, 'unset', 1, 7767, 148571, 27095, -2048, 0, 0, 32000, 5, 0),
 (30881, 'unset', 1, 8000, 148408, 28476, -2272, 0, 0, 36884, 5, 0),
@@ -36652,4 +36645,4 @@ INSERT INTO `spawnlist` VALUES
 (202460, 'AsceticsNecropolis', 1, 1157, -42644, 84820, -4746, 0, 0, 43357, 120, 0),
 (202461, 'AsceticsNecropolis', 1, 1202, -42767, 84574, -4746, 0, 0, 31769, 120, 0),
 (202462, 'AsceticsNecropolis', 1, 1158, -42954, 84714, -4765, 0, 0, 20646, 120, 0),
-(202463, 'AsceticsNecropolis', 1, 1181, -43024, 85005, -4746, 0, 0, 18837, 120, 0);
+(202463, 'AsceticsNecropolis', 1, 1181, -43024, 85005, -4746, 0, 0, 18837, 120, 0);

+ 8 - 7
datapack_development/sql/teleport.sql

@@ -16,7 +16,7 @@ CREATE TABLE teleport (
 -- Dumping data for table `teleport`
 -- 
 
-insert  into teleport values 
+INSERT INTO teleport VALUES 
 ('Elven Town & Dark Elven Town -> Village of Gludin','1','-80826','149775','-3043','6400'),
 ('Elven Town & Dark Elven Town -> Town of Gludio','2','-12672','122776','-3116','3700'),
 ('Town of gludio -> Elven village','3','46934','51467','-2977','3700'),
@@ -263,9 +263,10 @@ insert  into teleport values
 ('Aden(outofcastle -> out)','411','147723','7916','-475','0'),
 ('Aden(outofcastle -> in)','412','148580','4578','-408','0'),
 ('Aden(outofcastle -> hall)','413','147520','6107','-409','0'),
-('Aden(hall -> artifact)','414','147499','2544','-473','0'),
-('Aden(hall -> out)','415','147723','7916','-475','0'),
-('Aden(hall -> in)','416','148580','4578','-408','0'),
-('Aden(hall -> outofcastle)','417','147582','8753','-496','0'),
-
-('Lair Of Valakas', '420', '208884', '-113705', '-256', '0');
+('Aden(hall) -> artifact)','414','147499','2544','-473','0'),
+('Aden(hall) -> out)','415','147723','7916','-475','0'),
+('Aden(hall) -> in)','416','148580','4578','-408','0'),
+('Aden(hall) -> outofcastle)','417','147582','8753','-496','0'),
+('Lair Of Valakas', '420', '208884', '-113705', '-256', '0'),
+('Disciples Necropolis -> Anakim/Lilith','450','184397','-11957','-5493','0'),
+('Anakim/Lilith -> Disciples Necropolis','451','183225','-11911','-4897','0');

+ 2 - 2
datapack_development/sql/topic.sql

@@ -1,7 +1,7 @@
 -- ---------------------------
 -- Table structure for topic
 -- ---------------------------
-CREATE TABLE `topic` (
+CREATE TABLE IF NOT EXISTS `topic` (
   `topic_id` int(8) NOT NULL default '0',
   `topic_forum_id` int(8) NOT NULL default '0',
   `topic_name` varchar(255) NOT NULL default '',
@@ -10,4 +10,4 @@ CREATE TABLE `topic` (
   `topic_ownerid` int(8) NOT NULL default '0',
   `topic_type` int(8) NOT NULL default '0',
   `topic_reply` int(8) NOT NULL default '0'
-) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+) ENGINE=MyISAM DEFAULT CHARSET=latin1;

+ 7 - 1
datapack_development/tools/database_installer.bat

@@ -79,6 +79,8 @@ echo Installling new gameserver content.
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/auction.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/auction_bid.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/auction_watch.sql
+%mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/auto_chat.sql
+%mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/auto_chat_text.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/boxaccess.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/boxes.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/castle.sql
@@ -102,6 +104,7 @@ echo Installling new gameserver content.
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/class_list.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/droplist.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/etcitem.sql
+%mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/forums.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/games.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/global_tasks.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/henna.sql
@@ -117,19 +120,22 @@ echo Installling new gameserver content.
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/merchants.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/minions.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/npc.sql
+%mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/pets.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/pets_stats.sql
+%mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/posts.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/npcskills.sql
-%mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/pets.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/random_spawn.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/random_spawn_loc.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/seven_signs.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/seven_signs_festival.sql
+%mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/seven_signs_status.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/siege_clans.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/skill_learn.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/skill_spellbooks.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/skill_trees.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/spawnlist.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/teleport.sql
+%mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/topic.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/weapon.sql
 %mysqlPath% -h %gshost% -u %gsuser% --password=%gspass% -D %gsdb% < ../sql/zone.sql
 

+ 7 - 1
datapack_development/tools/database_installer.sh

@@ -247,6 +247,8 @@ $MYG < ../sql/armor.sql &> /dev/null
 $MYG < ../sql/auction.sql &> /dev/null
 $MYG < ../sql/auction_bid.sql &> /dev/null
 $MYG < ../sql/auction_watch.sql &> /dev/null
+$MYG < ../sql/auto_chat.sql &> /dev/null
+$MYG < ../sql/auto_chat_text.sql &> /dev/null
 $MYG < ../sql/boxaccess.sql &> /dev/null
 $MYG < ../sql/boxes.sql &> /dev/null
 $MYG < ../sql/castle.sql &> /dev/null
@@ -270,6 +272,7 @@ $MYG < ../sql/clanhall.sql &> /dev/null
 $MYG < ../sql/class_list.sql &> /dev/null
 $MYG < ../sql/droplist.sql &> /dev/null
 $MYG < ../sql/etcitem.sql &> /dev/null
+$MYG < ../sql/forums.sql &> /dev/null
 $MYG < ../sql/games.sql &> /dev/null
 $MYG < ../sql/global_tasks.sql &> /dev/null
 $MYG < ../sql/henna.sql &> /dev/null
@@ -285,19 +288,22 @@ $MYG < ../sql/merchant_shopids.sql &> /dev/null
 $MYG < ../sql/merchants.sql &> /dev/null
 $MYG < ../sql/minions.sql &> /dev/null
 $MYG < ../sql/npc.sql &> /dev/null
+$MYG < ../sql/pets.sql &> /dev/null
 $MYG < ../sql/pets_stats.sql &> /dev/null
+$MYG < ../sql/posts.sql &> /dev/null
 $MYG < ../sql/npcskills.sql &> /dev/null
-$MYG < ../sql/pets.sql &> /dev/null
 $MYG < ../sql/random_spawn.sql &> /dev/null
 $MYG < ../sql/random_spawn_loc.sql &> /dev/null
 $MYG < ../sql/seven_signs.sql &> /dev/null
 $MYG < ../sql/seven_signs_festival.sql &> /dev/null
+$MYG < ../sql/seven_signs_status.sql &> /dev/null
 $MYG < ../sql/siege_clans.sql &> /dev/null
 $MYG < ../sql/skill_learn.sql &> /dev/null
 $MYG < ../sql/skill_spellbooks.sql &> /dev/null
 $MYG < ../sql/skill_trees.sql &> /dev/null
 $MYG < ../sql/spawnlist.sql &> /dev/null
 $MYG < ../sql/teleport.sql &> /dev/null
+$MYG < ../sql/topic.sql &> /dev/null
 $MYG < ../sql/weapon.sql &> /dev/null
 $MYG < ../sql/zone.sql &> /dev/null
 }

+ 13 - 2
datapack_development/tools/full_install.sql

@@ -1,4 +1,9 @@
 DROP TABLE IF EXISTS armor;
+DROP TABLE IF EXISTS auction;
+DROP TABLE IF EXISTS auction_bid;
+DROP TABLE IF EXISTS auction_watch;
+DROP TABLE IF EXISTS auto_chat;
+DROP TABLE IF EXISTS auto_chat_text;
 DROP TABLE IF EXISTS boxaccess;
 DROP TABLE IF EXISTS boxes;
 DROP TABLE IF EXISTS castle;
@@ -18,9 +23,12 @@ DROP TABLE IF EXISTS character_subclasses;
 DROP TABLE IF EXISTS characters;
 DROP TABLE IF EXISTS clan_data;
 DROP TABLE IF EXISTS clan_wars;
+DROP TABLE IF EXISTS clanhall;
 DROP TABLE IF EXISTS class_list;
 DROP TABLE IF EXISTS droplist;
+DROP TABLE IF EXISTS games;
 DROP TABLE IF EXISTS etcitem;
+DROP TABLE IF EXISTS forums;
 DROP TABLE IF EXISTS global_tasks;
 DROP TABLE IF EXISTS henna;
 DROP TABLE IF EXISTS henna_trees;
@@ -36,17 +44,20 @@ DROP TABLE IF EXISTS merchants;
 DROP TABLE IF EXISTS minions;
 DROP TABLE IF EXISTS npc;
 DROP TABLE IF EXISTS npcskills;
-DROP TABLE IF EXISTS pets_stats;
 DROP TABLE IF EXISTS pets;
+DROP TABLE IF EXISTS pets_stats;
+DROP TABLE IF EXISTS posts;
 DROP TABLE IF EXISTS random_spawn;
 DROP TABLE IF EXISTS random_spawn_loc;
 DROP TABLE IF EXISTS seven_signs;
 DROP TABLE IF EXISTS seven_signs_festival;
+DROP TABLE IF EXISTS seven_signs_status;
 DROP TABLE IF EXISTS siege_clans;
 DROP TABLE IF EXISTS skill_learn;
 DROP TABLE IF EXISTS skill_spellbooks;
 DROP TABLE IF EXISTS skill_trees;
 DROP TABLE IF EXISTS spawnlist;
 DROP TABLE IF EXISTS teleport;
+DROP TABLE IF EXISTS topic;
 DROP TABLE IF EXISTS weapon;
-DROP TABLE IF EXISTS zone;
+DROP TABLE IF EXISTS zone;