PDA

View Full Version : [SOLVED] CustomItem And Dbc Fix



hadifaren
07-12-2016, 10:47 AM
hey ,
i created an item(Custom)

DELETE FROM `item_template` WHERE (`entry`=100000);
INSERT INTO `item_template` (`entry`, `class`, `subclass`, `name`, `displayid`, `Quality`, `Flags`, `FlagsExtra`, `BuyCount`, `BuyPrice`, `SellPrice`, `InventoryType`, `AllowableClass`, `AllowableRace`, `ItemLevel`, `RequiredLevel`, `RequiredSkill`, `RequiredSkillRank`, `requiredspell`, `requiredhonorrank`, `RequiredCityRank`, `RequiredReputationFaction`, `RequiredReputationRank`, `maxcount`, `stackable`, `ContainerSlots`, `StatsCount`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `ScalingStatDistribution`, `ScalingStatValue`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `delay`, `ammo_type`, `RangedModRange`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmRate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmRate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmRate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmRate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmRate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `description`, `PageText`, `LanguageID`, `PageMaterial`, `startquest`, `lockid`, `Material`, `sheath`, `RandomProperty`, `RandomSuffix`, `block`, `itemset`, `MaxDurability`, `area`, `Map`, `BagFamily`, `TotemCategory`, `socketColor_1`, `socketContent_1`, `socketColor_2`, `socketContent_2`, `socketColor_3`, `socketContent_3`, `socketBonus`, `GemProperties`, `RequiredDisenchantSkill`, `ArmorDamageModifier`, `duration`, `ItemLimitCategory`, `HolidayId`, `ScriptName`, `DisenchantID`, `FoodType`, `minMoneyLoot`, `maxMoneyLoot`, `flagsCustom`) VALUES (100000, 2, 8, 'FrostMourne', 46609, 6, 8, 0, 2, 0, 0, 17, 35, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 4, 1500, 7, 7500, 31, 150, 32, 320, 36, 100, 37, 59, 38, 1500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 62999, 2, 0, 0, 30000, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 'By The LichKing Freeze The World!!!', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 2, 0, 3366, 1429, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 0);

then i wanted to fix red icon ""?"" so modified item.dbc and added this line after last line


100000,2,8,-1,6,46609,17,0,
and replaced with server item.dbc file
then created mpq patch named it patch-6.mpq for wow woltk 16

and put it on my wow data folder , but nothing happen

also tested custom item tut which is in this forum any idea??


sorry if i posted in wrong section

Vitrex
07-12-2016, 10:58 AM
have you deleted cache folder? in your wow directory?

hadifaren
07-12-2016, 11:36 AM
yes i did

Vitrex
07-12-2016, 12:06 PM
have you checked DBErrors.log in your bin/release folder ? it should display any errors that occurred. if you have any please paste them here.

hadifaren
07-12-2016, 03:31 PM
there is no error for item (one about item and that was says: matreial id is correct 0 and i changed it to 6)

Tommy
07-12-2016, 03:55 PM
Do you create the patch correctly? Not saying you did this but: You can't create an MPQ, put the dbc in it and ride with that. Your edited dbc file needs to be in a specific folder called "DBFilesClient" inside the MPQ.

Vitrex
07-12-2016, 03:56 PM
have your patch patter is

- Patch-6.mpq
-- DBFilesClient
--- item.dbc

?

Vitrex
07-12-2016, 07:20 PM
Can be marked as solved, i helped him in skype.
He didn't knew how to create custom patch, he just placed dbc files into patch instead of making DBFilesClient folder.