DB error in items menu

User Tag List

Results 1 to 3 of 3
  1. #1
    rallelito's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DB error in items

    Hello, I got a error when adding an item in my database.
    [Err] 1054 - Unknown column 'RequiredSkillSubRank' in 'field list'
    This is my code
    INSERT INTO items (entry, class, subclass, field4, name1, name2, name3, name4, displayid, quality, flags, buyprice, sellprice, inventorytype, allowableclass, allowablerace, itemlevel, requiredlevel, RequiredSkill, RequiredSkillRank, RequiredSkillSubRank, RequiredPlayerRank1, RequiredPlayerRank2, RequiredFaction, RequiredFactionStanding, `Unique`, maxcount, 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, dmg_min3, dmg_max3, dmg_type3, dmg_min4, dmg_max4, dmg_type4, dmg_min5, dmg_max5, dmg_type5, armor, holy_res, fire_res, nature_res, frost_res, shadow_res, arcane_res, delay, ammo_type, `range`, 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, page_id, page_language, page_material, quest_id, lock_id, lock_material, sheathID, randomprop, RandomSuffixId, block, itemset, MaxDurability, ZoneNameID, mapid, bagfamily, TotemCategory, socket_color_1, unk201_3, socket_color_2, unk201_5, socket_color_3, unk201_7, socket_bonus, GemProperties, ReqDisenchantSkill)
    VALUES (06, 2, 7, -1, "Warglaives of the unknown", "Warglaives of the unknown", "Warglaives of the unknown", "Warglaives of the unknown", 30935, 5, 0, 999990000, 500000000, 13, -1, -1, 255, 80, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 3, 215, 4, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1846, 2149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 34696, 2, 0, 0, 0, 0, 18060, 1, 0, 0, 0, 0, 17713, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, "You're ambushed forever", 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 2, 0, 4, 0, 8, 0, 0, 0, 0);
    Someone have told me to delete the requiredskillsubrank in the queue, But i dont know what to delete in the VALUES section...Can someone tell me? because i'm going to make more items in the future.

    DB error in items
  2. #2
    rallelito's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please, i realy want this problem sorted out. What should i delete in the VALUES section?

  3. #3
    Vision1000's Avatar Member
    Reputation
    104
    Join Date
    Jun 2008
    Posts
    122
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Go and check if you even have 'RequiredSkillSubRank' in your items Table, if you don't then try this;

    Code:
    INSERT INTO items (entry, class, subclass, field4, name1, name2, name3, name4, displayid, quality, flags, buyprice, sellprice, inventorytype, allowableclass, allowablerace, itemlevel, requiredlevel, RequiredSkill, RequiredSkillRank, RequiredSkillSubRank, RequiredPlayerRank1, RequiredPlayerRank2, RequiredFaction, RequiredFactionStanding, `Unique`, maxcount, 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, dmg_min3, dmg_max3, dmg_type3, dmg_min4, dmg_max4, dmg_type4, dmg_min5, dmg_max5, dmg_type5, armor, holy_res, fire_res, nature_res, frost_res, shadow_res, arcane_res, delay, ammo_type, `range`, 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, page_id, page_language, page_material, quest_id, lock_id, lock_material, sheathID, randomprop, RandomSuffixId, block, itemset, MaxDurability, ZoneNameID, mapid, bagfamily, TotemCategory, socket_color_1, unk201_3, socket_color_2, unk201_5, socket_color_3, unk201_7, socket_bonus, GemProperties, ReqDisenchantSkill)
    VALUES (06, 2, 7, -1, "Warglaives of the unknown", "Warglaives of the unknown", "Warglaives of the unknown", "Warglaives of the unknown", 30935, 5, 0, 999990000, 500000000, 13, -1, -1, 255, 80, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 3, 215, 4, 216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1846, 2149, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 34696, 2, 0, 0, 0, 0, 18060, 1, 0, 0, 0, 0, 17713, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, "You're ambushed forever", 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 2, 0, 4, 0, 8, 0, 0, 0, 0);
    Delete whats highlighted in red.

Similar Threads

  1. Missing Item Error
    By Pterosaur in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 12-07-2008, 02:48 AM
  2. [Error/crash] trying to open C/Hover over an item.
    By A2C in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 06-22-2008, 06:38 AM
  3. [Item] Stamina error
    By Leenotrio in forum World of Warcraft Exploration
    Replies: 17
    Last Post: 05-18-2008, 12:25 AM
  4. Custom Item Error
    By newfang in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 04-26-2008, 01:55 AM
  5. [HELP] CANNOT ADD MY NEW CUSTOM ITEM {error log inside}
    By vak in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 09-28-2007, 07:21 AM
All times are GMT -5. The time now is 05:08 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search