Sign in to follow this  
Followers 0
Hytr

[Accepted][Legion]: Unclaimed Black Market Container

9 posts in this topic

Title: Unclaimed Black Market Container
Bugtracker Link:


Patch Content:

Hi, I just added missing loots to the http://www.wowhead.com/item=141995/unclaimed-black-market-container.

By the way, please consider that this fix is for the Legion version of the Unclaimed Black Market Container (ID 141995), however on Sylvanas, there is not the Legion version but the WoD version (ID 127995) on the Black Market.

So, I also provided an update to correct that.

 

-- Replace the old WoD Unclaimed Black Market Container version (ID 127995) to the Legion version (ID 141995) on the Black Market.
UPDATE `blackmarket_template` SET `itemEntry`='141995' WHERE `itemEntry`='127995';
-- Add missing loots to http://www.wowhead.com/item=141995/unclaimed-black-market-container

/*	Contain loots from those two lists: http://www.wowhead.com/items/live-only:on?filter=195:181;2:1;0:0 and http://www.wowhead.com/items/live-only:on?filter=195:181:82;1:1:5;0:0:50001
	Lists and informations gathered by reading user comments and watching differents opening cases videos.

	Some loots from those lists are excluded from this container because they are not in the container on retail like:
	-All Unclaimed Black Market Container versions
	-http://www.wowhead.com/item=93194/bloodied-scroll
	
	Each items have the same chance to be dropped and only one item can be dropped per container like on retail.  */
	
