Jump to content
  • 0

Failed to load ITEM_DB database file from 'db/import/item_db.yml'


Dolphin86

Question


  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

got problem with custom item db, im not sure which part was wrong..

Error Screenshoot:

Spoiler

1.thumb.png.e28570390d2e82dac592b5d9fe62db13.png

i have the problem which is in this itemdb, but im not sure how to fix them..

Spoiler
Header:
  Type: ITEM_DB
  Version: 3

Body:
  - Id: 40001
    AegisName: Stone Dagger
    Name: Stone Dagger
    Type: Armor
    Weight: 100
    Jobs:
      All: true
    Locations:
      Both_Accessory: true
    ArmorLevel: 1
    EquipLevelMin: 1
    Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true
    Script: |
      bonus2 bAddMonsterDropItem,40010,10000;
      bonus2 bAddMonsterDropItem,40011,10000;
  - Id: 40016
    AegisName: Stone Axe
    Name: Stone Axe
    Type: Armor
    Weight: 100
    Jobs:
      All: true
    Locations:
      Both_Accessory: true
    ArmorLevel: 1
    EquipLevelMin: 1
    Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true
  - Id: 40019
    AegisName: Stone Hammer
    Name: Stone Hammer
    Type: Armor
    Weight: 100
    Jobs:
      All: true
    Locations:
      Both_Accessory: true
    ArmorLevel: 1
    EquipLevelMin: 1
    Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true
  - Id: 40024
    AegisName: Stone Blade
    Name: Stone Blade
    Type: Weapon
    SubType: Dagger
    Weight: 600
    Attack: 73
    Range: 1
    Jobs:
      Alchemist: true
      Archer: true
      Assassin: true
      BardDancer: true
      Blacksmith: true
      Crusader: true
      Hunter: true
      Knight: true
      Mage: true
      Merchant: true
      Ninja: true
      Novice: true
      Rogue: true
      Sage: true
      SoulLinker: true
      SuperNovice: true
      Swordman: true
      Thief: true
      Wizard: true
    Locations:
      Right_Hand: true
    WeaponLevel: 1
    EquipLevelMin: 1
        Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true

 

 

Edited by Dolphin86
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  155
  • Reputation:   51
  • Joined:  07/15/13
  • Last Seen:  

  - Id: 40024
    AegisName: Stone Blade
    Name: Stone Blade
    Type: Weapon
    SubType: Dagger
    Weight: 600
    Attack: 73
    Range: 1
    Jobs:
      Alchemist: true
      Archer: true
      Assassin: true
      BardDancer: true
      Blacksmith: true
      Crusader: true
      Hunter: true
      Knight: true
      Mage: true
      Merchant: true
      Ninja: true
      Novice: true
      Rogue: true
      Sage: true
      SoulLinker: true
      SuperNovice: true
      Swordman: true
      Thief: true
      Wizard: true
    Locations:
      Right_Hand: true
    WeaponLevel: 1
    EquipLevelMin: 1
    Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true


Trade had extra spaces. 

If you're using notepad++ you can activate show symbol

It can activate in view window > show symbol > show white space and tab

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1536
  • Reputation:   237
  • Joined:  08/03/12
  • Last Seen:  

1 hour ago, Dolphin86 said:

got problem with custom item db, im not sure which part was wrong..

Error Screenshoot:

  Hide contents

1.thumb.png.e28570390d2e82dac592b5d9fe62db13.png

i have the problem which is in this itemdb, but im not sure how to fix them..

  Hide contents
Header:
  Type: ITEM_DB
  Version: 3

Body:
  - Id: 40001
    AegisName: Stone Dagger
    Name: Stone Dagger
    Type: Armor
    Weight: 100
    Jobs:
      All: true
    Locations:
      Both_Accessory: true
    ArmorLevel: 1
    EquipLevelMin: 1
    Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true
    Script: |
      bonus2 bAddMonsterDropItem,40010,10000;
      bonus2 bAddMonsterDropItem,40011,10000;
  - Id: 40016
    AegisName: Stone Axe
    Name: Stone Axe
    Type: Armor
    Weight: 100
    Jobs:
      All: true
    Locations:
      Both_Accessory: true
    ArmorLevel: 1
    EquipLevelMin: 1
    Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true
  - Id: 40019
    AegisName: Stone Hammer
    Name: Stone Hammer
    Type: Armor
    Weight: 100
    Jobs:
      All: true
    Locations:
      Both_Accessory: true
    ArmorLevel: 1
    EquipLevelMin: 1
    Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true
  - Id: 40024
    AegisName: Stone Blade
    Name: Stone Blade
    Type: Weapon
    SubType: Dagger
    Weight: 600
    Attack: 73
    Range: 1
    Jobs:
      Alchemist: true
      Archer: true
      Assassin: true
      BardDancer: true
      Blacksmith: true
      Crusader: true
      Hunter: true
      Knight: true
      Mage: true
      Merchant: true
      Ninja: true
      Novice: true
      Rogue: true
      Sage: true
      SoulLinker: true
      SuperNovice: true
      Swordman: true
      Thief: true
      Wizard: true
    Locations:
      Right_Hand: true
    WeaponLevel: 1
    EquipLevelMin: 1
        Trade:
      NoDrop: true
      NoTrade: true
      NoSell: true
      NoCart: true
      NoGuildStorage: true
      NoMail: true
      NoAuction: true
      NoStorage: true

 

 

The YAML indentation is not correct.

Make sure the spacing are correctly written.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  255
  • Topics Per Day:  0.06
  • Content Count:  706
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

how.. i seriously had no idea how to fix this

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  22
  • Reputation:   5
  • Joined:  02/22/22
  • Last Seen:  

On 10/17/2023 at 8:17 PM, Dolphin86 said:

how.. i seriously had no idea how to fix this

Looks like you have extra blanck spaces in your configuration, you can try use this one

item_issue.yml

Edited by Hergel
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...