Aleos 4ae56ba94c Fixes Marine Sphere behavior (#7333) преди 2 години
..
import-tmpl 19fe27932f Implemented refine result broadcast packet (#7301) преди 2 години
pre-re 4ae56ba94c Fixes Marine Sphere behavior (#7333) преди 2 години
re 4ae56ba94c Fixes Marine Sphere behavior (#7333) преди 2 години
GeoIP.dat a75c0475a2 > Hercules merges: преди 12 години
abra_db.yml 2cc5337083 Updates copyright date преди 4 години
achievement_db.yml 5aa9f75343 Cleaned up remaining TODO for Achievements (#4446) преди 4 години
achievement_level_db.yml 5aa9f75343 Cleaned up remaining TODO for Achievements (#4446) преди 4 години
attendance.yml 2cc5337083 Updates copyright date преди 4 години
attr_fix.yml 4d2c5b02d3 Converted Elemental Attribute Damage Adjustment Tables to YAML (#6053) преди 3 години
battleground_db.yml 2cc5337083 Updates copyright date преди 4 години
castle_db.yml cc93494cf9 Shifts the WoE TE castles to renewal (#6981) преди 3 години
const.yml fe7cb5a33f Converted const.txt to YAML (#6187) преди 3 години
create_arrow_db.yml 0599ee1832 Converted create_arrow_db.txt to YAML (#6039) преди 3 години
elemental_db.yml 55a1ad2881 Increases MAX_LEVEL to 250 (#6406) преди 3 години
enchantgrade.yml 001981cf66 Initial implementation of enchantgrade UI (#6913) преди 3 години
exp_guild.yml 7ade6d8c86 Converted txt guild experience database to yaml (#5995) преди 3 години
exp_homun.yml e8385d812b Converted exp_homun database to yaml (#6002) преди 4 години
guild_skill_tree.yml 2cc5337083 Updates copyright date преди 4 години
homun_skill_tree.txt 652d77eb02 Job Improvement Project - Genetic (#3284) преди 5 години
instance_db.yml ac7292c92d Allow creating instance without timer or data (#5112) преди 3 години
item_combos.yml c8d1d1ea1e Converted item_combo_db txt to yml (#6162) преди 3 години
item_db.yml 7c3bb6124a Added missing increase of the versioning (#7220) преди 2 години
item_enchant.yml 8629c6445a Initial release of item enchant UI (#7186) преди 2 години
item_group_db.yml 08192a35bc Revamped Laphine UIs (#6625) преди 3 години
item_packages.yml 38b8d5a994 Initial release of item package selection (#7239) преди 2 години
item_randomopt_db.yml 2cc5337083 Updates copyright date преди 4 години
item_randomopt_group.yml 2cc5337083 Updates copyright date преди 4 години
item_reform.yml a0eb9d5ee2 Initial release of item reform UI (#7185) преди 2 години
job_stats.yml fe7626dfdc Follow-up to 64f10ed преди 3 години
laphine_synthesis.yml 08192a35bc Revamped Laphine UIs (#6625) преди 3 години
laphine_upgrade.yml 08192a35bc Revamped Laphine UIs (#6625) преди 3 години
level_penalty.yml 2cc5337083 Updates copyright date преди 4 години
magicmushroom_db.yml 2cc5337083 Updates copyright date преди 4 години
map_cache.dat f490aeb6fa Updated mapcache (#7260) преди 2 години
map_drops.yml c06492def6 Implemented map specific drops (#7156) преди 2 години
map_index.txt f490aeb6fa Updated mapcache (#7260) преди 2 години
mercenary_db.yml 4a778815a3 Converted mercenary_db to YAML format (#6101) преди 3 години
mob_chat_db.yml 79bb537fa2 Initial release of the Poring village instance (#7293) преди 2 години
mob_db.yml 7556453dfc Merge of Rytech's 4CrAM (#6414) преди 3 години
mob_item_ratio.yml 99eed0c9b1 Converted mob_item_ratio to YAML (#6021) преди 3 години
mob_summon.yml 9322f67002 Converted mob_boss to yaml (#6011) преди 4 години
pet_db.yml 2cc5337083 Updates copyright date преди 4 години
quest_db.yml f6bc10bfb1 Mob quest target (#7071) преди 2 години
readme.md 5aa9f75343 Cleaned up remaining TODO for Achievements (#4446) преди 4 години
refine.yml 19fe27932f Implemented refine result broadcast packet (#7301) преди 2 години
reputation.yml ae74eb8404 Initial release of reputation UI (#7184) преди 2 години
size_fix.yml 2cc5337083 Updates copyright date преди 4 години
skill_changematerial_db.txt 51ecd9b2bc Follow up 402170c преди 10 години
skill_damage_db.txt a942853d55 Cleaned up the mapflag system (#2943) преди 6 години
skill_db.yml f28d207274 Implementation of Status Changes in YAML (#1685) преди 3 години
skill_tree.yml 745731b8e8 Fixed some small mistakes with skill tree (#6409) преди 3 години
spellbook_db.yml 2cc5337083 Updates copyright date преди 4 години
statpoint.yml 7556453dfc Merge of Rytech's 4CrAM (#6414) преди 3 години
status.yml cee161e677 Implements SC_STONEWAIT (#6794) преди 3 години
status_disabled.txt 7556453dfc Merge of Rytech's 4CrAM (#6414) преди 3 години
stylist.yml c22ef3f547 Initial release of stylist UI (#6446) преди 3 години

readme.md

Import Directories

What is the import directory for?

The import/ directory provides a way for you to change your config settings without the need to even touch the main /conf/ and /db/ files.

By placing your custom entries into the import/ directory within these two locations, your core files will not need to have any conflicts resolved when you update your server. You store your changes, and the rest is updated with rAthena.

How does this work?

Think of "import" as in "override". Place only the settings you have changed in the import files, or settings you are "overriding".

For example, when setting up a server there are always a few config settings that users would like to change in order for rAthena to suit their needs. The following example will show you how to use the /db/import/ directory correctly. (for /conf/import/ examples, see /conf/readme.md)

Achievements


We want to add our own custom achievement that can be given to a player via an NPC Script and another that we can give to our GMs.

/db/import/achievement_db.yml

- Id: 280000
  Group: None
  Name: Emperio
  Reward:
    TitleId: 1035
  Score: 50
- Id: 280001
  Group: None
  Name: Staff
  Reward:
    TitleId: 1036
  Score: 50

Instances


We want to add our own customized Housing Instance.

/db/import/instance_db.yml

- Id: 35
    Name: Home
    IdleTimeOut: 900
    Enter:
      Map: 1@home
      X: 24
      Y: 6
    AdditionalMaps:
      - Map: 2@home
      - Map: 3@home

Mob Alias


We want to give a custom mob a Novice player sprite.

/db/import/mob_avail.txt

// Structure of Database:
// MobID,SpriteID{,Equipment}
3850,0

Custom Maps


We want to add our own custom maps. For this we need to add our map names to import/map_index.txt and then to the import/map_cache.dat file for the Map Server to load.

/db/import/map_index.txt

1@home  1250
2@home
3@home
ev_has
shops
prt_pvp

Item Trade Restrictions


We want to ensure that specific items cannot be traded, sold, dropped, placed in storage, etc.

/db/import/item_trade.txt

// Legend for 'TradeMask' field (bitmask):
// 1   - item can't be dropped
// 2   - item can't be traded (nor vended)
// 4   - wedded partner can override restriction 2
// 8   - item can't be sold to npcs
// 16  - item can't be placed in the cart
// 32  - item can't be placed in the storage
// 64  - item can't be placed in the guild storage
// 128 - item can't be attached to mail
// 256 - item can't be auctioned
// Full outright value = 511
34000,511,100   // Old Green Box
34001,511,100   // House Keys
34002,511,100   // Reputation Journal

Custom Quests


We want to add our own custom quests to the quest_db.

/db/import/quest_db.txt

// Quest ID,Time Limit,Target1,Val1,Target2,Val2,Target3,Val3,MobID1,NameID1,Rate1,MobID2,NameID2,Rate2,MobID3,NameID3,Rate3,Quest Title
89001,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Reputation Quest"
89002,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Reputation Quest"

We cannot stress enough how helpful this system is for everyone. The majority of git conflicts will simply go away if users make use of the import/ system.