Jump to content
Vali

Custom txt db

Recommended Posts

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

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

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

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

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

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

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



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.