⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.txt

📁 RO游戏服务器最新代码,直接运行即可.数据库采用mysql
💻 TXT
📖 第 1 页 / 共 2 页
字号:
	//How much to preserve of the previous Job in %?
	//(25% means that if you change at Lv100, you will become a Lv25 upon swap)
	set $@kejs_preserve1ST,50;	//among 1st jobs
	set $@kejs_preserve2ND,0;	//among 2nd jobs
	end;
	//-------------------------------------------------------------------------------
	//Config for the Refining Module
	//-------------------------------------------------------------------------------
OnLoadRefine:
	set $@kerf_maxLv,10;	//Max refinement level for equipment
	set $@kerf_safe,0;	//Set to 1 to enable 100% safe refinement.
	set $@kerf_showChance,0;	//Set to 1 to see the refine Success Chance
	set $@kerf_refineAll,0;	//Set to 1 to enable refinement of anything (ie: accesories)
	set $@kerf_discount,0;	//Discount % rate for forging when Kafra Pass is active.
	set $@kerf_armorCost,2000;	//Cost to refine armor (default 2000z)
	set $@kerf_weaponLv1Cost,50;	//Cost to refine lv1 weapons (default 50z)
	set $@kerf_weaponLv2Cost,200;	//Cost to refine lv2 weapons (default 200z)
	set $@kerf_weaponLv3Cost,5000;	//Cost to refine lv3 weapons (default 5000z)
	set $@kerf_weaponLv4Cost,20000;	//Cost to refine lv4 weapons (default 20000z)
	set $@kerf_purifyAll,0;	//Set to 1 to enable purifying elemental stones and the like
	set $@kerf_repairCost,10000;	//Cost to repair broken equipment.
	set $@kerf_repairDiscount,25;	//Discount % rate for repairing when Kafra Pass is active
	set $@kerf_repairSteel,1;	//Set to 1 to make repairing equipment require 1 Steel.
	end;
	//-------------------------------------------------------------------------------
	//Config for the Renting Module
	//-------------------------------------------------------------------------------	
OnLoadRent:
	set $@kert_cartOnly, 0;	//Set to 1 to enable only cart rental, 0 enables all add-ons.
	set $@kert_cartCost, 1000;	//Cost to rent a Cart.
	set $@kert_falconCost, 2000;	//Cost to rent a Falcon.
	set $@kert_pecoCost, 2000;	//Cost to rent a PecoPeco.
	end;
	//-------------------------------------------------------------------------------
	//Config for the Kafra Shop Module
	//-------------------------------------------------------------------------------
OnLoadShop:
	set $@kesh_towntype, 0; //Town shop type (1: buy, 2: sell, Other: both)
	set $@kesh_duntype, 2; //Dungeon shop type (1: buy, 2: sell, Other: both)
	set $@kesh_townshop$, "ke_townshop"; //Name of town shop to invoke.
	set $@kesh_dunshop$, "ke_dunshop"; //Name of dungeon shop to invoke.
	end;
	//-------------------------------------------------------------------------------
	//Config for the Stat Market Module
	//-------------------------------------------------------------------------------	
OnLoadStatMarket:
	set $@kesm_stBuyPrice,10000;	//Cost of buying stat points
	set $@kesm_stSellPrice,0;	//Return cash for selling stat points
	set $@kesm_skBuyPrice,1000000;	//Cost of buying skill points
	set $@kesm_skSellPrice,50000;	//Return cash for selling skill points
	set $@kesm_skTradePrice, 20; //Stats needed to trade for a skill.	(Stat->Skill)
	set $@kesm_stTradePrice, 15; //Stats received per Skill traded. (Skill->Stat)
	set $@kesm_discount,0;	//Discount % applied when buying if Kafra Pass is active
	end;
	//-------------------------------------------------------------------------------
	//Config for the Stats Reset/Raising Module
	//-------------------------------------------------------------------------------
OnLoadStats:
	set $@kest_stResetCost,50000;	//Cost to reset stats
	set $@kest_skResetCost,50000;	//Cost to reset skills
	set $@kest_resetCost,75000;	//Cost to reset both
	set $@kest_BaseLvCost,25000;	//Additional cost per base level to reset stats
	set $@kest_JobLvCost,25000;		//Additional cost per job level to reset skills
	set $@kest_BothLvCost,20000;	//Additional cost per base+job level to reset both

	set $@kest_discount,15;	//Discount % to be applied when Kafra Pass is active.
	set $@kest_resetBasic,0;	//Set to 1 if you want basic skills resetted as well.
	end;
	//-------------------------------------------------------------------------------
	//Config for the Uncarding Module
	//-------------------------------------------------------------------------------
