Jump to content
  • 0

item_db and item_db2 difference


Ugur Ozturk

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  02/03/17
  • Last Seen:  

Hi rAthena. I looked around but couldn't find the real purpose, why there is item_db and itemdb2 as like mob_db and mob_db2 ?

as much as i know, when i modify some item then i do put it to item_db2. The real row inside item_db has been overwriting. And the item_db2 does run. But why ? 

Ref : https://rathena.org/board/topic/93445-missing-item_db2txt/ non-sql based systems does run inside import folder. "What about sql based systems ?"

 

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

For the SQL side the item_db2 table works as the db/import/item_db.txt file.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

As Euphy said 
It's been renamed; all the "_db2" now follow standard naming, and are located in the import directory. You're looking for db/import-tmpl/item_db.txt.

Item_db2 is now changed to the item_db.txt inside the import folder in your trunk file 
When you add an item in the item_db in the import folder it over rides the item_db.txt the pre-re/re item.db that you are using.
the purpose of it is for adding custom items and custom monsters.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  02/03/17
  • Last Seen:  

4 hours ago, crazyarashi said:

As Euphy said 
It's been renamed; all the "_db2" now follow standard naming, and are located in the import directory. You're looking for db/import-tmpl/item_db.txt.

Item_db2 is now changed to the item_db.txt inside the import folder in your trunk file 
When you add an item in the item_db in the import folder it over rides the item_db.txt the pre-re/re item.db that you are using.
the purpose of it is for adding custom items and custom monsters.

You said well for non-sql based servers. What about sql based servers? there is "item_db2" table. What does it mean ? is it useless and should not to be use ?

Edited by Ugur Ozturk
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  911
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

Item_db2 this is the place where your custom item should be put to become more organize and clean db

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...