Pārlūkot izejas kodu

BETA: DP-Part for [L6043]
* Also minor typo fix after [9778]
* Reported by: Nos

Rumen Nikiforov 12 gadi atpakaļ
vecāks
revīzija
37115e7816

+ 1 - 1
L2J_DataPack_BETA/dist/game/data/html/merchant/13128.htm

@@ -1,5 +1,5 @@
 <html><body>Golem Trader:<br>
 I.can.buy.and.sell.goods. Any.money.from.the.transaction.goes.to.the.Merchant.Guild.<br>
 I.exist.for.only.3.minutes.after.being.summoned.<br>
-<a action="bypass -h summon_%objectId%_Buy 13128001">Buy.</a>
+<a action="bypass -h summon_%objectId%_Buy 1312801">Buy.</a>
 </body></html>

+ 5 - 5
L2J_DataPack_BETA/dist/sql/game/character_recipeshoplist.sql

@@ -1,7 +1,7 @@
 CREATE TABLE IF NOT EXISTS `character_recipeshoplist` (
-  `charId` int(10) unsigned NOT NULL DEFAULT '0',
-  `Recipeid` decimal(11,0) NOT NULL DEFAULT '0',
-  `Price` bigint(20) NOT NULL DEFAULT '0',
-  `Pos` int(5) NOT NULL DEFAULT '0',
-  PRIMARY KEY (`charId`,`Recipeid`)
+  `charId` int(10) unsigned NOT NULL DEFAULT 0,
+  `recipeId` int(11) UNSIGNED NOT NULL DEFAULT 0,
+  `price` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
+  `index` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
+  PRIMARY KEY (`charId`,`recipeId`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

+ 4 - 0
L2J_DataPack_BETA/dist/sql/game/updates/20130604update.sql

@@ -0,0 +1,4 @@
+ALTER TABLE `character_recipeshoplist`
+CHANGE COLUMN `Recipeid` `recipeId` int(11) UNSIGNED NOT NULL DEFAULT 0 AFTER `charId`,
+CHANGE COLUMN `Price` `price` bigint(20) UNSIGNED NOT NULL DEFAULT 0 AFTER `recipeId`,
+CHANGE COLUMN `Pos` `index` tinyint(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `price`;