OnLoadUncard:
	set $@keuc_BaseCost, 100000;	//Base Cost
	set $@keuc_CardCost, 25000;	//Extra Cost per Card
	set $@keuc_UpgradeCostA, 1000;	//Extra Cost per Upgrade, Armor
	set $@keuc_UpgradeCostW1, 1000;	//Extra Cost per Upgrade, Weapons Lv1
	set $@keuc_UpgradeCostW2, 2000;	//Extra Cost per Upgrade, Weapons Lv2
	set $@keuc_UpgradeCostW3, 3000;	//Extra Cost per Upgrade, Weapons Lv3
	set $@keuc_UpgradeCostW4, 5000;	//Extra Cost per Upgrade, Weapons Lv4
	set $@keuc_discount, 10;	//% Discount when using a Kafra Pass
	set $@keuc_Mat1,1000;	//Material #1 needed (Star Crumb)
	set $@keuc_Qty1,1;		//Qty of material #1 needed (use 0 to disable)
	set $@keuc_Mat2,715;	//Material #2 needed (Yellow Gemstone)
	set $@keuc_Qty2,1;	//Qty of material #2 needed (use 0 to disable)
	
	//Failure Chances. 1000 = 100.0%, set to 0 to disable failing chance.
	set $@keuc_Fail0Chance, 250;	//Chance of harmless failure
	set $@keuc_Fail1Chance, 100;	//Chance of losing item OR card
	set $@keuc_Fail2Chance, 25;	//Chance of losing both
	end;
	//-------------------------------------------------------------------------------
	//Config for the Town Warps Module
	//-------------------------------------------------------------------------------
OnLoadWarpTown:
	set $@kewt_showOnline,1;	//Set to 1 to show online count on cities
	set $@kewt_cost, 1000;	//Cost of warping to a town
	set $@kewt_niflCost, 5000;	//Cost of warping to Niflheim
	set $@kewt_travel, 0;	//Traveller's Mode type for towns:
		//0: Disabled (normal warping)
		//1: You can only warp to towns you've been before (per character basis)
		//2: You can only warp to towns you've been before (per account basis)
	set $@kewt_free, 0;	//Set to 1 to let people warp to towns even when poor
	set $@kewt_discount, 100;	//Discount % to apply when the Kafra Pass is active (towns)
	end;
	//-------------------------------------------------------------------------------
	//Config for the Dungeons Warps Module
	//-------------------------------------------------------------------------------
OnLoadWarpDungeon:
	set $@kewd_showOnline,0;	//Set to 1 to show online count on dungeons
	set $@kewd_discount, 50;	//Discount % to apply when the Kafra Pass is active
	set $@kewd_travel, 0;	//Traveller's mode type for dungeons:
		//0: Disabled (normal warping)
		//1: You can only warp to dungeons you've been before (per character basis)
		//2: You can only warp to dungeons you've been before (per account basis)
	set $@kewd_deep, 1; //If 1, people can warp to all levels of dungeons.
	                    //If 0, people can only warp to the entrance of dungeons.
	
	//Variables for Deep Warping
	set $@kewd_levelCost, 30;	// cost % increase for warping to floors deep into the dungeon
	set $@kewd_entryDiscount, 25;	//Discount % when using the Kafra right next to the dungeon one is warping into
	
	//Variables for Short Warping
	set $@kewd_turtleCave,0; //If 1, Turtle Island's warp leads to the
	                         //entrance of the cave, not the Island's shore.

	//Dungeon Costs
	set $@kewd_abyssLake,3250;	//Abyss Lake base cost
	set $@kewd_amatsu,2500;	//Amatsu Dungeon base cost
	set $@kewd_antHell,750;	//Anthell base cost
	set $@kewd_ayothaya,2000;	//Ayothaya Dungeon base cost
	set $@kewd_byalan,1000;	//Byalan base cost
	set $@kewd_comodo,1500;	//Comodo Caves base cost
	set $@kewd_clockTower,2250;	//Clock Tower base cost
	set $@kewd_coalMines,1000;	//Coal Mines base cost
	set $@kewd_culvert,0500;	//Prontera Culvert base cost
	set $@kewd_einbech,2250;	//Einbech Mines base cost
	set $@kewd_gefenia,7000;	//Gefenia base cost
	set $@kewd_geffen,1500;	//Geffen Dungeon base cost
	set $@kewd_glastHeim,2500;	//Glast Heim base cost
	set $@kewd_gonRyun,2250;	//Gonryun Dungeon base cost
	set $@kewd_hiddenTemple,750;	//Hidden Temple base cost
	set $@kewd_juperos,3750;	//Juperos base cost
	set $@kewd_kiehl,3400;	//Kiehl Doll Factory base cost
	set $@kewd_iceCave,3750;	//Ice Cave base cost
	set $@kewd_lightHalzen,4500;	//LightHalzen Rekkenber base cost
	set $@kewd_louYang,2500;	//Louyang Dungeon base cost
	set $@kewd_magma,3000;	//Magma Dungeon base cost
	set $@kewd_odin,2750;	//Odin Temple base cost
	set $@kewd_orc,1000;	//Orc Dungeon base cost
	set $@kewd_payon,1000;	//Payon Dungeon base cost
	set $@kewd_pyramid,2000;	//Pyramids base cost
	set $@kewd_rachel,3000;	//Rachel Sanctuary base cost
	set $@kewd_sphinx,1750;	//Sphinx base cost
	set $@kewd_sunkenShip,1250;	//Sunken Ship base cost
	set $@kewd_thanatosTower,3250;	//Thanatos Tower base cost
	set $@kewd_toyFactory,1250;	//Toy Factory base cost
	set $@kewd_turtleIsland,3250;	//Turtle Island base cost
	set $@kewd_umbala,1750;	//Umbala Dungeon base cost
	end;
	//-------------------------------------------------------------------------------
	//Config for the Pvp Warps Module
	//-------------------------------------------------------------------------------