DELETE FROM `item_loot_template` WHERE `entry`='141995';
INSERT INTO `item_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES ('141995', '118572', '0', '1', '1', '1', '1'),('141995', '110672', '0', '1', '1', '1', '1'),('141995', '86238', '0', '1', '1', '1', '1'),('141995', '86272', '0', '1', '1', '1', '1'),('141995', '86279', '0', '1', '1', '1', '1'),('141995', '86280', '0', '1', '1', '1', '1'),('141995', '86281', '0', '1', '1', '1', '1'),('141995', '86283', '0', '1', '1', '1', '1'),('141995', '86284', '0', '1', '1', '1', '1'),('141995', '86297', '0', '1', '1', '1', '1'),('141995', '86379', '0', '1', '1', '1', '1'),('141995', '86380', '0', '1', '1', '1', '1'),('141995', '86381', '0', '1', '1', '1', '1'),('141995', '86382', '0', '1', '1', '1', '1'),('141995', '87408', '0', '1', '1', '1', '1'),('141995', '87409', '0', '1', '1', '1', '1'),('141995', '87410', '0', '1', '1', '1', '1'),('141995', '87411', '0', '1', '1', '1', '1'),('141995', '87412', '0', '1', '1', '1', '1'),('141995', '87413', '0', '1', '1', '1', '1'),('141995', '87771', '0', '1', '1', '1', '1'),('141995', '87777', '0', '1', '1', '1', '1'),('141995', '89783', '0', '1', '1', '1', '1'),('141995', '90655', '0', '1', '1', '1', '1'),('141995', '95057', '0', '1', '1', '1', '1'),('141995', '95059', '0', '1', '1', '1', '1'),('141995', '104253', '0', '1', '1', '1', '1'),('141995', '104269', '0', '1', '1', '1', '1'),('141995', '105751', '0', '1', '1', '1', '1'),('141995', '77067', '0', '1', '1', '1', '1'),('141995', '77069', '0', '1', '1', '1', '1'),('141995', '78919', '0', '1', '1', '1', '1'),('141995', '32458', '0', '1', '1', '1', '1'),('141995', '43952', '0', '1', '1', '1', '1'),('141995', '43953', '0', '1', '1', '1', '1'),('141995', '44151', '0', '1', '1', '1', '1'),('141995', '44175', '0', '1', '1', '1', '1'),('141995', '44707', '0', '1', '1', '1', '1'),('141995', '45693', '0', '1', '1', '1', '1'),('141995', '45802', '0', '1', '1', '1', '1'),('141995', '49286', '0', '1', '1', '1', '1'),('141995', '49636', '0', '1', '1', '1', '1'),('141995', '63040', '0', '1', '1', '1', '1'),('141995', '63041', '0', '1', '1', '1', '1'),('141995', '63043', '0', '1', '1', '1', '1'),('141995', '69224', '0', '1', '1', '1', '1'),('141995', '13335', '0', '1', '1', '1', '1'),('141995', '19872', '0', '1', '1', '1', '1'),('141995', '19902', '0', '1', '1', '1', '1'),('141995', '30480', '0', '1', '1', '1', '1'),('141995', '32768', '0', '1', '1', '1', '1'),('141995', '35513', '0', '1', '1', '1', '1'),('141995', '43962', '0', '1', '1', '1', '1'),('141995', '54068', '0', '1', '1', '1', '1'),('141995', '71665', '0', '1', '1', '1', '1'),('141995', '115484', '0', '1', '1', '1', '1'),('141995', '23720', '0', '1', '1', '1', '1'),('141995', '50818', '0', '1', '1', '1', '1'),('141995', '38050', '0', '1', '1', '1', '1'),('141995', '8494', '0', '1', '1', '1', '1'),('141995', '23713', '0', '1', '1', '1', '1'),('141995', '34493', '0', '1', '1', '1', '1'),('141995', '35227', '0', '1', '1', '1', '1'),('141995', '49287', '0', '1', '1', '1', '1'),('141995', '50379', '0', '1', '1', '1', '1'),('141995', '50380', '0', '1', '1', '1', '1'),('141995', '32542', '0', '1', '1', '1', '1'),('141995', '32566', '0', '1', '1', '1', '1'),('141995', '32588', '0', '1', '1', '1', '1'),('141995', '33219', '0', '1', '1', '1', '1'),('141995', '33223', '0', '1', '1', '1', '1'),('141995', '34492', '0', '1', '1', '1', '1'),('141995', '34499', '0', '1', '1', '1', '1'),('141995', '35504', '0', '1', '1', '1', '1'),('141995', '38578', '0', '1', '1', '1', '1'),('141995', '43698', '0', '1', '1', '1', '1'),('141995', '44965', '0', '1', '1', '1', '1'),('141995', '44970', '0', '1', '1', '1', '1'),('141995', '44971', '0', '1', '1', '1', '1'),('141995', '44973', '0', '1', '1', '1', '1'),('141995', '44974', '0', '1', '1', '1', '1'),('141995', '44980', '0', '1', '1', '1', '1'),('141995', '44982', '0', '1', '1', '1', '1'),('141995', '45002', '0', '1', '1', '1', '1'),('141995', '45063', '0', '1', '1', '1', '1'),('141995', '45606', '0', '1', '1', '1', '1'),('141995', '46780', '0', '1', '1', '1', '1'),('141995', '49343', '0', '1', '1', '1', '1'),('141995', '69991', '0', '1', '1', '1', '1'),('141995', '69992', '0', '1', '1', '1', '1'),('141995', '94125', '0', '1', '1', '1', '1'),('141995', '94152', '0', '1', '1', '1', '1'),('141995', '94574', '0', '1', '1', '1', '1'),('141995', '94835', '0', '1', '1', '1', '1'),('141995', '97959', '0', '1', '1', '1', '1'),('141995', '97960', '0', '1', '1', '1', '1'),('141995', '104158', '0', '1', '1', '1', '1'),('141995', '104162', '0', '1', '1', '1', '1'),('141995', '104163', '0', '1', '1', '1', '1'),('141995', '104165', '0', '1', '1', '1', '1'),('141995', '110678', '0', '1', '1', '1', '1'),('141995', '128312', '0', '1', '1', '1', '1'),('141995', '8485', '0', '1', '1', '1', '1'),('141995', '8490', '0', '1', '1', '1', '1'),('141995', '8491', '0', '1', '1', '1', '1'),('141995', '8492', '0', '1', '1', '1', '1'),('141995', '8498', '0', '1', '1', '1', '1'),('141995', '8499', '0', '1', '1', '1', '1'),('141995', '10822', '0', '1', '1', '1', '1'),('141995', '20769', '0', '1', '1', '1', '1'),('141995', '29960', '0', '1', '1', '1', '1'),('141995', '34535', '0', '1', '1', '1', '1'),('141995', '44721', '0', '1', '1', '1', '1'),('141995', '48112', '0', '1', '1', '1', '1'),('141995', '48114', '0', '1', '1', '1', '1'),('141995', '48116', '0', '1', '1', '1', '1'),('141995', '48118', '0', '1', '1', '1', '1'),('141995', '48124', '0', '1', '1', '1', '1'),('141995', '48126', '0', '1', '1', '1', '1'),('141995', '44924', '0', '1', '1', '1', '1'),('141995', '39769', '0', '1', '1', '1', '1'),('141995', '22416', '0', '1', '1', '1', '1'),('141995', '22425', '0', '1', '1', '1', '1'),('141995', '22436', '0', '1', '1', '1', '1'),('141995', '22464', '0', '1', '1', '1', '1'),('141995', '22476', '0', '1', '1', '1', '1'),('141995', '22488', '0', '1', '1', '1', '1'),('141995', '22496', '0', '1', '1', '1', '1'),('141995', '22504', '0', '1', '1', '1', '1'),('141995', '22512', '0', '1', '1', '1', '1'),('141995', '22417', '0', '1', '1', '1', '1'),('141995', '22418', '0', '1', '1', '1', '1'),('141995', '22421', '0', '1', '1', '1', '1'),('141995', '22422', '0', '1', '1', '1', '1'),('141995', '22423', '0', '1', '1', '1', '1'),('141995', '22424', '0', '1', '1', '1', '1'),('141995', '22426', '0', '1', '1', '1', '1'),('141995', '22427', '0', '1', '1', '1', '1'),('141995', '22428', '0', '1', '1', '1', '1'),('141995', '22431', '0', '1', '1', '1', '1'),('141995', '22437', '0', '1', '1', '1', '1'),('141995', '22438', '0', '1', '1', '1', '1'),('141995', '22441', '0', '1', '1', '1', '1'),('141995', '22442', '0', '1', '1', '1', '1'),('141995', '22443', '0', '1', '1', '1', '1'),('141995', '22465', '0', '1', '1', '1', '1'),('141995', '22466', '0', '1', '1', '1', '1'),('141995', '22469', '0', '1', '1', '1', '1'),('141995', '22470', '0', '1', '1', '1', '1'),('141995', '22471', '0', '1', '1', '1', '1'),('141995', '22477', '0', '1', '1', '1', '1'),('141995', '22478', '0', '1', '1', '1', '1'),('141995', '22481', '0', '1', '1', '1', '1'),('141995', '22482', '0', '1', '1', '1', '1'),('141995', '22483', '0', '1', '1', '1', '1'),('141995', '22489', '0', '1', '1', '1', '1'),('141995', '22490', '0', '1', '1', '1', '1'),('141995', '22493', '0', '1', '1', '1', '1'),('141995', '22494', '0', '1', '1', '1', '1'),('141995', '22495', '0', '1', '1', '1', '1'),('141995', '22497', '0', '1', '1', '1', '1'),('141995', '22498', '0', '1', '1', '1', '1'),('141995', '22501', '0', '1', '1', '1', '1'),('141995', '22502', '0', '1', '1', '1', '1'),('141995', '22503', '0', '1', '1', '1', '1'),('141995', '22505', '0', '1', '1', '1', '1'),('141995', '22506', '0', '1', '1', '1', '1'),('141995', '22509', '0', '1', '1', '1', '1'),('141995', '22510', '0', '1', '1', '1', '1'),('141995', '22511', '0', '1', '1', '1', '1'),('141995', '22513', '0', '1', '1', '1', '1'),('141995', '22514', '0', '1', '1', '1', '1'),('141995', '22517', '0', '1', '1', '1', '1'),('141995', '22518', '0', '1', '1', '1', '1'),('141995', '22519', '0', '1', '1', '1', '1'),('141995', '22419', '0', '1', '1', '1', '1'),('141995', '22420', '0', '1', '1', '1', '1'),('141995', '22429', '0', '1', '1', '1', '1'),('141995', '22430', '0', '1', '1', '1', '1'),('141995', '22439', '0', '1', '1', '1', '1'),('141995', '22440', '0', '1', '1', '1', '1'),('141995', '22467', '0', '1', '1', '1', '1'),('141995', '22468', '0', '1', '1', '1', '1'),('141995', '22479', '0', '1', '1', '1', '1'),('141995', '22480', '0', '1', '1', '1', '1'),('141995', '22491', '0', '1', '1', '1', '1'),('141995', '22492', '0', '1', '1', '1', '1'),('141995', '22499', '0', '1', '1', '1', '1'),('141995', '22500', '0', '1', '1', '1', '1'),('141995', '22507', '0', '1', '1', '1', '1'),('141995', '22508', '0', '1', '1', '1', '1'),('141995', '22515', '0', '1', '1', '1', '1'),('141995', '22516', '0', '1', '1', '1', '1'),('141995', '23705', '0', '1', '1', '1', '1'),('141995', '23709', '0', '1', '1', '1', '1'),('141995', '38309', '0', '1', '1', '1', '1'),('141995', '38310', '0', '1', '1', '1', '1'),('141995', '38311', '0', '1', '1', '1', '1'),('141995', '38312', '0', '1', '1', '1', '1'),('141995', '38313', '0', '1', '1', '1', '1'),('141995', '38314', '0', '1', '1', '1', '1'),('141995', '45037', '0', '1', '1', '1', '1'),('141995', '14617', '0', '1', '1', '1', '1');

 

Moreover, I have a question, I would like to know how can I make a container that always drops three random different items among several items.

I want to add missing loots to http://www.wowhead.com/item=127148/silas-secret-stash but I read that this crate always drops three random potions and 100 http://www.wowhead.com/currency=515/darkmoon-prize-ticket. Unfortunately, I don't know how to do that.

 

Hoping that my help will be useful for improving the server.

Share this post


Link to post
Share on other sites

I forgot a team condition on http://www.wowhead.com/item=50379/battered-hilt and http://www.wowhead.com/item=50380/battered-hilt.

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`='5' AND `SourceGroup`='141995';
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`) VALUES
(5, 141995, 50380, 0, 0, 6, 0, 67, 0, 0, 0, 0, ''),
(5, 141995, 50379, 0, 0, 6, 0, 469, 0, 0, 0, 0, '');

 

Share this post


Link to post
Share on other sites

+1

Share this post


Link to post
Share on other sites

+1

Share this post


Link to post
Share on other sites

PLUS ONE

Share this post


Link to post
Share on other sites
On 8/13/2017 at 5:58 AM, Hytr said:

Title: Unclaimed Black Market Container
Bugtracker Link:


Patch Content:

 

Hi, I just added missing loots to the Unclaimed Black Market Container.

By the way, please consider that this fix is for the Legion version of the Unclaimed Black Market Container (ID 141995), however on Sylvanas, there is not the Legion version but the WoD version (ID 127995) on the Black Market.

So, I also provided an update to correct that.

 


-- Replace the old WoD Unclaimed Black Market Container version (ID 127995) to the Legion version (ID 141995) on the Black Market.
UPDATE `blackmarket_template` SET `itemEntry`='141995' WHERE `itemEntry`='127995';

-- Add missing loots to http://www.wowhead.com/item=141995/unclaimed-black-market-container

/*	Contain loots from those two lists: http://www.wowhead.com/items/live-only:on?filter=195:181;2:1;0:0 and http://www.wowhead.com/items/live-only:on?filter=195:181:82;1:1:5;0:0:50001
	Lists and informations gathered by reading user comments and watching differents opening cases videos.

	Some loots from those lists are excluded from this container because they are not in the container on retail like:
	-All Unclaimed Black Market Container versions
	-http://www.wowhead.com/item=93194/bloodied-scroll
	
	Each items have the same chance to be dropped and only one item can be dropped per container like on retail.  */
	
DELETE FROM `item_loot_template` WHERE `entry`='141995';
INSERT INTO `item_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES ('141995', '118572', '0', '1', '1', '1', '1'),('141995', '110672', '0', '1', '1', '1', '1'),('141995', '86238', '0', '1', '1', '1', '1'),('141995', '86272', '0', '1', '1', '1', '1'),('141995', '86279', '0', '1', '1', '1', '1'),('141995', '86280', '0', '1', '1', '1', '1'),('141995', '86281', '0', '1', '1', '1', '1'),('141995', '86283', '0', '1', '1', '1', '1'),('141995', '86284', '0', '1', '1', '1', '1'),('141995', '86297', '0', '1', '1', '1', '1'),('141995', '86379', '0', '1', '1', '1', '1'),('141995', '86380', '0', '1', '1', '1', '1'),('141995', '86381', '0', '1', '1', '1', '1'),('141995', '86382', '0', '1', '1', '1', '1'),('141995', '87408', '0', '1', '1', '1', '1'),('141995', '87409', '0', '1', '1', '1', '1'),('141995', '87410', '0', '1', '1', '1', '1'),('141995', '87411', '0', '1', '1', '1', '1'),('141995', '87412', '0', '1', '1', '1', '1'),('141995', '87413', '0', '1', '1', '1', '1'),('141995', '87771', '0', '1', '1', '1', '1'),('141995', '87777', '0', '1', '1', '1', '1'),('141995', '89783', '0', '1', '1', '1', '1'),('141995', '90655', '0', '1', '1', '1', '1'),('141995', '95057', '0', '1', '1', '1', '1'),('141995', '95059', '0', '1', '1', '1', '1'),('141995', '104253', '0', '1', '1', '1', '1'),('141995', '104269', '0', '1', '1', '1', '1'),('141995', '105751', '0', '1', '1', '1', '1'),('141995', '77067', '0', '1', '1', '1', '1'),('141995', '77069', '0', '1', '1', '1', '1'),('141995', '78919', '0', '1', '1', '1', '1'),('141995', '32458', '0', '1', '1', '1', '1'),('141995', '43952', '0', '1', '1', '1', '1'),('141995', '43953', '0', '1', '1', '1', '1'),('141995', '44151', '0', '1', '1', '1', '1'),('141995', '44175', '0', '1', '1', '1', '1'),('141995', '44707', '0', '1', '1', '1', '1'),('141995', '45693', '0', '1', '1', '1', '1'),('141995', '45802', '0', '1', '1', '1', '1'),('141995', '49286', '0', '1', '1', '1', '1'),('141995', '49636', '0', '1', '1', '1', '1'),('141995', '63040', '0', '1', '1', '1', '1'),('141995', '63041', '0', '1', '1', '1', '1'),('141995', '63043', '0', '1', '1', '1', '1'),('141995', '69224', '0', '1', '1', '1', '1'),('141995', '13335', '0', '1', '1', '1', '1'),('141995', '19872', '0', '1', '1', '1', '1'),('141995', '19902', '0', '1', '1', '1', '1'),('141995', '30480', '0', '1', '1', '1', '1'),('141995', '32768', '0', '1', '1', '1', '1'),('141995', '35513', '0', '1', '1', '1', '1'),('141995', '43962', '0', '1', '1', '1', '1'),('141995', '54068', '0', '1', '1', '1', '1'),('141995', '71665', '0', '1', '1', '1', '1'),('141995', '115484', '0', '1', '1', '1', '1'),('141995', '23720', '0', '1', '1', '1', '1'),('141995', '50818', '0', '1', '1', '1', '1'),('141995', '38050', '0', '1', '1', '1', '1'),('141995', '8494', '0', '1', '1', '1', '1'),('141995', '23713', '0', '1', '1', '1', '1'),('141995', '34493', '0', '1', '1', '1', '1'),('141995', '35227', '0', '1', '1', '1', '1'),('141995', '49287', '0', '1', '1', '1', '1'),('141995', '50379', '0', '1', '1', '1', '1'),('141995', '50380', '0', '1', '1', '1', '1'),('141995', '32542', '0', '1', '1', '1', '1'),('141995', '32566', '0', '1', '1', '1', '1'),('141995', '32588', '0', '1', '1', '1', '1'),('141995', '33219', '0', '1', '1', '1', '1'),('141995', '33223', '0', '1', '1', '1', '1'),('141995', '34492', '0', '1', '1', '1', '1'),('141995', '34499', '0', '1', '1', '1', '1'),('141995', '35504', '0', '1', '1', '1', '1'),('141995', '38578', '0', '1', '1', '1', '1'),('141995', '43698', '0', '1', '1', '1', '1'),('141995', '44965', '0', '1', '1', '1', '1'),('141995', '44970', '0', '1', '1', '1', '1'),('141995', '44971', '0', '1', '1', '1', '1'),('141995', '44973', '0', '1', '1', '1', '1'),('141995', '44974', '0', '1', '1', '1', '1'),('141995', '44980', '0', '1', '1', '1', '1'),('141995', '44982', '0', '1', '1', '1', '1'),('141995', '45002', '0', '1', '1', '1', '1'),('141995', '45063', '0', '1', '1', '1', '1'),('141995', '45606', '0', '1', '1', '1', '1'),('141995', '46780', '0', '1', '1', '1', '1'),('141995', '49343', '0', '1', '1', '1', '1'),('141995', '69991', '0', '1', '1', '1', '1'),('141995', '69992', '0', '1', '1', '1', '1'),('141995', '94125', '0', '1', '1', '1', '1'),('141995', '94152', '0', '1', '1', '1', '1'),('141995', '94574', '0', '1', '1', '1', '1'),('141995', '94835', '0', '1', '1', '1', '1'),('141995', '97959', '0', '1', '1', '1', '1'),('141995', '97960', '0', '1', '1', '1', '1'),('141995', '104158', '0', '1', '1', '1', '1'),('141995', '104162', '0', '1', '1', '1', '1'),('141995', '104163', '0', '1', '1', '1', '1'),('141995', '104165', '0', '1', '1', '1', '1'),('141995', '110678', '0', '1', '1', '1', '1'),('141995', '128312', '0', '1', '1', '1', '1'),('141995', '8485', '0', '1', '1', '1', '1'),('141995', '8490', '0', '1', '1', '1', '1'),('141995', '8491', '0', '1', '1', '1', '1'),('141995', '8492', '0', '1', '1', '1', '1'),('141995', '8498', '0', '1', '1', '1', '1'),('141995', '8499', '0', '1', '1', '1', '1'),('141995', '10822', '0', '1', '1', '1', '1'),('141995', '20769', '0', '1', '1', '1', '1'),('141995', '29960', '0', '1', '1', '1', '1'),('141995', '34535', '0', '1', '1', '1', '1'),('141995', '44721', '0', '1', '1', '1', '1'),('141995', '48112', '0', '1', '1', '1', '1'),('141995', '48114', '0', '1', '1', '1', '1'),('141995', '48116', '0', '1', '1', '1', '1'),('141995', '48118', '0', '1', '1', '1', '1'),('141995', '48124', '0', '1', '1', '1', '1'),('141995', '48126', '0', '1', '1', '1', '1'),('141995', '44924', '0', '1', '1', '1', '1'),('141995', '39769', '0', '1', '1', '1', '1'),('141995', '22416', '0', '1', '1', '1', '1'),('141995', '22425', '0', '1', '1', '1', '1'),('141995', '22436', '0', '1', '1', '1', '1'),('141995', '22464', '0', '1', '1', '1', '1'),('141995', '22476', '0', '1', '1', '1', '1'),('141995', '22488', '0', '1', '1', '1', '1'),('141995', '22496', '0', '1', '1', '1', '1'),('141995', '22504', '0', '1', '1', '1', '1'),('141995', '22512', '0', '1', '1', '1', '1'),('141995', '22417', '0', '1', '1', '1', '1'),('141995', '22418', '0', '1', '1', '1', '1'),('141995', '22421', '0', '1', '1', '1', '1'),('141995', '22422', '0', '1', '1', '1', '1'),('141995', '22423', '0', '1', '1', '1', '1'),('141995', '22424', '0', '1', '1', '1', '1'),('141995', '22426', '0', '1', '1', '1', '1'),('141995', '22427', '0', '1', '1', '1', '1'),('141995', '22428', '0', '1', '1', '1', '1'),('141995', '22431', '0', '1', '1', '1', '1'),('141995', '22437', '0', '1', '1', '1', '1'),('141995', '22438', '0', '1', '1', '1', '1'),('141995', '22441', '0', '1', '1', '1', '1'),('141995', '22442', '0', '1', '1', '1', '1'),('141995', '22443', '0', '1', '1', '1', '1'),('141995', '22465', '0', '1', '1', '1', '1'),('141995', '22466', '0', '1', '1', '1', '1'),('141995', '22469', '0', '1', '1', '1', '1'),('141995', '22470', '0', '1', '1', '1', '1'),('141995', '22471', '0', '1', '1', '1', '1'),('141995', '22477', '0', '1', '1', '1', '1'),('141995', '22478', '0', '1', '1', '1', '1'),('141995', '22481', '0', '1', '1', '1', '1'),('141995', '22482', '0', '1', '1', '1', '1'),('141995', '22483', '0', '1', '1', '1', '1'),('141995', '22489', '0', '1', '1', '1', '1'),('141995', '22490', '0', '1', '1', '1', '1'),('141995', '22493', '0', '1', '1', '1', '1'),('141995', '22494', '0', '1', '1', '1', '1'),('141995', '22495', '0', '1', '1', '1', '1'),('141995', '22497', '0', '1', '1', '1', '1'),('141995', '22498', '0', '1', '1', '1', '1'),('141995', '22501', '0', '1', '1', '1', '1'),('141995', '22502', '0', '1', '1', '1', '1'),('141995', '22503', '0', '1', '1', '1', '1'),('141995', '22505', '0', '1', '1', '1', '1'),('141995', '22506', '0', '1', '1', '1', '1'),('141995', '22509', '0', '1', '1', '1', '1'),('141995', '22510', '0', '1', '1', '1', '1'),('141995', '22511', '0', '1', '1', '1', '1'),('141995', '22513', '0', '1', '1', '1', '1'),('141995', '22514', '0', '1', '1', '1', '1'),('141995', '22517', '0', '1', '1', '1', '1'),('141995', '22518', '0', '1', '1', '1', '1'),('141995', '22519', '0', '1', '1', '1', '1'),('141995', '22419', '0', '1', '1', '1', '1'),('141995', '22420', '0', '1', '1', '1', '1'),('141995', '22429', '0', '1', '1', '1', '1'),('141995', '22430', '0', '1', '1', '1', '1'),('141995', '22439', '0', '1', '1', '1', '1'),('141995', '22440', '0', '1', '1', '1', '1'),('141995', '22467', '0', '1', '1', '1', '1'),('141995', '22468', '0', '1', '1', '1', '1'),('141995', '22479', '0', '1', '1', '1', '1'),('141995', '22480', '0', '1', '1', '1', '1'),('141995', '22491', '0', '1', '1', '1', '1'),('141995', '22492', '0', '1', '1', '1', '1'),('141995', '22499', '0', '1', '1', '1', '1'),('141995', '22500', '0', '1', '1', '1', '1'),('141995', '22507', '0', '1', '1', '1', '1'),('141995', '22508', '0', '1', '1', '1', '1'),('141995', '22515', '0', '1', '1', '1', '1'),('141995', '22516', '0', '1', '1', '1', '1'),('141995', '23705', '0', '1', '1', '1', '1'),('141995', '23709', '0', '1', '1', '1', '1'),('141995', '38309', '0', '1', '1', '1', '1'),('141995', '38310', '0', '1', '1', '1', '1'),('141995', '38311', '0', '1', '1', '1', '1'),('141995', '38312', '0', '1', '1', '1', '1'),('141995', '38313', '0', '1', '1', '1', '1'),('141995', '38314', '0', '1', '1', '1', '1'),('141995', '45037', '0', '1', '1', '1', '1'),('141995', '14617', '0', '1', '1', '1', '1');

 

