Sziasztok!
Újra hozzátok kell hogy forduljak, mert máshol nem nagyon kaptam megfelelő segítséget.
A problémám a téma címében szereplő WoW-V -vel lenne, merthogy házi szerveremre szándékoztam készíteni egy egyéni itemet, el is készítettem, lementettem azt az sql-t, ami trinity-vel kompatibilis. (Én TDB 335.50-es adatbázist használok)
Már csak be kellett importálnom adatbázisba, ahol is hibába ütköztem. Érthetetlen módon más az én item_template táblám, mint az a tábla, amelynek alapján elkészíti a WoW-V az itemet. (Az enyém ki van bővítve pár extra mezővel) Szóval tudtok-e valami megoldást arra, hogy ne manuálisan kelljen "kipótolni" az sql fájlt a plusz mezők adataival(örökkévalóság+1nap)?
Ui.: Az egyik itteni felhasználó, MySQL adott egy tippet, hogy az unk0-t a számával együtt töröljem ki, megtettem,
nem vezetett eredményre. (Csak hogy ne mondjátok, hogy " a hülyegyerek egyből ide jön sírni brühühü" :D)
A WoW-V által készített itemem sql kódja:
INSERT INTO item_template (entry, class, subclass, unk0, name, displayid, Quality, Flags, BuyCount, BuyPrice, SellPrice, InventoryType, AllowableClass, AllowableRace, ItemLevel, RequiredLevel, RequiredSkill, RequiredSkillRank, requiredspell, requiredhonorrank, RequiredCityRank, RequiredReputationFaction, RequiredReputationRank, maxcount, stackable, ContainerSlots, 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, 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, spellcooldown_1, spellcategory_1, spellcategorycooldown_1, spellid_2, spelltrigger_2, spellcharges_2, spellcooldown_2, spellcategory_2, spellcategorycooldown_2, spellid_3, spelltrigger_3, spellcharges_3, spellcooldown_3, spellcategory_3, spellcategorycooldown_3, spellid_4, spelltrigger_4, spellcharges_4, spellcooldown_4, spellcategory_4, spellcategorycooldown_4, spellid_5, spelltrigger_5, spellcharges_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, ScriptName, DisenchantID, StatsCount)
VALUES (500100, 4, 1, -1, "Runes of the Twisting Nether", 43841, 5, 0, 1, 500505, 100505, 4, -1, -1, 80, 80, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 7, 758, 5, 424, 6, 365, 12, 954, 43, 752, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30000, 0, 0, 0, 0, 30000, 30000, 0, 0, 0, 35844, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, "", 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'internalitemhanler', 0, 10);
Az item_template-m kódja(csak a lényeg):
`entry` mediumint(8) unsigned NOT NULL DEFAULT '0',
`class` tinyint(3) unsigned NOT NULL DEFAULT '0',
`subclass` tinyint(3) unsigned NOT NULL DEFAULT '0',
`SoundOverrideSubclass` tinyint(3) NOT NULL DEFAULT '-1',
`name` varchar(255) NOT NULL DEFAULT '',
`displayid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`Quality` tinyint(3) unsigned NOT NULL DEFAULT '0',
`Flags` bigint(20) NOT NULL DEFAULT '0',
`FlagsExtra` int(10) unsigned NOT NULL DEFAULT '0',
`BuyCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
`BuyPrice` bigint(20) NOT NULL DEFAULT '0',
`SellPrice` int(10) unsigned NOT NULL DEFAULT '0',
`InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0',
`AllowableClass` int(11) NOT NULL DEFAULT '-1',
`AllowableRace` int(11) NOT NULL DEFAULT '-1',
`ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0',
`RequiredLevel` tinyint(3) unsigned NOT NULL DEFAULT '0',
`RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT '0',
`RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0',
`requiredspell` mediumint(8) unsigned NOT NULL DEFAULT '0',
`requiredhonorrank` mediumint(8) unsigned NOT NULL DEFAULT '0',
`RequiredCityRank` mediumint(8) unsigned NOT NULL DEFAULT '0',
`RequiredReputationFaction` smallint(5) unsigned NOT NULL DEFAULT '0',
`RequiredReputationRank` smallint(5) unsigned NOT NULL DEFAULT '0',
`maxcount` int(11) NOT NULL DEFAULT '0',
`stackable` int(11) DEFAULT '1',
`ContainerSlots` tinyint(3) unsigned NOT NULL DEFAULT '0',
`StatsCount` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_type1` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value1` smallint(6) NOT NULL DEFAULT '0',
`stat_type2` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value2` smallint(6) NOT NULL DEFAULT '0',
`stat_type3` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value3` smallint(6) NOT NULL DEFAULT '0',
`stat_type4` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value4` smallint(6) NOT NULL DEFAULT '0',
`stat_type5` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value5` smallint(6) NOT NULL DEFAULT '0',
`stat_type6` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value6` smallint(6) NOT NULL DEFAULT '0',
`stat_type7` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value7` smallint(6) NOT NULL DEFAULT '0',
`stat_type8` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value8` smallint(6) NOT NULL DEFAULT '0',
`stat_type9` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value9` smallint(6) NOT NULL DEFAULT '0',
`stat_type10` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stat_value10` smallint(6) NOT NULL DEFAULT '0',
`ScalingStatDistribution` smallint(6) NOT NULL DEFAULT '0',
`ScalingStatValue` int(10) unsigned NOT NULL DEFAULT '0',
`dmg_min1` float NOT NULL DEFAULT '0',
`dmg_max1` float NOT NULL DEFAULT '0',
`dmg_type1` tinyint(3) unsigned NOT NULL DEFAULT '0',
`dmg_min2` float NOT NULL DEFAULT '0',
`dmg_max2` float NOT NULL DEFAULT '0',
`dmg_type2` tinyint(3) unsigned NOT NULL DEFAULT '0',
`armor` smallint(5) unsigned NOT NULL DEFAULT '0',
`holy_res` tinyint(3) unsigned NOT NULL DEFAULT '0',
`fire_res` tinyint(3) unsigned NOT NULL DEFAULT '0',
`nature_res` tinyint(3) unsigned NOT NULL DEFAULT '0',
`frost_res` tinyint(3) unsigned NOT NULL DEFAULT '0',
`shadow_res` tinyint(3) unsigned NOT NULL DEFAULT '0',
`arcane_res` tinyint(3) unsigned NOT NULL DEFAULT '0',
`delay` smallint(5) unsigned NOT NULL DEFAULT '1000',
`ammo_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
`RangedModRange` float NOT NULL DEFAULT '0',
`spellid_1` mediumint(8) NOT NULL DEFAULT '0',
`spelltrigger_1` tinyint(3) unsigned NOT NULL DEFAULT '0',
`spellcharges_1` smallint(6) DEFAULT NULL,
`spellppmRate_1` float NOT NULL DEFAULT '0',
`spellcooldown_1` int(11) NOT NULL DEFAULT '-1',
`spellcategory_1` smallint(5) unsigned NOT NULL DEFAULT '0',
`spellcategorycooldown_1` int(11) NOT NULL DEFAULT '-1',
`spellid_2` mediumint(8) NOT NULL DEFAULT '0',
`spelltrigger_2` tinyint(3) unsigned NOT NULL DEFAULT '0',
`spellcharges_2` smallint(6) DEFAULT NULL,
`spellppmRate_2` float NOT NULL DEFAULT '0',
`spellcooldown_2` int(11) NOT NULL DEFAULT '-1',
`spellcategory_2` smallint(5) unsigned NOT NULL DEFAULT '0',
`spellcategorycooldown_2` int(11) NOT NULL DEFAULT '-1',
`spellid_3` mediumint(8) NOT NULL DEFAULT '0',
`spelltrigger_3` tinyint(3) unsigned NOT NULL DEFAULT '0',
`spellcharges_3` smallint(6) DEFAULT NULL,
`spellppmRate_3` float NOT NULL DEFAULT '0',
`spellcooldown_3` int(11) NOT NULL DEFAULT '-1',
`spellcategory_3` smallint(5) unsigned NOT NULL DEFAULT '0',
`spellcategorycooldown_3` int(11) NOT NULL DEFAULT '-1',
`spellid_4` mediumint(8) NOT NULL DEFAULT '0',
`spelltrigger_4` tinyint(3) unsigned NOT NULL DEFAULT '0',
`spellcharges_4` smallint(6) DEFAULT NULL,
`spellppmRate_4` float NOT NULL DEFAULT '0',
`spellcooldown_4` int(11) NOT NULL DEFAULT '-1',
`spellcategory_4` smallint(5) unsigned NOT NULL DEFAULT '0',
`spellcategorycooldown_4` int(11) NOT NULL DEFAULT '-1',
`spellid_5` mediumint(8) NOT NULL DEFAULT '0',
`spelltrigger_5` tinyint(3) unsigned NOT NULL DEFAULT '0',
`spellcharges_5` smallint(6) DEFAULT NULL,
`spellppmRate_5` float NOT NULL DEFAULT '0',
`spellcooldown_5` int(11) NOT NULL DEFAULT '-1',
`spellcategory_5` smallint(5) unsigned NOT NULL DEFAULT '0',
`spellcategorycooldown_5` int(11) NOT NULL DEFAULT '-1',
`bonding` tinyint(3) unsigned NOT NULL DEFAULT '0',
`description` varchar(255) NOT NULL DEFAULT '',
`PageText` mediumint(8) unsigned NOT NULL DEFAULT '0',
`LanguageID` tinyint(3) unsigned NOT NULL DEFAULT '0',
`PageMaterial` tinyint(3) unsigned NOT NULL DEFAULT '0',
`startquest` mediumint(8) unsigned NOT NULL DEFAULT '0',
`lockid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`Material` tinyint(4) NOT NULL DEFAULT '0',
`sheath` tinyint(3) unsigned NOT NULL DEFAULT '0',
`RandomProperty` mediumint(8) NOT NULL DEFAULT '0',
`RandomSuffix` mediumint(8) unsigned NOT NULL DEFAULT '0',
`block` mediumint(8) unsigned NOT NULL DEFAULT '0',
`itemset` mediumint(8) unsigned NOT NULL DEFAULT '0',
`MaxDurability` smallint(5) unsigned NOT NULL DEFAULT '0',
`area` mediumint(8) unsigned NOT NULL DEFAULT '0',
`Map` smallint(6) NOT NULL DEFAULT '0',
`BagFamily` mediumint(8) NOT NULL DEFAULT '0',
`TotemCategory` mediumint(8) NOT NULL DEFAULT '0',
`socketColor_1` tinyint(4) NOT NULL DEFAULT '0',
`socketContent_1` mediumint(8) NOT NULL DEFAULT '0',
`socketColor_2` tinyint(4) NOT NULL DEFAULT '0',
`socketContent_2` mediumint(8) NOT NULL DEFAULT '0',
`socketColor_3` tinyint(4) NOT NULL DEFAULT '0',
`socketContent_3` mediumint(8) NOT NULL DEFAULT '0',
`socketBonus` mediumint(8) NOT NULL DEFAULT '0',
`GemProperties` mediumint(8) NOT NULL DEFAULT '0',
`RequiredDisenchantSkill` smallint(6) NOT NULL DEFAULT '-1',
`ArmorDamageModifier` float NOT NULL DEFAULT '0',
`duration` int(10) unsigned NOT NULL DEFAULT '0',
`ItemLimitCategory` smallint(6) NOT NULL DEFAULT '0',
`HolidayId` int(11) unsigned NOT NULL DEFAULT '0',
`ScriptName` varchar(64) NOT NULL DEFAULT '',
`DisenchantID` mediumint(8) unsigned NOT NULL DEFAULT '0',
`FoodType` tinyint(3) unsigned NOT NULL DEFAULT '0',
`minMoneyLoot` int(10) unsigned NOT NULL DEFAULT '0',
`maxMoneyLoot` int(10) unsigned NOT NULL DEFAULT '0',
`flagsCustom` int(10) unsigned NOT NULL DEFAULT '0',
`WDBVerified` smallint(6) DEFAULT '1',
PRIMARY KEY (`entry`),
KEY `idx_name` (`name`),
KEY `items_index` (`class`)
Válaszaitokat előre is köszönöm!:D
Bhnh
Hú, hát nem is tudom hogy kezdjem...
Nem tudom hogy lehetek ilyen hülye, biztos a félév teszi... Tudjátok mi volt a nagy errorom? (az unk0-n kívül amit megoldottam.) Túl sok shadow resistance-t adtam meg... tökön szúrom magam XD
Kezdő fórumozótársaimnak ez egy jó példa lehet, hogy először nézzenek utána a hibának, mielőtt ide jöttök hülyeséget írni!:D
Még egyszer elnézést kérek tőletek :D
A témát zárom, nem akarom sokszor jogos oltogatások színhelyévé tenni :D