========================================================================== Athena mod508: Configuration Gude -------------------------------------------------------------------------- < What is this file? > It is the reference of the setting method of an Athena setting file although it is not a HowTo. Those who cannot set up Athena even if they see this file, you should give up for your own good. < Configuration Related Files > login_athena.conf login-server setup char_athena.conf char-server setup inter_athena.conf inter-server setup map_athena.conf map-server setup battle_athena.conf map-server options (setup of droprates etc.) atcommand_athena.conf GM command or @ command setup grf_files.txt Where the grf files are located < The fundamental setting method > One line "key :" Enter as a value. key: value A sentence will become a comment if it begins with //. //Since this line is a comment, it will not be read. ========================================================================== 1. conf/login_athena.conf -------------------------------------------------------------------------- < What is this file? > A setup of login-server (the server which manages accounts) is described. It mainly becomes a setup of an administrator. < Explanation of the keys > login_port It is the port used by login-server. The default is 6900. admin_pass It is the administrator password used for creating account. Set it as the same as /tool/addaccount. gm_pass It is a required password when set to GM by @gm command. new_account Whether to permit new account creation. 1 means yes and 0 means no. login_port: 6900 admin_pass: admin gm_pass: gm new_account: 1 ========================================================================== 2. conf/char_athena.conf -------------------------------------------------------------------------- < What is this file? > Setup of char-server (server which manages the character data in one world) It describes the name of a world, the password of a world, a server's IP, A data file name, and etc. < Explanation of the keys > userid It is ID which this world uses. It registers with login-server. ID of account is specified. It is used in this world. And also [ it uses it for attestation of map-server used in this world ] It is used also for discernment of the world within login-server. It is each when registering two or more worlds into the same login-server. It is necessary to use another ID by char-server. passwd It is a password corresponding to ID which this world uses. It is used for the time of the registration to login-server, and attestation of map-server. The password is in the account file. server_name It is the name of this world. It is displayed when logged in by the client. login_ip It is the IP address of login-server, which registers a world seen from char-server. login_port It is the port used by login-server. the default port is 6900. char_ip It is the IP address of char-server seen from the client. char_port It is the port used by char-server. The default port is 6121. char_txt It is the txt file name which stores character data. It is needed to run the server. char_maintenance If it is made 1, it will be in a maintenance state. The default is 0. char_new If it is made 1, the time (new) of being displayed on a client will stick. The default is 0. max_connect_user The maximum number of users that can connect. If it is set to 0, any number of users can connect. autosave_time It is time to save data automatically at a file. One unit is a second (1=1 second). The default is 300 seconds (5 minutes). start_point When a new character is created, it is the place which is first. The format is "map file name, X coordinates, and Y coordinates." The default is new_1-1.gat and 53,111. < Example > userid: s1 passwd: p1 server_name: Athena login_ip: 127.0.0.1 login_port: 6900 char_ip: 127.0.0.1 char_port: 6121 char_txt: athena.txt max_connect_user: 0 autosave_time: 300 char_maintenance: 0 char_new: 0 start_point: new_1-1.gat,53,111 ========================================================================== 3. conf/inter_athena.conf -------------------------------------------------------------------------- < What is this file? > Setup of inter-server (server which manages the global data in one world). It describes A data file name and etc. (It is operating as a part of char-server in program now.) < Explanation of the keys > storage_txt It is the file name which stores warehouse data. The default is storage.txt. party_txt It is the file name which stores party data. The default is party.txt. guild_txt It is the file name which stores guild data. The default is guild.txt. pet_txt It is the file name which stores pet data. The default is pet.txt. storage_txt: storage.txt party_txt: party.txt guild_txt: guild.txt pet_txt: pet.txt ========================================================================== 4. conf/map_athena.conf -------------------------------------------------------------------------- < What is this file? > Fundamental setup of map-server (server which manages game advance on the map) < Explanation of the keys > userid It is ID which this world uses. It is used for the attestation to char-server. passwd It is a password corresponding to ID which this world uses. char_ip The world of the map which was seen from map-server and which this server takes charge of. It is IP of char-server. char_port It is the port of char-server which registers a map. The default is 6121. map_ip It is IP of this map-server seen from the client. map_port It is the port used by map-server. The default is 5121. autosave_time data -- automatic -- KAFRA -- it is time to send to kafra A unit is a second. the default is 60 (1 minute). npc It is a path to the npc data file to read. It loads in the order which could specify and was specified. [ two or more ] map It is the map file name which this map takes charge of. It loads in the order which could specify and was specified. [ two or more ] It becomes an error when the map not existing is specified. ========================================================================== 5. conf/battle_athena.conf -------------------------------------------------------------------------- < What is this file? > Battle relation of map-server (server which manages game advance on the map in his duty) Other setup is described. All setup can be omitted and a default value is used at the time of an abbreviation. < Explanation of the keys > Coming Soon ========================================================================== 6. conf/atcommand_athena.conf -------------------------------------------------------------------------- < What is this file? > It is the thing which sets up the level of GM which can use the GM commands (/mm, /nb, etc.) and @ commands. All setup can be omitted and a default value is used at the time of an abbreviation. (The default is 0.) < Explanation of the keys > broadcast The GM commands /nb, /b, /bb local_broadcast The GM command /lb mapmove The GM command /mm resetstate The GM commands /resetstate, /resetskill rura+ The @command @rura+ rura The @command @rura where The @command @where jumpto The @command @jumpto jump The @command @jump who The @command @who save The @command @save load The @command @load speed The @command @speed storage The @command @storage option The @command @option hide The @command @hide jobchange The @command @jobchange die The @command @die kill The @command @kill alive The @command @alive kami The @commands @kami, @kamib heal The @command @heal item The @command @item lvup The @command @lvup joblvup The @command @joblvup help The @command @help GM The @command @GM pvpoff The @command @pvpoff pvp The @command @pvp model The @command @model go The @command @go monster The @command @monster refine The @command @refine produce The @command @produce memo The @command @memo gat The @command @gat packet The @command @packet stpoint The @command @stpoint skpoint The @command @skpoint zeny The @command @zeny param The @commands @str, @agi, @vit, @int, @dex, @luk guildlvup The @command @guildlvup makepet The @command @makepet petfriendly The @command @petfriendly pethungry The @command @pethungry petrename The @command @petrename recall The @command @recall charjob The @command @charjob revive The @command @revive charstats The @command @charstats charoption The @command @charoption charsave The @command @charsave charload The @command @charload night The @command @night day The @command @day doom The @command @doom doommap The @command @doommap raise The @command @raise raisemap The @command @raisemap charbaselvl The @command @charbaselvl charjlvl The @command @charjlvl kick The @command @kick questskill The @command @questskill lostskill The @command @lostskill broadcast: 1 local_broadcast: 1 mapmove: 1 resetstate: 1 rura+: 1 rura: 1 where: 1 jumpto: 1 jump: 1 who: 1 save: 1 load: 1 speed: 1 storage: 1 option:1 hide: 1 jobchange: 1 die: 1 kill: 1 alive: 1 kami: 1 heal: 1 item:1 lvup: 1 joblvup:1 help: 1 gm: 1 pvpoff: 1 pvp: 1 model: 1 go: 1 monster: 1 refine: 1 produce: 1 memo: 1 gat: 1 packet: 1 stpoint : 1 skpoint : 1 zeny: 1 param: 1 guildlvup: 1 makepet: 1 petfriendly: 1 pethungry: 1 petrename: 1 recall: 1 charjob: 1 revive: 1 charstats: 1 charoption: 1 charsave: 1 charload: 1 night: 1 day: 1 doom: 1 doommap: 1 raise: 1 raisemap: 1 charbaselvl: 1 charjlvl: 1 kick: 1 questskill: 1 lostskill: 1 ========================================================================== 7. grf_files.txt -------------------------------------------------------------------------- < What is this file? > This file directs the map server to the grf files which contain the maps < Explanation of the keys > data Path to the data.grf file sdata Path to the sdata.grf file adata Path to the adata.grf file data: C:\Gravity\RO\data.grf sdata: C:\Gravity\RO\sdata.grf adata: C:\Gravity\RO\adata.grf ========================================================================== EOF --------------------------------------------------------------------------