Jump to content
  • 0

item_db3? Is there a way to do this?


anjasoleil1

Question


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/11/14
  • Last Seen:  

Just curious~

 

is there a way to import another item_db?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  929
  • Reputation:   170
  • Joined:  04/05/13
  • Last Seen:  

db/import-tmpl/item_db.txt

 

Not sure.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Just curious~

 

is there a way to import another item_db?

I think yes, but you have to copy all sources, and also it does not make sense? since you have import/ for ur custom stuffs.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  192
  • Reputation:   43
  • Joined:  12/13/11
  • Last Seen:  

The right question is.
For what reason?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  354
  • Reputation:   110
  • Joined:  01/30/13
  • Last Seen:  

The right question is.

For what reason?

Maybe because item_db2 get too way big e.e

Edited by FXFreitas
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

 

The right question is.

For what reason?

Maybe because item_db2 get too way big e.e

 

What;s the purpose of import/ if he wants to add an extension of item_db3

That's why rAthena dev put that import/ for their custom stuffs.

This topic does not make sense. please closed it.

Edited by Azeroth
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

src/map/itemdb.c#L1342-L1345

	const char* filename[] = {
		DBPATH"item_db.txt",
		DBIMPORT"/item_db.txt" 
	};

change to 


	const char* filename[] = {
		DBPATH"item_db.txt",
		DBIMPORT"/item_db.txt", 
		DBIMPORT"/item_db2.txt" 
	};

adjust the path 

DBIMPORT"/item_db2.txt" 

DBIMPORT =  db/import folder

DBPATH = db folder

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