Loot Table Error with MaNGOS

Results 1 to 5 of 5
  1. #1
    Newbie NetBlues is offline
    MemberRank
    Dec 2006 Join Date
    3Posts

    Loot Table Error with MaNGOS

    The server runs just fine even with this error, but of course there aren't any drops except coins. I attempted to update loot_template.sql [using SQLyog] with the all of the versions I found in the SDB update I just downloaded, but every attempt received an error stating the table doesn't exist.

    I'm running a MaNGOS installation that has been updated from 2619 to 2652 and I can't seem to shake this problem. Here's the output:

    Code:
    2006-12-19 02:49:53 Loading Loot Tables...
    2006-12-19 02:49:53 creature_loot_template :
    2006-12-19 02:49:53 ERROR:SQL: SELECT `entry`, `item`, `chance`, `questchance`, `maxcount`, `quest_freeforall` FROM `creature_loot_template`
    2006-12-19 02:49:53 ERROR:query ERROR: Unknown column 'chance' in 'field list'
    2006-12-19 02:49:53 ERROR:>> Loaded 0 loot definitions. DB table `creature_loot_template` is empty.
    2006-12-19 02:49:53 fishing_loot_template :
    2006-12-19 02:49:53 ERROR:SQL: SELECT `entry`, `item`, `chance`, `questchance`, `maxcount`, `quest_freeforall` FROM `fishing_loot_template`
    2006-12-19 02:49:53 ERROR:query ERROR: Unknown column 'chance' in 'field list'
    2006-12-19 02:49:53 ERROR:>> Loaded 0 loot definitions. DB table `fishing_loot_template` is empty.
    2006-12-19 02:49:53 gameobject_loot_template :
    2006-12-19 02:49:53 ERROR:SQL: SELECT `entry`, `item`, `chance`, `questchance`, `maxcount`, `quest_freeforall` FROM `gameobject_loot_template`
    2006-12-19 02:49:53 ERROR:query ERROR: Unknown column 'chance' in 'field list'
    2006-12-19 02:49:53 ERROR:>> Loaded 0 loot definitions. DB table `gameobject_loot_template` is empty.
    2006-12-19 02:49:53 item_loot_template :
    2006-12-19 02:49:53 ERROR:SQL: SELECT `entry`, `item`, `chance`, `questchance`, `maxcount`, `quest_freeforall` FROM `item_loot_template`
    2006-12-19 02:49:53 ERROR:query ERROR: Unknown column 'chance' in 'field list'
    2006-12-19 02:49:53 ERROR:>> Loaded 0 loot definitions. DB table `item_loot_template` is empty.
    2006-12-19 02:49:53 pickpocketing_loot_template :
    2006-12-19 02:49:53 ERROR:SQL: SELECT `entry`, `item`, `chance`, `questchance`, `maxcount`, `quest_freeforall` FROM `pickpocketing_loot_template`
    2006-12-19 02:49:53 ERROR:query ERROR: Unknown column 'chance' in 'field list'
    2006-12-19 02:49:53 ERROR:>> Loaded 0 loot definitions. DB table `pickpocketing_loot_template` is empty.
    2006-12-19 02:49:53 skinning_loot_template :
    2006-12-19 02:49:53 ERROR:SQL: SELECT `entry`, `item`, `chance`, `questchance`, `maxcount`, `quest_freeforall` FROM `skinning_loot_template`
    2006-12-19 02:49:53 ERROR:query ERROR: Unknown column 'chance' in 'field list'
    2006-12-19 02:49:53 ERROR:>> Loaded 0 loot definitions. DB table `skinning_loot_template` is empty.
    2006-12-19 02:49:53 ERROR:SQL: SELECT `item`, `item2` FROM `skinning_loot_template_alternative`
    2006-12-19 02:49:53 ERROR:query ERROR: Table 'mangos.skinning_loot_template_alternative' doesn't exist


  2. #2
    Member Jigsaw is offline
    MemberRank
    Mar 2006 Join Date
    BirminghamLocation
    26Posts
    You're not using the correct loot_template for that revision; What revision you using?

  3. #3
    Newbie wedtm is offline
    MemberRank
    Dec 2006 Join Date
    21Posts
    Let me kindly refer you to this thread, it will solve your problem:
    http://forum.ragezone.com/world-warc...os-201572.html

  4. #4
    Newbie NetBlues is offline
    MemberRank
    Dec 2006 Join Date
    3Posts
    Here's the error I received through SQLyog when attempting to update file:
    Code:
    Query:
    ALTER TABLE `creature_loot_template`  
    ADD `maxcount` int(11) unsigned NOT NULL default '1'
    
    Error occured at:2006-12-19 03:36:23
    Line no.:2
    Error Code: 1060 - Duplicate column name 'maxcount'

  5. #5
    Newbie NetBlues is offline
    MemberRank
    Dec 2006 Join Date
    3Posts
    Alright, well I'm now running the latest build of both SDB and MaNGOS. Tell me how to fix this:
    Code:
    2006-12-19 03:46:42 Loading Quests...
    2006-12-19 03:46:42 ERROR:Error opening quest_template table.
    And I'm still unable to update the SQL, I get an error for practically every .sql file I try to throw in.



Advertisement