Moreover, I have a question, I would like to know how can I make a container that always drops three random different items among several items.

I want to add missing loots to Silas' Secret Stash but I read that this crate always drops three random potions and 100 Darkmoon Prize Ticket. Unfortunately, I don't know how to do that.

 

Hoping that my help will be useful for improving the server.

 

Adding currency to _loot_template have to be negative value in item.

DELETE FROM `item_loot_template` WHERE `entry`='127148' AND `item`='-515';
INSERT INTO `item_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES ('127148', '-515', '0', '1', '1', '100', '100');



 

Share this post


Link to post
Share on other sites
On 8/13/2017 at 5:58 AM, Hytr said:

Moreover, I have a question, I would like to know how can I make a container that always drops three random different items among several items.

I want to add missing loots to Silas' Secret Stash but I read that this crate always drops three random potions and 100 Darkmoon Prize Ticket. Unfortunately, I don't know how to do that.

Make 3 groupID's, in each group ID, you add an equal amount of potions, and make it so the whole group has 100% dropchance, so if you have 5 items in group 1, each item in that group would need a chance of 20%, like in this example:
 

DELETE FROM `creature_loot_template` WHERE `entry`=50886;
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
(50886, 11416, 33, 1, 1, 1, 1), /* ID is 1, and the combined dropchances of all the items within the group is 100, so only 1 item of the group will drop*/
(50886, 12207, 33, 1, 1, 1, 1),
(50886, 25427, 34, 1, 1, 1, 1),


(50886, 17256, 33, 1, 2, 1, 1), /*ID is 2, and the combined dropchances of all the items within the group is 100, so only 1 item of the group will drop*/
(50886, 17656, 33, 1, 2, 1, 1),
(50886, 17756, 34, 1, 2, 1, 1),

(50886, 17956, 33, 1, 3, 1, 1), /* ID is 3, and the combined dropchances of all the items within the group is 100, so only 1 item of the group will drop*/
(50886, 17856, 33, 1, 3, 1, 1),
(50886, 17556, 34, 1, 3, 1, 1),

/* if:
1) the total dropchance within the group is not 100%, then the player may get nothing from on of the groups.
2) if groups are not used, then thep player may get ALL the items, some, or none at all.
*/

 

Edited by Daxter

Share this post


Link to post
Share on other sites

Greetings Hytr,

Thank you for submitting the patch, I will apply it on Sylvanas!

Regards, Thyvene.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0