Jump to content

Custom txt db


Vali

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  128
  • Reputation:   7
  • Joined:  12/29/11
  • Last Seen:  

Hi,

rAthena has already some txt db to manage the customs items or monsters, but other ones that (i think) are necessary are not there, for example item_trade2.txt to manage the properties of that custom items.

This will help to avoid conflicts when the SVN update the files.

Vali~

Edited by Vali
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

You can add your custom items in item_trade and break it off by adding

// Custom Items

<List of custom items>

then just copy and paste whenever you update your svn

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

No need to copy anything. Just add your custom stuff at the top of the file. Adding it at the end can indeed lead to conflicts when rA team adds new stuff at the end of file as well.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

then at the top it is!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

wow thanks for the tip Gepard (moves customs to Top line :P )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  128
  • Reputation:   7
  • Joined:  12/29/11
  • Last Seen:  

The sugestion comes from the last updated of this file. Was deleted and added to other site. This can cause problems to the configuration of the custom items (being deleted). If a custom txt is created there not will be that problems and all will be more organized.

Vali~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

If the SVN-deleted file is modified in your working copy, then SVN-update on your working copy will warn you about tree conflict. Then it's up to you to clean it up.

File moves don't happen very often though, and IMO cluttering db folder with .<filename>2.txt files is not a way to go.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

No need to copy anything. Just add your custom stuff at the top of the file. Adding it at the end can indeed lead to conflicts when rA team adds new stuff at the end of file as well.

Adding entries at the top of the file can aslo cause "Conflicted" errors.

Checkout an item_db.txt from revision 11000 add a line at the top and try an SVN update and you'll see... (I used eAthena bacause rAthena splitted the file.)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

I always have that error so I ended up not updating the svn. I guess its better to have a custom txt db's for custom items and also for custom mobs

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

uuhh, newb question. but what custom txt db are you guys talking about?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   5
  • Joined:  11/19/11
  • Last Seen:  

I vote for a custom folder, and make rAthena load it after the original file.

Link to comment
Share on other sites

×
×
  • Create New...