diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-20 16:27:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-20 16:27:11 +0300 |
commit | af77eec4f736f989703f81df903a1a7c971fa659 (patch) | |
tree | ecadc9763347f1c6a04507f714e58f37f778533a /conf | |
parent | 68947c86d5fe3eb2686c9b3393e3db0df083bb11 (diff) | |
parent | 9e02b4ed69ce857e3bda57c7f1d3b2457559c534 (diff) | |
download | hercules-af77eec4f736f989703f81df903a1a7c971fa659.tar.gz hercules-af77eec4f736f989703f81df903a1a7c971fa659.tar.bz2 hercules-af77eec4f736f989703f81df903a1a7c971fa659.tar.xz hercules-af77eec4f736f989703f81df903a1a7c971fa659.zip |
Merge pull request #1399 from HerculesWS/settings_libconfig
Ported the configuration to libconfig format
Diffstat (limited to 'conf')
63 files changed, 3573 insertions, 2581 deletions
diff --git a/conf/atcommand.conf b/conf/atcommand.conf index df4972067..175286eb0 100644 --- a/conf/atcommand.conf +++ b/conf/atcommand.conf @@ -68,5 +68,5 @@ nolog: { /* Commands help file */ help: { - @include "conf/help.txt" + @include "conf/map/help.txt" } diff --git a/conf/battle.conf b/conf/battle.conf deleted file mode 100644 index 1eddfae35..000000000 --- a/conf/battle.conf +++ /dev/null @@ -1,61 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -// Splitted up into multiple files by Skotlex. -//-------------------------------------------------------------- - -//General battle-related settings. -import: conf/battle/battle.conf - -//Settings specific to the client. -import: conf/battle/client.conf - -//General drop-related configs. -import: conf/battle/drops.conf - -//Experience rates, exp penalties, stats and max level settings. -import: conf/battle/exp.conf - -//GM levels, atcommands and hack-related configs. -import: conf/battle/gm.conf - -//Guild and WoE settings -import: conf/battle/guild.conf - -//Battleground settings -import: conf/battle/battleground.conf - -//Item/card-specific and crafting related options. -import: conf/battle/items.conf - -//Mob related configuration -import: conf/battle/monster.conf - -//Party related configuration -import: conf/battle/party.conf - -//Pet related configuration -import: conf/battle/pet.conf - -//Homunc related configuration -import: conf/battle/homunc.conf - -//Player specific settings -import: conf/battle/player.conf - -//Skill related settings -import: conf/battle/skill.conf - -//Status change related settings -import: conf/battle/status.conf - -//Feature control (on/off) settings -import: conf/battle/feature.conf - -// Anything else that didn't fit anywhere else. -// Includes duel, day/night, mute/manner, log settings. -import: conf/battle/misc.conf - -//Your custom config goes here. -import: conf/import/battle_conf.txt diff --git a/conf/battle/battleground.conf b/conf/battle/battleground.conf deleted file mode 100644 index b4c0b2fbd..000000000 --- a/conf/battle/battleground.conf +++ /dev/null @@ -1,17 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) -// Note 2: Value is in percents (100 means 100%) -// Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- - -// Flee penalty on BG grounds. -// NOTE: It's %, not absolute, so 20 is -20% of your total flee -bg_flee_penalty: 20 - -// Interval before updating the bg-member map mini-dots (milliseconds) -bg_update_interval: 1000 diff --git a/conf/battle/feature.conf b/conf/battle/feature.conf deleted file mode 100644 index 000bc318b..000000000 --- a/conf/battle/feature.conf +++ /dev/null @@ -1,34 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Feature Configuration File -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) -// Note 2: Value is in percents (100 means 100%) -// Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- - -// Buying store (Note 1) -// Requires: 2010-04-27aRagexeRE or later -feature.buying_store: on - -// Search stores (Note 1) -// Requires: 2010-08-03aRagexeRE or later -feature.search_stores: on - -// Atcommand suggestions (Note 1) -// If one type incomplete atcommand, it will suggest the complete ones. -feature.atcommand_suggestions: off - -// Banking (Note 1) -// Requires: 2013-07-24aRagexe or later -feature.banking: on - -// Auction (Note 1) -// Feature became unstable on clients 2012 onwards (exact date not known), -// it has been fixed on clients 2013-05-15 onwards however. -feature.auction: off - -// Roulette (Note 1) -// Requires: 2014-10-22bRagexe or later -// Off by default while test version is out; enable at your own risk -- the mean dev. -feature.roulette: off diff --git a/conf/battle/gm.conf b/conf/battle/gm.conf deleted file mode 100644 index dc70bc6ca..000000000 --- a/conf/battle/gm.conf +++ /dev/null @@ -1,42 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) -// Note 2: Value is in percents (100 means 100%) -//-------------------------------------------------------------- - -// The maximum quantity of monsters that can be summoned per GM command (0 denotes an unlimited quantity) -atcommand_spawn_quantity_limit: 100 - -// Maximum number of slave-clones that can be have by using the @slaveclone at command. (0 denotes unlimited quantity) -atcommand_slave_clone_limit: 25 - -// If 'no', commands require exact player name. If 'yes', entering a partial -// name will work, as long as there's only one match from all players in the -// current map server. -partial_name_scan: yes - -// (@) @allstats/@str/@agi/@vit/@int/@dex/@luk -// allow gms to bypass the maximum stat parameter? ( if yes gm stats can go up to 32k ) default: no -atcommand_max_stat_bypass: no - -// Ban people that try trade dupe. -// Duration of the ban, in minutes (default: 5). To disable the ban, set 0. -ban_hack_trade: 5 - -// requires RENEWAL_DROP to be enabled (src/map/config/renewal.h) -// modifies @mobinfo to display the users' real drop rate as per renewal_drop formula -// modifies @iteminfo to not display the minimum item drop rate (since it can't tell the mob level) -atcommand_mobinfo_type: 0 - -// Ignore warpable area configuration. -// Set the minimum group id to ignore invalid cells when warping. -// Default group is 2. Use 100 to disable this setting. -gm_ignore_warpable_area: 2 - -// Should atcommands trigger level up events for NPCs? (Note 1) -// This option is for @baselevelup and @joblevelup -// Default: no -atcommand_levelup_events: no diff --git a/conf/battle/guild.conf b/conf/battle/guild.conf deleted file mode 100644 index 59fc78c51..000000000 --- a/conf/battle/guild.conf +++ /dev/null @@ -1,50 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) -// Note 2: Value is in percents (100 means 100%) -//-------------------------------------------------------------- - -// When making a guild, an Emperium is consumed? (Note 1) -guild_emperium_check: yes - -// Maximum tax limit on a guild member. -guild_exp_limit: 50 - -// Maximum castles one guild can own (0 = unlimited) -guild_max_castles: 0 - -// Restart guild skills cooldown by relog? (Note 1) -// When "no", you relog with the same cooldown remaining as from when you -// logged out, "yes" restarts the cooldown upon login to its full duration. -guild_skill_relog_delay: no - -// Damage adjustments for WOE battles against defending Guild monsters (Note 2) -castle_defense_rate: 100 - -// Flee penalty on gvg grounds. Official value is 20 (Note 2) -// NOTE: It's %, not absolute, so 20 is -20% of your total flee -gvg_flee_penalty: 20 - -// Can the 'Glory of Guild' skill be learnt in the Guild window, -// and does changing emblems require it? (Note 1) -// P.S: This skill is not implemented on official servers -require_glory_guild: no - -// Limit Guild alliances. Value is 0 to 3. -// If you want to change this value, clear the guild alliance table. -// Default is 3 -max_guild_alliance: 3 - -// When to re-display the guild notice -// Upon teleporting (regardless of changing maps): 2 (official) -// Upon changing maps: 1 -// Do not re-display: 0 (disabled) -guild_notice_changemap: 2 - -// Can guild members invite/expel members inside guild castles in WoE/GvG? (Note 1) -// default: no -guild_castle_invite: no -guild_castle_expulsion: no diff --git a/conf/battle/homunc.conf b/conf/battle/homunc.conf deleted file mode 100644 index a33eab8ea..000000000 --- a/conf/battle/homunc.conf +++ /dev/null @@ -1,45 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) -// Note 2: Value is in percents (100 means 100%) -// Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- - -// Homunculus setting (Note 3) -// Activates various 'quirks' that makes them behave unlike normal characters. -// 0x001: Can't be targetted by support skills (except for their master) -// 0x004: Mobs will always go after them instead of players until attacked -// 0x008: Copy their master's speed on spawn/map-change -// 0x010: They display luk/3+1 instead of their actual critical in the -// stat window (by default they don't crit) -// 0x020: Their Min-Matk is always the same as their max -// 0x040: Skill re-use delay is reset when they are vaporized. -hom_setting: 0x1D - -// The rate a homunculus will get friendly by feeding it. (Note 2) -homunculus_friendly_rate: 100 - -// Can you name a homunculus more then once? (Note 1) -hom_rename: no - -// Intimacy needed to use Evolved Vanilmirth's Bio Explosion -hvan_explosion_intimate: 45000 - -// Show stat growth to the owner when an Homunculus levels up -homunculus_show_growth: yes - -// Does autoloot work, when a monster is killed by homunculus only? -homunculus_autoloot: yes - -// Should homunculi Vaporize when Master dies? -homunculus_auto_vapor: yes - -// Max level for regular Homunculus -homunculus_max_level: 99 - -// Max level for Homunculus S -homunculus_S_max_level: 150 diff --git a/conf/battle/status.conf b/conf/battle/status.conf deleted file mode 100644 index 172706817..000000000 --- a/conf/battle/status.conf +++ /dev/null @@ -1,24 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) -// Note 2: Value is in percents (100 means 100%) -// Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- - -// Should skill casting be canceled when inflicted by curse/stun/sleep/etc (includes silence) (Note 3)? -status_cast_cancel: 0 - -// Adjustment for the natural rate of resistance from status changes. -// If 50, status defense is halved, and you need twice as much stats to block -// them (eg: 200 vit to completely block stun) -pc_status_def_rate: 100 -mob_status_def_rate: 100 - -// Maximum resistance to status changes. (100 = 100%) -// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist. -pc_max_status_def: 100 -mob_max_status_def: 100 diff --git a/conf/char-server.conf b/conf/char-server.conf deleted file mode 100644 index eb2b9a63d..000000000 --- a/conf/char-server.conf +++ /dev/null @@ -1,188 +0,0 @@ -// Character Server configuration file. - -// Note: "Comments" are all text on the right side of a double slash "//" -// Whatever text is commented will not be parsed by the servers, and serves -// only as information/reference. - -// Server Communication username and password. -userid: s1 -passwd: p1 - -// Server name, use alternative character such as ASCII 160 for spaces. -// NOTE: Do not use spaces or any of these characters which are not allowed in -// Windows filenames \/:*?"<>| -// ... or else guild emblems won't work client-side! -server_name: Hercules - -// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters) -wisp_server_name: Server - -// Login Server IP -// The character server connects to the login server using this IP address. -// NOTE: This is useful when you are running behind a firewall or are on -// a machine with multiple interfaces. -//login_ip: 127.0.0.1 - -// The character server listens on the interface with this IP address. -// NOTE: This allows you to run multiple servers on multiple interfaces -// while using the same ports for each server. -//bind_ip: 127.0.0.1 - -// Login Server Port -login_port: 6900 - -// Character Server IP -// The IP address which clients will use to connect. -// Set this to what your server's public IP address is. -//char_ip: 127.0.0.1 - -// Character Server Port -char_port: 6121 - -//Time-stamp format which will be printed before all messages. -//Can at most be 20 characters long. -//Common formats: -// %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format) -// %H:%M:%S (hour:minute:second, 24 hour format) -// %d/%b/%Y (day/Month/year) -//For full format information, consult the strftime() manual. -//timestamp_format: [%d/%b %H:%M] - -//If redirected output contains escape sequences (color codes) -stdout_with_ansisequence: no - -//Makes server output more silent by ommitting certain types of messages: -//1: Hide Information messages -//2: Hide Status messages -//4: Hide Notice Messages -//8: Hide Warning Messages -//16: Hide Error and SQL Error messages. -//32: Hide Debug Messages -//Example: "console_silent: 7" Hides information, status and notice messages (1+2+4) -console_silent: 0 - -// Type of server. -// No functional side effects at the moment. -// Displayed next to the server name in the client. -// 0=normal, 1=maintenance, 2=over 18, 3=paying, 4=F2P -char_server_type: 0 - -// Minimum Group ID to join char server when it is on char_server_type 1 (maintenance) -char_maintenance_min_group_id: 99 - -// Enable or disable creation of new characters. -// Now it is actually supported [Kevin] -char_new: 1 - -// Display (New) in the server list. -char_new_display: 0 - -// Maximum users able to connect to the server. -// Set to 0 to disable users to log-in. (-1 means unlimited) -max_connect_user: -1 - -// Group ID that is allowed to bypass the server limit of users. -// Default: -1 = nobody (there are no groups with ID < 0) -// See: conf/groups.conf -gm_allow_group: -1 - -// How often should the server save all files? (In seconds) -// Note: Applies to all data files on TXT servers. -// On SQL servers, it applies to guilds (character save interval is defined on the map config) -autosave_time: 60 - -// Display information on the console whenever characters/guilds/parties/pets are loaded/saved? -save_log: yes - -// Start point, Map name followed by coordinates (x,y) -start_point_re: iz_int,97,90 -start_point_pre: new_1-1,53,111 - -// Starting items for new characters -// Format is: id1,quantity1,stackable1,idN,quantityN,stackableN -// stackable: -// 0 - Not stackable (weapon, armor, egg, pet armor) -// 1 - Stackable -start_items: 1201,1,0,2301,1,0 - -// Starting zeny for new characters -start_zeny: 0 - -// Size for the fame-lists -fame_list_alchemist: 10 -fame_list_blacksmith: 10 -fame_list_taekwon: 10 - -// Guild earned exp modifier. -// Adjusts taxed exp before adding it to the guild's exp. For example, if set -// to 200, the guild receives double the player's taxed exp. -guild_exp_rate: 100 - -// Name used for unknown characters -unknown_char_name: Unknown - -// To log the character server? -log_char: 1 - -// Allow or not identical name for characters but with a different case (upper/lower): -// example: Test-test-TEST-TesT; Value: 0 not allowed (default), 1 allowed -name_ignoring_case: no - -// Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are: -// NOTE: Applies to character, party and guild names. -// 0: no restriction (default) -// 1: only letters/symbols in 'char_name_letters' option. -// 2: Letters/symbols in 'char_name_letters' option are forbidden. All others are possibles. -char_name_option: 1 - -// Set the letters/symbols that you want use with the 'char_name_option' option. -// Note: Don't add spaces unless you mean to add 'space' to the list. -char_name_letters: abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 - -// Restrict character deletion by BaseLevel -// 0: no restriction (players can delete characters of any level) -// -X: you can't delete chars with BaseLevel <= X -// Y: you can't delete chars with BaseLevel >= Y -// e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel) -char_del_level: 0 - -// Amount of time in seconds by which the character deletion is delayed. -// Default: 86400 (24 hours) -// NOTE: Requires client 2010-08-03aragexeRE or newer. -char_del_delay: 86400 - -// Block deletion if character is inside a guild or a party? (BOOL) -// default: 0 official: 1 -// !!This check is imposed by Aegis to avoid dead entries in databases and _is_not_needed_ as we clear data properly!! -char_aegis_delete: 0 - -// What folder the DB files are in (item_db.conf, etc.) -db_path: db - -//================================================================== -// Pincode system -//================================================================== - -// A window is opened before you can select your character and you will have to enter a pincode by using only your mouse -// NOTE: Requires client 2011-03-09aragexeRE or newer. -// 0: disabled -// 1: enabled -pincode_enabled: 1 - -// Request Pincode only on login or on everytime char select is accessed? -// 0: only on login (default) -// 1: everytime the char select window is accessed -pincode_charselect: 0 - -// How often does a user have to change his pincode? -// Default: 0 -// 0: never -// X: every X minutes -pincode_changetime: 0 - -// How often can a user enter the wrong password? -// Default: 3 -// NOTE: The maximum on clientside is 3 -pincode_maxtry: 3 - -import: conf/import/char_conf.txt diff --git a/conf/char/char-server.conf b/conf/char/char-server.conf new file mode 100644 index 000000000..4c6ef0348 --- /dev/null +++ b/conf/char/char-server.conf @@ -0,0 +1,234 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Character Server configuration file. +//========================================================================= + +char_configuration: { + @include "conf/global/console.conf" + @include "conf/global/sql_connection.conf" + + // Server name, use alternative character such as ASCII 160 for spaces. + // NOTE: Do not use spaces or any of these characters which are not allowed in + // Windows filenames \/:*?"<>| + // ... or else guild emblems won't work client-side! + server_name: "Hercules" + + // Wisp name for server: used to send wisp from server to players (between 4 to 23 characters) + wisp_server_name: "Server" + + // Guild earned exp modifier. + // Adjusts taxed exp before adding it to the guild's exp. For example, + // if set to 200, the guild receives double the player's taxed exp. + guild_exp_rate: 100 + + // Information related to inter-server behavior + inter: { + // Server Communication username and password. + userid: "s1" + passwd: "p1" + // Login Server IP + // The character server connects to the login server using this IP address. + // NOTE: This is useful when you are running behind a firewall or are on + // a machine with multiple interfaces. + //login_ip: "127.0.0.1" + + // The character server listens on the interface with this IP address. + // NOTE: This allows you to run multiple servers on multiple interfaces + // while using the same ports for each server. + //bind_ip: "127.0.0.1" + + // Login Server Port + login_port: 6900 + + // Character Server IP + // The IP address which clients will use to connect. + // Set this to what your server's public IP address is. + //char_ip: "127.0.0.1" + + // Character Server Port + char_port: 6121 + } + + // Connection permission + permission: { + // Enable or disable creation of new characters. + enable_char_creation: true + + // Display (New) in the server list. + display_new: false + + // Maximum users able to connect to the server. + // Set to 0 to disable users to log-in. (-1 means unlimited) + max_connect_user: -1 + + // Group ID that is allowed to bypass the server limit of users. + // Default: -1 = nobody (there are no groups with ID < 0) + // See: conf/groups.conf + gm_allow_group: -1 + + // Type of server. + // No functional side effects at the moment. + // Displayed next to the server name in the client. + // 0=normal, 1=maintenance, 2=over 18, 3=paying, 4=F2P + server_type: 0 + + // Minimum Group ID to join char server when it is on char_server_type 1 (maintenance) + maintenance_min_group_id: 99 + } + + // Player-related configuration + player: { + new: { + // Start point (Renewal) + start_point_re: { + map: "iz_int" + x: 97 + y: 90 + } + // Start point (Pre-Renewal) + start_point_pre: { + map: "new_1-1" + x: 53 + y: 111 + } + + // Starting items for new characters + //{ + // id: Item id + // amount: Item amount + // loc: Item position, same as in item_db if you want the item to be equipped, otherwise 0 (optional) + // stackable: Is stackable? (not stackable item types: weapon, armor, egg, pet armor) + //}, + start_items: ( + { + id: 1201 // Knife + amount: 1 + loc: 2 + stackable: false + }, + { + id: 2301 // Cotton_Shirt + amount: 1 + loc: 16 + stackable: false + }, + ) + + // Starting zeny + zeny: 0 + } + + // Character name configuration + name: { + // Name used for unknown characters + unknown_char_name: "Unknown" + + // Allow or not identical name for characters but with a different case (upper/lower): + // example: Test-test-TEST-TesT; Value: 0 not allowed (default), 1 allowed + name_ignoring_case: false + + // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are: + // NOTE: Applies to character, party and guild names. + // 0: no restriction (default) + // 1: only letters/symbols in 'name_letters' option. + // 2: Letters/symbols in 'name_letters' option are forbidden. All others are possibles. + name_option: 1 + + // Set the letters/symbols that you want use with the 'char_name_option' option. + // Note: Don't add spaces unless you mean to add 'space' to the list. + name_letters: "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" + } + + deletion: { + // Restrict character deletion by BaseLevel + // 0: no restriction (players can delete characters of any level) + // -X: you can't delete chars with BaseLevel <= X + // Y: you can't delete chars with BaseLevel >= Y + // e.g. char_del_level: 80 (players can't delete characters with 80+ BaseLevel) + level: 0 + + // Amount of time in seconds by which the character deletion is delayed. + // Default: 86400 (24 hours) + // NOTE: Requires client 2010-08-03aragexeRE or newer. + delay: 86400 + + // Block deletion if character is inside a guild or a party? (BOOL) + // default: false official: true + // !!This check is imposed by Aegis to avoid dead entries in databases and _is_not_needed_ as we clear data properly!! + use_aegis_delete: false + } + + // Size for the fame-lists + fame: { + alchemist: 10 + blacksmith: 10 + taekwon: 10 + } + } + + database: { + // How often should server save all guild related information? (character save interval is defined on the map config) + // (in seconds) + autosave_time: 60 + + // What folder the DB files are in (abra_db.txt, etc.) + db_path: "db" + + // To log the character server? + log_char: true + } + + //================================================================== + // Pincode system + //================================================================== + pincode: { + // A window is opened before you can select your character and you will have to enter a pincode by using only your mouse + // NOTE: Requires client 2011-03-09aragexeRE or newer. + // 0: disabled + // 1: enabled + enabled: true + + // Request Pincode only on login or on everytime char select is accessed? + // 0: only on login (default) + // 1: everytime the char select window is accessed + request: 0 + + // How often does a user have to change his pincode? + // Default: 0 + // 0: never + // X: every X minutes + change_time: 0 + + // How often can a user enter the wrong password? + // Default: 3 + // Maximum allowed by clientside: 3 + max_tries: 3 + } + +} + +import: "conf/import/char-server.conf" diff --git a/conf/common/inter-server.conf b/conf/common/inter-server.conf new file mode 100644 index 000000000..888d4ad80 --- /dev/null +++ b/conf/common/inter-server.conf @@ -0,0 +1,122 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules Inter Server configuration file. +//========================================================================= +// Settings that are shared by more than one of the main servers +//========================================================================= + +inter_configuration: { + // Level range for sharing within a party + party_share_level: 15 // FIXME: Split RE and pre-RE + + // Log configuration + log: { + // Log Inter Connections, etc.? + log_inter: true + + // Inter Log Filename + inter_log_filename: "log/inter.log" + + // Log database SQL connection + @include "conf/global/sql_connection.conf" + } + + mysql_reconnect: { + // == MySQL Reconnect Settings + // =========================== + // - mysql_reconnect_type + // - 1: when mysql disconnects during runtime, the server tries to reconnect mysql_reconnect_count times and, + // -- if unsuccessful, the server is shut down + // - 2: when mysql disconnects during runtime it tries to reconnect indefinitely + type: 2 + + // - mysql_reconnect_count + // - number of reconnect attempts the server should do when the database disconnects during runtime + // - only used when mysql_reconnect_type is 1 + count: 1 + } + + // ALL MySQL Database Table names + // DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL + // this is meant for people who KNOW their stuff, and for some reason want to change their + // database layout. [CLOWNISIUS] + database_names: { + account_db: "login" + login_db: "loginlog" + ipban_table: "ipbanlist" + char_db: "char" + interlog_db: "interlog" + ragsrvinfo_db: "ragsrvinfo" + registry: { + acc_reg_num_db: "acc_reg_num_db" + acc_reg_str_db: "acc_reg_str_db" + char_reg_str_db: "char_reg_str_db" + char_reg_num_db: "char_reg_num_db" + + global_acc_reg_num_db: "global_acc_reg_num_db" + global_acc_reg_str_db: "global_acc_reg_str_db" + } + pc: { + hotkey_db: "hotkey" + scdata_db: "sc_data" + cart_db: "cart_inventory" + inventory_db: "inventory" + charlog_db: "charlog" + storage_db: "storage" + skill_db: "skill" + memo_db: "memo" + party_db: "party" + pet_db: "pet" + friend_db: "friends" + mail_db: "mail" + auction_db: "auction" + quest_db: "quest" + homunculus_db: "homunculus" + skill_homunculus_db: "skill_homunculus" + mercenary_db: "mercenary" + mercenary_owner_db: "mercenary_owner" + elemental_db: "elemental" + account_data_db: "account_data" + } + guild: { + main_db: "guild" + alliance_db: "guild_alliance" + castle_db: "guild_castle" + expulsion_db: "guild_expulsion" + member_db: "guild_member" + skill_db: "guild_skill" + position_db: "guild_position" + storage_db: "guild_storage" + } + mapreg_db: "mapreg" + autotrade_merchants_db: "autotrade_merchants" + autotrade_data_db: "autotrade_data" + npc_market_data_db: "npc_market_data" + } +} + +import: "conf/import/inter-server.conf" diff --git a/conf/common/socket.conf b/conf/common/socket.conf new file mode 100644 index 000000000..0dd5386cb --- /dev/null +++ b/conf/common/socket.conf @@ -0,0 +1,106 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules Sockets configuration file +//========================================================================= + +socket_configuration: { + // How long can a socket stall before closing the connection (in seconds)? + stall_time: 60 + + // Display debug reports (When something goes wrong during the report, the report is saved.) + debug: false + + // Linux/Epoll: Maxmimum Events per cycle + // Default Value: + // (Maxmimum Supported Connections)/2 + // NOTE: this controls the maximum collected socket-events per-cycle (call to epoll_wait()) + // for example settings this to 32 will allow up to 32 events (incomming data/new connections + // per server-cycle. + // NOTE: Recommended Settings is at least half the maxmimum supported connections + // Settings this to a lower value, may cause lags/delays + // Depending on available CPU Time + // NOTE: This Setting is only available on Linux when build using EPoll as event dispatcher! + // + //epoll_maxevents: 1024 + + // Maximum allowed size for clients packets in bytes. + // Default Values: + // 24576 (Clients < 20131223) + // 65535 (Clients >= 20131223) + // NOTE: To reduce the size of reported packets, lower the values of defines, which + // have been customized, such as MAX_STORAGE, MAX_GUILD_STORAGE or MAX_CART. + // NOTE: Do not modify this setting, unless the client has been modified to support + // larger packets. The client will crash, when it receives larger packets. + //socket_max_client_packet: 65535 + + //----- IP Rules Settings ----- + ip_rules: { + // If IP's are checked when connecting. + // This also enables DDoS protection. + enable: true + + // Order of the checks + // deny,allow : Checks deny rules, then allow rules. Allows if no rules match. + // allow,deny : Checks allow rules, then deny rules. Allows if no rules match. + // mutual-failure : Allows only if an allow rule matches and no deny rules match. + // (default is deny,allow) + order: "deny,allow" + + // IP rules + // allow : Accepts connections from the ip range (even if flagged as DDoS) + // deny : Rejects connections from the ip range + // The rules are processed in order, the first matching rule of each list (allow and deny) is used + allow_list: ( + //"127.0.0.1", + //"192.168.0.0/16", + //"10.0.0.0/255.0.0.0", + //"all", + ) + deny_list: ( + //"127.0.0.1", + ) + } + + //---- DDoS Protection Settings ---- + // If ddos.count connection request are made within ddos.interval ms, it assumes it's a DDoS attack + ddos: { + // Consecutive attempts interval (msec) + // (default is 3000 msecs, 3 seconds) + interval: 3000 //ddos_interval + + // Consecutive attempts trigger + // (default is 5 attemps) + count: 5 //ddos_count + + // The time interval after which the threat of DDoS is assumed to be gone (ms) + // After this amount of time, the DDoS restrictions are lifted. + // (default is 600000ms, 10min) + autoreset: 600000 //ddos_autoreset + } +} + +import: "conf/import/socket.conf" diff --git a/conf/global/console.conf b/conf/global/console.conf new file mode 100644 index 000000000..21ee46bd0 --- /dev/null +++ b/conf/global/console.conf @@ -0,0 +1,67 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Server Console configuration file. +//========================================================================= +// This file affects how ALL server consoles work, unless explictly defined +// so in the server configuration file (See doc/global_configuration.txt +// for more information). +//========================================================================= + +console: { + //Time-stamp format which will be printed before all messages. + //Can at most be 20 characters long. + //Common formats: + // %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format) + // %H:%M:%S (hour:minute:second, 24 hour format) + // %d/%b/%Y (day/Month/year) + //For full format information, consult the strftime() manual. + //timestamp_format: "[%d/%b %H:%M]" + + //If redirected output contains escape sequences (color codes) + stdout_with_ansisequence: false + + //Makes server output more silent by omitting certain types of messages: + //1: Hide Information messages + //2: Hide Status messages + //4: Hide Notice Messages + //8: Hide Warning Messages + //16: Hide Error and SQL Error messages. + //32: Hide Debug Messages + //Example: "console_silent: 7" Hides information, status and notice messages (1+2+4) + console_silent: 0 + + // [CHAR] Display information on the console whenever characters/guilds/parties/pets are loaded/saved? + save_log: true + + // [MAP] Makes server log selected message types to a file in the /log/ folder + //1: Log Warning Messages + //2: Log Error and SQL Error messages. + //4: Log Debug Messages + //Example: "console_msg_log: 7" logs all 3 kinds + //Messages logged by this overrides console_silent setting + console_msg_log: 0 +} diff --git a/conf/global/sql_connection.conf b/conf/global/sql_connection.conf new file mode 100644 index 000000000..60fea5656 --- /dev/null +++ b/conf/global/sql_connection.conf @@ -0,0 +1,52 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= SQL connection configuration file. +//========================================================================= +// This file affects how ALL server sql connections work, unless explictly +// defined so in the server configuration file (See +// doc/global_configuration.txt for more information). +//========================================================================= + +sql_connection: { + // [INTER] You can specify the codepage to use in your mySQL tables here. + // (Note that this feature requires MySQL 4.1+) + //default_codepage: "" + + // [LOGIN] Is `userid` in account_db case sensitive? + //case_sensitive: false + + // For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1. + // Under windows, you want to use 127.0.0.1. If you see a message like + // "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" + // and you have localhost, switch it to 127.0.0.1 + db_hostname: "127.0.0.1" + db_port: 3306 + db_username: "ragnarok" + db_password: "ragnarok" + db_database: "ragnarok" + //codepage:"" +} diff --git a/conf/import-tmpl/battle.conf b/conf/import-tmpl/battle.conf new file mode 100644 index 000000000..4080eed72 --- /dev/null +++ b/conf/import-tmpl/battle.conf @@ -0,0 +1,32 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Battle local configuration file. +//========================================================================= + +battle_configuration: { + // See conf/map/battle.conf for details +} diff --git a/conf/import-tmpl/battle_conf.txt b/conf/import-tmpl/battle_conf.txt deleted file mode 100644 index e69de29bb..000000000 --- a/conf/import-tmpl/battle_conf.txt +++ /dev/null diff --git a/conf/import-tmpl/char-server.conf b/conf/import-tmpl/char-server.conf new file mode 100644 index 000000000..6bfb308b5 --- /dev/null +++ b/conf/import-tmpl/char-server.conf @@ -0,0 +1,32 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Character Server local configuration file. +//========================================================================= + +char_configuration: { + // See conf/char/char-server.conf for details +} diff --git a/conf/import-tmpl/char_conf.txt b/conf/import-tmpl/char_conf.txt deleted file mode 100644 index e69de29bb..000000000 --- a/conf/import-tmpl/char_conf.txt +++ /dev/null diff --git a/conf/import-tmpl/inter-server.conf b/conf/import-tmpl/inter-server.conf new file mode 100644 index 000000000..243dda4ea --- /dev/null +++ b/conf/import-tmpl/inter-server.conf @@ -0,0 +1,32 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules Inter Server local configuration file. +//========================================================================= + +inter_configuration: { + // See conf/common/inter-server.conf +} diff --git a/conf/import-tmpl/inter_conf.txt b/conf/import-tmpl/inter_conf.txt deleted file mode 100644 index e69de29bb..000000000 --- a/conf/import-tmpl/inter_conf.txt +++ /dev/null diff --git a/conf/import-tmpl/log_conf.txt b/conf/import-tmpl/log_conf.txt deleted file mode 100644 index e69de29bb..000000000 --- a/conf/import-tmpl/log_conf.txt +++ /dev/null diff --git a/conf/import-tmpl/login-server.conf b/conf/import-tmpl/login-server.conf new file mode 100644 index 000000000..feadef976 --- /dev/null +++ b/conf/import-tmpl/login-server.conf @@ -0,0 +1,32 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Login Server local configuration file. +//========================================================================= + +login_configuration: { + // See conf/login/login-server.conf for details +} diff --git a/conf/import-tmpl/login_conf.txt b/conf/import-tmpl/login_conf.txt deleted file mode 100644 index e69de29bb..000000000 --- a/conf/import-tmpl/login_conf.txt +++ /dev/null diff --git a/conf/import-tmpl/logs.conf b/conf/import-tmpl/logs.conf new file mode 100644 index 000000000..99e666d96 --- /dev/null +++ b/conf/import-tmpl/logs.conf @@ -0,0 +1,32 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules Log local configuration file. +//========================================================================= + +map_log: { + // See conf/map/logs.conf for details +} diff --git a/conf/import-tmpl/map-server.conf b/conf/import-tmpl/map-server.conf new file mode 100644 index 000000000..2c9b16531 --- /dev/null +++ b/conf/import-tmpl/map-server.conf @@ -0,0 +1,32 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Map Server local configuration file. +//========================================================================= + +map_configuration: { + // See conf/map/map-server.conf for details +} diff --git a/conf/import-tmpl/map_conf.txt b/conf/import-tmpl/map_conf.txt deleted file mode 100644 index e69de29bb..000000000 --- a/conf/import-tmpl/map_conf.txt +++ /dev/null diff --git a/conf/import-tmpl/packet_conf.txt b/conf/import-tmpl/packet_conf.txt deleted file mode 100644 index e69de29bb..000000000 --- a/conf/import-tmpl/packet_conf.txt +++ /dev/null diff --git a/conf/import-tmpl/script.conf b/conf/import-tmpl/script.conf new file mode 100644 index 000000000..b354b2bf6 --- /dev/null +++ b/conf/import-tmpl/script.conf @@ -0,0 +1,32 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules Script local configuration file. +//========================================================================= + +script_configuration: { + // See conf/map/script.conf for details +} diff --git a/conf/import-tmpl/script_conf.txt b/conf/import-tmpl/script_conf.txt deleted file mode 100644 index e69de29bb..000000000 --- a/conf/import-tmpl/script_conf.txt +++ /dev/null diff --git a/conf/import-tmpl/socket.conf b/conf/import-tmpl/socket.conf new file mode 100644 index 000000000..04d0a40c4 --- /dev/null +++ b/conf/import-tmpl/socket.conf @@ -0,0 +1,32 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules Sockets local configuration file +//========================================================================= + +socket_configuration: { + // See conf/common/socket.conf for details. +} diff --git a/conf/inter-server.conf b/conf/inter-server.conf deleted file mode 100644 index 704d5fc12..000000000 --- a/conf/inter-server.conf +++ /dev/null @@ -1,125 +0,0 @@ -// Hercules InterServer (settings shared/used by more than 1 server) configuration. - -// Options for both versions - -// Log Inter Connections, etc.? -log_inter: 1 - -// Inter Log Filename -inter_log_filename: log/inter.log - -// Level range for sharing within a party -party_share_level: 15 - -// SQL version options only - -// You can specify the codepage to use in your mySQL tables here. -// (Note that this feature requires MySQL 4.1+) -//default_codepage: - - -// For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1 -// Under windows, you want to use 127.0.0.1. If you see a message like -// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" -// and you have localhost, switch it to 127.0.0.1 - -// Global SQL settings -// overridden by local settings when the hostname is defined there -// (currently only the login-server reads/obeys these settings) -sql.db_hostname: 127.0.0.1 -sql.db_port: 3306 -sql.db_username: ragnarok -sql.db_password: ragnarok -sql.db_database: ragnarok -sql.codepage: - -// MySQL Character SQL server -char_server_ip: 127.0.0.1 -char_server_port: 3306 -char_server_id: ragnarok -char_server_pw: ragnarok -char_server_db: ragnarok - -// MySQL Map SQL Server -map_server_ip: 127.0.0.1 -map_server_port: 3306 -map_server_id: ragnarok -map_server_pw: ragnarok -map_server_db: ragnarok - -// MySQL Log SQL Database -log_db_ip: 127.0.0.1 -log_db_port: 3306 -log_db_id: ragnarok -log_db_pw: ragnarok -log_db_db: ragnarok -log_codepage: -log_login_db: loginlog - -// == MySQL Reconnect Settings -// =========================== -// - mysql_reconnect_type -// - 1: when mysql disconnects during runtime, the server tries to reconnect mysql_reconnect_count times and, -// -- if unsuccessful, the server is shut down -// - 2: when mysql disconnects during runtime it tries to reconnect indefinitely -mysql_reconnect_type:2 -// - mysql_reconnect_count -// - number of reconnect attempts the server should do when the database disconnects during runtime -// - only used when mysql_reconnect_type is 1 -mysql_reconnect_count:1 - -// DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL -// this is meant for people who KNOW their stuff, and for some reason want to change their -// database layout. [CLOWNISIUS] - -// ALL MySQL Database Table names - -//Shared -interreg_db: interreg -global_acc_reg_num_db: global_acc_reg_num_db -global_acc_reg_str_db: global_acc_reg_str_db - -// Char Database Tables -char_db: char -hotkey_db: hotkey -scdata_db: sc_data -cart_db: cart_inventory -inventory_db: inventory -charlog_db: charlog -storage_db: storage -skill_db: skill -interlog_db: interlog -memo_db: memo -guild_db: guild -guild_alliance_db: guild_alliance -guild_castle_db: guild_castle -guild_expulsion_db: guild_expulsion -guild_member_db: guild_member -guild_skill_db: guild_skill -guild_position_db: guild_position -guild_storage_db: guild_storage -party_db: party -pet_db: pet -friend_db: friends -mail_db: mail -auction_db: auction -quest_db: quest -homunculus_db: homunculus -skill_homunculus_db: skill_homunculus -mercenary_db: mercenary -mercenary_owner_db: mercenary_owner -ragsrvinfo_db: ragsrvinfo -elemental_db: elemental -account_data_db: account_data -acc_reg_num_db: acc_reg_num_db -acc_reg_str_db: acc_reg_str_db -char_reg_str_db: char_reg_str_db -char_reg_num_db: char_reg_num_db - -// Map Database Tables -mapreg_db: mapreg -autotrade_merchants_db: autotrade_merchants -autotrade_data_db: autotrade_data -npc_market_data_db: npc_market_data - -import: conf/import/inter_conf.txt diff --git a/conf/login-server.conf b/conf/login-server.conf deleted file mode 100644 index 620fae327..000000000 --- a/conf/login-server.conf +++ /dev/null @@ -1,156 +0,0 @@ -// Hercules Login Server configuration file. -// Translated by Peter Kieser <pfak@telus.net> - -// Note: "Comments" are all text on the right side of a double slash "//" -// Whatever text is commented will not be parsed by the servers, and serves -// only as information/reference. - -// The login server listens on the interface with this IP address. -// NOTE: This allows you to run multiple servers on multiple interfaces -// while using the same ports for each server. -//bind_ip: 127.0.0.1 - -// Login Server Port -login_port: 6900 - -//Time-stamp format which will be printed before all messages. -//Can at most be 20 characters long. -//Common formats: -// %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format) -// %H:%M:%S (hour:minute:second, 24 hour format) -// %d/%b/%Y (day/Month/year) -//For full format information, consult the strftime() manual. -//timestamp_format: [%d/%b %H:%M] - -//If redirected output contains escape sequences (color codes) -stdout_with_ansisequence: no - -//Makes server output more silent by omitting certain types of messages: -//1: Hide Information messages -//2: Hide Status messages -//4: Hide Notice Messages -//8: Hide Warning Messages -//16: Hide Error and SQL Error messages. -//32: Hide Debug Messages -//Example: "console_silent: 7" Hides information, status and notice messages (1+2+4) -console_silent: 0 - -// Can you use _M/_F to make new accounts on the server? -new_account: yes - -//If new_account is enabled, minimum length to userid and passwords should be 4? -//Must be 'Yes' unless your client uses both 'Disable 4 LetterUserID/Password' Diffs -new_acc_length_limit: yes - -// Account registration flood protection system -// allowed_regs is the number of registrations allowed in time_allowed (in seconds) -allowed_regs: 1 -time_allowed: 10 - -// To log the login server? -// NOTE: The login-sql server needs the login logs to enable dynamic pass failure bans. -log_login: yes - -// Indicate how to display date in logs, to players, etc. -date_format: %Y-%m-%d %H:%M:%S - -// Required account group id to connect to server. -// -1: disabled -// 0 or more: group id -group_id_to_connect: -1 - -// Minimum account group id required to connect to server. -// Will not function if group_id_to_connect config is enabled. -// -1: disabled -// 0 or more: group id -min_group_id_to_connect: -1 - -// Starting additional sec from now for the limited time at creation of account -// -1: new account are created with UNlimited time (default value) -// 0 or more: new accounts was created by addition of the value (in sec) to the actual time (to set first limited time) -start_limited_time: -1 - -// Check The clientversion set in the clientinfo ? -check_client_version: no - -// What version we would allow to connect? (if the options above is enabled..) -client_version_to_connect: 20 - -// Store passwords as MD5 hashes instead of plaintext ? -// NOTE: Will not work with clients that use <passwordencrypt> -use_MD5_passwords: no - -// Ipban features (SQL only) -ipban.enable: yes -//ipban.sql.db_hostname: 127.0.0.1 -//ipban.sql.db_port: 3306 -//ipban.sql.db_username: ragnarok -//ipban.sql.db_password: ragnarok -//ipban.sql.db_database: ragnarok -//ipban.sql.codepage: -//ipban.sql.ipban_table: ipbanlist -// Dynamic password failure ipban system -ipban.dynamic_pass_failure_ban: yes -ipban.dynamic_pass_failure_ban_interval: 5 -ipban.dynamic_pass_failure_ban_limit: 7 -ipban.dynamic_pass_failure_ban_duration: 5 - -// Interval (in seconds) to clean up expired IP bans. 0 = disabled. default = 60. -// NOTE: Even if this is disabled, expired IP bans will be cleaned up on login server start/stop. -// Players will still be able to login if an ipban entry exists but the expiration time has already passed. -ipban_cleanup_interval: 60 - -// Interval (in minutes) to execute a DNS/IP update. Disabled by default. -// Enable it if your server uses a dynamic IP which changes with time. -//ip_sync_interval: 10 - -// DNS Blacklist Blocking -// If enabled, each incoming connection will be tested against the blacklists -// on the specified dnsbl_servers (comma-separated list) -use_dnsbl: no -dnsbl_servers: bl.blocklist.de, socks.dnsbl.sorbs.net -// Here are some free DNS Blacklist Services: http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists -//============================================================================== -// dnsbl_servers Description -// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// bl.blocklist.de IP-Addresses who attack other servers/honeypots over SSH, FTP, IMAP, etc. -// ircbl.ahbl.org AHBL (open proxies, compromised machines, comment spammers) -// safe.dnsbl.sorbs.net All zones in dnsbl.sorbs.net except "recent" and "escalations" -// sbl-xbl.spamhaus.org Spamhaus blacklist (spammers, open proxies) -// socks.dnsbl.sorbs.net Open SOCKS proxy servers -// tor.ahbl.org Current tor relay and exit nodes - - -// Account data storage configuration -// SQL -//account.sql.db_hostname: 127.0.0.1 -//account.sql.db_port: 3306 -//account.sql.db_username: ragnarok -//account.sql.db_password: ragnarok -//account.sql.db_database: ragnarok -//account.sql.codepage: -//account.sql.case_sensitive: no -//account.sql.account_db: login -//account.sql.accreg_db: global_reg_value - -// Client MD5 hash check -// If turned on, the login server will check if the client's hash matches -// the value below, and will not connect tampered clients. -// Note: see doc/md5_hashcheck.txt for more details. -client_hash_check: off - -// Client MD5 hashes -// The client with the specified hash can be used to log in by players with -// a group_id equal to or greater than the given value. -// If you specify 'disabled' as hash, players with a group_id greater than or -// equal to the given value will be able to log in regardless of hash (and even -// if their client does not send a hash at all.) -// Format: group_id, hash -// Note: see doc/md5_hashcheck.txt for more details. -//client_hash: 0, 113e195e6c051bb1cfb12a644bb084c5 -//client_hash: 10, cb1ea78023d337c38e8ba5124e2338ae -//client_hash: 99, disabled - - -import: conf/inter-server.conf -import: conf/import/login_conf.txt diff --git a/conf/login/login-server.conf b/conf/login/login-server.conf new file mode 100644 index 000000000..71928e3d0 --- /dev/null +++ b/conf/login/login-server.conf @@ -0,0 +1,187 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Login Server configuration file. +//========================================================================= + +login_configuration: { + // Login-server's console configuration + @include "conf/global/console.conf" + + inter: { + // The login server listens on the interface with this IP address. + // NOTE: This allows you to run multiple servers on multiple interfaces + // while using the same ports for each server. + //bind_ip: "127.0.0.1" + + // Login Server Port + login_port: 6900 + + // Interval (in minutes) to execute a DNS/IP update. Disabled by default. + // Enable it if your server uses a dynamic IP which changes with time. + //ip_sync_interval: 10 + } + + log: { + // To log the login server? + // NOTE: The login-sql server needs the login logs to enable dynamic pass failure bans. + log_login: true + + // Indicate how to display date in logs, to players, etc. + date_format: "%Y-%m-%d %H:%M:%S" + } + + // Account engine configuration + account: { + // Can you use _M/_F to make new accounts on the server? + new_account: true + + //If new_account is enabled, minimum length to userid and passwords should be 4? + //Must be 'true' unless your client uses both 'Disable 4 LetterUserID/Password' Diffs + new_acc_length_limit: true + + // Account registration flood protection system + // allowed_regs is the number of registrations allowed in time_allowed (in seconds) + allowed_regs: 1 + time_allowed: 10 + + // Starting additional sec from now for the limited time at creation of account + // -1: new account are created with UNlimited time (default value) + // 0 or more: new accounts was created by addition of the value (in sec) to the actual time (to set first limited time) + start_limited_time: -1 + + // Store passwords as MD5 hashes instead of plaintext ? + // NOTE: Will not work with clients that use <passwordencrypt> + use_MD5_passwords: false + + // Account data engine storage configuration + @include "conf/global/sql_connection.conf" + + //================================================================== + // IP banning system + //================================================================== + ipban: { + enabled: true + + // Interval (in seconds) to clean up expired IP bans. 0 = disabled. default = 60. + // NOTE: Even if this is disabled, expired IP bans will be cleaned up on login server start/stop. + // Players will still be able to login if an ipban entry exists but the expiration time has already passed. + cleanup_interval: 60 + + // SQL connection settings + @include "conf/global/sql_connection.conf" + + // Dynamic password failure ipban system + dynamic_pass_failure: { + enabled: true + + // Interval in minutes between failed tries + // Only failed tries between this interval will be accounted when banning + ban_interval: 5 + + // How many failures before adding a temporary ban entry? + ban_limit: 7 + + // Duration of the ban in minutes + ban_duration: 5 + } + } // login_configuration.account.ipban + } // login_configuration.account + + permission: { + // Required account group id to connect to server. + // -1: disabled + // 0 or more: group id + group_id_to_connect: -1 + + // Minimum account group id required to connect to server. + // Will not function if group_id_to_connect config is enabled. + // -1: disabled + // 0 or more: group id + min_group_id_to_connect: -1 + + // Check The clientversion set in the clientinfo ? + check_client_version: false + + // What version we would allow to connect? (if check_client_version is enabled) + client_version_to_connect: 20 + + //================================================================== + // Client hash checking system + //================================================================== + // Note: see doc/md5_hashcheck.txt for more details. + hash: { + // Client MD5 hash check + // If turned on, the login server will check if the client's hash matches + // the value below, and will not connect tampered clients. + enabled: false + + // Client MD5 hashes + // The client with the specified hash can be used to log in by players with + // a group_id equal to or greater than the given value. + // If you specify 'disabled' as hash, players with a group_id greater than or + // equal to the given value will be able to log in regardless of hash (and even + // if their client does not send a hash at all.) + MD5_hashes: ( + //{ + // group_id: group id + // hash: client hash + //}, + //{ + // group_id: 0 + // hash: "113e195e6c051bb1cfb12a644bb084c5" + //}, + //{ + // group_id: 10 + // hash: "cb1ea78023d337c38e8ba5124e2338ae" + //}, + //{ + // group_id: 99 + // hash: "disabled" + //}, + ) + } // login_configuration.permission.hash + + DNS_blacklist: { + // DNS Blacklist Blocking + // If enabled, each incoming connection will be tested against the blacklists + // on the specified dnsbl_servers + enabled: false + + dnsbl_servers: ( + // Here are some free DNS Blacklist Services: http://en.wikipedia.org/wiki/Comparison_of_DNS_blacklists + "bl.blocklist.de", // IP-Addresses who attack other servers/honeypots over SSH, FTP, IMAP, etc. + //"ircbl.ahbl.org", // AHBL (open proxies, compromised machines, comment spammers) + //"safe.dnsbl.sorbs.net", // All zones in dnsbl.sorbs.net except "recent" and "escalations" + //"sbl-xbl.spamhaus.org", // Spamhaus blacklist (spammers, open proxies) + "socks.dnsbl.sorbs.net", // Open SOCKS proxy servers + //"tor.ahbl.org", // Current tor relay and exit nodes + ) + } // login_configuration.DNS_blacklist + } // login_configuration.permission +} + +import: "conf/import/login-server.conf" diff --git a/conf/logs.conf b/conf/logs.conf deleted file mode 100644 index 6933e84fe..000000000 --- a/conf/logs.conf +++ /dev/null @@ -1,134 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Log Configuration File -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) -// Note 2: Value is in percents (100 means 100%) -// Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- - -// Enable Logs? (Note 3) -// 0x00000 - Don't log at all -// 0x00001 - (T) Log trades -// 0x00002 - (V) Log vending transactions -// 0x00004 - (P) Log items drop/picked by players -// 0x00008 - (L) Log items drop/looted by monsters -// 0x00010 - (S) Log NPC transactions (buy/sell) -// 0x00020 - (N) Log Script transactions (items deleted/acquired through quests) -// 0x00040 - (D) Log items stolen from mobs (Steal/Gank) -// 0x00080 - (C) Log player-used items (consumables/pet&hom&merc food/items used for skills&attacks) -// 0x00100 - (O) Log produced/ingredient items -// 0x00200 - (U) Log MVP prize items -// 0x00400 - (A) Log player created/deleted items (through @/# commands) -// 0x00800 - (R) Log items placed/retrieved from storage. -// 0x01000 - (G) Log items placed/retrieved from guild storage. -// 0x02000 - (E) Log mail system transactions. -// 0x04000 - (I) Log auction system transactions. -// 0x08000 - (B) Log buying store transactions -// 0x20000 - (K) Log account bank transactions -// 0x10000 - (X) Log all other transactions (rentals expiring/inserting cards/items removed by item_check/ -// rings deleted by divorce/pet egg (un)hatching/pet armor (un)equipping/Weapon Refine skill/Remove Trap skill) -// Example: Log trades+vending+script items+created items: 1+2+32+1024 = 1059 -// Please note that moving items from inventory to cart and back is not logged by design. -enable_logs: 0xFFFFF - -// Use MySQL Logs? [SQL Version Only] (Note 1) -sql_logs: yes - -// LOGGING FILTERS -// ============================================================= -// if any condition is true then the item will be logged -// 0 = Don't log at all -// 1 = Log any item -// Advanced Filter Bits by item type: || -// 0002 - Healing items (0) -// 0004 - Etc Items(3) + Arrows (10) -// 0008 - Usable Items(2) + Lures,Scrolls(11) + Usable Cash Items(18) -// 0016 - Weapon(4) -// 0032 - Shields,Armor,Headgears,Accessories,etc(5) -// 0064 - Cards(6) -// 0128 - Pet Accessories(8) + Eggs(7) (well, monsters don't drop 'em but we'll use the same system for ALL logs) -// 0256 - Log expensive items ( >= price_items_log) -// 0512 - Log big amount of items ( >= amount_items_log) -// 1024 - Log refined items (if their refine >= refine_items_log ) -// 2048 - Log rare items (if their drop chance <= rare_items_log ) - -// Examples: (log filters) -// log_filter: 1 = logs ANY items -// log_filter: 2 = logs only HEALING items -// log_filter: 4 = logs only Etc Items and Arrows -// log_filter: 64 = logs only Cards -// log_filter: 322 = logs only Healing items, Cards and those items which price is >= price_items_log -// log_filter: 4080 = logs all items (including all rare, big amount) exept healing, etc, arrows and useble ones -log_filter: 1 - -// Log Items which Refine >= refine_items_log -refine_items_log: 5 -// Log Items whith min drop rate <= rare_items_log -// 1 = 0.01%, 100 = 1% drop chance, etc -rare_items_log: 100 -// don't log it if the current item buy price < price_items_log -price_items_log: 1000 -// don't log it if the current item amount < amount_items_log -amount_items_log: 100 -//============================================================= - -// Log Dead Branch Usage (Note 1) -log_branch: no - -// Track Zeny Changes -// Filter settings -// 0 - don't log; 1 - log any zeny changes; 2.....1000000 - minimal absolute logging zeny value -log_zeny: 0 - -// Log MVP Monster Drops (Note 1) -// Outdated. Use Pick_Log instead. But this log could be useful to keep track slayed MVPs -log_mvpdrop: no - -// Log AtCommands & Charcommands (Note 1) -// Only commands issued by player groups ('conf/groups.conf') with -// 'log_commands' setting set to 'true' will be logged. -log_commands: yes - -// Log NPC 'logmes' commands (Note 1) -log_npc: no - -// Log CHAT (Global, Whisper, Party, Guild, Main chat) (Note 3) -// LOGGING FILTERS -// ============================================================= -// 0 = Don't log at all -// 1 - Log Global messages -// 2 - Log Whisper messages -// 4 - Log Party messages -// 8 - Log Guild messages -// 16 - Log Main chat messages -// Example: -// log_chat: 5 = logs both Whisper & Party messages -// log_chat: 8 = logs only Guild messages -// log_chat: 31 = logs everything -log_chat: 0 - -// Disable chat logging when WoE is running? (Note 1) -log_chat_woe_disable: no - -// Logging files/tables -// Following settings specify where to log to. If 'sql_logs' is -// enabled, SQL tables are assumed, otherwise flat files. - -// log_gm_db: log/atcommandlog.log -// log_branch_db: log/branchlog.log -// log_chat_db: log/chatlog.log -// log_mvpdrop_db: log/mvplog.log -// log_npc_db: log/npclog.log -// log_pick_db: log/picklog.log -// log_zeny_db: log/zenylog.log - -log_gm_db: atcommandlog -log_branch_db: branchlog -log_chat_db: chatlog -log_mvpdrop_db: mvplog -log_npc_db: npclog -log_pick_db: picklog -log_zeny_db: zenylog - -import: conf/import/log_conf.txt diff --git a/conf/map-server.conf b/conf/map-server.conf deleted file mode 100644 index d0749e85e..000000000 --- a/conf/map-server.conf +++ /dev/null @@ -1,119 +0,0 @@ -//-------------------------------------------------------------- -// Hercules Map-Server Configuration File -//-------------------------------------------------------------- - -// Note: "Comments" are all text on the right side of a double slash "//" -// Whatever text is commented will not be parsed by the servers, and serves -// only as information/reference. - -//-------------------------------------------------------------- -// Configuration Info -//-------------------------------------------------------------- -// Interserver communication passwords, set in account.txt (or equiv.) -userid: s1 -passwd: p1 - -// Character Server IP -// The map server connects to the character server using this IP address. -// NOTE: This is useful when you are running behind a firewall or are on -// a machine with multiple interfaces. -//char_ip: 127.0.0.1 - -// The map server listens on the interface with this IP address. -// NOTE: This allows you to run multiple servers on multiple interfaces -// while using the same ports for each server. -//bind_ip: 127.0.0.1 - -// Character Server Port -char_port: 6121 - -// Map Server IP -// The IP address which clients will use to connect. -// Set this to what your server's public IP address is. -//map_ip: 127.0.0.1 - -// Map Server Port -map_port: 5121 - -//Time-stamp format which will be printed before all messages. -//Can at most be 20 characters long. -//Common formats: -// %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format) -// %H:%M:%S (hour:minute:second, 24 hour format) -// %d/%b/%Y (day/Month/year) -//For full format information, consult the strftime() manual. -//timestamp_format: [%d/%b %H:%M] - -//If redirected output contains escape sequences (color codes) -stdout_with_ansisequence: no - -//Makes server log selected message types to a file in the /log/ folder -//1: Log Warning Messages -//2: Log Error and SQL Error messages. -//4: Log Debug Messages -//Example: "console_msg_log: 7" logs all 3 kinds -//Messages logged by this overrides console_silent setting -console_msg_log: 0 - -//Makes server output more silent by omitting certain types of messages: -//1: Hide Information messages -//2: Hide Status messages -//4: Hide Notice Messages -//8: Hide Warning Messages -//16: Hide Error and SQL Error messages. -//32: Hide Debug Messages -//Example: "console_silent: 7" Hides information, status and notice messages (1+2+4) -console_silent: 0 - -//Where should all database data be read from? -db_path: db - -// Enable the @guildspy and @partyspy at commands? -// Note that enabling them decreases packet sending performance. -enable_spy: no - -// Read map data from GATs and RSWs in GRF files or a data directory -// as referenced by grf-files.txt rather than from the mapcache? -use_grf: no - -// Database autosave time -// All characters are saved on this time in seconds (example: -// autosave of 60 secs with 60 characters online -> one char is saved every -// second) -autosave_time: 300 - -// Min database save intervals (in ms) -// Prevent saving characters faster than at this rate (prevents char-server -// save-load getting too high as character-count increases) -minsave_time: 100 - -// Apart from the autosave_time, players will also get saved when involved -// in the following (add as needed): -// 1: After every successful trade -// 2: After every vending transaction -// 4: After closing storage/guild storage. -// 8: After hatching/returning to egg a pet. -// 16: After successfully sending a mail with attachment -// 32: After successfully submitting an item for auction -// 64: After successfully get/delete/complete a quest -// 128: After every buying store transaction -// 256: After every bank transaction (deposit/withdraw) -// NOTE: These settings decrease the chance of dupes/lost items when there's a -// server crash at the expense of increasing the map/char server lag. If your -// server rarely crashes, but experiences interserver lag, you may want to set -// these off. -save_settings: 511 - -//When employing more than one language (see db/translations.conf), -//this setting is used as a fallback -default_language: English - -// When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands. -help_txt: conf/help.txt -help2_txt: conf/help2.txt -charhelp_txt: conf/charhelp.txt - -// Maps: -import: conf/maps.conf - -import: conf/import/map_conf.txt diff --git a/conf/map/battle.conf b/conf/map/battle.conf new file mode 100644 index 000000000..f17748fb6 --- /dev/null +++ b/conf/map/battle.conf @@ -0,0 +1,87 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Battle Configuration File +//========================================================================= + +battle_configuration: { + // General battle-related settings. + @include "conf/map/battle/battle.conf" + + // Settings specific to the client. + @include "conf/map/battle/client.conf" + + // General drop-related configs. + @include "conf/map/battle/drops.conf" + + // Experience rates, exp penalties, stats and max level settings. + @include "conf/map/battle/exp.conf" + + // GM levels, atcommands and hack-related configs. + @include "conf/map/battle/gm.conf" + + // Guild and WoE settings + @include "conf/map/battle/guild.conf" + + // Battleground settings + @include "conf/map/battle/battleground.conf" + + // Item/card-specific and crafting related options. + @include "conf/map/battle/items.conf" + + // Mob related configuration + @include "conf/map/battle/monster.conf" + + // Party related configuration + @include "conf/map/battle/party.conf" + + // Pet related configuration + @include "conf/map/battle/pet.conf" + + // Homunc related configuration + @include "conf/map/battle/homunc.conf" + + // Player specific settings + @include "conf/map/battle/player.conf" + + // Skill related settings + @include "conf/map/battle/skill.conf" + + // Status change related settings + @include "conf/map/battle/status.conf" + + // Feature control (on/off) settings + @include "conf/map/battle/feature.conf" + + // Anything else that didn't fit anywhere else. + // Includes duel, day/night, mute/manner, log settings. + @include "conf/map/battle/misc.conf" + + // Your custom config goes here. + @include "conf/import/battle.conf" +} + +import: "conf/import/battle.conf" diff --git a/conf/battle/battle.conf b/conf/map/battle/battle.conf index 8c9447ccb..2e73a0aa8 100644 --- a/conf/battle/battle.conf +++ b/conf/map/battle/battle.conf @@ -1,13 +1,36 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Battle) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. If no description is given, // assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) -//-------------------------------------------------------------- +//========================================================================= // Who should have a baseatk value (makes str affect damage)? (Note 3) enable_baseatk: 9 @@ -24,7 +47,7 @@ mob_critical_rate: 100 critical_rate: 100 // Should normal attacks give you a walk delay? (Note 3) -// If no, characters can move as soon as they start an attack (attack animation +// If false, characters can move as soon as they start an attack (attack animation // or walk animation may be omitted client-side, causing cropped attacks or // monsters that teleport to you) // Otherwise, the delay is equal to the 'attack animation' (amotion) @@ -44,7 +67,7 @@ damage_walk_delay_rate: 100 multihit_delay: 80 // Damaged delay rate for players (Note 2) -// (Setting to no/0 will be like always endure) +// (Setting to false/0 will be like always endure) player_damage_delay_rate: 100 // Should race or element be used to consider someone undead? @@ -55,7 +78,7 @@ undead_detect_type: 0 // Does HP recover if hit by an attribute that's same as your own? (Note 1) // (Will not work in Renewal) -attribute_recover: no +attribute_recover: false // What is the minimum and maximum hitrate of normal attacks? min_hitrate: 5 @@ -131,8 +154,8 @@ equip_self_break_rate: 100 equip_skill_break_rate: 100 // Do weapon attacks have a attack speed delay before actual damage is applied? (Note 1) -// NOTE: The official setting is yes, even thought it degrades performance a bit. -delay_battle_damage: yes +// NOTE: The official setting is true, even thought it degrades performance a bit. +delay_battle_damage: true // Are arrows/ammo consumed when used on a bow/gun? // 0 = No @@ -143,15 +166,15 @@ delay_battle_damage: yes arrow_decrement: 1 // Should the item script bonus 'Autospell' check for range/obstacles before casting? -// Official behavior is "no", setting this to "yes" will make skills use their defined +// Official behavior is false, setting this to true will make skills use their defined // range. For example, Sonic Blow requires a 2 cell distance before autocasting is allowed. // This setting also affects autospellwhenhit. -autospell_check_range: no +autospell_check_range: false // If both the attacker and the target are on the same tile, should the target be knocked back to the left? -// Official behavior is "yes", setting this to "no" will knock the target back behind the attacker. -knockback_left: yes +// Official behavior is true, setting this to false will knock the target back behind the attacker. +knockback_left: true // Should the target be able of dodging damage by snapping away to the edge of the screen? -// Official behavior is "no" -snap_dodge: no +// Official behavior is false +snap_dodge: false diff --git a/conf/map/battle/battleground.conf b/conf/map/battle/battleground.conf new file mode 100644 index 000000000..629a664f7 --- /dev/null +++ b/conf/map/battle/battleground.conf @@ -0,0 +1,40 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Battlegrounds) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) +// Note 2: Value is in percents (100 means 100%) +// Note 3: Value is a bit field. If no description is given, +// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) +//========================================================================= + +// Flee penalty on BG grounds. +// NOTE: It's %, not absolute, so 20 is -20% of your total flee +bg_flee_penalty: 20 + +// Interval before updating the bg-member map mini-dots (milliseconds) +bg_update_interval: 1000 diff --git a/conf/battle/client.conf b/conf/map/battle/client.conf index 6ca2f67e0..818db3142 100644 --- a/conf/battle/client.conf +++ b/conf/map/battle/client.conf @@ -1,13 +1,36 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Client) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. If no description is given, // assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) -//-------------------------------------------------------------- +//========================================================================= // Whether to enable the official packet obfuscation support (good vs WPE) // 0: disabled @@ -29,10 +52,10 @@ max_cloth_color: 4 min_body_style: 0 max_body_style: 4 -// When set to yes, the damage field in packets sent from woe maps will be set +// When set to true, the damage field in packets sent from woe maps will be set // to -1, making it impossible for GMs, Bots and Hexed clients to know the // actual damage caused by attacks. (Note 1) -hide_woe_damage: yes +hide_woe_damage: true // "hair style" number that identifies pet. // NOTE: The client uses the "hair style" field in the mob packet to tell them apart from mobs. @@ -72,53 +95,53 @@ aura_lv: 99 client_limit_unit_lv: 0 // Will tuxedo and wedding dresses be shown when worn? (Note 1) -wedding_modifydisplay: no +wedding_modifydisplay: false // Save Clothes color. (This will degrade performance) (Note 1) -save_clothcolor: yes +save_clothcolor: true // Save body styles? (Note 1) // Note: Don't turn this on unless you know what your doing. // Sprites are not released officially. -save_body_style: no +save_body_style: false // Do not display cloth colors for the wedding costume? // Note: Both save_clothcolor and wedding_modifydisplay have to be enabled -// for this option to take effect. Set this to yes if your cloth palettes +// for this option to take effect. Set this to true if your cloth palettes // pack doesn't has wedding palettes (or has less than the other jobs) -wedding_ignorepalette: no +wedding_ignorepalette: false // Do not display cloth colors for the Xmas costume? -// Set this to yes if your cloth palettes pack doesn't has Xmas palettes (or has less than the other jobs) -xmas_ignorepalette: no +// Set this to true if your cloth palettes pack doesn't has Xmas palettes (or has less than the other jobs) +xmas_ignorepalette: false // Do not display cloth colors for the Summer costume? -// Set this to yes if your cloth palettes pack doesn't has Summer palettes (or has less than the other jobs) -summer_ignorepalette: no +// Set this to true if your cloth palettes pack doesn't has Summer palettes (or has less than the other jobs) +summer_ignorepalette: false // Do not display cloth colors for the Hanbok costume? -// Set this to yes if your cloth palettes pack doesn't has Hanbok palettes (or has less than the other jobs) -hanbok_ignorepalette: no +// Set this to true if your cloth palettes pack doesn't has Hanbok palettes (or has less than the other jobs) +hanbok_ignorepalette: false // Show Hercules version to users when the login? -display_version: no +display_version: false // When affected with the "Hallucination" status effect, send the effect to client? (Note 1) -// Note: Set to 'no' if the client lags due to the "Wavy" screen effect. -display_hallucination: yes +// Note: Set to false if the client lags due to the "Wavy" screen effect. +display_hallucination: true // Set this to 1 if your client supports status change timers and you want to use them // Clients from 2009 onward support this -display_status_timers: yes +display_status_timers: true // Randomizes the dice emoticon server-side, to prevent clients from forging // packets for the desired number. (Note 1) -client_reshuffle_dice: yes +client_reshuffle_dice: true // Sorts the character and guild storage before it is sent to the client. // Official servers do not sort storage. (Note 1) // NOTE: Enabling this option degrades performance. -client_sort_storage: no +client_sort_storage: false // Duration of client's self mute in minutes. // Note: Do not enable this, if you enabled commands for players, diff --git a/conf/battle/drops.conf b/conf/map/battle/drops.conf index ec122002a..547a4ae4e 100644 --- a/conf/battle/drops.conf +++ b/conf/map/battle/drops.conf @@ -1,14 +1,37 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Drops) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) -//-------------------------------------------------------------- +//========================================================================= // If an item is dropped, does it go straight into the users inventory? (Note 1) -item_auto_get: no +item_auto_get: false // How long does it take for an item to disappear from the floor after it is dropped? (in milliseconds) flooritem_lifetime: 60000 @@ -101,11 +124,11 @@ item_drop_treasure_max: 10000 //10000 | 1.00 1.67 3.25 5.28 8.44 15.24 23.19 34.26 54.57 72.67 91.13 //20000 | 2.00 3.26 6.09 9.59 14.83 25.49 37.21 52.55 77.70 97.95 100% //50000 | 5.00 7.87 13.98 21.12 31.23 50.31 69.56 92.48 100% 100% 100% -item_logarithmic_drops: no +item_logarithmic_drops: false // Can the monster's drop rate become 0? (Note 1) -// Default: no (as in official servers). -drop_rate0item: no +// Default: false (as in official servers). +drop_rate0item: false // Makes your LUK value affect drop rates on an absolute basis. // Setting to 100 means each luk adds 0.01% chance to find items diff --git a/conf/battle/exp.conf b/conf/map/battle/exp.conf index 88c5d9c7a..3a38c1c6c 100644 --- a/conf/battle/exp.conf +++ b/conf/map/battle/exp.conf @@ -1,13 +1,36 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Experience) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: The max level of classes is stored in the exp table. // See files db/exp.txt and db/exp2.txt to change them. -//-------------------------------------------------------------- +//========================================================================= // Rate at which exp. is given. (Note 2) base_exp_rate: 100 @@ -16,7 +39,7 @@ base_exp_rate: 100 job_exp_rate: 100 // Turn this on to allow a player to level up more than once from a kill. (Note 1) -multi_level_up: no +multi_level_up: false // Setting this can cap the max experience one can get per kill specified as a // % of the current exp bar. (Every 10 = 1.0%) @@ -61,7 +84,7 @@ shop_exp: 0 // PVP exp. Do players get exp in PvP maps // (Note: NOT exp from players, but from normal leveling) -pvp_exp: yes +pvp_exp: true // When a player dies, how should we penalize them? // 0 = No penalty. @@ -80,12 +103,12 @@ death_penalty_job: 100 zeny_penalty: 0 // Will display experience gained from killing a monster. (Note 1) -disp_experience: no +disp_experience: false // Will display zeny earned (from mobs, trades, etc) (Note 1) -disp_zeny: no +disp_zeny: false // Use the contents of db/statpoint.txt when doing a stats reset and leveling up? (Note 1) -// If no, an equation will be used which preserves statpoints earned/lost +// If false, an equation will be used which preserves statpoints earned/lost // through external means (ie: stat point buyers/sellers) -use_statpoint_table: yes +use_statpoint_table: true diff --git a/conf/map/battle/feature.conf b/conf/map/battle/feature.conf new file mode 100644 index 000000000..003e4c75a --- /dev/null +++ b/conf/map/battle/feature.conf @@ -0,0 +1,58 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Feature) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) +//========================================================================= + +features: { + // Buying store (Note 1) + // Requires: 2010-04-27aRagexeRE or later + buying_store: true + + // Search stores (Note 1) + // Requires: 2010-08-03aRagexeRE or later + search_stores: true + + // Atcommand suggestions (Note 1) + // If one type incomplete atcommand, it will suggest the complete ones. + atcommand_suggestions: false + + // Banking (Note 1) + // Requires: 2013-07-24aRagexe or later + banking: true + + // Auction (Note 1) + // Feature became unstable on clients 2012 onwards (exact date not known), + // it has been fixed on clients 2013-05-15 onwards however. + auction: false + + // Roulette (Note 1) + // Requires: 2014-10-22bRagexe or later + // Disabled by default while test version is out; enable at your own risk -- the mean dev. + roulette: false +} diff --git a/conf/map/battle/gm.conf b/conf/map/battle/gm.conf new file mode 100644 index 000000000..bcc70b63b --- /dev/null +++ b/conf/map/battle/gm.conf @@ -0,0 +1,66 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (GM) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) +// Note 2: Value is in percents (100 means 100%) +//========================================================================= + +// The maximum quantity of monsters that can be summoned per GM command (0 denotes an unlimited quantity) +atcommand_spawn_quantity_limit: 100 + +// Maximum number of slave-clones that can be have by using the @slaveclone at command. (0 denotes unlimited quantity) +atcommand_slave_clone_limit: 25 + +// If false, commands require exact player name. If true, entering a partial +// name will work, as long as there's only one match from all players in the +// current map server. +partial_name_scan: true + +// (@) @allstats/@str/@agi/@vit/@int/@dex/@luk +// allow gms to bypass the maximum stat parameter? ( if true gm stats can go up to 32k ) +// default: false +atcommand_max_stat_bypass: false + +// Ban people that try trade dupe. +// Duration of the ban, in minutes (default: 5). To disable the ban, set 0. +ban_hack_trade: 5 + +// requires RENEWAL_DROP to be enabled (src/map/config/renewal.h) +// modifies @mobinfo to display the users' real drop rate as per renewal_drop formula +// modifies @iteminfo to not display the minimum item drop rate (since it can't tell the mob level) +atcommand_mobinfo_type: 0 + +// Ignore warpable area configuration. +// Set the minimum group id to ignore invalid cells when warping. +// Default group is 2. Use 100 to disable this setting. +gm_ignore_warpable_area: 2 + +// Should atcommands trigger level up events for NPCs? (Note 1) +// This option is for @baselevelup and @joblevelup +// Default: false +atcommand_levelup_events: false diff --git a/conf/map/battle/guild.conf b/conf/map/battle/guild.conf new file mode 100644 index 000000000..c8f8db8c3 --- /dev/null +++ b/conf/map/battle/guild.conf @@ -0,0 +1,73 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Guild) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) +// Note 2: Value is in percents (100 means 100%) +//========================================================================= + +// When making a guild, an Emperium is consumed? (Note 1) +guild_emperium_check: true + +// Maximum tax limit on a guild member. +guild_exp_limit: 50 + +// Maximum castles one guild can own (0 = unlimited) +guild_max_castles: 0 + +// Restart guild skills cooldown by relog? (Note 1) +// When false, you relog with the same cooldown remaining as from when you +// logged out, true restarts the cooldown upon login to its full duration. +guild_skill_relog_delay: false + +// Damage adjustments for WOE battles against defending Guild monsters (Note 2) +castle_defense_rate: 100 + +// Flee penalty on gvg grounds. Official value is 20 (Note 2) +// NOTE: It's %, not absolute, so 20 is -20% of your total flee +gvg_flee_penalty: 20 + +// Can the 'Glory of Guild' skill be learnt in the Guild window, +// and does changing emblems require it? (Note 1) +// P.S: This skill is not implemented on official servers +require_glory_guild: false + +// Limit Guild alliances. Value is 0 to 3. +// If you want to change this value, clear the guild alliance table. +// Default is 3 +max_guild_alliance: 3 + +// When to re-display the guild notice +// Upon teleporting (regardless of changing maps): 2 (official) +// Upon changing maps: 1 +// Do not re-display: 0 (disabled) +guild_notice_changemap: 2 + +// Can guild members invite/expel members inside guild castles in WoE/GvG? (Note 1) +// default: false +guild_castle_invite: false +guild_castle_expulsion: false diff --git a/conf/map/battle/homunc.conf b/conf/map/battle/homunc.conf new file mode 100644 index 000000000..0bf2a4b98 --- /dev/null +++ b/conf/map/battle/homunc.conf @@ -0,0 +1,68 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Homunculus) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) +// Note 2: Value is in percents (100 means 100%) +// Note 3: Value is a bit field. If no description is given, +// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) +//========================================================================= + +// Homunculus setting (Note 3) +// Activates various 'quirks' that makes them behave unlike normal characters. +// 0x001: Can't be targetted by support skills (except for their master) +// 0x004: Mobs will always go after them instead of players until attacked +// 0x008: Copy their master's speed on spawn/map-change +// 0x010: They display luk/3+1 instead of their actual critical in the +// stat window (by default they don't crit) +// 0x020: Their Min-Matk is always the same as their max +// 0x040: Skill re-use delay is reset when they are vaporized. +hom_setting: 0x1D + +// The rate a homunculus will get friendly by feeding it. (Note 2) +homunculus_friendly_rate: 100 + +// Can you name a homunculus more then once? (Note 1) +hom_rename: false + +// Intimacy needed to use Evolved Vanilmirth's Bio Explosion +hvan_explosion_intimate: 45000 + +// Show stat growth to the owner when an Homunculus levels up +homunculus_show_growth: true + +// Does autoloot work, when a monster is killed by homunculus only? +homunculus_autoloot: true + +// Should homunculi Vaporize when Master dies? +homunculus_auto_vapor: true + +// Max level for regular Homunculus +homunculus_max_level: 99 + +// Max level for Homunculus S +homunculus_S_max_level: 150 diff --git a/conf/battle/items.conf b/conf/map/battle/items.conf index e2358b6d6..8ff2cbb3b 100644 --- a/conf/battle/items.conf +++ b/conf/map/battle/items.conf @@ -1,20 +1,43 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Items) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- +// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) +//========================================================================= // The highest value at which an item can be sold via the merchant vend skill. (in zeny) vending_max_value: 1000000000 // Whether to allow buying from vending chars that are at their max. zeny limit. -// If set to yes, the rest of the zeny above the char's capacity will disappear. -vending_over_max: yes +// If set to true, the rest of the zeny above the char's capacity will disappear. +vending_over_max: true // Tax to apply to all vending transactions (eg: 10000 = 100%, 50 = 0.50%) // When a tax is applied, the item's full price is charged to the buyer, but @@ -22,7 +45,7 @@ vending_over_max: yes vending_tax: 200 // Show the buyer's name when successfully vended an item -buyer_name: yes +buyer_name: true // Forging success rate. (Note 2) weapon_produce_rate: 100 @@ -40,23 +63,23 @@ potion_produce_rate: 100 produce_item_name_input: 0x03 // Is a monster summoned via dead branch aggressive? (Note 1) -dead_branch_active: yes +dead_branch_active: true // Should summoned monsters check the player's base level? (dead branches) (Note 1) -// On officials this is no - monsters summoned from dead/bloody branches can be ANY level. -// Change to 'yes' to only summon monsters less than or equal to the player's base level. -random_monster_checklv: no +// On officials this is false - monsters summoned from dead/bloody branches can be ANY level. +// Change to true to only summon monsters less than or equal to the player's base level. +random_monster_checklv: false // Can any player equip any item regardless of the gender restrictions // NOTE: Wedding Rings and Whips/Musical Instruments will check gender regardless of setting. -ignore_items_gender: yes +ignore_items_gender: true // Item check? (Note 1) // On map change it will check for items not tagged as "available" and // auto-delete them from inventory/cart. // NOTE: An item is not available if it was not loaded from the item_db or you // specify it as unavailable in db/item_avail.txt -item_check: no +item_check: false // How much time must pass between item uses? // Only affects the delay between using items, prevents healing item abuse. Recommended ~500 ms @@ -74,18 +97,16 @@ gtb_sc_immunity: 50 // Enable autospell card effects to stack? // NOTE: Different cards that grant the same skill will both // always work independently of each other regardless of setting. -autospell_stacking: no +autospell_stacking: false // Will disabled consumables (disabled by map_zone_db.conf) be consumed when trying to use them? -// 1 (official): yes -// 0: no -item_restricted_consumption_type: 1 +// Default: true (official) +item_restricted_consumption_type: true // Enable all NPC to allow changing of equipments while interacting? (Note 1) // Script commands 'enable_items/disable_items' will not be override. (see doc/script_commands.txt) -// 1 : yes(official) -// 0 : no -item_enabled_npc: 1 +// Default: true (official) +item_enabled_npc: true // Unequip the equipments that has disabled by map_zone_db.conf ? // 0 : disabled equipments and cards are nullify (official) diff --git a/conf/battle/misc.conf b/conf/map/battle/misc.conf index a3c6ed26a..bc97b716a 100644 --- a/conf/battle/misc.conf +++ b/conf/map/battle/misc.conf @@ -1,13 +1,36 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Misc) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- +// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) +//========================================================================= // PK Server Mode. // Turns entire server pvp(excluding towns). @@ -17,7 +40,7 @@ // There is a nopvp.txt for setting up maps not to have pk on in this mode. // Novices cannot be attacked and cannot attack. // Normal pvp counter and rank display are disabled as well. -// Note: If pk_mode is set to 2 instead of 1 (yes), players will receive a +// Note: If pk_mode is set to 2 instead of 1, players will receive a // manner penalty of 5 each time they kill another player (see manner_system // config to adjust how this will affect players) pk_mode: 0 @@ -39,22 +62,22 @@ pk_min_level: 55 // players to let them attack each other. 0 disables said limit. pk_level_range: 0 -// Display skill usage in console? (for debug only) (default: off) (Note 3) -skill_log: off +// Display skill usage in console? (for debug only) (default: false) (Note 3) +skill_log: false -// Display battle log? (for debug only) (default: off) (Note 1) -battle_log: off +// Display battle log? (for debug only) (default: false) (Note 1) +battle_log: false -// Display other stuff? (for debug only) (default: off) (Note 1) -etc_log: off +// Display other stuff? (for debug only) (default: false) (Note 1) +etc_log: false -// Do you want to debug warp points? If set to yes, warp points will appear as flags.(Note 1) +// Do you want to debug warp points? If set to true, warp points will appear as flags.(Note 1) // It will also run on start-up a warp-check to print out which warp points lead directly on // top of on-touch npcs (which can lead to infinite loopback warping situations) -warp_point_debug: no +warp_point_debug: false -// Choose if server begin with night (yes) or day (no) -night_at_start: no +// Choose if server begin with night (true) or day (false) +night_at_start: false // Define duration in msec of the day (default: 7200000 = 2 hours) // Set to 0 to disable day cycle (but not @day GM command). @@ -67,22 +90,22 @@ day_duration: 0 night_duration: 0 // Using duel on pvp-maps -duel_allow_pvp: no +duel_allow_pvp: false // Using duel on gvg-maps -duel_allow_gvg: no +duel_allow_gvg: false // Allow using teleport/warp when dueling -duel_allow_teleport: no +duel_allow_teleport: false // Autoleave duel when die -duel_autoleave_when_die: yes +duel_autoleave_when_die: true // Delay between using @duel in minutes duel_time_interval: 60 // Restrict duel usage to same map -duel_only_on_same_map: no +duel_only_on_same_map: false // Determines max number of characters that can stack within a single cell. // Official - Only affects the walking routines of characters, including monsters. @@ -94,14 +117,14 @@ duel_only_on_same_map: no official_cell_stack_limit: 1 custom_cell_stack_limit: 1 -// If 0 while walking not check occupied cells -// If 1 while walking check occupied cells -check_occupied_cells: 1 +// If false while walking not check occupied cells +// If true while walking check occupied cells +check_occupied_cells: true // Allow autotrade only in map with autotrade flag? -// Set this to "no" will allow autotrade where no "autotrade" mapflag is set -// Set this to "yes" to only allow autotrade on maps with "autotrade" mapflag -at_mapflag: no +// Set this to "false" will allow autotrade where no "autotrade" mapflag is set +// Set this to "true" to only allow autotrade on maps with "autotrade" mapflag +at_mapflag: false // Set this to the amount of minutes autotrade chars will be kicked from the server. at_timeout: 0 @@ -120,8 +143,8 @@ searchstore_querydelay: 10 searchstore_maxresults: 30 // Whether or not gaining and loosing of cash points is displayed (Note 1). -// Default: no -cashshop_show_points: no +// Default: false +cashshop_show_points: false // Whether or not mail box status is displayed upon login. // Default: 0 @@ -131,20 +154,20 @@ cashshop_show_points: no mail_show_status: 0 // Is monster transformation disabled during Guild Wars? -// If set to yes, monster transforming is automatically removed/disabled when entering castles during WoE times -mon_trans_disable_in_gvg: no +// If set to true, monster transforming is automatically removed/disabled when entering castles during WoE times +mon_trans_disable_in_gvg: false // Whether AegisName and SpriteName lookups are case sensitive -// Default: yes (as in official servers) -// When this is set to yes, item and monster lookups through atcommands and +// Default: true (as in official servers) +// When this is set to true, item and monster lookups through atcommands and // script commands will match AegisNames and SpriteNames only when the case // matches. Display name lookups are not affected by this setting. // Example: Given the two items: // - { Id: 553, AegisName: "Bun", Name: "Bao" } // - { Id: 6115, AegisName: "Bun_", Name: "Bun" } -// query when 'yes' when 'no' +// query when true when false // @item bun # 6115 # 553 // @item Bun # 553 # 553 // @item Bao # 553 # 553 // @item Bun_ # 6115 # 6115 -case_sensitive_aegisnames: yes +case_sensitive_aegisnames: true diff --git a/conf/battle/monster.conf b/conf/map/battle/monster.conf index 23087ec78..48e476161 100644 --- a/conf/battle/monster.conf +++ b/conf/map/battle/monster.conf @@ -1,13 +1,36 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Monster) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- +// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) +//========================================================================= // The HP rate of MVPs. (Note 2) mvp_hp_rate: 100 @@ -82,7 +105,7 @@ view_range_rate: 100 chase_range_rate: 100 // Allow monsters to be aggresive and attack first? (Note 1) -monster_active_enable: yes +monster_active_enable: true // Should the mob_db names override the mob names specified in the spawn files? // 0: No @@ -90,8 +113,8 @@ monster_active_enable: yes // 2: always use the mob_db JName column (original Kro mob name) override_mob_names: 0 -// Monster damage delay rate (Note 1) -// Setting to no/0 is like they always have endure. +// Monster damage delay rate (Note 2) +// Setting to 0 is like they always have endure. monster_damage_delay_rate: 100 // Looting monster actions. @@ -129,9 +152,9 @@ boss_spawn_delay: 100 no_spawn_on_player: 0 // Should spawn coordinates in the mob-spawn files be ignored? (Note 1) -// If set to yes, all monsters will have a random respawn spot across the whole +// If set to true, all monsters will have a random respawn spot across the whole // map regardless of what the mob-spawn file says. -force_random_spawn: no +force_random_spawn: false // Do summon slaves inherit the passive/aggressive traits of their master? // 0: No, retain original mode. @@ -151,20 +174,20 @@ slaves_inherit_speed: 3 // Will summoned monsters (alchemists, or @summon'ed monsters) attack cause a // chance of triggering the master's autospell cards? (Note 1) -summons_trigger_autospells: yes +summons_trigger_autospells: true // When a mob is attacked by another monster, will the mob retaliate against the master of said mob instead of the mob itself? // NOTE: Summoned mobs are both those acquired via @summon and summoned by Alchemists -retaliate_to_master: yes +retaliate_to_master: true // Whether mobs should change target temporarily when a skill triggers a counter mob skill (Note 1) -// eg: Mob attacks player B, and player A casts a skill C. If set to yes and the +// eg: Mob attacks player B, and player A casts a skill C. If set to true and the // mob has a skill that is triggered by skill C, then A will be the target of // the skill, otherwise B will be targetted by the reaction skill. -mob_changetarget_byskill: no +mob_changetarget_byskill: false // If monster's class is changed will it fully recover HP? (Note 1) -monster_class_change_full_recover: yes +monster_class_change_full_recover: true // Display some mob info next to their name? (add as needed) // (does not works on guardian or Emperium) @@ -174,20 +197,20 @@ monster_class_change_full_recover: yes show_mob_info: 0 // Zeny from mobs -zeny_from_mobs: no +zeny_from_mobs: false // Monsters level up (monster will level up each time a player is killed and they will grow stronger) // Exp rate is calculated ((monster level-original monster level)*(exp*(mobs_level_up_exp rate/100))) // NOTE: Does not apply to WoE Guardians. -mobs_level_up: no +mobs_level_up: false mobs_level_up_exp_rate: 1 // Dynamic Mobs Options // Use dynamic mobs? (recommended for small-medium sized servers) -dynamic_mobs: yes +dynamic_mobs: true // Remove Mobs even if they are hurt -mob_remove_damaged: yes +mob_remove_damaged: true // Delay before removing mobs from empty maps (default 5 min = 300 secs) mob_remove_delay: 300000 @@ -205,21 +228,21 @@ mob_npc_event_type: 1 ksprotection: 0 // Should MVP slaves retain their target when summoned back to their master? -mob_slave_keep_target: yes +mob_slave_keep_target: true // Whether or not to spawn the mvp tomb. // See http://irowiki.org/wiki/MVP#Gravestone -mvp_tomb_enabled: yes +mvp_tomb_enabled: true // Show hp bar on monsters? (Default: yes) // NOTE: only works on client 2012-04-04aRagexeRE onwards -show_monster_hp_bar: yes +show_monster_hp_bar: true // Whether or not the size of specially summoned mobs influences experience, drop rates, // and stats. The rates will be doubled for large mobs, and halved for small ones. // This is only invoked under the 'monster' command, @monsterbig, and @monstersmall. (Note 1) -// Default: no -mob_size_influence: no +// Default: false +mob_size_influence: false // How should a monster be trapped by an icewall casted directly on it? // On official servers, monsters can only leave an icewall to the west and south. If their target is north or east of diff --git a/conf/battle/party.conf b/conf/map/battle/party.conf index 72a22b94a..07a0bdaea 100644 --- a/conf/battle/party.conf +++ b/conf/map/battle/party.conf @@ -1,14 +1,37 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Party) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) -//-------------------------------------------------------------- +//========================================================================= // If someone steals (gank/steal skills), show name in party? (Note 1) -show_steal_in_same_party: no +show_steal_in_same_party: false // Interval before updating the party-member map mini-dots (milliseconds) party_update_interval: 1000 @@ -20,14 +43,14 @@ party_hp_mode: 0 // When 'Party Share' item sharing is enabled in a party, // announce in the party which party-member received the item and what's he received? (Note 1) -show_party_share_picker: yes +show_party_share_picker: true // What types of items are going to be announced when 'show_party_share_picker' is active? // 1: IT_HEALING, 2: IT_UNKNOWN, 4: IT_USABLE, 8: IT_ETC, // 16: IT_WEAPON, 32: IT_ARMOR, 64: IT_CARD, 128: IT_PETEGG, // 256: IT_PETARMOR, 512: IT_UNKNOWN2, 1024: IT_AMMO, 2048: IT_DELAYCONSUME // 262144: IT_CASH -show_picker.item_type: 112 +show_picker_item_type: 112 // Method of distribution when item party share is enabled in a party: // 0: Normal (item goes to a random party member) @@ -37,11 +60,11 @@ show_picker.item_type: 112 party_item_share_type: 0 // Is exp/item sharing disabled for idle members in the party? -// Set to no, or the amount of seconds (NOT milliseconds) that need to pass before considering +// Set to 0, or the amount of seconds (NOT milliseconds) that need to pass before considering // a character idle. // Characters in a chat/vending are always considered idle. // A character's idle status is reset upon item use/skill use/attack (auto attack counts too)/movement. -idle_no_share: no +idle_no_share: 0 // Give additional experience bonus per party-member involved on even-share parties (excluding yourself)? // ex. If set to 10, an even-share party of 5 people will receive +40% exp (4 members * 10% exp): @@ -50,4 +73,4 @@ party_even_share_bonus: 0 // Display party name regardless if player is in a guild. // Official servers do not display party name unless the user is in a guild. (Note 1) -display_party_name: no +display_party_name: false diff --git a/conf/battle/pet.conf b/conf/map/battle/pet.conf index 594184b35..6dfe5076c 100644 --- a/conf/battle/pet.conf +++ b/conf/map/battle/pet.conf @@ -1,19 +1,42 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Pet) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. If no description is given, -// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -//-------------------------------------------------------------- +// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) +//========================================================================= // Rate for catching pets (Note 2) pet_catch_rate: 100 // Can you name a pet more then once? (Note 1) -pet_rename: no +pet_rename: false // The rate a pet will get friendly by feeding it. (Note 2) pet_friendly_rate: 100 @@ -26,13 +49,13 @@ pet_hungry_delay_rate: 100 pet_hungry_friendly_decrease: 5 // Does the pet need its equipment before it does its skill? (Note 1) -pet_equip_required: yes +pet_equip_required: true // When the master attacks a monster, whether or not the pet will also attack. (Note 1) -pet_attack_support: no +pet_attack_support: false // When the master receives damage from the monster, whether or not the pet attacks back. (Note 1) -pet_damage_support: no +pet_damage_support: false // Minimum intimacy necessary for a pet to support their master. Default is 900 // (intimacy goes from 0 to 1000). At this minimum, support rate is 50% of pet's normal value. @@ -45,14 +68,14 @@ pet_equip_min_friendly: 900 // Whether or not the pet's will use skills. (Note 1) // Note: Offensive pet skills need at least pet_attack_support or // pet_damage_support to work (they trigger while the pet is attacking). -pet_status_support: no +pet_status_support: false // Rate at which a pet will support it's owner in battle. (Note 2) // Affects pet_attack_support & pet_damage_support. pet_support_rate: 100 // Does the pets owner receive exp from the pets damage? -pet_attack_exp_to_master: no +pet_attack_exp_to_master: false // The rate exp. is gained from the pet attacking monsters pet_attack_exp_rate: 100 @@ -72,6 +95,6 @@ pet_max_atk1: 500 pet_max_atk2: 1000 // Are pets disabled during Guild Wars? -// If set to yes, pets are automatically returned to egg when entering castles during WoE times +// If set to true, pets are automatically returned to egg when entering castles during WoE times // and hatching is forbidden within as well. -pet_disable_in_gvg: no +pet_disable_in_gvg: false diff --git a/conf/battle/player.conf b/conf/map/battle/player.conf index 9168a6320..e478a92a1 100644 --- a/conf/battle/player.conf +++ b/conf/map/battle/player.conf @@ -1,12 +1,35 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Player) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. -//-------------------------------------------------------------- +//========================================================================= // Players' maximum HP rate? (Default is 100) hp_rate: 100 @@ -15,8 +38,8 @@ hp_rate: 100 sp_rate: 100 // Whether or not cards and attributes of the left hand are applied to the right hand attack (Note 1) -// (It is 'yes' on official servers) -left_cardfix_to_right: yes +// (It is true on official servers) +left_cardfix_to_right: true // The amount of HP a player will respawn with, 0 is default. // (Unit is in percentage of total HP, 100 is full heal of HP, 0 is respawn with 1HP total.) @@ -27,23 +50,23 @@ restart_hp_rate: 0 restart_sp_rate: 0 // Can a normal player by-pass the skill tree? (Note 1) -player_skillfree: no +player_skillfree: false -// When set to yes, forces skill points gained from 1st class to be put into 1st class +// When set to true, forces skill points gained from 1st class to be put into 1st class // skills, and forces novice skill points to be put into the basic skill. (Note 1) -player_skillup_limit: yes +player_skillup_limit: true // Quest skills can be learned? (Note 1) -// Setting this to yes can open an exploit on your server! -quest_skill_learn: no +// Setting this to true can open an exploit on your server! +quest_skill_learn: false // When skills are reset, quest skills are reset as well? (Note 1) -// Setting this to yes can open an exploit on your server! -// NOTE: If you have quest_skill_learn set to yes, quest skills are always reset. -quest_skill_reset: no +// Setting this to true can open an exploit on your server! +// NOTE: If you have quest_skill_learn set to true, quest skills are always reset. +quest_skill_reset: false // You must have basic skills to be able to sit, trade, form a party or create a chatroom? (Note 1) -basic_skill_check: yes +basic_skill_check: true // When teleporting, or spawning to a map, how long before a monster sees you if you don't move? (time is in milliseconds) // That is, when you go to a map and don't move, how long before the monsters will notice you. @@ -115,22 +138,23 @@ max_cart_weight: 8000 prevent_logout: 10000 // Display the drained hp/sp values from normal attacks? (Ie: Hunter Fly card) -show_hp_sp_drain: no +show_hp_sp_drain: false // Display the gained hp/sp values from killing mobs? (Ie: Sky Deleter Card) -show_hp_sp_gain: yes +show_hp_sp_gain: true -// Show the critical bonus for katar class weapon in player status window? -// On official server, the critical bonus from katar class weapon isn't display. (Default: no) -show_katar_crit_bonus: no +// Show the critical bonus for katar class weapon in player status window? On +// official server, the critical bonus from katar class weapon isn't display. +// (Default: false) +show_katar_crit_bonus: false // If set, when A accepts B as a friend, B will also be added to A's friend // list, otherwise, only A appears in B's friend list. // NOTE: this setting only enables friend auto-adding; auto-deletion does not work yet -friend_auto_add: yes +friend_auto_add: true // Are simultaneous trade/party/guild invite requests automatically rejected? -invite_request_check: yes +invite_request_check: true // Players' will drop a 'Skull' when killed? // 0 = Disabled @@ -157,7 +181,7 @@ min_npc_vendchat_distance: 3 // If min_npc_vendchat_distance is enabled, // can players vend/chat room nearby hidden npc? (Ie: FAKE_NPC/HIDDEN_WARP_NPC) -vendchat_near_hiddennpc: no +vendchat_near_hiddennpc: false // Super Novice's fury is enabled to increments of 10%, such as at 10.0%, 20.0% - 80.0%, 90.0% // Changing snovice_call_type config to 1 enables its use at 0%, for maxed super novices. @@ -182,10 +206,10 @@ idletime_criteria: 0x1F // Can players get ATK/DEF from refinements on costume/shadow equips? // Default: yes (Official behavior not known) -costume_refine_def: yes -shadow_refine_def: yes -shadow_refine_atk: yes +costume_refine_def: true +shadow_refine_def: true +shadow_refine_atk: true // Keep player facing direction after warping? -// Default: no (on official servers players always faces north) -player_warp_keep_direction: yes +// Default: false (on official servers players always faces north) +player_warp_keep_direction: true diff --git a/conf/battle/skill.conf b/conf/map/battle/skill.conf index 7622968f8..8d7c9df44 100644 --- a/conf/battle/skill.conf +++ b/conf/map/battle/skill.conf @@ -1,13 +1,36 @@ -//-------------------------------------------------------------- -// Hercules Battle Configuration File -// Originally Translated by Peter Kieser <pfak@telus.net> -// Made in to plainer English by Ancyker -//-------------------------------------------------------------- -// Note 1: Value is a config switch (on/off, yes/no or 1/0) +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Skill) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. If no description is given, // assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) -//-------------------------------------------------------------- +//========================================================================= // The rate of time it takes to cast a spell (Note 2, 0 = No casting time) casting_rate: 100 @@ -17,8 +40,8 @@ delay_rate: 100 // Does the delay time depend on the caster's DEX and/or AGI? (Note 1) // Note: On Official servers, neither Dex nor Agi affect delay time -delay_dependon_dex: no -delay_dependon_agi: no +delay_dependon_dex: false +delay_dependon_agi: false // Minimum allowed delay for ANY skills after casting (in milliseconds) (Note 1) // Note: Setting this to anything above 0 can stop speedhacks. @@ -52,7 +75,7 @@ vcast_stat_scale: 530 skill_amotion_leniency: 90 // Will normal attacks be able to ignore the delay after skills? (Note 1) -skill_delay_attack_enable: yes +skill_delay_attack_enable: true // Range added to skills after their cast time finishes. // Decides how far away the target can walk away after the skill began casting before the skill fails. @@ -60,7 +83,7 @@ skill_delay_attack_enable: yes skill_add_range: 0 // If the target moves out of range while casting, do we take the items and SP for the skill anyway? (Note 1) -skill_out_range_consume: no +skill_out_range_consume: false // Does the distance between caster and target define if the skill is a ranged skill? (Note 3) // If set, when the distance between caster and target is greater than 3 the skill is considered long-range, otherwise it's a melee range. @@ -74,9 +97,9 @@ skillrange_by_distance: 14 skillrange_from_weapon: 0 // Should a check on the caster's status be performed in all skill attacks? -// When set to yes, meteors, storm gust and any other ground skills will have +// When set to true, meteors, storm gust and any other ground skills will have // no effect while the caster is unable to fight (eg: stunned). -skill_caster_check: yes +skill_caster_check: true // Should ground placed skills be removed as soon as the caster dies? (Note 3) clear_skills_on_death: 0 @@ -84,10 +107,10 @@ clear_skills_on_death: 0 // Should ground placed skills be removed when the caster changes maps? (Note 3) clear_skills_on_warp: 15 -//Setting this to YES will override the target mode of ground-based skills with the flag 0x01 to "No Enemies" -//The two skills affected by default are Pneuma and Safety Wall (if set to yes, those two skills will not protect everyone, but only allies) +//Setting this to true will override the target mode of ground-based skills with the flag 0x01 to "No Enemies" +//The two skills affected by default are Pneuma and Safety Wall (if set to true, those two skills will not protect everyone, but only allies) //See db/skill_unit_db.txt for more info. -defunit_not_enemy: no +defunit_not_enemy: false // Do skills do at least 'hits' damage when they don't miss/are blocked? //(for example, will firebolts always do "number of bolts" damage versus plants?) @@ -112,7 +135,7 @@ skill_reiteration: 0 skill_nofootset: 1 // Should traps (hunter traps + quagmire) change their target to "all" inside gvg/pvp grounds? (Note 3) -// Default on official servers: yes for player-traps +// Default on official servers: true for player-traps gvg_traps_target_all: 1 // Some traps settings (add as necessary): @@ -136,7 +159,7 @@ song_timer_reset: 0 // Whether placed down skills will check walls (Note 1) // (Makes it so that Storm Gust/Lord of Vermillion/etc when cast next to a wall, won't hit on the other side) -skill_wall_check: yes +skill_wall_check: true // When cloaking, Whether the wall is checked or not. (Note 1) // Note: When the skill does not checks for walls, you will always be considered @@ -161,7 +184,7 @@ land_skill_limit: 9 display_skill_fail: 0 // Can a player in chat room (in-game), be warped by a warp portal? (Note 1) -chat_warpportal: no +chat_warpportal: false // What should the wizard's "Sense" skill display on the defense fields? // 0: Do not show defense @@ -176,9 +199,9 @@ sense_type: 1 finger_offensive_type: 0 // Grandcross Settings (Don't mess with these) -// If set to no, hit interval is increased based on the amount of mobs standing on the same cell +// If set to false, hit interval is increased based on the amount of mobs standing on the same cell // (means that when there's stacked mobs in the same cell, they won't receive all hits) -gx_allhit: no +gx_allhit: false // Grandcross display type (Default 1) // 0: Yellow character @@ -188,8 +211,8 @@ gx_disptype: 1 // Max Level Difference for Devotion devotion_level_difference: 10 -// If no than you can use the ensemble skills alone. (Note 1) -player_skill_partner_check: yes +// If false than you can use the ensemble skills alone. (Note 1) +player_skill_partner_check: true // Remove trap type // 0 = Aegis system : Returns 1 'Trap' item @@ -197,7 +220,7 @@ player_skill_partner_check: yes skill_removetrap_type: 0 // Does using bow to do a backstab give a 50% damage penalty? (Note 1) -backstab_bow_penalty: yes +backstab_bow_penalty: true // How many times you could try to steal from a mob. // Note: It helps to avoid stealing exploit on monsters with few rare items @@ -212,7 +235,7 @@ skill_steal_max_tries: 0 copyskill_restrict: 2 // Does Berserk/Frenzy cancel other self-buffs when used? -berserk_cancels_buffs: no +berserk_cancels_buffs: false // Level and Strength of "MVP heal". When someone casts a heal of this level or // above, the heal formula is bypassed and this value is used instead. @@ -243,13 +266,13 @@ guild_aura: 31 // Allows players to skip menu when casting Teleport level 1 // Menu contains two options. "Random" and "Cancel" -skip_teleport_lv1_menu: no +skip_teleport_lv1_menu: false // Allow use of SG skills without proper day (Sun/Moon/Star) ? -allow_skill_without_day: no +allow_skill_without_day: false // Allow use of ES-type magic on players? -allow_es_magic_player: no +allow_es_magic_player: false // Miracle of the Sun, Moon and Stars skill ratio (100% = 10000) sg_miracle_skill_ratio: 2 @@ -267,17 +290,17 @@ skill_add_heal_rate: 7 // Whether the damage of EarthQuake with a single target on screen is able to be reflected. // Note: On official server, EQ is reflectable when there is only one target on the screen, // which might be an exploit to hunt the MVPs. -eq_single_target_reflectable: yes +eq_single_target_reflectable: true // On official server, you will receive damage from Reflection and some Tarot Card even in invincible status. // When this setting is enabled, it allows you to immune to all kinds of damage, including those stated previous. // (The number will show but no actual damage will be done) -invincible.nodamage: no +invincible_nodamage: false // Dancing Weapon Switch // On official server, a fix is in place that prevents the switching of weapons to cancel songs. -// Default: yes -dancing_weaponswitch_fix: yes +// Default: true +dancing_weaponswitch_fix: true // Skill Trap Type (GvG) // 0: (official) Traps in GvG only make player stop moving after its walk path is complete, and it activates other traps on the way. @@ -300,4 +323,4 @@ bowling_bash_area: 0 // edges will be away from SG. Knockback direction can also be influenced by Ganbantein and Land Protector. If you // punch a hole into SG it will for example create a "suck in" effect. // If you disable this setting, the knockback direction will be completely random (eAthena style). -stormgust_knockback: yes +stormgust_knockback: true diff --git a/conf/map/battle/status.conf b/conf/map/battle/status.conf new file mode 100644 index 000000000..37b2e013d --- /dev/null +++ b/conf/map/battle/status.conf @@ -0,0 +1,47 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +// Battle (Status) Configuration File +//========================================================================= +// Note 1: Value is a config switch (true/false) +// Note 2: Value is in percents (100 means 100%) +// Note 3: Value is a bit field. If no description is given, +// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) +//========================================================================= + +// Should skill casting be canceled when inflicted by curse/stun/sleep/etc (includes silence) (Note 3)? +status_cast_cancel: 0 + +// Adjustment for the natural rate of resistance from status changes. +// If 50, status defense is halved, and you need twice as much stats to block +// them (eg: 200 vit to completely block stun) +pc_status_def_rate: 100 +mob_status_def_rate: 100 + +// Maximum resistance to status changes. (100 = 100%) +// NOTE: Cards and equipment can go over this limit, so it only applies to natural resist. +pc_max_status_def: 100 +mob_max_status_def: 100 diff --git a/conf/charhelp.txt b/conf/map/charhelp.txt index e3acddbb4..e3acddbb4 100644 --- a/conf/charhelp.txt +++ b/conf/map/charhelp.txt diff --git a/conf/help.txt b/conf/map/help.txt index a65c7de70..a65c7de70 100644 --- a/conf/help.txt +++ b/conf/map/help.txt diff --git a/conf/map/logs.conf b/conf/map/logs.conf new file mode 100644 index 000000000..aa4e16e95 --- /dev/null +++ b/conf/map/logs.conf @@ -0,0 +1,172 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules Log configuration file. +//========================================================================= +// Note 1: Value is a config switch (on/off, yes/no or 1/0) +// Note 2: Value is in percents (100 means 100%) +// Note 3: Value is a bit field. If no description is given, assume unit +// types (1: Pc, 2: Mob, 4: Pet, 8: Homun) +//========================================================================= + +map_log: { + // Enable Logs? (Note 3) + // 0x00000 - Don't log at all + // 0x00001 - (T) Log trades + // 0x00002 - (V) Log vending transactions + // 0x00004 - (P) Log items drop/picked by players + // 0x00008 - (L) Log items drop/looted by monsters + // 0x00010 - (S) Log NPC transactions (buy/sell) + // 0x00020 - (N) Log Script transactions (items deleted/acquired through quests) + // 0x00040 - (D) Log items stolen from mobs (Steal/Gank) + // 0x00080 - (C) Log player-used items (consumables/pet&hom&merc food/items used for skills&attacks) + // 0x00100 - (O) Log produced/ingredient items + // 0x00200 - (U) Log MVP prize items + // 0x00400 - (A) Log player created/deleted items (through @/# commands) + // 0x00800 - (R) Log items placed/retrieved from storage. + // 0x01000 - (G) Log items placed/retrieved from guild storage. + // 0x02000 - (E) Log mail system transactions. + // 0x04000 - (I) Log auction system transactions. + // 0x08000 - (B) Log buying store transactions + // 0x20000 - (K) Log account bank transactions + // 0x10000 - (X) Log all other transactions (rentals expiring/inserting cards/items removed by item_check/ + // rings deleted by divorce/pet egg (un)hatching/pet armor (un)equipping/Weapon Refine skill/Remove Trap skill) + // Example: Log trades+vending+script items+created items: 1+2+32+1024 = 1059 + // Please note that moving items from inventory to cart and back is not logged by design. + enable: 0xFFFFF + + // Logging files/tables + // Following settings specify where to log to. If 'use_sql' is + // true, SQL tables are assumed, otherwise flat files. + database: { + // Use MySQL Logs? (Note 1) + use_sql: true + + // Flat files + // log_gm_db: "log/atcommandlog.log" + // log_branch_db: "log/branchlog.log" + // log_chat_db: "log/chatlog.log" + // log_mvpdrop_db: "log/mvplog.log" + // log_npc_db: "log/npclog.log" + // log_pick_db: "log/picklog.log" + // log_zeny_db: "log/zenylog.log" + // SQL tables + log_gm_db: "atcommandlog" + log_branch_db: "branchlog" + log_chat_db: "chatlog" + log_mvpdrop_db: "mvplog" + log_npc_db: "npclog" + log_pick_db: "picklog" + log_zeny_db: "zenylog" + } + + // Log Dead Branch Usage (Note 1) + log_branch: false + + // Track Zeny Changes + // Filter settings + // 0 - don't log; 1 - log any zeny changes; 2.....1000000 - minimal absolute logging zeny value + log_zeny: 0 + + // Log MVP Monster Drops (Note 1) + // Outdated. Use Pick_Log instead. But this log could be useful to keep track slayed MVPs + log_mvpdrop: false + + // Log AtCommands & Charcommands (Note 1) + // Only commands issued by player groups ('conf/groups.conf') with + // 'log_commands' setting set to 'true' will be logged. + log_commands: true + + // Log NPC 'logmes' commands (Note 1) + log_npc: false + + // Logging filters + filter: { + item: { + // Filters + // if any condition is true then the item will be logged + // 0 = Don't log at all + // 1 = Log any item + // Advanced Filter Bits by item type: || + // 0x002 - Healing items (0) + // 0x004 - Etc Items(3) + Arrows (10) + // 0x008 - Usable Items(2) + Lures,Scrolls(11) + Usable Cash Items(18) + // 0x010 - Weapon(4) + // 0x020 - Shields,Armor,Headgears,Accessories,etc(5) + // 0x040 - Cards(6) + // 0x080 - Pet Accessories(8) + Eggs(7) (well, monsters don't drop 'em but we'll use the same system for ALL logs) + // 0x100 - Log expensive items ( >= price_items_log) + // 0x200 - Log big amount of items ( >= amount_items_log) + // 0x400 - Log refined items (if their refine >= refine_items_log ) + // 0x800 - Log rare items (if their drop chance <= rare_items_log ) + // Examples: (log filters) + // log_filter: 1 = logs ANY items + // log_filter: 0x2 = logs only HEALING items + // log_filter: 0x4 = logs only Etc Items and Arrows + // log_filter: 0x40 = logs only Cards + // log_filter: 0x142 = logs only Healing items, Cards and those items which price is >= price_items_log + // log_filter: 0xff0 = logs all items (including all rare, big amount) except healing, etc, arrows and useble ones + log_filter: 1 + + // Log Items which Refine >= refine_items_log + refine_items_log: 5 + + // Log Items whith min drop rate <= rare_items_log + // 1 = 0.01%, 100 = 1% drop chance, etc + rare_items_log: 100 + + // don't log it if the current item buy price < price_items_log + price_items_log: 1000 + + // don't log it if the current item amount < amount_items_log + amount_items_log: 100 + } // item + + chat: { + // Log CHAT (Global, Whisper, Party, Guild, Main chat) (Note 3) + // LOGGING FILTERS + // ============================================================= + // 0x00 = Don't log at all + // 0x01 - Log Global messages + // 0x02 - Log Whisper messages + // 0x04 - Log Party messages + // 0x08 - Log Guild messages + // 0x10 - Log Main chat messages + // Example: + // log_chat: 0x5 = logs both Whisper & Party messages + // log_chat: 0x8 = logs only Guild messages + // log_chat: 0x1f = logs everything + // FIXME: This isn't fully functional, as of now it's only checking + // if the log is active or not [Panikon] + log_chat: 0x1f + + // Disable chat logging when WoE is running? (Note 1) + log_chat_woe_disable: false + } // chat + } // filter +} + +import: "conf/import/logs.conf" diff --git a/conf/map/map-server.conf b/conf/map/map-server.conf new file mode 100644 index 000000000..b489e948b --- /dev/null +++ b/conf/map/map-server.conf @@ -0,0 +1,117 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Map Server Configuration File +//========================================================================= + +map_configuration: { + @include "conf/global/console.conf" + @include "conf/global/sql_connection.conf" + + // map_list and map_removed + @include "conf/map/maps.conf" + + // When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands. + help_txt: "conf/map/help.txt" + charhelp_txt: "conf/map/charhelp.txt" + + // Enable the @guildspy and @partyspy at commands? + // Note that enabling them decreases packet sending performance. + enable_spy: false + + // Read map data from GATs and RSWs in GRF files or a data directory + // as referenced by grf-files.txt rather than from the mapcache? + use_grf: false + + // When employing more than one language (see db/translations.conf), + // this setting is used as a fallback + default_language: "English" + + // Information related to inter-server behavior + inter: { + // Interserver communication passwords, set in the login server database + userid: "s1" + passwd: "p1" + + // Character Server IP + // The map server connects to the character server using this IP address. + // NOTE: This is useful when you are running behind a firewall or are on + // a machine with multiple interfaces. + //char_ip: "127.0.0.1" + + // The map server listens on the interface with this IP address. + // NOTE: This allows you to run multiple servers on multiple interfaces + // while using the same ports for each server. + //bind_ip: "127.0.0.1" + + // Character Server Port + char_port: 6121 + + // Map Server IP + // The IP address which clients will use to connect. + // Set this to what your server's public IP address is. + //map_ip: "127.0.0.1" + + // Map Server Port + map_port: 5121 + } + + database: { + // Where should all database data be read from? + db_path: "db" + + // Database autosave time + // All characters are saved on this time in seconds (example: + // autosave of 60 secs with 60 characters online -> one char is + // saved every second) + autosave_time: 300 + + // Min database save intervals (in ms) + // Prevent saving characters faster than at this rate (prevents + // char-server save-load getting too high as character-count + // increases) + minsave_time: 100 + + // Apart from the autosave_time, players will also get saved + // when involved in the following (add as needed): + // 0x001: After every successful trade + // 0x002: After every vending transaction + // 0x004: After closing storage/guild storage. + // 0x008: After hatching/returning to egg a pet. + // 0x010: After successfully sending a mail with attachment + // 0x020: After successfully submitting an item for auction + // 0x040: After successfully get/delete/complete a quest + // 0x080: After every buying store transaction + // 0x100: After every bank transaction (deposit/withdraw) + // NOTE: These settings decrease the chance of dupes/lost items + // when there's a server crash at the expense of increasing the + // map/char server lag. If your server rarely crashes, but + // experiences interserver lag, you may want to set these off. + save_settings: 0x1ff + } +} + +import: "conf/import/map-server.conf" diff --git a/conf/map/maps.conf b/conf/map/maps.conf new file mode 100644 index 000000000..dc4798354 --- /dev/null +++ b/conf/map/maps.conf @@ -0,0 +1,1252 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules map configuration file. +//========================================================================= +// Used to know which maps are currently being supported by Hercules +//========================================================================= + +// Maps that are in map_list but are not supported by your server +map_removed: ( + //"mapname", +) + +// Added maps +map_list: ( + //------------------------- Normal Maps --------------------------- + "alb_ship", + "alb2trea", + "alberta", + "alberta_in", + "alde_dun01", + "alde_dun02", + "alde_dun03", + "alde_dun04", + "aldeba_in", + "aldebaran", + "anthell01", + "anthell02", + "arena_room", + "c_tower1", + "c_tower2", + "c_tower3", + "c_tower4", + //"force_map1", + //"force_map2", + //"force_map3", + "force_1-1", + "force_2-1", + "force_3-1", + "force_4-1", + "force_5-1", + "force_1-2", + "force_2-2", + "force_3-2", + "force_1-3", + "force_2-3", + "force_3-3", + "gef_dun00", + "gef_dun01", + "gef_dun02", + "gef_dun03", + "gef_fild00", + "gef_fild01", + "gef_fild02", + "gef_fild03", + "gef_fild04", + "gef_fild05", + "gef_fild06", + "gef_fild07", + "gef_fild08", + "gef_fild09", + "gef_fild10", + "gef_fild11", + "gef_fild12", + "gef_fild13", + "gef_fild14", + "gef_tower", + "geffen", + "geffen_in", + "gl_cas01", + "gl_cas02", + "gl_church", + "gl_chyard", + "gl_dun01", + "gl_dun02", + "gl_in01", + "gl_knt01", + "gl_knt02", + "gl_prison", + "gl_prison1", + "gl_sew01", + "gl_sew02", + "gl_sew03", + "gl_sew04", + "gl_step", + "glast_01", + //"hunter_1-1", + //"hunter_2-1", + //"hunter_3-1", + "in_hunter", + "in_moc_16", + "in_orcs01", + "in_sphinx1", + "in_sphinx2", + "in_sphinx3", + "in_sphinx4", + "in_sphinx5", + "iz_dun00", + "iz_dun01", + "iz_dun02", + "iz_dun03", + "iz_dun04", + "izlu2dun", + "izlude", + "izlude_in", + "job_thief1", + //"knight_1-1", + //"knight_2-1", + //"knight_3-1", + "mjo_dun01", + "mjo_dun02", + "mjo_dun03", + "mjolnir_01", + "mjolnir_02", + "mjolnir_03", + "mjolnir_04", + "mjolnir_05", + "mjolnir_06", + "mjolnir_07", + "mjolnir_08", + "mjolnir_09", + "mjolnir_10", + "mjolnir_11", + "mjolnir_12", + "moc_castle", + "moc_fild01", + "moc_fild02", + "moc_fild03", + //"moc_fild04", + //"moc_fild05", + //"moc_fild06", + "moc_fild07", + //"moc_fild08", + //"moc_fild09", + //"moc_fild10", + "moc_fild11", + "moc_fild12", + "moc_fild13", + //"moc_fild14", + //"moc_fild15", + "moc_fild16", + "moc_fild17", + "moc_fild18", + "moc_fild19", + "moc_pryd01", + "moc_pryd02", + "moc_pryd03", + "moc_pryd04", + "moc_pryd05", + "moc_pryd06", + "moc_prydb1", + "moc_ruins", + "monk_in", + "morocc", + "morocc_in", + "new_zone01", + "new_zone02", + "new_zone03", + "new_zone04", + "new_1-1", + "new_1-2", + "new_1-3", + "new_1-4", + "new_2-1", + "new_2-2", + "new_2-3", + "new_2-4", + "new_3-1", + "new_3-2", + "new_3-3", + "new_3-4", + "new_4-1", + "new_4-2", + "new_4-3", + "new_4-4", + "new_5-1", + "new_5-2", + "new_5-3", + "new_5-4", + "orcsdun01", + "orcsdun02", + //"ordeal_a00", + //"ordeal_a02", + "ordeal_1-1", + "ordeal_1-2", + //"ordeal_1-3", + //"ordeal_1-4", + "ordeal_2-1", + "ordeal_2-2", + //"ordeal_2-3", + //"ordeal_2-4", + "ordeal_3-1", + "ordeal_3-2", + //"ordeal_3-3", + //"ordeal_3-4", + "pay_arche", + "pay_dun00", + "pay_dun01", + "pay_dun02", + "pay_dun03", + "pay_dun04", + "pay_fild01", + "pay_fild02", + "pay_fild03", + "pay_fild04", + "pay_fild05", + "pay_fild06", + "pay_fild07", + "pay_fild08", + "pay_fild09", + "pay_fild10", + "pay_fild11", + //"priest_1-1", + //"priest_2-1", + //"priest_3-1", + "prontera", + "prt_are_in", + "prt_are01", + "prt_castle", + "prt_church", + "prt_fild00", + "prt_fild01", + "prt_fild02", + "prt_fild03", + "prt_fild04", + "prt_fild05", + "prt_fild06", + "prt_fild07", + "prt_fild08", + "prt_fild09", + "prt_fild10", + "prt_fild11", + "prt_in", + "prt_maze01", + "prt_maze02", + "prt_maze03", + "prt_monk", + "prt_sewb1", + "prt_sewb2", + "prt_sewb3", + "prt_sewb4", + "pvp_room", + "pvp_2vs2", + "pvp_c_room", + "pvp_n_1-1", + "pvp_n_1-2", + "pvp_n_1-3", + "pvp_n_1-4", + "pvp_n_1-5", + "pvp_n_2-1", + "pvp_n_2-2", + "pvp_n_2-3", + "pvp_n_2-4", + "pvp_n_2-5", + "pvp_n_3-1", + "pvp_n_3-2", + "pvp_n_3-3", + "pvp_n_3-4", + "pvp_n_3-5", + "pvp_n_4-1", + "pvp_n_4-2", + "pvp_n_4-3", + "pvp_n_4-4", + "pvp_n_4-5", + "pvp_n_5-1", + "pvp_n_5-2", + "pvp_n_5-3", + "pvp_n_5-4", + "pvp_n_5-5", + "pvp_n_6-1", + "pvp_n_6-2", + "pvp_n_6-3", + "pvp_n_6-4", + "pvp_n_6-5", + "pvp_n_7-1", + "pvp_n_7-2", + "pvp_n_7-3", + "pvp_n_7-4", + "pvp_n_7-5", + "pvp_n_8-1", + "pvp_n_8-2", + "pvp_n_8-3", + "pvp_n_8-4", + "pvp_n_8-5", + "pvp_n_room", + "pvp_y_1-1", + "pvp_y_1-2", + "pvp_y_1-3", + "pvp_y_1-4", + "pvp_y_1-5", + "pvp_y_2-1", + "pvp_y_2-2", + "pvp_y_2-3", + "pvp_y_2-4", + "pvp_y_2-5", + "pvp_y_3-1", + "pvp_y_3-2", + "pvp_y_3-3", + "pvp_y_3-4", + "pvp_y_3-5", + "pvp_y_4-1", + "pvp_y_4-2", + "pvp_y_4-3", + "pvp_y_4-4", + "pvp_y_4-5", + "pvp_y_5-1", + "pvp_y_5-2", + "pvp_y_5-3", + "pvp_y_5-4", + "pvp_y_5-5", + "pvp_y_6-1", + "pvp_y_6-2", + "pvp_y_6-3", + "pvp_y_6-4", + "pvp_y_6-5", + "pvp_y_7-1", + "pvp_y_7-2", + "pvp_y_7-3", + "pvp_y_7-4", + "pvp_y_7-5", + "pvp_y_8-1", + "pvp_y_8-2", + "pvp_y_8-3", + "pvp_y_8-4", + "pvp_y_8-5", + "pvp_y_room", + "sword_1-1", + "sword_2-1", + "sword_3-1", + "treasure01", + "treasure02", + //"wizard_1-1", + //"wizard_2-1", + //"wizard_3-1", + "xmas", + "xmas_dun01", + "xmas_dun02", + "xmas_fild01", + "xmas_in", + + //---Ep3.0 Comodo --- + "beach_dun", + "beach_dun2", + "beach_dun3", + "cmd_fild01", + "cmd_fild02", + "cmd_fild03", + "cmd_fild04", + "cmd_fild05", + "cmd_fild06", + "cmd_fild07", + "cmd_fild08", + "cmd_fild09", + "cmd_in01", + "cmd_in02", + "comodo", + + //---EP3.1 Quiz Revolution --- + "quiz_00", + "quiz_01", + "g_room1-1", + "g_room1-2", + "g_room1-3", + "g_room2", + + //--- Ep4.0 Turtle Island --- + "tur_dun01", + "tur_dun02", + "tur_dun03", + "tur_dun04", + "tur_dun05", + "tur_dun06", + + //--- Ep4.1 The War of Emperium --- + "alde_gld", + "aldeg_cas01", + "aldeg_cas02", + "aldeg_cas03", + "aldeg_cas04", + "aldeg_cas05", + "gefg_cas01", + "gefg_cas02", + "gefg_cas03", + "gefg_cas04", + "gefg_cas05", + "gld_dun01", + "gld_dun02", + "gld_dun03", + "gld_dun04", + "guild_room", + "guild_vs1", + "guild_vs2", + "guild_vs3", + "guild_vs4", + "guild_vs5", + "guild_vs1-1", + "guild_vs1-2", + "guild_vs1-3", + "guild_vs1-4", + "guild_vs2-1", + "guild_vs2-2", + //"job_hunter", + "job_hunte", + //"job_knight", + "job_knt", + //"job_priest", + "job_prist", + "job_sword1", + //"job_wizard", + "job_wiz", + "pay_gld", + "payg_cas01", + "payg_cas02", + "payg_cas03", + "payg_cas04", + "payg_cas05", + "prt_gld", + "prtg_cas01", + "prtg_cas02", + "prtg_cas03", + "prtg_cas04", + "prtg_cas05", + + //--- Ep5.0 Juno --- + "alde_alche", + "in_rogue", + "job_cru", + "job_duncer", + "job_monk", + "job_sage", + "mag_dun01", + "mag_dun02", + "monk_test", + "quiz_test", + "yuno", + "yuno_fild01", + "yuno_fild02", + "yuno_fild03", + "yuno_fild04", + "yuno_in01", + "yuno_in02", + "yuno_in03", + "yuno_in04", + "yuno_in05", + + //--- Ep6.0 - Amatsu --- + // Requires: kRO 08-10-03 or newer + // or kRO Sakray 09-09-03 or newer + "ama_dun01", + "ama_dun02", + "ama_dun03", + "ama_fild01", + "ama_in01", + "ama_in02", + "ama_test", + "amatsu", + + //--- Ep6.1 - Kunlun --- + "gon_dun01", + "gon_dun02", + "gon_dun03", + "gon_fild01", + "gon_in", + "gon_test", + "gonryun", + "sec_in01", + "sec_in02", + "sec_pri", + + //--- Ep6.2 - Umbala --- + // Requires: kRO 01-27-04 or newer + // or kRO Sakray 12-02-03 or newer + // or Akaru's SuperGRF 1.22 or newer + "umbala", + "um_dun01", + "um_dun02", + "um_fild01", + "um_fild02", + "um_fild03", + "um_fild04", + "um_in", + + //--- Ep6.3 - Niflheim --- + // Requires: kRO 02-23-04 or newer + // or kRO Sakray 01-09-04 or newer + // or Akaru's SuperGRF 1.32 or newer + "niflheim", + "nif_fild01", + "nif_fild02", + "nif_in", + "yggdrasil01", + + //--- Ep6.4 - Valkyrie --- + // Requires: kRO ??-??-04 or newer + // or kRO Sakray 02-03-04 or newer + // or Akaru's SuperGRF 1.34 or newer + "valkyrie", + "himinn", + + //--- Ep6.5 - Louyang --- + // Requires kRO Sakray 03-30 or newer + //(Akaru's SuperGRF required version: 1.52) + "lou_in01", + "lou_in02", + "lou_dun03", + "lou_dun02", + "lou_dun01", + "lou_fild01", + "louyang", + + //--- Ep6.6 - Novice Guild Siege --- + //Requires kRO Sakray 04-07 or newer + //(Akaru's SuperGRF required version: 1.53) + //"siege_test", + "n_castle", + "nguild_gef", + "nguild_prt", + "nguild_pay", + "nguild_alde", + + //--- Ep6.7 - Jawaii --- + //Requires kRO Sakray 06-22 or newer + //(Akaru's SuperGRF required version: 1.63) + "jawaii", + "jawaii_in", + + // --- Ep6.8 - Geffenia --- + // Requires kRO Sakray 07-13 or newer + // (Akaru's SuperGRF required version: 1.64) + "gefenia01", + "gefenia02", + "gefenia03", + "gefenia04", + + // --- Ep6.9 - New Payon --- + // Requires kRO Sakray 09-03 + "payon", + "payon_in01", + "payon_in02", + "payon_in03", + //same names as old maps except that payon_in03 got added + + // --- Ep? - Ayothaya --- + // Requires kRO Sakray 09-21 + // -- 2004-10-19sdata_k.gpf -- + "ayothaya", + "ayo_in01", + "ayo_in02", + "ayo_fild01", + "ayo_fild02", + "ayo_dun01", + "ayo_dun02", + + // --- God item quests maps --- + // -- 2004-10-12sdata_k3.gpf -- + "que_god01", + "que_god02", + + // --- Ep? - Schwarzwald Republic --- + // -- 2004-12-28sdata_k.gpf -- + "yuno_fild05", + "yuno_fild07", + "yuno_fild08", + "yuno_fild09", + "yuno_fild11", + "yuno_fild12", + + // --- Turbo Track Arena --- + // -- 2005-03-08sdata_k.gpf -- + "alde_tt02", + "turbo_n_1", + "turbo_n_4", + "turbo_n_8", + "turbo_n_16", + "turbo_e_4", + "turbo_e_8", + "turbo_e_16", + "turbo_room", + + // --- Einbroch/Einbech --- + // -- 2005-03-15sdata_k.gpf -- + "airplane", + "airport", + "einbech", + "einbroch", + "ein_dun01", + "ein_dun02", + "ein_fild06", + "ein_fild07", + "ein_fild08", + "ein_fild09", + "ein_fild10", + "ein_in01", + "que_sign01", + "que_sign02", + + // --- Einbroch and Lightalzen --- + // -- 2005-05-10sdata_k.gpf -- + "ein_fild03", + "ein_fild04", + "lhz_fild02", + "lhz_fild03", + + // --- Lighthalzen and Juperos Dungeon --- + // -- 2005-06-14sdata_k.gpf -- + "yuno_pre", + "lhz_fild01", + "lighthalzen", + "lhz_in01", + "lhz_in02", + "lhz_in03", + "lhz_que01", + "lhz_dun01", + "lhz_dun02", + "lhz_dun03", + "lhz_cube", + "juperos_01", + "juperos_02", + "jupe_area1", + "jupe_area2", + "jupe_core", + "jupe_ele", + "jupe_ele_r", + "jupe_gate", + + // --- Lighthalzen & Juno Airport --- + // -- resnametable clones of airport and airplane -- + "y_airport", + "lhz_airport", + "airplane_01", + + // --- Juperos Dungeon --- + // -- 2005-06-28sdata_k.gpf -- + "jupe_cave", + + // --- Quiz Revolution --- + // -- 2005-08-02sdata_k.gpf -- + "quiz_02", + + // --- Hugel Field --- + // -- 2005-08-23sdata_k.gpf -- + "hu_fild07", + "hu_fild05", + "hu_fild04", + "hu_fild01", + "yuno_fild06", + + // --- Star Knight And Soul Linker Job Change Maps --- + // -- 2005-08-23sdata_k.gpf -- + "job_soul", + "job_star", + + // --- Abyss Lake, Thanatos Tower -- + // -- 2005-09-13sdata_k.gpf - 2005-09-13sdata_k6.gpf -- + "que_job01", + "que_job02", + "que_job03", + "abyss_01", + "abyss_02", + "abyss_03", + "thana_step", + "thana_boss", + "tha_scene01", + "tha_t01", + "tha_t02", + "tha_t03", + "tha_t04", + "tha_t07", + "tha_t05", + "tha_t06", + "tha_t08", + + // --- Thanatos Tower --- + // -- 2005-09-21sdata_k.gpf -- ", + "tha_t09", + "tha_t10", + "tha_t11", + "tha_t12", + + // --- Auction Market --- + // -- 2005-11-29sdata_k.gpf -- + "auction_01", + "auction_02", + + // ??? + // -- 2005-12-06gdata_k.gpf -- + "alde_tt03", + + // --- Garden City Hugel / Kiehl --- + // -- 2005-12-20sdata_k.gpf -- + "hugel", + "hu_in01", + "que_bingo", + "que_hugel", + "p_track01", + "p_track02", + "odin_tem01", + "odin_tem02", + "odin_tem03", + "hu_fild02", + "hu_fild03", + "hu_fild06", + "ein_fild01", + "ein_fild02", + "ein_fild05", + "yuno_fild10", + "kh_kiehl02", + "kh_kiehl01", + "kh_dun02", + "kh_dun01", + "kh_mansion", + "kh_rossi", + "kh_school", + "kh_vila", + + // --- Poring Arena (?) & Gunslinger/Ninja Job Map --- + // -- 2006-03-28sdata_k.gpf -- + //"poring_c01", + //"poring_c02", + "que_ng", + + // --- Arunafeltz & Ice Dungeon --- + // -- 2006-05-30sdata_k.gpf -- + "rachel", + "ra_in01", + "ra_fild01", + "ra_fild02", + "ra_fild03", + "ra_fild04", + "ra_fild05", + "ra_fild06", + "ra_fild07", + "ra_fild08", + "ra_fild09", + "ra_fild10", + "ra_fild11", + "ra_fild12", + "ra_fild13", + "ra_san01", + "ra_san02", + "ra_san03", + "ra_san04", + "ra_san05", + "ra_temin", + "ra_temple", + "ra_temsky", + "que_rachel", + "que_san04", + "ice_dun01", + "ice_dun02", + "ice_dun03", + "ice_dun04", + + // --- Veins & Thor Dungeon --- + // -- 2006-12-19sdata_k.gpf -- + "que_thor", + "thor_camp", + "thor_v01", + "thor_v02", + "thor_v03", + "veins", + "ve_in", + "ve_in02", + "ve_fild01", + "ve_fild02", + "ve_fild03", + "ve_fild04", + "ve_fild05", + "ve_fild06", + "ve_fild07", + + // --- Nameless Island & Abbey Dungeon --- + // -- 2007-04-03sdata_k.gpf -- + "nameless_i", + "nameless_n", + "nameless_in", + "abbey01", + "abbey02", + "abbey03", + "poring_w01", + "poring_w02", + + // --- ??? --- + // -- 2007-??-?? -- + "06guild_r", + "06guild_01", + "06guild_02", + "06guild_03", + "06guild_04", + "06guild_05", + "06guild_06", + "06guild_07", + "06guild_08", + "z_agit", + "que_temsky", + "itemmall", + "bossnia_01", + "bossnia_02", + "bossnia_03", + "bossnia_04", + + // --- Moscovia --- + // -- 2007-06-??? -- + "moscovia", + "mosk_in", + "mosk_ship", + "mosk_fild01", + "mosk_fild02", + "mosk_dun01", + "mosk_dun02", + "mosk_dun03", + "mosk_que", + + // --- Episode 12: Satan Morroc & Schwarzwald Siege --- + // -- 2007-09-19sdata_k.gpf -- + "schg_cas01", + "schg_cas02", + "schg_cas03", + "schg_cas04", + "schg_cas05", + "sch_gld", + "cave", + "moc_fild20", + "moc_fild21", + "moc_fild22", + "que_ba", + "que_moc_16", + "que_moon", + + // Arunafeltz Seige + // -- 2007-10-24sdata_k.gpf -- + "arug_cas01", + "arug_cas02", + "arug_cas03", + "arug_cas04", + "arug_cas05", + "aru_gld", + + // PVP Battle Fields: Tierra Valley, and Flavius + // -- 2007-11-14sdata_k.gpf -- + "bat_room", + "bat_a01", + "bat_a02", + "bat_b01", + "bat_b02", + "que_qsch01", + "que_qsch02", + "que_qsch03", + "que_qsch04", + "que_qsch05", + "que_qaru01", + "que_qaru02", + "que_qaru03", + "que_qaru04", + "que_qaru05", + + // Endless Tower Memorial Dungeon + // -- 2007-11-28sdata_k.gpf -- + "1@cata", + "2@cata", + "e_tower", + "1@tower", + "2@tower", + "3@tower", + "4@tower", + "5@tower", + "6@tower", + + // 13.1 Another World + // -- 2008-05-28sdata_k.gpf -- + "mid_camp", + "mid_campin", + "man_fild01", + "man_fild03", + "spl_fild02", + "spl_fild03", + "moc_fild22b", + "que_dan01", + "que_dan02", + "schg_que01", + "schg_dun01", + "arug_que01", + "arug_dun01", + "1@orcs", + "2@orcs", + + // KvM Battleground + // -- 2008-??-??? -- + "bat_c01", + "bat_c02", + "bat_c03", + + // 13.2 Another World + // -- 2008-11-26 -- + "1@nyd", + "2@nyd", + "nyd_dun01", + "nyd_dun02", + "manuk", + "man_fild02", + "man_in01", + "splendide", + "spl_fild01", + "spl_in01", + "spl_in02", + + // 3rd Job Maps + // -- 2009-01-29rdata_k2.gpf -- + "job3_arch01", + "job3_arch02", + "job3_arch03", + "job3_guil01", + "job3_guil02", + "job3_guil03", + "job3_rang01", + "job3_rang02", + "job3_rune01", + "job3_rune02", + "job3_rune03", + "job3_war01", + "job3_war02", + "jupe_core2", + + // ??? + // -- 2009-05-27rdata_k.gpf -- + "moc_para01", + + // Brasilis Maps + // -- 2009-08-05rdata_k.gpf -- + "brasilis", + "bra_in01", + "bra_fild01", + "bra_dun01", + "bra_dun02", + + // ??? + // -- 2009-09-30rdata_k.gpf -- + "s_atelier", + + // 13.3 El Discastes + // -- 2009-12-09rdata_k.gpf -- + "dicastes01", + "dicastes02", + "dic_in01", + "dic_fild01", + "dic_fild02", + "dic_dun01", + "dic_dun02", + "job3_gen01", + "job3_sha01", + + // Localized Event Maps + //"evt_zombie", + //"evt_coke", + + // Unknown Maps + //"ac_sl_area", + //"ac_cl_hall", + //"ac_cl_room", + //"jp_s_dun11", + + // 14.1 Bifrost + // -- 2010-06-09rdata_x.gpf -- + "mora", + "bif_fild01", + "bif_fild02", + "1@mist", + + // Dewata + // -- 2010-09-15rdata_x.gpf -- + "dewata", + "dew_in01", + "dew_fild01", + "dew_dun01", + "dew_dun02", + + // ??? + // -- 2010-10-06rdata_x.gpf -- + "que_house_s", + + // Malangdo + // -- 2010-11-03rdata_x.gpf -- + "malangdo", + "mal_in01", + "mal_in02", + "mal_dun01", + "1@pump", + "2@pump", + "1@cash", + + // Undersea Tunnel Expansion + // -- 2010-11-10rdata_x.gpf -- + "iz_dun05", + + // ??? + // -- 2010-12-01data_x.gpf -- + "evt_mobroom", + + // ??? + "dic_dun03", + //"mjolnir_04_1", + //"evt_swar_b", + //"evt_swar_r", + //"evt_swar_s", + //"evt_swar_t", + + // Lighthalzen Dungeon F4, Wolfchev's Laboratory + // -- 2011-03-16rdata_x.gpf -- + "1@lhz", + "lhz_dun04", + "que_lhz", + + // Hall Of Abyss + // -- 2011-06-15data_x.gpf -- + "gld_dun01_2", + "gld_dun02_2", + "gld_dun03_2", + "gld_dun04_2", + "gld2_ald", + "gld2_gef", + "gld2_pay", + "gld2_prt", + + // Malaya Port + // -- 2011-08-30data_x.gpf -- + "malaya", + "ma_fild01", + "ma_fild02", + "ma_scene01", + "ma_in01", + "ma_dun01", + "1@ma_h", + "1@ma_c", + "1@ma_b", + "ma_zif01", + "ma_zif02", + "ma_zif03", + "ma_zif04", + "ma_zif05", + "ma_zif06", + "ma_zif07", + "ma_zif08", + "ma_zif09", + "job_ko", + + // 14.2 Eclage + // -- 2011-11-30data_x.gpf -- + "eclage", + "ecl_fild01", + "ecl_in01", + "ecl_in02", + "ecl_in03", + "ecl_in04", + "1@ecl", + "ecl_tdun01", + "ecl_tdun02", + "ecl_tdun03", + "ecl_tdun04", + "ecl_hub01", + "que_avan01", + + // Pyramids Basement Nightmare Mode + "moc_prydn1", + "moc_prydn2", + + // Izlude Novice Academy & Tutorial + // New Maps added 2013-02-10 + "iz_int", + "iz_int01", + "iz_int02", + "iz_int03", + "iz_int04", + "iz_ac01", + "iz_ac02", + "iz_ng01", + "treasure_n1", + "treasure_n2", + "iz_ac01_d", + "iz_ac02_d", + "iz_ac01_c", + "iz_ac02_c", + "iz_ac01_b", + "iz_ac02_b", + "iz_ac01_a", + "iz_ac02_a", + "izlude_d", + "izlude_c", + "izlude_b", + "izlude_a", + + "prt_fild08d", + "prt_fild08c", + "prt_fild08b", + "prt_fild08a", + + // War of Emperium - Third Edition (TE) + "te_prt_gld", + "te_prtcas01", + "te_prtcas02", + "te_prtcas03", + "te_prtcas04", + "te_prtcas05", + "teg_dun01", + "teg_dun02", + "te_alde_gld", + "te_aldecas1", + "te_aldecas2", + "te_aldecas3", + "te_aldecas4", + "te_aldecas5", + + // Glast Heim Memorial & Nightmare + "gl_cas02_", + "gl_chyard_", + "1@gl_k", + "2@gl_k", + + "silk_lair", + "evt_bomb", + + // Wave Mode Memorial Dungeon + "1@def01", + "1@def02", + "1@def03", + + // Heroes' Trails - Part 1 + "1@face", + "1@sara", + "1@tnm1", + "1@tnm2", + "1@tnm3", + "1@ge_st", + "1@gef", + "1@gef_in", + "1@spa", + "dali", + "dali02", + + // Episode 14.3 + "moro_vol", + "moro_cav", + "1@dth1", + "1@dth2", + "1@dth3", + "1@rev", + "1@xm_d", + "1@eom", + "1@jtb", + + // Clock Tower Nightmare Mode + "c_tower2_", + "c_tower3_", + + //------------------------- Clone Maps --------------------------- + //------------------------- Extra Maps --------------------------- + + // Ragnarok World Championship 2004 + // Requires: RWC 2004 Client + // or Akaru's SuperGRF 1.64 or newer + //"rwc01", + //"rwc02", + //"rwc03", + + // Ragnarok World Championship 2009 + // Requires: RWC 2009 Map files + //"2009rwc_f01", + //"2009rwc_01", + //"2009rwc_02", + //"2009rwc_03", + //"2009rwc_04", + + // Ragnarok World Championship 2008? + // Requires: RWC 2008 Map files? + //"2008rwc_04", + + //Christmas & Sakura Special + //Requires Akaru's SuperGRF 1.1 or newer + //"prontera_x", + //"alberta_x", + //"aldebaran_x", + //"geffen_x", + //"izlude_x", + //"prt_church_x", + //"prontera_s", + //"pay_arche_s", + + //Fenced Lutie", + //Requires Akaru's SuperGRF 1.23 or newer", + //"xmas_old", + + //Alpha Maps + //Requires adata.grf containing alpha maps and data + //"fay_vilg00", + //"fay_vilg01", + //"gef_vilg00", + //"gef_vilg01", + //"moc_dugn01", + //"moc_dugn02", + //"moc_fild01", + //"moc_fild02", + //"moc_fild03", + //"moc_fild04", + //"moc_intr00", + //"moc_intr01", + //"moc_intr02", + //"moc_intr04", + //"moc_vilg00", + //"moc_vilg01", + //"moc_vilg02", + //"probemap", + //"probemap02", + //"prt_cstl01", + //"prt_dugn00", + //"prt_dugn01", + //"prt_fild00", + //"prt_fild01", + //"prt_fild03", + //"prt_fild04", + //"prt_fild05", + //"prt_intr01", + //"prt_intr01_a", + //"prt_intr02", + //"prt_vilg00", + //"prt_vilg01", + //"prt_vilg02", + //"tank_test", + //"tank_test2", + //"test", +) //map_list diff --git a/conf/map/script.conf b/conf/map/script.conf new file mode 100644 index 000000000..78514e637 --- /dev/null +++ b/conf/map/script.conf @@ -0,0 +1,64 @@ +//================= Hercules Configuration ================================ +//= _ _ _ +//= | | | | | | +//= | |_| | ___ _ __ ___ _ _| | ___ ___ +//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __| +//= | | | | __/ | | (__| |_| | | __/\__ \ +//= \_| |_/\___|_| \___|\__,_|_|\___||___/ +//================= License =============================================== +//= This file is part of Hercules. +//= http://herc.ws - http://github.com/HerculesWS/Hercules +//= +//= Copyright (C) 2014-2016 Hercules Dev Team +//= +//= Hercules is free software: you can redistribute it and/or modify +//= it under the terms of the GNU General Public License as published by +//= the Free Software Foundation, either version 3 of the License, or +//= (at your option) any later version. +//= +//= This program is distributed in the hope that it will be useful, +//= but WITHOUT ANY WARRANTY; without even the implied warranty of +//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//= GNU General Public License for more details. +//= +//= You should have received a copy of the GNU General Public License +//= along with this program. If not, see <http://www.gnu.org/licenses/>. +//========================================================================= +//= Hercules Script Configuration File. +//========================================================================= + +script_configuration: { + // Specifies whether or not an error should be outputed when there's a + // mismatch between the number of provided arguments and of expected + // arguments + // Default: true + warn_func_mismatch_paramnum: true + + // Specifies whether or not each built-in function's arguments are + // checked for correct type. When a function is given an argument + // different from what it expects, a warning is thrown before the + // function is ran anyway. + // Default: true + warn_func_mismatch_argtypes: true + + // Maximum number of operations before considering a set of operations too intensive + // Defaults to 655360 + check_cmdcount: 655360 + + // Maximum number of iterations before considering a loop infinite + // Defaults to 2048 + check_gotocount: 2048 + + // Default value of the 'min' argument of the script command 'input'. + // When the 'min' argument isn't provided, this value is used instead. + // Defaults to 0. + //input_min_value: 0 + + // Default value of the 'max' argument of the script command 'input'. + // When the 'max' argument isn't provided, this value is used instead. + // Defaults to INT_MAX. + //input_max_value: 2147483647 + input_max_value: 10000000 +} + +import: "conf/import/script.conf" diff --git a/conf/maps.conf b/conf/maps.conf deleted file mode 100644 index 529afa9ce..000000000 --- a/conf/maps.conf +++ /dev/null @@ -1,1225 +0,0 @@ -//------------------------- Normal Maps --------------------------- -map: alb_ship -map: alb2trea -map: alberta -map: alberta_in -map: alde_dun01 -map: alde_dun02 -map: alde_dun03 -map: alde_dun04 -map: aldeba_in -map: aldebaran -map: anthell01 -map: anthell02 -map: arena_room -map: c_tower1 -map: c_tower2 -map: c_tower3 -map: c_tower4 -//map: force_map1 -//map: force_map2 -//map: force_map3 -map: force_1-1 -map: force_2-1 -map: force_3-1 -map: force_4-1 -map: force_5-1 -map: force_1-2 -map: force_2-2 -map: force_3-2 -map: force_1-3 -map: force_2-3 -map: force_3-3 -map: gef_dun00 -map: gef_dun01 -map: gef_dun02 -map: gef_dun03 -map: gef_fild00 -map: gef_fild01 -map: gef_fild02 -map: gef_fild03 -map: gef_fild04 -map: gef_fild05 -map: gef_fild06 -map: gef_fild07 -map: gef_fild08 -map: gef_fild09 -map: gef_fild10 -map: gef_fild11 -map: gef_fild12 -map: gef_fild13 -map: gef_fild14 -map: gef_tower -map: geffen -map: geffen_in -map: gl_cas01 -map: gl_cas02 -map: gl_church -map: gl_chyard -map: gl_dun01 -map: gl_dun02 -map: gl_in01 -map: gl_knt01 -map: gl_knt02 -map: gl_prison -map: gl_prison1 -map: gl_sew01 -map: gl_sew02 -map: gl_sew03 -map: gl_sew04 -map: gl_step -map: glast_01 -//map: hunter_1-1 -//map: hunter_2-1 -//map: hunter_3-1 -map: in_hunter -map: in_moc_16 -map: in_orcs01 -map: in_sphinx1 -map: in_sphinx2 -map: in_sphinx3 -map: in_sphinx4 -map: in_sphinx5 -map: iz_dun00 -map: iz_dun01 -map: iz_dun02 -map: iz_dun03 -map: iz_dun04 -map: izlu2dun -map: izlude -map: izlude_in -map: job_thief1 -//map: knight_1-1 -//map: knight_2-1 -//map: knight_3-1 -map: mjo_dun01 -map: mjo_dun02 -map: mjo_dun03 -map: mjolnir_01 -map: mjolnir_02 -map: mjolnir_03 -map: mjolnir_04 -map: mjolnir_05 -map: mjolnir_06 -map: mjolnir_07 -map: mjolnir_08 -map: mjolnir_09 -map: mjolnir_10 -map: mjolnir_11 -map: mjolnir_12 -map: moc_castle -map: moc_fild01 -map: moc_fild02 -map: moc_fild03 -//map: moc_fild04 -//map: moc_fild05 -//map: moc_fild06 -map: moc_fild07 -//map: moc_fild08 -//map: moc_fild09 -//map: moc_fild10 -map: moc_fild11 -map: moc_fild12 -map: moc_fild13 -//map: moc_fild14 -//map: moc_fild15 -map: moc_fild16 -map: moc_fild17 -map: moc_fild18 -map: moc_fild19 -map: moc_pryd01 -map: moc_pryd02 -map: moc_pryd03 -map: moc_pryd04 -map: moc_pryd05 -map: moc_pryd06 -map: moc_prydb1 -map: moc_ruins -map: monk_in -map: morocc -map: morocc_in -map: new_zone01 -map: new_zone02 -map: new_zone03 -map: new_zone04 -map: new_1-1 -map: new_1-2 -map: new_1-3 -map: new_1-4 -map: new_2-1 -map: new_2-2 -map: new_2-3 -map: new_2-4 -map: new_3-1 -map: new_3-2 -map: new_3-3 -map: new_3-4 -map: new_4-1 -map: new_4-2 -map: new_4-3 -map: new_4-4 -map: new_5-1 -map: new_5-2 -map: new_5-3 -map: new_5-4 -map: orcsdun01 -map: orcsdun02 -//map: ordeal_a00 -//map: ordeal_a02 -map: ordeal_1-1 -map: ordeal_1-2 -//map: ordeal_1-3 -//map: ordeal_1-4 -map: ordeal_2-1 -map: ordeal_2-2 -//map: ordeal_2-3 -//map: ordeal_2-4 -map: ordeal_3-1 -map: ordeal_3-2 -//map: ordeal_3-3 -//map: ordeal_3-4 -map: pay_arche -map: pay_dun00 -map: pay_dun01 -map: pay_dun02 -map: pay_dun03 -map: pay_dun04 -map: pay_fild01 -map: pay_fild02 -map: pay_fild03 -map: pay_fild04 -map: pay_fild05 -map: pay_fild06 -map: pay_fild07 -map: pay_fild08 -map: pay_fild09 -map: pay_fild10 -map: pay_fild11 -//map: priest_1-1 -//map: priest_2-1 -//map: priest_3-1 -map: prontera -map: prt_are_in -map: prt_are01 -map: prt_castle -map: prt_church -map: prt_fild00 -map: prt_fild01 -map: prt_fild02 -map: prt_fild03 -map: prt_fild04 -map: prt_fild05 -map: prt_fild06 -map: prt_fild07 -map: prt_fild08 -map: prt_fild09 -map: prt_fild10 -map: prt_fild11 -map: prt_in -map: prt_maze01 -map: prt_maze02 -map: prt_maze03 -map: prt_monk -map: prt_sewb1 -map: prt_sewb2 -map: prt_sewb3 -map: prt_sewb4 -map: pvp_room -map: pvp_2vs2 -map: pvp_c_room -map: pvp_n_1-1 -map: pvp_n_1-2 -map: pvp_n_1-3 -map: pvp_n_1-4 -map: pvp_n_1-5 -map: pvp_n_2-1 -map: pvp_n_2-2 -map: pvp_n_2-3 -map: pvp_n_2-4 -map: pvp_n_2-5 -map: pvp_n_3-1 -map: pvp_n_3-2 -map: pvp_n_3-3 -map: pvp_n_3-4 -map: pvp_n_3-5 -map: pvp_n_4-1 -map: pvp_n_4-2 -map: pvp_n_4-3 -map: pvp_n_4-4 -map: pvp_n_4-5 -map: pvp_n_5-1 -map: pvp_n_5-2 -map: pvp_n_5-3 -map: pvp_n_5-4 -map: pvp_n_5-5 -map: pvp_n_6-1 -map: pvp_n_6-2 -map: pvp_n_6-3 -map: pvp_n_6-4 -map: pvp_n_6-5 -map: pvp_n_7-1 -map: pvp_n_7-2 -map: pvp_n_7-3 -map: pvp_n_7-4 -map: pvp_n_7-5 -map: pvp_n_8-1 -map: pvp_n_8-2 -map: pvp_n_8-3 -map: pvp_n_8-4 -map: pvp_n_8-5 -map: pvp_n_room -map: pvp_y_1-1 -map: pvp_y_1-2 -map: pvp_y_1-3 -map: pvp_y_1-4 -map: pvp_y_1-5 -map: pvp_y_2-1 -map: pvp_y_2-2 -map: pvp_y_2-3 -map: pvp_y_2-4 -map: pvp_y_2-5 -map: pvp_y_3-1 -map: pvp_y_3-2 -map: pvp_y_3-3 -map: pvp_y_3-4 -map: pvp_y_3-5 -map: pvp_y_4-1 -map: pvp_y_4-2 -map: pvp_y_4-3 -map: pvp_y_4-4 -map: pvp_y_4-5 -map: pvp_y_5-1 -map: pvp_y_5-2 -map: pvp_y_5-3 -map: pvp_y_5-4 -map: pvp_y_5-5 -map: pvp_y_6-1 -map: pvp_y_6-2 -map: pvp_y_6-3 -map: pvp_y_6-4 -map: pvp_y_6-5 -map: pvp_y_7-1 -map: pvp_y_7-2 -map: pvp_y_7-3 -map: pvp_y_7-4 -map: pvp_y_7-5 -map: pvp_y_8-1 -map: pvp_y_8-2 -map: pvp_y_8-3 -map: pvp_y_8-4 -map: pvp_y_8-5 -map: pvp_y_room -map: sword_1-1 -map: sword_2-1 -map: sword_3-1 -map: treasure01 -map: treasure02 -//map: wizard_1-1 -//map: wizard_2-1 -//map: wizard_3-1 -map: xmas -map: xmas_dun01 -map: xmas_dun02 -map: xmas_fild01 -map: xmas_in - -//---Ep3.0 Comodo --- - -map: beach_dun -map: beach_dun2 -map: beach_dun3 -map: cmd_fild01 -map: cmd_fild02 -map: cmd_fild03 -map: cmd_fild04 -map: cmd_fild05 -map: cmd_fild06 -map: cmd_fild07 -map: cmd_fild08 -map: cmd_fild09 -map: cmd_in01 -map: cmd_in02 -map: comodo - -//---EP3.1 Quiz Revolution --- - -map: quiz_00 -map: quiz_01 -map: g_room1-1 -map: g_room1-2 -map: g_room1-3 -map: g_room2 - -//--- Ep4.0 Turtle Island --- - -map: tur_dun01 -map: tur_dun02 -map: tur_dun03 -map: tur_dun04 -map: tur_dun05 -map: tur_dun06 - -//--- Ep4.1 The War of Emperium --- - -map: alde_gld -map: aldeg_cas01 -map: aldeg_cas02 -map: aldeg_cas03 -map: aldeg_cas04 -map: aldeg_cas05 -map: gefg_cas01 -map: gefg_cas02 -map: gefg_cas03 -map: gefg_cas04 -map: gefg_cas05 -map: gld_dun01 -map: gld_dun02 -map: gld_dun03 -map: gld_dun04 -map: guild_room -map: guild_vs1 -map: guild_vs2 -map: guild_vs3 -map: guild_vs4 -map: guild_vs5 -map: guild_vs1-1 -map: guild_vs1-2 -map: guild_vs1-3 -map: guild_vs1-4 -map: guild_vs2-1 -map: guild_vs2-2 -//map: job_hunter -map: job_hunte -//map: job_knight -map: job_knt -//map: job_priest -map: job_prist -map: job_sword1 -//map: job_wizard -map: job_wiz -map: pay_gld -map: payg_cas01 -map: payg_cas02 -map: payg_cas03 -map: payg_cas04 -map: payg_cas05 -map: prt_gld -map: prtg_cas01 -map: prtg_cas02 -map: prtg_cas03 -map: prtg_cas04 -map: prtg_cas05 - - -//--- Ep5.0 Yuno --- - -map: alde_alche -map: in_rogue -map: job_cru -map: job_duncer -map: job_monk -map: job_sage -map: mag_dun01 -map: mag_dun02 -map: monk_test -map: quiz_test -map: yuno -map: yuno_fild01 -map: yuno_fild02 -map: yuno_fild03 -map: yuno_fild04 -map: yuno_in01 -map: yuno_in02 -map: yuno_in03 -map: yuno_in04 -map: yuno_in05 - -//--- Ep6.0 - Amatsu --- -// Requires: kRO 08-10-03 or newer -// or kRO Sakray 09-09-03 or newer - -map: ama_dun01 -map: ama_dun02 -map: ama_dun03 -map: ama_fild01 -map: ama_in01 -map: ama_in02 -map: ama_test -map: amatsu - -//--- Ep6.1 - Gon Ryun --- - -map: gon_dun01 -map: gon_dun02 -map: gon_dun03 -map: gon_fild01 -map: gon_in -map: gon_test -map: gonryun -map: sec_in01 -map: sec_in02 -map: sec_pri - -//--- Ep6.2 - Umbala --- -// Requires: kRO 01-27-04 or newer -// or kRO Sakray 12-02-03 or newer -// or Akaru's SuperGRF 1.22 or newer -map: umbala -map: um_dun01 -map: um_dun02 -map: um_fild01 -map: um_fild02 -map: um_fild03 -map: um_fild04 -map: um_in - -//--- Ep6.3 - Niflheim --- -// Requires: kRO 02-23-04 or newer -// or kRO Sakray 01-09-04 or newer -// or Akaru's SuperGRF 1.32 or newer -map: niflheim -map: nif_fild01 -map: nif_fild02 -map: nif_in -map: yggdrasil01 - -//--- Ep6.4 - Valkyrie --- -// Requires: kRO ??-??-04 or newer -// or kRO Sakray 02-03-04 or newer -// or Akaru's SuperGRF 1.34 or newer -map: valkyrie -map: himinn - -//--- Ep6.5 - Castle of Dragon (LouYang) --- -// Requires kRO Sakray 03-30 or newer -//(Akaru's SuperGRF required version: 1.52) -map: lou_in01 -map: lou_in02 -map: lou_dun03 -map: lou_dun02 -map: lou_dun01 -map: lou_fild01 -map: louyang - -//--- Ep6.6 - Novice Guild Siege --- -//Requires kRO Sakray 04-07 or newer -//(Akaru's SuperGRF required version: 1.53) -//map: siege_test -map: n_castle -map: nguild_gef -map: nguild_prt -map: nguild_pay -map: nguild_alde - -//--- Ep6.7 - Jawaii --- -//Requires kRO Sakray 06-22 or newer -//(Akaru's SuperGRF required version: 1.63) -map: jawaii -map: jawaii_in - -// --- Ep6.8 - Geffenia --- -// Requires kRO Sakray 07-13 or newer -// (Akaru's SuperGRF required version: 1.64) -map: gefenia01 -map: gefenia02 -map: gefenia03 -map: gefenia04 - -// --- Ep6.9 - New Payon --- -// Requires kRO Sakray 09-03 -// -- dunno -- -map: payon -map: payon_in01 -map: payon_in02 -map: payon_in03 -//same names as old maps except that payon_in03 got added - -// --- Ep? - Ayothaya --- -// Requires kRO Sakray 09-21 -// -- 2004-10-19sdata_k.gpf -- -map: ayothaya -map: ayo_in01 -map: ayo_in02 -map: ayo_fild01 -map: ayo_fild02 -map: ayo_dun01 -map: ayo_dun02 - -// --- God item quests maps --- -// -- 2004-10-12sdata_k3.gpf -- -map: que_god01 -map: que_god02 - -// --- Ep? - Schwarzwald Republic --- -// -- 2004-12-28sdata_k.gpf -- -map: yuno_fild05 -map: yuno_fild07 -map: yuno_fild08 -map: yuno_fild09 -map: yuno_fild11 -map: yuno_fild12 - -// --- Turbo Track Arena --- -// -- 2005-03-08sdata_k.gpf -- -map: alde_tt02 -map: turbo_n_1 -map: turbo_n_4 -map: turbo_n_8 -map: turbo_n_16 -map: turbo_e_4 -map: turbo_e_8 -map: turbo_e_16 -map: turbo_room - -// --- Einbroch/Einbech --- -// -- 2005-03-15sdata_k.gpf -- -map: airplane -map: airport -map: einbech -map: einbroch -map: ein_dun01 -map: ein_dun02 -map: ein_fild06 -map: ein_fild07 -map: ein_fild08 -map: ein_fild09 -map: ein_fild10 -map: ein_in01 -map: que_sign01 -map: que_sign02 - -// --- Einbroch and Lightalzen --- -// -- 2005-05-10sdata_k.gpf -- -map: ein_fild03 -map: ein_fild04 -map: lhz_fild02 -map: lhz_fild03 - -// --- Lighthalzen and Juperos Dungeon --- -// -- 2005-06-14sdata_k.gpf -- -map: yuno_pre -map: lhz_fild01 -map: lighthalzen -map: lhz_in01 -map: lhz_in02 -map: lhz_in03 -map: lhz_que01 -map: lhz_dun01 -map: lhz_dun02 -map: lhz_dun03 -map: lhz_cube -map: juperos_01 -map: juperos_02 -map: jupe_area1 -map: jupe_area2 -map: jupe_core -map: jupe_ele -map: jupe_ele_r -map: jupe_gate - -// --- Lighthalzen & Juno Airport --- -// -- resnametable clones of airport and airplane -- -map: y_airport -map: lhz_airport -map: airplane_01 - -// --- Juperos Dungeon --- -// -- 2005-06-28sdata_k.gpf -- -map: jupe_cave - -// --- Quiz Revolution --- -// -- 2005-08-02sdata_k.gpf -- -map: quiz_02 - -// --- Hugel Field --- -// -- 2005-08-23sdata_k.gpf -- -map: hu_fild07 -map: hu_fild05 -map: hu_fild04 -map: hu_fild01 -map: yuno_fild06 - -// --- Star Knight And Soul Linker Job Change Maps --- -// -- 2005-08-23sdata_k.gpf -- -map: job_soul -map: job_star - -// --- Abyss Lake, Thanatos Tower -- -// -- 2005-09-13sdata_k.gpf - 2005-09-13sdata_k6.gpf -- -map: que_job01 -map: que_job02 -map: que_job03 -map: abyss_01 -map: abyss_02 -map: abyss_03 -map: thana_step -map: thana_boss -map: tha_scene01 -map: tha_t01 -map: tha_t02 -map: tha_t03 -map: tha_t04 -map: tha_t07 -map: tha_t05 -map: tha_t06 -map: tha_t08 - -// --- Thanatos Tower --- -// -- 2005-09-21sdata_k.gpf -- -map: tha_t09 -map: tha_t10 -map: tha_t11 -map: tha_t12 - -// --- Auction Market --- -// -- 2005-11-29sdata_k.gpf -- -map: auction_01 -map: auction_02 - -// ??? -// -- 2005-12-06gdata_k.gpf -map: alde_tt03 - -// --- Garden City Hugel / Kiehl --- -// -- 2005-12-20sdata_k.gpf -- -map: hugel -map: hu_in01 -map: que_bingo -map: que_hugel -map: p_track01 -map: p_track02 -map: odin_tem01 -map: odin_tem02 -map: odin_tem03 -map: hu_fild02 -map: hu_fild03 -map: hu_fild06 -map: ein_fild01 -map: ein_fild02 -map: ein_fild05 -map: yuno_fild10 -map: kh_kiehl02 -map: kh_kiehl01 -map: kh_dun02 -map: kh_dun01 -map: kh_mansion -map: kh_rossi -map: kh_school -map: kh_vila - -// --- Poring Arena (?) & Gunslinger/Ninja Job Map --- -// -- 2006-03-28sdata_k.gpf -- -//map: poring_c01 -//map: poring_c02 -map: que_ng - -// --- Arunafeltz & Ice Dungeon --- -// -- 2006-05-30sdata_k.gpf -- -map: rachel -map: ra_in01 -map: ra_fild01 -map: ra_fild02 -map: ra_fild03 -map: ra_fild04 -map: ra_fild05 -map: ra_fild06 -map: ra_fild07 -map: ra_fild08 -map: ra_fild09 -map: ra_fild10 -map: ra_fild11 -map: ra_fild12 -map: ra_fild13 -map: ra_san01 -map: ra_san02 -map: ra_san03 -map: ra_san04 -map: ra_san05 -map: ra_temin -map: ra_temple -map: ra_temsky -map: que_rachel -map: que_san04 -map: ice_dun01 -map: ice_dun02 -map: ice_dun03 -map: ice_dun04 - -// --- Veins & Thor Dungeon --- -// -- 2006-12-19sdata_k.gpf -- -map: que_thor -map: thor_camp -map: thor_v01 -map: thor_v02 -map: thor_v03 -map: veins -map: ve_in -map: ve_in02 -map: ve_fild01 -map: ve_fild02 -map: ve_fild03 -map: ve_fild04 -map: ve_fild05 -map: ve_fild06 -map: ve_fild07 - -// --- Nameless Island & Abbey Dungeon --- -// -- 2007-04-03sdata_k.gpf -map: nameless_i -map: nameless_n -map: nameless_in -map: abbey01 -map: abbey02 -map: abbey03 -map: poring_w01 -map: poring_w02 - -// --- ??? --- -// -- 2007-??-?? -map: 06guild_r -map: 06guild_01 -map: 06guild_02 -map: 06guild_03 -map: 06guild_04 -map: 06guild_05 -map: 06guild_06 -map: 06guild_07 -map: 06guild_08 -map: z_agit -map: que_temsky -map: itemmall -map: bossnia_01 -map: bossnia_02 -map: bossnia_03 -map: bossnia_04 - -// --- Moscovia --- -// -- 2007-06-??? -map: moscovia -map: mosk_in -map: mosk_ship -map: mosk_fild01 -map: mosk_fild02 -map: mosk_dun01 -map: mosk_dun02 -map: mosk_dun03 -map: mosk_que - -// --- Episode 12: Satan Morroc & Schwaltzvalt Seige --- -// -- 2007-09-19sdata_k.gpf -map: schg_cas01 -map: schg_cas02 -map: schg_cas03 -map: schg_cas04 -map: schg_cas05 -map: sch_gld -map: cave -map: moc_fild20 -map: moc_fild21 -map: moc_fild22 -map: que_ba -map: que_moc_16 -map: que_moon - -// Arunafeltz Seige -// -- 2007-10-24sdata_k.gpf -map: arug_cas01 -map: arug_cas02 -map: arug_cas03 -map: arug_cas04 -map: arug_cas05 -map: aru_gld - -// PVP Battle Fields: Tierra Valley, and Frebeus -// -- 2007-11-14sdata_k.gpf -map: bat_room -map: bat_a01 -map: bat_a02 -map: bat_b01 -map: bat_b02 -map: que_qsch01 -map: que_qsch02 -map: que_qsch03 -map: que_qsch04 -map: que_qsch05 -map: que_qaru01 -map: que_qaru02 -map: que_qaru03 -map: que_qaru04 -map: que_qaru05 - -// Memorial Dungeon -// -- 2007-11-28sdata_k.gpf -map: 1@cata -map: 2@cata -map: e_tower -map: 1@tower -map: 2@tower -map: 3@tower -map: 4@tower -map: 5@tower -map: 6@tower - -// 13.1 Another World -// -- 2008-05-28sdata_k.gpf -map: mid_camp -map: mid_campin -map: man_fild01 -map: man_fild03 -map: spl_fild02 -map: spl_fild03 -map: moc_fild22b -map: que_dan01 -map: que_dan02 -map: schg_que01 -map: schg_dun01 -map: arug_que01 -map: arug_dun01 -map: 1@orcs -map: 2@orcs - -// Additional Battleground. -// -- 2008-??-??? -map: bat_c01 -map: bat_c02 -map: bat_c03 - -// 13.2 Another World -// -- 2008-11-26 -map: 1@nyd -map: 2@nyd -map: nyd_dun01 -map: nyd_dun02 -map: manuk -map: man_fild02 -map: man_in01 -map: splendide -map: spl_fild01 -map: spl_in01 -map: spl_in02 - -// 3rd Job Maps -// -- 2009-01-29rdata_k2.gpf -map: job3_arch01 -map: job3_arch02 -map: job3_arch03 -map: job3_guil01 -map: job3_guil02 -map: job3_guil03 -map: job3_rang01 -map: job3_rang02 -map: job3_rune01 -map: job3_rune02 -map: job3_rune03 -map: job3_war01 -map: job3_war02 -map: jupe_core2 - -// ??? -// -- 2009-05-27rdata_k.gpf -map: moc_para01 - -// Brasilis Maps -// -- 2009-08-05rdata_k.gpf -map: brasilis -map: bra_in01 -map: bra_fild01 -map: bra_dun01 -map: bra_dun02 - -// ??? -// -- 2009-09-30rdata_k.gpf -map: s_atelier - -// 13.3 El Discastes -// -- 2009-12-09rdata_k.gpf -map: dicastes01 -map: dicastes02 -map: dic_in01 -map: dic_fild01 -map: dic_fild02 -map: dic_dun01 -map: dic_dun02 -map: job3_gen01 -map: job3_sha01 - -// Localized Event Maps -//map: evt_zombie -//map: evt_coke - -// Unknown Maps -//ac_sl_area -//ac_cl_hall -//ac_cl_room -//jp_s_dun11 - -// 14.1 Bifrost -// -- 2010-06-09rdata_x.gpf -map: mora -map: bif_fild01 -map: bif_fild02 -map: 1@mist - -// Dewata Maps -// -- 2010-09-15rdata_x.gpf -map: dewata -map: dew_in01 -map: dew_fild01 -map: dew_dun01 -map: dew_dun02 - -// ??? -// -- 2010-10-06rdata_x.gpf -map: que_house_s - -// Malangdo Maps -// -- 2010-11-03rdata_x.gpf -map: malangdo -map: mal_in01 -map: mal_in02 -map: mal_dun01 -map: 1@pump -map: 2@pump -map: 1@cash - -// Undersea Tunnel Expansion -// -- 2010-11-10rdata_x.gpf -map: iz_dun05 - -// ??? -// -- 2010-12-01data_x.gpf -map: evt_mobroom - -// ??? -map: dic_dun03 -//map: mjolnir_04_1 -//map: evt_swar_b -//map: evt_swar_r -//map: evt_swar_s -//map: evt_swar_t - -// Lighthalzen Dungeon F4, Wolfchev's Laboratory -// -- 2011-03-16rdata_x.gpf -map: 1@lhz -map: lhz_dun04 -map: que_lhz - -// Hall Of Abyss -// -- 2011-06-15data_x.gpf -map: gld_dun01_2 -map: gld_dun02_2 -map: gld_dun03_2 -map: gld_dun04_2 -map: gld2_ald -map: gld2_gef -map: gld2_pay -map: gld2_prt - -// Malaya Port -// -- 2011-08-30data_x.gpf -map: malaya -map: ma_fild01 -map: ma_fild02 -map: ma_scene01 -map: ma_in01 -map: ma_dun01 -map: 1@ma_h -map: 1@ma_c -map: 1@ma_b -map: ma_zif01 -map: ma_zif02 -map: ma_zif03 -map: ma_zif04 -map: ma_zif05 -map: ma_zif06 -map: ma_zif07 -map: ma_zif08 -map: ma_zif09 -map: job_ko - -// 14.2 Eclage -// -- 2011-11-30data_x.gpf -map: eclage -map: ecl_fild01 -map: ecl_in01 -map: ecl_in02 -map: ecl_in03 -map: ecl_in04 -map: 1@ecl -map: ecl_tdun01 -map: ecl_tdun02 -map: ecl_tdun03 -map: ecl_tdun04 -map: ecl_hub01 -map: que_avan01 - -// Pyramids Basement Nightmare Mode -map: moc_prydn1 -map: moc_prydn2 - -// =============================== -// New Maps added 2013-02-10 (Thanks Streusel!) -// Credits to Baneado for reporting some -// =============================== -// Izlude Novice Academy & Tutorial -map: iz_int -map: iz_int01 -map: iz_int02 -map: iz_int03 -map: iz_int04 -map: iz_ac01 -map: iz_ac02 -map: iz_ng01 -map: treasure_n1 -map: treasure_n2 -map: iz_ac01_d -map: iz_ac02_d -map: iz_ac01_c -map: iz_ac02_c -map: iz_ac01_b -map: iz_ac02_b -map: iz_ac01_a -map: iz_ac02_a -map: izlude_d -map: izlude_c -map: izlude_b -map: izlude_a - -map: prt_fild08d -map: prt_fild08c -map: prt_fild08b -map: prt_fild08a - -// War of Emperium - Third Edition (TE) -map: te_prt_gld -map: te_prtcas01 -map: te_prtcas02 -map: te_prtcas03 -map: te_prtcas04 -map: te_prtcas05 -map: teg_dun01 -map: teg_dun02 -map: te_alde_gld -map: te_aldecas1 -map: te_aldecas2 -map: te_aldecas3 -map: te_aldecas4 -map: te_aldecas5 - -// Glast Heim Memorial & Nightmare -map: gl_cas02_ -map: gl_chyard_ -map: 1@gl_k -map: 2@gl_k - -map: silk_lair -map: evt_bomb - -// Wave Mode Memorial Dungeon -map: 1@def01 -map: 1@def02 -map: 1@def03 - -// Heroes' Trails - Part 1 -map: 1@face -map: 1@sara -map: 1@tnm1 -map: 1@tnm2 -map: 1@tnm3 -map: 1@ge_st -map: 1@gef -map: 1@gef_in -map: 1@spa -map: dali -map: dali02 - -// Episode 14.3 -map: moro_vol -map: moro_cav -map: 1@dth1 -map: 1@dth2 -map: 1@dth3 -map: 1@rev -map: 1@xm_d -map: 1@eom -map: 1@jtb - -// Clock Tower Nightmare Mode -map: c_tower2_ -map: c_tower3_ - -//------------------------- Clone Maps --------------------------- -//------------------------- Extra Maps --------------------------- - -// Ragnarok World Championship 2004 -// Requires: RWC 2004 Client -// or Akaru's SuperGRF 1.64 or newer -//map: rwc01 -//map: rwc02 -//map: rwc03 - -// Ragnarok World Championship 2009 -// Requires: RWC 2009 Map files -//map: 2009rwc_f01 -//map: 2009rwc_01 -//map: 2009rwc_02 -//map: 2009rwc_03 -//map: 2009rwc_04 - -// Ragnarok World Championship 2008? -// Requires: RWC 2008 Map files? -//map: 2008rwc_04 - -//Christmas & Sakura Special -//Requires Akaru's SuperGRF 1.1 or newer -//map: prontera_x -//map: alberta_x -//map: aldebaran_x -//map: geffen_x -//map: izlude_x -//map: prt_church_x -//map: prontera_s -//map: pay_arche_s - -//Fenced Lutie -//Requires Akaru's SuperGRF 1.23 or newer -//map: xmas_old - -//Alpha Maps -//Requires adata.grf containing alpha maps and data -//map: fay_vilg00 -//map: fay_vilg01 -//map: gef_vilg00 -//map: gef_vilg01 -//map: moc_dugn01 -//map: moc_dugn02 -//map: moc_fild01 -//map: moc_fild02 -//map: moc_fild03 -//map: moc_fild04 -//map: moc_intr00 -//map: moc_intr01 -//map: moc_intr02 -//map: moc_intr04 -//map: moc_vilg00 -//map: moc_vilg01 -//map: moc_vilg02 -//map: probemap -//map: probemap02 -//map: prt_cstl01 -//map: prt_dugn00 -//map: prt_dugn01 -//map: prt_fild00 -//map: prt_fild01 -//map: prt_fild03 -//map: prt_fild04 -//map: prt_fild05 -//map: prt_intr01 -//map: prt_intr01_a -//map: prt_intr02 -//map: prt_vilg00 -//map: prt_vilg01 -//map: prt_vilg02 -//map: tank_test -//map: tank_test2 -//map: test diff --git a/conf/packet.conf b/conf/packet.conf deleted file mode 100644 index 1780d1b4c..000000000 --- a/conf/packet.conf +++ /dev/null @@ -1,80 +0,0 @@ -//===== Hercules Sockets Configuration ======================= -//= Hercules Sockets Configuration File -//===== Translated by: ======================================= -// Davidsiaw -//============================================================ - -// Display debug reports (When something goes wrong during the report, the report is saved.) -debug: no - -// How long can a socket stall before closing the connection (in seconds)? -stall_time: 60 - -// Linux/Epoll: Maxmimum Events per cycle -// Default Value: -// (Maxmimum Supported Connections)/2 -// NOTE: this controls the maximum collected socket-events per-cycle (call to epoll_wait()) -// for example settings this to 32 will allow up to 32 events (incomming data/new connections -// per server-cycle. -// NOTE: Recommended Settings is at least half the maxmimum supported connections -// Settings this to a lower value, may cause lags/delays -// Depending on available CPU Time -// NOTE: This Setting is only available on Linux when build using EPoll as event dispatcher! -// -//epoll_maxevents: 1024 - -// Maximum allowed size for clients packets in bytes (default: 65535). -// Default Values: -// 24576 (Clients < 20131223) -// 65535 (Clients >= 20131223) -// NOTE: To reduce the size of reported packets, lower the values of defines, which -// have been customized, such as MAX_STORAGE, MAX_GUILD_STORAGE or MAX_CART. -// NOTE: Do not modify this setting, unless the client has been modified to support -// larger packets. The client will crash, when it receives larger packets. -//socket_max_client_packet: 65535 - -//----- IP Rules Settings ----- - -// If IP's are checked when connecting. -// This also enables DDoS protection. -enable_ip_rules: yes - -// Order of the checks -// deny,allow : Checks deny rules, then allow rules. Allows if no rules match. -// allow,deny : Checks allow rules, then deny rules. Allows if no rules match. -// mutual-failure : Allows only if an allow rule matches and no deny rules match. -// (default is deny,allow) - -order: deny,allow -// order: allow,deny -// order: mutual-failture - -// IP rules -// allow : Accepts connections from the ip range (even if flagged as DDoS) -// deny : Rejects connections from the ip range -// The rules are processed in order, the first matching rule of each list (allow and deny) is used - -// allow: 127.0.0.1 -// allow: 192.168.0.0/16 -// allow: 10.0.0.0/255.0.0.0 -// allow: all - -// deny: 127.0.0.1 - -//---- DDoS Protection Settings ---- -// If ddos_count connection request are made within ddos_interval msec, it assumes it's a DDoS attack - -// Consecutive attempts interval (msec) -// (default is 3000 msecs, 3 seconds) -ddos_interval: 3000 - -// Consecutive attempts trigger -// (default is 5 attemps) -ddos_count: 5 - -// The time interval after which the threat of DDoS is assumed to be gone. (msec) -// After this amount of time, the DDoS restrictions are lifted. -// (default is 600000 msecs, 10 minutes) -ddos_autoreset: 600000 - -import: conf/import/packet_conf.txt diff --git a/conf/readme.txt b/conf/readme.txt index 3323b5689..28ff254b6 100644 --- a/conf/readme.txt +++ b/conf/readme.txt @@ -9,12 +9,12 @@ How does this work? ------------------------------------------------------------------------------- Place only the settings you have changed in the import files. -For example, if you want to change a value in conf/battle/exp.conf: +For example, if you want to change a value in conf/map/battle/exp.conf: // Rate at which exp. is given. (Note 2) base_exp_rate: 700 -You could instead copy the setting into conf/import/battle_conf.txt, +You could instead copy the setting into conf/import/battle.conf, and you'll eliminate any problems updating in the future. Neat, isn't it? diff --git a/conf/script.conf b/conf/script.conf deleted file mode 100644 index 1512aa15a..000000000 --- a/conf/script.conf +++ /dev/null @@ -1,28 +0,0 @@ -//-------------------------------------------------------- -// Hercules Script Configuration File -//-------------------------------------------------------- - -warn_func_mismatch_paramnum: yes - -check_cmdcount: 655360 - -check_gotocount: 2048 - -// Default value of the 'min' argument of the script command 'input'. -// When the 'min' argument isn't provided, this value is used instead. -// Defaults to 0. -//input_min_value: 0 - -// Default value of the 'max' argument of the script command 'input'. -// When the 'max' argument isn't provided, this value is used instead. -// Defaults to INT_MAX. -//input_max_value: 2147483647 -input_max_value: 10000000 - -// Specifies whether or not each built-in function's arguments are checked for -// correct type. When a function is given an argument different from what it -// expects, a warning is thrown before the function is ran anyway. -// Default: yes -warn_func_mismatch_argtypes: yes - -import: conf/import/script_conf.txt |