OnLoadWarpPvp:
	set $@kewp_showOnline,1;	//Set to 1 to show online count on pvp maps
	set $@kewp_advanced,0; //Set to 0 to enable a single group of pvp rooms
	                       //(no level restrictions, kewp_cost is used)
	set $@kewp_cost, 1000; //Cost for Free For All (no level restrictions)
	
	if ($@kewp_advanced == 0)	//Don't touch
		end;
	
	set $@kewp_cost1, 100; //Cost of warping to a pvp arena, lvls group 1
	set $@kewp_cost2, 250; //Cost for lvls group 2
	set $@kewp_cost3, 500; //Cost for lvls group 3
	set $@kewp_cost4, 1000; //Cost for lvls group 4
	set $@kewp_cost5, 2000; //Cost for lvls group 5
	set $@kewp_cost6, 4000; //Cost for lvls group 6
	set $@kewp_cost7, 8000; //Cost for lvls group 7
	set $@kewp_baseLv1, 35; //Level required for pvp, lv1
	set $@kewp_baseLv2, 45; //Level required for pvp, lv2
	set $@kewp_baseLv3, 55; //Level required for pvp, lv3
	set $@kewp_baseLv4, 65; //Level required for pvp, lv4
	set $@kewp_baseLv5, 75; //Level required for pvp, lv5
	set $@kewp_baseLv6, 85; //Level required for pvp, lv6
	set $@kewp_baseLv7, 95; //Level required for pvp, lv7
	set $@kewp_range, 5; //Range of levels allowed (ie: Warp to Lv1: levels 10+/-5)
	end;
	//-------------------------------------------------------------------------------
	//Config for the WoE Warps Module
	//-------------------------------------------------------------------------------
OnLoadWarpWoe:
	//Note: See ke_warp_woe.txt for instructions on how to unlock the Guild Dungeons.
	set $@kewg_check,1;	//If 0, people don't need to belong to a Guild to warp
	set $@kewg_checkAgit,1;	//If 1, you can't warp until WoE starts
	set $@kewg_showOnline,0;	//Set to 1 to show online count and Castle Status
	set $@kewg_discount,20;	//Kafra Pass discount for WoE warps

	set $@kewg_baldur, 25000;	//Guild Dungeon - Baldur
	set $@kewg_luina, 25000;	//Guild Dungeon - Luina
	set $@kewg_valkyrie, 25000;	//Guild Dungeon - Valkyrie
	set $@kewg_britoniah, 25000;	//Guild Dungeon - Britoniah

	set $@kewg_alDeBaran, 2500;	//Al De Baran Guild
	set $@kewg_geffen, 2500;	//Geffen Guild
	set $@kewg_payon, 2500;	//Payon Guild
	set $@kewg_prontera, 2500;	//Prontera Guild
	end;
	//-------------------------------------------------------------------------------
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -