Configuration adjustments to match other branches.

This commit is contained in:
MobiusDevelopment 2019-07-31 10:03:25 +00:00
parent 1bfea0f2ae
commit c704d4687a
22 changed files with 1707 additions and 1882 deletions

View File

@ -1,10 +1,11 @@
#============================================================#
# Access Level #
#============================================================#
# ---------------------------------------------------------------------------
# Access Level
# ---------------------------------------------------------------------------
# --------------------------------------
# Section: Admin Rights
# --------------------------------------
# ---------------------------------------------------------------------------
# Admin Rights
# ---------------------------------------------------------------------------
# If next switch set to true every created character will have Admin access.
EverybodyHasAdminRights = False
@ -19,9 +20,10 @@ MasterAccessLevel = 1
# Default = 0 - Max. 255
UserAccessLevel = 0
# --------------------------------------
# Section: GM Rights
# --------------------------------------
# ---------------------------------------------------------------------------
# GM Rights
# ---------------------------------------------------------------------------
# The way //admin panel looks can be "modern" or "classic"
# (default is modern while classic provides more compatibility)
GMAdminMenuStyle = modern
@ -48,11 +50,15 @@ GMStartupBuilderHide = True
# Show message when GM Login and GM will not invis/silence as default
ShowGMLogin = False
# Show the GM's name who made the announcement.
# Show the GMs name who made the announcement.
# example: "Announce: hi [GMNAME]"
# only works when you use the command //announce
AnnounceGmName = False
# Use GM name when sending critical announce.
# Default: False
CritAnnounceName = False
# Earthquake around a GM that logs in
GmLoginSpecialEffect = False

View File

@ -1,388 +0,0 @@
#==============================================================#
# AltSettings Properties #
#==============================================================#
# ------------------------
# Server Config
# ------------------------
# AutoLoot enable. True to enable, False to disable
AutoLoot = False
# If False herbs will drop on ground even if AutoLoot is enabled
AutoLootHerbs = False
# Auto loot from Raid Boss's drop
AutoLootBoss = False
# AutoLearnSkills: True to enable, False to disable
AutoLearnSkills = False
# AutoLearn DivineInspiration: True to enable, False to disable
AutoLearnDivineInspiration = False
# When you made damage to a mob and are inside this range, you will be considered as player to reward.
# Checks for party range to mob to calculate rewards(exp, items).
# Default: 1500
AltPartyRange = 1500
# Weight Limit multiplier - default 1
# If >1 - Weight Limit Double
AltWeightLimit = 1
# If XP loss (and deleveling) is enabled, default is 'true'
Delevel = True
# If disabled, magic dmg has always 100% chance of success, default is 'true'
MagicFailures = True
# Alternative cancel of attack (bow, cast, all)
AltGameCancelByHit = cast
# Alternative rules for shields - if they block, the damage is powerAtk-shieldDef,
# otherwise it's powerAttack / (shieldDef + powerDef)
AltShieldBlocks = False
# Alternative Rate Value for Perfect Shield Block Rate.
AltPerfectShieldBlockRate = 5
# Alternative AltGameMobAttackAI, like C1
AltGameMobAttackAI = False
# Alternative mob behavior in peace zones
# Default = True; Set to False to prevent mobs from auto-agro against players in peace zones
AltMobAgroInPeaceZone = True
# Alternative Freight mode. If true, freights can be withdrawed from any place.
# Also, possibility to change Freight price (in adena) for each item slot in freight.
# NOTE: AltGameFreightPrice WILL NOT change the value shown to the player, but the
# player will actually get charged for the value set in here.
AltGameFreights = True
AltGameFreightPrice = 1000
# Alternative Xp/Sp rewards, if not 0, then calculated as 2^((mob.level-player.level) / coef),
# A few examples for "AltGameExponentXp = 5." and "AltGameExponentSp = 3."
# diff = 0 (player and mob has the same level), XP bonus rate = 1, SP bonus rate = 1
# diff = 3 (mob is 3 levels above), XP bonus rate = 1.52, SP bonus rate = 2
# diff = 5 (mob is 5 levels above), XP bonus rate = 2, SP bonus rate = 3.17
# diff = -8 (mob is 8 levels below), XP bonus rate = 0.4, SP bonus rate = 0.16
AltGameExponentXp = 0
AltGameExponentSp = 0
# Use tiredness (instead of combat points)
AltGameTiredness = False
# Allow free teleportation around the world.
AltFreeTeleporting = False
# Set true for disallow recommend character twice or more a day
AltRecommend = False
# Alternative Max Recommendation Number
AltMaxRecommendationNumber = 255
# -----------------------
# Class Master
# -----------------------
# Allow Change Class with ClassMaster
AllowClassMasters = False
# Allow Upgrade Strider with ClassMaster
AllowClassMastersStriderUpdate = False
# Allow to define which class is allowed to be assigned through class master
AllowClassMastersFirstClass = True
AllowClassMastersSecondClass = True
AllowClassMastersThirdClass = True
# Config for special Class Master npc that can change players occupation
# If you need change occupation only use quest then set this to False (Default)
# Syntax: occupation number;[required item id(count)],[],...;[reward item id(count)],[],...;occupation number...
# Examples:
#
# ConfigClassMaster = 1;[57(100000)];[];2;[57(1000000)];[];3;[57(10000000)],[5575(1000000)];[6622(1)]
# 1st occupation change for 100.000 Adena (item id 57)
# 2nd occupation change for 1.000.0000 Adena (item id 57)
# 3rd occupation change for 10.000.0000 Adena (item id 57) and 1.000.000 Ancient Adena (item id 5575)
# On 3rd occupation change player will be rewarded with 1 Book of Giants (item id 6622)
#
# ConfigClassMaster = 1;[];[];2;[];[];3;[];[]
# 1st, 2nd, 3rd occupation change for free, without rewards
ConfigClassMaster = 1;[];[];2;[];[];3;[];[]
# Class Manager Handled Remotely at Level 20/40/76
AllowRemoteClassMasters = True
# Life crystal needed to learn clan skills
LifeCrystalNeeded = True
# Spell Books needed to learn skills
SpBookNeeded = True
# Books needed to enchant skills
EnchantSkillSpBookNeeded = True
# Books needed to Divine Inspiration
DivineInspirationSpBookNeeded = True
# Alternative skill learn rules:
# - all classes can learn all skills
# - skills of another class costs x2 SP
# - skills of another race costs x2 SP
# - skills of fighters/mages costs x3 SP
AltGameSkillLearn = False
# Allow player sub-class addition without checking for unique quest items.
AltSubClassWithoutQuests = False
# Restore Buffs On Subclass Change.
# IMPORTANT: It's better put it False to avoid exploit
AltRestoreEffectOnSub = False
# ----------------------
# Buffs Config
# ----------------------
# Maximum number of buffs (default = 20 + 4 Divine Inspiration in C5)
MaxBuffAmount = 20
# Maximum number of debuffs
MaxDebuffAmount = 6
# -----------------------
# Clans Config
# -----------------------
# Number of days you have to wait before :
# - joining another clan
DaysBeforeJoinAClan = 1
# - creating a new clan
DaysBeforeCreateAClan = 10
# Number of days it takes to dissolve a clan
DaysToPassToDissolveAClan = 7
# Number of days before joining a new alliance when clan voluntarily leave an alliance
DaysBeforeJoinAllyWhenLeaved = 1
# Number of days before joining a new alliance when clan was dismissed from an alliance
DaysBeforeJoinAllyWhenDismissed = 1
# Number of days before accepting a new clan for alliance when clan was dismissed from an alliance
DaysBeforeAcceptNewClanWhenDismissed = 1
# Number of days before creating a new alliance when dissolved an alliance
DaysBeforeCreateNewAllyWhenDissolved = 10
# Maximum number of clans in ally
AltMaxNumOfClansInAlly = 3
# Number of members needed to request a clan war
AltClanMembersForWar = 15
# All new characters of the same account are newbies, not only first one
AltNewCharAlwaysIsNewbie = True
# Privilege browse warehouse enables at the same time also withdraw from warehouse!
AltMembersCanWithdrawFromClanWH = False
# Remove Castle circlets after a clan lose its castle or a player leaves a clan? - default true
RemoveCastleCirclets = True
# Reputation score gained per clan member listed as top raid killers.
1stRaidRankingPoints = 1250
2ndRaidRankingPoints = 900
3rdRaidRankingPoints = 700
4thRaidRankingPoints = 600
5thRaidRankingPoints = 450
6thRaidRankingPoints = 350
7thRaidRankingPoints = 300
8thRaidRankingPoints = 200
9thRaidRankingPoints = 150
10thRaidRankingPoints = 100
UpTo50thRaidRankingPoints = 25
UpTo100thRaidRankingPoints = 12
# ------------------------
# Manor Config
# ------------------------
# Manor Refresh Time in Military hours Default 8pm (20)
AltManorRefreshTime = 20
# Manor Refresh Time for Min's, Default 00 so at the start of the hour.
AltManorRefreshMin = 00
# Manor Next Period Approve Time in Military hours Default 6am
AltManorApproveTime = 6
# Manor Next Period Approve Time for Min's, Default 00 so at the start of the hour.
AltManorApproveMin = 00
# Manor Maintenance time, Default 6 minutes.
AltManorMaintenancePeriod = 360000
# Manor Save Type. 1-Save data into db after every action;
# Default false
AltManorSaveAllActions = True
# Manor Save Period (used only if AltManorSaveAllActions = False) Default very 2 hours
AltManorSavePeriodRate = 2
# -------------------------
# Lottery Config
# -------------------------
# Initial Lottery prize
AltLotteryPrize = 50000
# Lottery Ticket Price
AltLotteryTicketPrice = 2000
# What part of Jackpot amount should receive characters who pick 5 wining numbers
AltLottery5NumberRate = 0.6
# What part of Jackpot amount should receive characters who pick 4 wining numbers
AltLottery4NumberRate = 0.2
# What part of Jackpot amount should receive characters who pick 3 wining numbers
AltLottery3NumberRate = 0.2
# How much adena receive characters who pick two or less of the winning number
AltLottery2and1NumberPrize = 200
# -------------------------------------
# Fishing Tournament
# -------------------------------------
# Enable or disable the Fishing Tournament system
AltFishChampionshipEnabled = True
# Item Id used as reward
AltFishChampionshipRewardItemId = 57
# Item count used as reward (for the 5 first winners)
AltFishChampionshipReward1 = 800000
AltFishChampionshipReward2 = 500000
AltFishChampionshipReward3 = 300000
AltFishChampionshipReward4 = 200000
AltFishChampionshipReward5 = 100000
# -------------------------------------
# Dimension Rift Config
# -------------------------------------
# Minimal party size to enter rift. Min = 2, Max = 9.
# If in rift party will become smaller all members will be teleported back
RiftMinPartySize = 5
# Number of maximum jumps between rooms allowed, after this time party will be teleported back
MaxRiftJumps = 4
# Time in ms the party has to wait until the mobs spawn when entering a room. C4 retail: 10s
RiftSpawnDelay = 10000
# Time between automatic jumps in seconds
AutoJumpsDelayMin = 480
AutoJumpsDelayMax = 600
# Time Multiplier for stay in the boss room
BossRoomTimeMultiply = 1.5
# Cost in dimension fragments to enter the rift, each party member must own this amount
RecruitCost = 18
SoldierCost = 21
OfficerCost = 24
CaptainCost = 27
CommanderCost = 30
HeroCost = 33
# On / off infinite nipples (SS/BSS)
DontDestroySS = False
# Maximum level players who can not be attacked
MaxLevelNewbie = 20
# When char lost newbie status > = value
MaxLevelNewbieStatus = 40
# NPC respawn time (default 180 seconds)
StandardRespawnDelay = 180
# Disable tutorial on new player enter into Game
# Please remember its sometimes important to novice players
# Default: False
DisableTutorial = False
# ExpertisePenalty, to disable grade penalty
# False: Players can use equip S grade at level 1.
# True: Players can't use equip S grade at level 1.
ExpertisePenalty = True
# MasteryPenalty, to disable Heavy expertise.
# True: Players like dagger or archer can't use Heavy armor.
MasteryPenalty = False
# MasteryPenalty starting level.
# Default from 20
LevelToGetPenalty = 20
# MasteryWeaponPenalty, to disable weapons expertise.
# True: Players that have not weapon mastery cannot use that weapon type.
MasteryWeaponPenality = False
# MasteryWeaponPenality starting level.
# Default from 20
LevelToGetWeaponPenalty = 20
#Augmentation Active skills start time: time in seconds that the
#players need to wait until an active augment skill is available
#once the augmented weapon is equipped. After the first time wait,
#the players will be able to use the skill with correct reuse time
#xml defined.
AugmStartReuseTime = 0
# ---------------------------------------------- #
# Npc #
# ---------------------------------------------- #
# Npc Attackable
# True: You can attack Npcs
# False: Npc/Mobs don't take damages
NpcAttackable = True
# Npc List Invul eg. 51,90,...
InvulNpcList = 93000
# If True ActiveChar will not be able to Attack the Listed Npc Types.
DisableAttackToNpcs = False
# List of NPC's that allow casting skills on them
# Any other type will not allow casting
AllowedNPCTypes = GrandBoss,Chest,FestivalMonster,Minion,Monster,Pet,RaidBoss,SiegeGuard,SiegeNpc,ControlTower,Artefact,PenaltyMonster,FeedableBeast,SiegeFlag,RiftInvader,Guard,GuardNoHTML
# Allows Players to Shift-click Mobs and view their Stats and Droplist
AltGameViewNpc = False
# Custom Private store SELL/BUY
# For example you can use private store with Event Medal or Gold Bar
# Default: False (Adena)
SellByItem = False
# Custom Item ID
SellItem = 6392
# Number of allowed Subclasses
AllowedSubclass = 3
# Starting level for subclasses.
# Default: 40
BaseSubclassLevel = 40
# Maximum subclass level. 81 is liv 80 99%
# Default: 81
MaxSubclassLevel = 81
# Monster stats (PAtk,Pdef,etc..) based just on Database Values
# and without STR,WIT,CON,MEN,INT,DEX influences.
# ATTENTION: enabling this option, monster instances could be simple to kill,
# check your database to increase their stats..
#
# True: All Monster Instances haven't the Bonus of Stats. (Easy to kill)
# False: All Monster Instances have the Bonus of Stats. (Hard to kill)
# We got the correct value on database, so disable it.
# Default: True
AltMobsStatsBonus = True
# Monster stats (PAtk,Pdef,etc..) based just on Database Values
# and without STR,WIT,CON,MEN,INT,DEX influences.
# ATTENTION: enabling this option, monster instances could be simple to kill,
# check your database to increase their stats..
#
# True: All Monster Instances haven't the Bonus of Stats. (Easy to kill)
# False: All Monster Instances have the Bonus of Stats. (Hard to kill)
# We got the correct value on database, so disable it.
# Default: True
AltPetsStatsBonus = True

View File

@ -0,0 +1,301 @@
# ---------------------------------------------------------------------------
# Character Settings
# ---------------------------------------------------------------------------
# AutoLoot enable. True to enable, False to disable
AutoLoot = False
# If False herbs will drop on ground even if AutoLoot is enabled
AutoLootHerbs = False
# Auto loot from Raid Boss's drop
AutoLootBoss = False
# AutoLearnSkills: True to enable, False to disable
AutoLearnSkills = False
# AutoLearn DivineInspiration: True to enable, False to disable
AutoLearnDivineInspiration = False
# Life crystal needed to learn clan skills
LifeCrystalNeeded = True
# Spell Books needed to learn skills
SpBookNeeded = True
# Books needed to enchant skills
EnchantSkillSpBookNeeded = True
# Books needed to Divine Inspiration
DivineInspirationSpBookNeeded = True
# Alternative skill learn rules:
# - all classes can learn all skills
# - skills of another class costs x2 SP
# - skills of another race costs x2 SP
# - skills of fighters/mages costs x3 SP
AltGameSkillLearn = False
# Number of allowed Subclasses
AllowedSubclass = 3
# Starting level for subclasses.
# Default: 40
BaseSubclassLevel = 40
# Maximum subclass level. 81 is level 80 99%
# Default: 81
MaxSubclassLevel = 81
# Allow player sub-class addition without checking for unique quest items.
AltSubClassWithoutQuests = False
# Restore Buffs On Subclass Change.
# IMPORTANT: It's better put it False to avoid exploit
AltRestoreEffectOnSub = False
# When you made damage to a mob and are inside this range, you will be considered as player to reward.
# Checks for party range to mob to calculate rewards(exp, items).
# Default: 1500
AltPartyRange = 1500
# Weight Limit multiplier - default 1
# If >1 - Weight Limit Double
AltWeightLimit = 1
# If XP loss (and deleveling) is enabled, default is 'true'
Delevel = True
# If disabled, magic dmg has always 100% chance of success, default is 'true'
MagicFailures = True
# Alternative cancel of attack (bow, cast, all)
AltGameCancelByHit = cast
# Alternative rules for shields - if they block, the damage is powerAtk-shieldDef,
# otherwise it's powerAttack / (shieldDef + powerDef)
AltShieldBlocks = False
# Alternative Rate Value for Perfect Shield Block Rate.
AltPerfectShieldBlockRate = 5
# Alternative AltGameMobAttackAI, like C1
AltGameMobAttackAI = False
# Alternative mob behavior in peace zones
# Default = True; Set to False to prevent mobs from auto-agro against players in peace zones
AltMobAgroInPeaceZone = True
# Alternative Freight mode. If true, freights can be withdrawed from any place.
# Also, possibility to change Freight price (in adena) for each item slot in freight.
# NOTE: AltGameFreightPrice WILL NOT change the value shown to the player, but the
# player will actually get charged for the value set in here.
AltGameFreights = True
AltGameFreightPrice = 1000
# Alternative Xp/Sp rewards, if not 0, then calculated as 2^((mob.level-player.level) / coef),
# A few examples for "AltGameExponentXp = 5." and "AltGameExponentSp = 3."
# diff = 0 (player and mob has the same level), XP bonus rate = 1, SP bonus rate = 1
# diff = 3 (mob is 3 levels above), XP bonus rate = 1.52, SP bonus rate = 2
# diff = 5 (mob is 5 levels above), XP bonus rate = 2, SP bonus rate = 3.17
# diff = -8 (mob is 8 levels below), XP bonus rate = 0.4, SP bonus rate = 0.16
AltGameExponentXp = 0
AltGameExponentSp = 0
# Use tiredness (instead of combat points)
AltGameTiredness = False
# Allow free teleportation around the world.
AltFreeTeleporting = False
# Set true for disallow recommend character twice or more a day
AltRecommend = False
# Alternative Max Recommendation Number
AltMaxRecommendationNumber = 255
# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])
CharMaxNumber = 7
# Maximum level players who can not be attacked
MaxLevelNewbie = 20
# When char lost newbie status > = value
MaxLevelNewbieStatus = 40
# Disable tutorial on new player enter into Game
# Please remember its sometimes important to novice players
# Default: False
DisableTutorial = False
# Amount of adena/AA that a new character is given
StartingAdena = 0
StartingAncientAdena = 0
# Enable this if you want the below configuration to work.
# Default: False
CustomStarterItemsEnabled = False
# Starting itens for fighter's classes
StartingCustomItemsFighter = 57,1000;
# Starting itens for mage's classes
StartingCustomItemsMage = 57,1000;
# Inventory space limits
# All race without dwarf
MaximumSlotsForNoDwarf = 80
# Dwarf race
MaximumSlotsForDwarf = 100
# GM char
MaximumSlotsForGMPlayer = 250
# Warehouse space limits (Must be < 300 for prevent client crash)
# Dwarfs will get bonus from lvl 60
MaximumWarehouseSlotsForDwarf = 120
MaximumWarehouseSlotsForNoDwarf = 100
MaximumWarehouseSlotsForClan = 200
MaximumFreightSlots = 20
# The maximum number of slots for the purchase / sale (for dwarves and other races)
# By default, dwarf 5 slots, the other 4 races
MaxPvtStoreSlotsDwarf = 5
MaxPvtStoreSlotsOther = 4
# % regeneration of normal regeneration speed
HpRegenMultiplier = 100
MpRegenMultiplier = 100
CpRegenMultiplier = 100
# Enable keyboard movement.
# Retail: True
KeyboardMovement = True
# Unstuck interval, seconds, default is 300 sec.
UnstuckInterval = 300
# Player Protection on login in seconds, 0 for disabled
PlayerSpawnProtection = 0
# Player Protection after teleporting, 0 for disabled
PlayerTeleportProtection = 0
# Player Protection from (agro) mobs after getting up from fake death; in seconds, 0 for disabled
PlayerFakeDeathUpProtection = 0
# If True, the following deep blue mobs' drop penalties will be applied:
# - When player's level is 9 times greater than mob's level, drops got divided by 3
# - After 9 lvl's of difference between player and deep blue mobs, drop chance is
# lowered by 9% each lvl that difference increases. (9lvls diff = -9%; 10lvls diff = -18%; ...)
# NOTE1: These rules are applied to both normal and sweep drops
# NOTE2: These rules ignores the server's rate when drop is of adena type (Complies with retail server)
UseDeepBlueDropRules = True
# PARTY XP DISTRIBUTION
# The first option can be set to auto, percentage, level, none.
# When is "auto" member of the party receives less Exp / SP, where its level is low
# If the party received a bonus for him (30% for 2 members of the party)
# In this case, he will not get Exp / SP of the party, and will not receive a bonus party
# Not used quite too high values of the parameter "percentage"!
# Not used quite too low values of the parameter "level"!
# If you do not want to be the distribution of XP for the members of the Party
# Just put "none". Default:, 3.0, 30
PartyXpCutoffMethod = auto
PartyXpCutoffPercent = 3.0
PartyXpCutoffLevel = 30
# Levels restore HP, MP, and CP after death
# Values are specified in percentage
RespawnRestoreCP = 70
RespawnRestoreHP = 70
RespawnRestoreMP = 70
# Allow random regeneration in cities, indicating the maximum displacement
# From the main origin.
RespawnRandomInTown = True
RespawnRandomMaxOffset = 20
# Allow player to send petition?
PetitioningAllowed = True
# The number of petitions per session
MaxPetitionsPerPlayer = 5
# The number of petitions, which may consider GM
MaxPetitionsPending = 25
# Chance to get Death Penalty
DeathPenaltyChance = 20
# If True, when effects of the same stack group are used, lesser
# effects will be canceled if stronger effects are used. New effects
# that are added will be canceled if they are of lesser priority to the old one.
# If False, they will not be canceled, and it will switch to them after the
# stronger one runs out, if the lesser one is still in effect.
CancelLesserEffect = True
# Keep the effects buffs and debuff when you exit the game
StoreSkillCooltime = True
# ---------------------------------------------------------------------------
# Buffs
# ---------------------------------------------------------------------------
# Maximum number of buffs (default = 20 + 4 Divine Inspiration in C5)
MaxBuffAmount = 20
# Maximum number of debuffs
MaxDebuffAmount = 6
# --------------------------------------
# Alternative time buffs
# --------------------------------------
# When the reads, buff, and their duration.
# Default: False
EnableModifySkillDuration = False
# Format: id_skill time; id_skill2, time2 ;....
# Example:
#SkillDurationList = 264,3660;265,3660;266,3660;267,3660;268,3660;\
#269,3660;270,3660;304,3660;305,3660;306,3660;308,3660;349,3660;\
#363,3660;364,3660;529,3660;271,3660;272,3660;273,3660;274,3660;\
#275,3660;276,3660;277,3660;307,3660;309,3660;310,3660;311,3660;\
#305,3660;366,3660;530,3660;365,3660;\
#1086,3660;1240,3660;1242,3660;1243,3660;1388,3660;1389,3660;336,3660;\
#1035,3660;1043,3660;1044,3660;1062,3660;1268,3660;1040,3660;1393,3660;\
#1077,3660;1078,3660;1085,3660;1204,3660;1036,3660;1045,3660;1048,3660;\
#1007,3660;1006,3660;1009,3660;1251,3660;1252,3660;1253,3660;1307,3660;\
#1284,3660;1308,3660;1309,3660;1310,3660;1390,3660;1391,3660;1362,3660;\
#1303,3660;1087,3660;1259,3660;1059,3660;1311,3660;1033,3660;1002,3660;\
#1068,3660;1397,3660;1032,3660;1189,3660;1191,3660;1182,3660;1365,3660;\
#1010,3660;1282,3660;1004,3660;1008,3660;1249,3660;1250,3660;1260,3660;\
#1261,3660;1364,3660;1259,3660;1073,3660;1257,3660;1304,3660;1460,3660;\
#1353,3660;1354,3660;1003,3660;1005,3660;\
#1352,3660;1442,3660;1392,3660;\
#1355,3660;1356,3660;1357,3660;1363,3660;1461,3660;1413,3660;1414,3660
SkillDurationList =
# ---------------------------------------------------------------------------
# Class Master
# ---------------------------------------------------------------------------
# Allow Change Class with ClassMaster
AllowClassMasters = False
# Allow Upgrade Strider with ClassMaster
AllowClassMastersStriderUpdate = False
# Allow to define which class is allowed to be assigned through class master
AllowClassMastersFirstClass = True
AllowClassMastersSecondClass = True
AllowClassMastersThirdClass = True
# Config for special Class Master npc that can change players occupation
# If you need change occupation only use quest then set this to False (Default)
# Syntax: occupation number;[required item id(count)],[],...;[reward item id(count)],[],...;occupation number...
# Examples:
#
# ConfigClassMaster = 1;[57(100000)];[];2;[57(1000000)];[];3;[57(10000000)],[5575(1000000)];[6622(1)]
# 1st occupation change for 100.000 Adena (item id 57)
# 2nd occupation change for 1.000.0000 Adena (item id 57)
# 3rd occupation change for 10.000.0000 Adena (item id 57) and 1.000.000 Ancient Adena (item id 5575)
# On 3rd occupation change player will be rewarded with 1 Book of Giants (item id 6622)
#
# ConfigClassMaster = 1;[];[];2;[];[];3;[];[]
# 1st, 2nd, 3rd occupation change for free, without rewards
ConfigClassMaster = 1;[];[];2;[];[];3;[];[]
# Class Manager Handled Remotely at Level 20/40/76
AllowRemoteClassMasters = True

View File

@ -1,108 +0,0 @@
#============================================================#
# Dev Properties #
#============================================================#
# BETA SERVER: Use this config for better testing during your BETA
# All players on login (also no GM char) will got Gm Speed 4 for better testing.
BetaServer = False
#---------------------------------------------
# Debug & Developer Config
#---------------------------------------------
# Don't load quests
AltDevNoQuests = False
# Don't load spawntable
AltDevNoSpawns = False
# Don't load Script's
AltDevNoScript = False
# Don't load RaidBoss
AltDevNoRB = False
#-------------------------------------------
# Additional server settings
#-------------------------------------------
Assert = False
# if true the server will be a test server (listed by test server clients only)
TestServer = False
# Setting for serverList
# Displays [] in front of server name
ServerListBrackets = False
# Displays a clock next to the server name
ServerListClock = False
# If true, the server will be set as GM only
ServerGMOnly = False
# Accept Geoeditor Conection (Default = False)
AcceptGeoeditorConn = False
# IP Geoeditor
GeoEditorHost = 127.0.0.1
# Port GeoEditor
GeoEditorPort = 2109
# Define character name template
# Example to use only : CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
# will allow names with first capital letter, next three small letters,
# and any (capital or not) letter or number, like ZbigN1eW
# Most rational to have CnameTemplate = [A-Z][a-z]*
# meaning names only of letters with first one capital, like Zbigniew
# Default .* - any namy of any symbols
CnameTemplate = .*
PetNameTemplate = .*
ClanNameTemplate = .*
AllyNameTemplate = .*
# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])
CharMaxNumber = 7
# Minimum and maximum protocol revision that server allow to connect.
# You must keep MinProtocolRevision <= MaxProtocolRevision.
# Retail 740 - 746
MinProtocolRevision = 740
MaxProtocolRevision = 746
#------------------------------
# Logging features
#------------------------------
# Log GM actions
GMAudit = True
# Logging ChatWindow
LogChat = False
# Logging Item handling (Trades,Drops,Pickups,Actions)
# NOTE: This can be very space consuming if enabled for all items.
LogItems = False
# ---------------------------------------------------------------------------
# Thread Configuration
# ---------------------------------------------------------------------------
# Specifies how many threads will be in the scheduled pool.
# Default: 40
ScheduledThreadPoolCount = 40
# Specifies how many threads will be in the single instant pool.
# Default: 20
InstantThreadPoolCount = 20
# This is the server id that the gameserver will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other id to the server if the requested id is already reserved
AcceptAlternateID = True
# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers = 2000
# Set the html cache's lazy loading True or False
# (Load html's into cache only on first time requested)
LazyCache = True
# Interval in ms to check for deadlocks, 0 to disable
DeadLockCheck = 0

View File

@ -0,0 +1,621 @@
# ---------------------------------------------------------------------------
# General Server Settings
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Debug
# ---------------------------------------------------------------------------
# Don't load quests
AltDevNoQuests = False
# Don't load spawntable
AltDevNoSpawns = False
# Don't load Script's
AltDevNoScript = False
# Don't load RaidBoss
AltDevNoRB = False
# ---------------------------------------------------------------------------
# Logging
# ---------------------------------------------------------------------------
# Log GM actions
GMAudit = True
# Logging ChatWindow
LogChat = False
# Logging Item handling (Trades,Drops,Pickups,Actions)
# NOTE: This can be very space consuming if enabled for all items.
LogItems = False
# ---------------------------------------------------------------------------
# Server
# ---------------------------------------------------------------------------
# Set the html cache's lazy loading True or False
# (Load html's into cache only on first time requested)
LazyCache = True
# If true the server will be a test server (listed by test server clients only)
TestServer = False
# If true, the server will be set as GM only
ServerGMOnly = False
# Accept Geoeditor Conection (Default = False)
AcceptGeoeditorConn = False
# IP Geoeditor
GeoEditorHost = 127.0.0.1
# Port GeoEditor
GeoEditorPort = 2109
# ---------------------------------------------------------------------------
# Clans
# ---------------------------------------------------------------------------
# Number of days you have to wait before :
# - joining another clan
DaysBeforeJoinAClan = 1
# - creating a new clan
DaysBeforeCreateAClan = 10
# Number of days it takes to dissolve a clan
DaysToPassToDissolveAClan = 7
# Number of days before joining a new alliance when clan voluntarily leave an alliance
DaysBeforeJoinAllyWhenLeaved = 1
# Number of days before joining a new alliance when clan was dismissed from an alliance
DaysBeforeJoinAllyWhenDismissed = 1
# Number of days before accepting a new clan for alliance when clan was dismissed from an alliance
DaysBeforeAcceptNewClanWhenDismissed = 1
# Number of days before creating a new alliance when dissolved an alliance
DaysBeforeCreateNewAllyWhenDissolved = 10
# Maximum number of clans in ally
AltMaxNumOfClansInAlly = 3
# Number of members needed to request a clan war
AltClanMembersForWar = 15
# All new characters of the same account are newbies, not only first one
AltNewCharAlwaysIsNewbie = True
# Privilege browse warehouse enables at the same time also withdraw from warehouse!
AltMembersCanWithdrawFromClanWH = False
# Remove Castle circlets after a clan lose its castle or a player leaves a clan? - default true
RemoveCastleCirclets = True
# Reputation score gained per clan member listed as top raid killers.
1stRaidRankingPoints = 1250
2ndRaidRankingPoints = 900
3rdRaidRankingPoints = 700
4thRaidRankingPoints = 600
5thRaidRankingPoints = 450
6thRaidRankingPoints = 350
7thRaidRankingPoints = 300
8thRaidRankingPoints = 200
9thRaidRankingPoints = 150
10thRaidRankingPoints = 100
UpTo50thRaidRankingPoints = 25
UpTo100thRaidRankingPoints = 12
# ---------------------------------------------------------------------------
# Manor
# ---------------------------------------------------------------------------
# Manor Refresh Time in Military hours Default 8pm (20)
AltManorRefreshTime = 20
# Manor Refresh Time for Min's, Default 00 so at the start of the hour.
AltManorRefreshMin = 00
# Manor Next Period Approve Time in Military hours Default 6am
AltManorApproveTime = 6
# Manor Next Period Approve Time for Min's, Default 00 so at the start of the hour.
AltManorApproveMin = 00
# Manor Maintenance time, Default 6 minutes.
AltManorMaintenancePeriod = 360000
# Manor Save Type. 1-Save data into db after every action;
# Default false
AltManorSaveAllActions = True
# Manor Save Period (used only if AltManorSaveAllActions = False) Default very 2 hours
AltManorSavePeriodRate = 2
# ---------------------------------------------------------------------------
# Lottery
# ---------------------------------------------------------------------------
# Initial Lottery prize
AltLotteryPrize = 50000
# Lottery Ticket Price
AltLotteryTicketPrice = 2000
# What part of Jackpot amount should receive characters who pick 5 wining numbers
AltLottery5NumberRate = 0.6
# What part of Jackpot amount should receive characters who pick 4 wining numbers
AltLottery4NumberRate = 0.2
# What part of Jackpot amount should receive characters who pick 3 wining numbers
AltLottery3NumberRate = 0.2
# How much adena receive characters who pick two or less of the winning number
AltLottery2and1NumberPrize = 200
# ---------------------------------------------------------------------------
# Fishing Tournament
# ---------------------------------------------------------------------------
# Enable or disable the Fishing Tournament system
AltFishChampionshipEnabled = True
# Item Id used as reward
AltFishChampionshipRewardItemId = 57
# Item count used as reward (for the 5 first winners)
AltFishChampionshipReward1 = 800000
AltFishChampionshipReward2 = 500000
AltFishChampionshipReward3 = 300000
AltFishChampionshipReward4 = 200000
AltFishChampionshipReward5 = 100000
# ---------------------------------------------------------------------------
# Dimension Rift
# ---------------------------------------------------------------------------
# Minimal party size to enter rift. Min = 2, Max = 9.
# If in rift party will become smaller all members will be teleported back
RiftMinPartySize = 5
# Number of maximum jumps between rooms allowed, after this time party will be teleported back
MaxRiftJumps = 4
# Time in ms the party has to wait until the mobs spawn when entering a room. C4 retail: 10s
RiftSpawnDelay = 10000
# Time between automatic jumps in seconds
AutoJumpsDelayMin = 480
AutoJumpsDelayMax = 600
# Time Multiplier for stay in the boss room
BossRoomTimeMultiply = 1.5
# Cost in dimension fragments to enter the rift, each party member must own this amount
RecruitCost = 18
SoldierCost = 21
OfficerCost = 24
CaptainCost = 27
CommanderCost = 30
HeroCost = 33
# Infinite shots (SS/BSS)
DontDestroySS = False
# NPC respawn time (default 180 seconds)
StandardRespawnDelay = 180
# ExpertisePenalty, to disable grade penalty
# False: Players can use equip S grade at level 1.
# True: Players can't use equip S grade at level 1.
ExpertisePenalty = True
# MasteryPenalty, to disable Heavy expertise.
# True: Players like dagger or archer can't use Heavy armor.
MasteryPenalty = False
# MasteryPenalty starting level.
# Default from 20
LevelToGetPenalty = 20
# MasteryWeaponPenalty, to disable weapons expertise.
# True: Players that have not weapon mastery cannot use that weapon type.
MasteryWeaponPenality = False
# MasteryWeaponPenality starting level.
# Default from 20
LevelToGetWeaponPenalty = 20
#Augmentation Active skills start time: time in seconds that the
#players need to wait until an active augment skill is available
#once the augmented weapon is equipped. After the first time wait,
#the players will be able to use the skill with correct reuse time
#xml defined.
AugmStartReuseTime = 0
# ---------------------------------------------------------------------------
# NPCs
# ---------------------------------------------------------------------------
# NPC attackable
# True: You can attack NPCs
# False: Npc/Mobs don't take damage
NpcAttackable = True
# NPC invulnerable list eg. 51,90,...
InvulNpcList = 93000
# If True ActiveChar will not be able to Attack the Listed Npc Types.
DisableAttackToNpcs = False
# List of NPC's that allow casting skills on them
# Any other type will not allow casting
AllowedNPCTypes = GrandBoss,Chest,FestivalMonster,Minion,Monster,Pet,RaidBoss,SiegeGuard,SiegeNpc,ControlTower,Artefact,PenaltyMonster,FeedableBeast,SiegeFlag,RiftInvader,Guard,GuardNoHTML
# Allows Players to Shift-click Mobs and view their Stats and Droplist
AltGameViewNpc = False
# Custom Private store SELL/BUY
# For example you can use private store with Event Medal or Gold Bar
# Default: False (Adena)
SellByItem = False
# Custom Item ID
SellItem = 6392
# Monster stats (PAtk,Pdef,etc..) based just on Database Values
# and without STR,WIT,CON,MEN,INT,DEX influences.
# ATTENTION: enabling this option, monster instances could be simple to kill,
# check your database to increase their stats..
#
# True: All Monster Instances haven't the Bonus of Stats. (Easy to kill)
# False: All Monster Instances have the Bonus of Stats. (Hard to kill)
# We got the correct value on database, so disable it.
# Default: True
AltMobsStatsBonus = True
# Monster stats (PAtk,Pdef,etc..) based just on Database Values
# and without STR,WIT,CON,MEN,INT,DEX influences.
# ATTENTION: enabling this option, monster instances could be simple to kill,
# check your database to increase their stats..
#
# True: All Monster Instances haven't the Bonus of Stats. (Easy to kill)
# False: All Monster Instances have the Bonus of Stats. (Hard to kill)
# We got the correct value on database, so disable it.
# Default: True
AltPetsStatsBonus = True
# % regeneration and defence for RaidBoss and their minions
RaidHpRegenMultiplier = 100
RaidMpRegenMultiplier = 100
RaidPhysicalDefenceMultiplier = 100
RaidMagicalDefenceMultiplier = 100
#Configure Minimum and Maximum multiplier time between RaidBoss respawn.
#By Default 12Hours*1.0 for Minimum Time and 24Hours*1.0 for Maximum Time.
RaidMinRespawnMultiplier = 1.0
RaidMaxRespawnMultiplier = 1.0
# Minions respawn timer 300000 = 5 mins
RaidMinionRespawnTime = 300000
# Click task delay when targeting an NPC.
# Leave as default if you don't know what this is.
# Default: 50
ClickTaskDelay = 50
# ---------------------------------------------------------------------------
# Pets
# ---------------------------------------------------------------------------
# movement speed for strider and wyvern
WyvernSpeed = 100
StriderSpeed = 80
#Allow the wyvern manager located in every castle to train wyverns and striders from hatchlings
AllowWyvernUpgrader = True
# Rent with pets (wyvern and Strider). Example: 111,222,333
ListPetRentNpc = 30827
# ---------------------------------------------------------------------------
# Jail
# ---------------------------------------------------------------------------
# Set jail as PvP zone.
JailIsPvp = False
# Turn off all chats except basics.
JailDisableChat = True
# ---------------------------------------------------------------------------
# Chat Filter System
# ---------------------------------------------------------------------------
# Enable chat filter default: false
UseChatFilter = False
# Replace illegal words with following chars
ChatFilterChars = -_-
# Punishment for bad words:
# Options:
# off - there is no punishment for the words
# Karma - karma giving
# Jail - jail
# Chat - chat ban
ChatFilterPunishment = off
# How long penalty minutes
ChatFilterPunishmentParam1 = 5
# How to give karma for the bad word
ChatFilterPunishmentParam2 = 1000
# ---------------------------------------------------------------------------
# Four Sepulchers
# ---------------------------------------------------------------------------
# The time allowed for the attack
TimeOfAttack = 50
# The time allowed for rest
TimeOfCoolDown = 5
# The time allowed to the input
TimeOfEntry = 3
# The time allowed for warm-up
TimeOfWarmUp = 2
# Minimum players in the party
NumberOfNecessaryPartyMembers = 4
# ---------------------------------------------------------------------------
# Quake / Killing Spree System
# ---------------------------------------------------------------------------
# Enable The Killing Spree System
# When a Player Hits an Amount of pvp's an announcement appears
AllowQuakeSystem = False
# Enable Messages to GMs on 4-5 consecutive pvp of a player
# Why? to see if a char are farming!
EnableAntiPvpFarmMsg = True
# ---------------------------------------------------------------------------
# Aio System
# ---------------------------------------------------------------------------
# Enable Aion System
EnableAioSystem = True
# Name Color
AllowAioNameColor = True
AioNameColor = 88AA88
# Title Color
AllowAioTitleColor = True
AioTitleColor = 88AA88
# List of Aio Skills
# Format : skillid,skilllvl;skillid2,skilllvl2;....skillidn,skilllvln
AioSkills = 1085,3;1304,3;1087,3;1354,1;1062,2;1005,3;1243,6;1045,6;1048,6;\
1311,6;168,3;213,8;1007,3;1309,3;1552,3;1006,3;1229,15;1308,3;1253,3;1284,3;\
1009,3;1310,4;1363,1;1362,1;1397,3;1292,6;1078,6;307,1;276,1;309,1;274,1;275,1;\
272,1;277,1;273,1;311,1;366,1;365,1;310,1;271,1;1242,3;1257,3;1353,3;1391,3;\
1352,1;229,7;228,3;1077,3;1218,33;1059,3;1219,33;1217,33;1388,3;1389,3;1240,3;\
1086,2;1032,3;1073,2;1036,2;1035,4;1068,3;1003,3;1282,2;1356,1;1355,1;1357,33;\
1044,3;1182,3;1191,3;1033,3;1189,3;1259,4;1306,6;234,23;1040,3;364,1;264,1;306,1;\
269,1;270,1;265,1;363,1;349,1;308,1;305,1;304,1;267,1;266,1;268,1;1390,3;1303,2;\
1204,2;1268,4;1413,1;4699,8;4700,8;4703,8
# Aio Buffers can use GK?
AllowAioUseGk = False
# Aio Buffers can speak to Class Master?
AllowAioUseClassMaster = False
# Allow AIO in events?
AllowAioInEvents = False
# ---------------------------------------------------------------------------
# Additional Settings
# ---------------------------------------------------------------------------
# Announce castle lords on enter game. default = False
AnnounceCastleLords = False
# Declare the location of Mammon NPCs to players during the ratification of the press.
AnnounceMammonSpawn = False
# If you wish to disable the use of guards against aggressive monsters.
# Default is False.
AllowGuards = False
# Configure zones
# 0 = World Peace
# 1 = PVP sieges in
# 2 = PVP everywhere
ZoneTown = 0
# Configure IM
# Global Chat (ON (region), OFF, GM, GLOBAL)
GlobalChat = ON
# Global Trade chat (ON, OFF, GM, LIMITED (region))
TradeChat = LIMITED
# Who can write in the global chat if is it trade?
# True = only players with the pvpamount, false = all
TradeChatWithPvP = False
TradePvPAmount = 100
# Who can write in the global chat if is it global?
# True = only players with the pvpamount, false = all
GlobalChatWithPvP = False
GlobalPvPAmount = 100
# Who can write in the trade chat if is it global?
# True = only nubless, false = all
TradeChatIsNooble = False
# Maximum number of characters for chat phrase
MaxChatLength = 100
# The penalty for illegal character of
# 1 - Sending GM reporting the action
# 2 - Throw a player (kick)
# 3 - Throw and ban
# 4 - Jail player
DefaultPunish = 2
# Minutes to stay in jail if punishment is jail
DefaultPunishParam = 0
# On / Off Warehouse
AllowWarehouse = True
# On / Off hashing Warehouse
WarehouseCache = False
# How much memory should occupy hash Warehouse
WarehouseCacheTime = 15
# On / Off use Freight Warehouse
AllowFreight = True
# If True player can try on weapon and armor in shop.
# Default: True
AllowWear = True
# Default: 5
WearDelay = 5
#Adena cost to try on an item.
# Default: 10
WearPrice = 10
# ---------------------------------------------------------------------------
# Enable/Disable features
# ---------------------------------------------------------------------------
AllowLottery = True
AllowRace = True
AllowRentPet = False
AllowFishing = True
AllowBoat = True
AllowCursedWeapons = True
AllowManor = True
AllowNpcWalkers = True
# ---------------------------------------------------------------------------
# Server Optimization
# ---------------------------------------------------------------------------
# Remove the character from account
DeleteCharAfterDays = 7
# Allow players to drop items on the ground.
AllowDiscardItem = True
# Delete dropped reward items from world after a specified amount of seconds. Disabled = 0.
AutoDestroyDroppedItemAfter = 0
# Time in secs after which dropped herb will be auto-destroyed
AutoDestroyHerbTime = 15
# List of item id that will not be destroyed (separated by "," like 57,5575,6673).
# Notes:
# Make sure the lists do NOT CONTAIN trailing spaces or spaces between the numbers!
# Items on this list will be protected regardless of the following options.
ListOfProtectedItems = 57,5575,6673
# Just delete the stuff that fell out of players
# WARNING: only works when AutoDestroyDroppedItemAfter> 0
DestroyPlayerDroppedItem = False
# Just to destroy such things as: armor, weapons, jewelry
# WARNING: only works when DestroyPlayerDroppedItem = True
DestroyEquipableItem = False
# Keep discarded things in the database to be restored after restarting the server
SaveDroppedItem = False
# Clean up the table after loading things into memory - Safe Settings
# If the server crashes before you save things at next start will be restored old things
# And the players will be able to collect some of them - that will prevent duplicate
EmptyDroppedItemTableAfterLoad = False
# Time in minutes to save the discarded items in the database, 0 to disable
# WARNING: If this option is disabled SaveDroppedItemInterval,
# Things will remain in the database only when you restart the server
SaveDroppedItemInterval = 60
# Delete all saved items from the database at next start
# WARNING: only works when SaveDroppedItem = False
ClearDroppedItemTable = False
# Remove broken quests player
AutoDeleteInvalidQuestData = False
# Set to false can improve the performance of servers with high concurrence
PreciseDropCalculation = False
# Allow create spliced things
MultipleItemDrop = True
# Sending information about all the things your character, and not only that with which the operation takes place.
# WARNING: Incredible traffic loads.
ForceInventoryUpdate = False
# Sending information about all the stats your character, and not only that with which the operation takes place.
# WARNING: Higher traffic loads.
ForceCompletePlayerStatusUpdate = True
# The maximum deviation from the point of Spawn mobs
MaxDriftRange = 200
# Minimum and maximum variables in seconds for NPC animation delay.
# You must keep MinNpcAnimation lower or equal to MaxNpcAnimation.
# Set values to 0 for disabling random animations.
# Default: 5
MinNpcAnimation = 5
# Default: 60
MaxNpcAnimation = 60
# Default: 5
MinMonsterAnimation = 5
# Default: 60
MaxMonsterAnimation = 60
# Show the lvl and type of aggro mobs?
ShowNpcLevel = False
# Record the location of the characters in the file before the off / restarting the server?
ActivatePositionRecorder = False
# On/Off Hight rate Server.
# Only Adena, LifeStones, SealStones, Boss Jewels Drop Option
HighRateServerDrops = False
# ---------------------------------------------------------------------------
# Community board
# ---------------------------------------------------------------------------
# Activate or no the community board.
EnableCommunityBoard = True
# Show this community board section when you open it.
BBSDefault = _bbshome
# Options grid: Grid can be enabled or disabled. This also will affect
# Loading and processing of all tasks of artificial intelligence and geodata to work in conjunction with the grid.
# When playing in this place the character begins to work immediately grid and in addition
# Start lining up for a specified number of seconds from 8 neighboring character grids.
# After exiting the main square and adjacent characters within a few seconds is
# Coordinates, if all this time in the area had no players.
# Enabling this option allows grids to be always active.
GridsAlwaysOn = False
GridNeighborTurnOnTime = 30
GridNeighborTurnOffTime = 300
# Combining streams prioritized implementation
# The default values -1,0,1 (group low / med / high)
ExecutorPriLow = -1
ExecutorPriMed = 0
ExecutorPriHigh = 1

View File

@ -1,195 +0,0 @@
#=============================================================#
# Option Settings #
#=============================================================#
# Configure zones
# 0 = World Peace
# 1 = PVP sieges in
# 2 = PVP everywhere
ZoneTown = 0
# Configure IM
# Global Chat (ON (region), OFF, GM, GLOBAL)
GlobalChat = ON
# Global Trade chat (ON, OFF, GM, LIMITED (region))
TradeChat = LIMITED
# Who can write in the global chat if is it trade?
# True = only players with the pvpamount, false = all
TradeChatWithPvP = False
TradePvPAmount = 100
# Who can write in the global chat if is it global?
# True = only players with the pvpamount, false = all
GlobalChatWithPvP = False
GlobalPvPAmount = 100
# Who can write in the trade chat if is it global?
# True = only nubless, false = all
TradeChatIsNooble = False
# Maximum number of characters for chat phrase
MaxChatLength = 100
# The penalty for illegal character of
# 1 - Sending GM reporting the action
# 2 - Throw a player (kick)
# 3 - Throw and ban
# 4 - Jail player
DefaultPunish = 2
# Minutes to stay in jail if punishment is jail
DefaultPunishParam = 0
# -----------------------------------
# Server Optimization
# -----------------------------------
# Remove the character from account
DeleteCharAfterDays = 7
# Allow players to drop items on the ground.
AllowDiscardItem = True
# Delete dropped reward items from world after a specified amount of seconds. Disabled = 0.
AutoDestroyDroppedItemAfter = 0
# Time in secs after which dropped herb will be auto-destroyed
AutoDestroyHerbTime = 15
# List of item id that will not be destroyed (separated by "," like 57,5575,6673).
# Notes:
# Make sure the lists do NOT CONTAIN trailing spaces or spaces between the numbers!
# Items on this list will be protected regardless of the following options.
ListOfProtectedItems = 57,5575,6673
# Just delete the stuff that fell out of players
# WARNING: only works when AutoDestroyDroppedItemAfter> 0
DestroyPlayerDroppedItem = False
# Just to destroy such things as: armor, weapons, jewelry
# WARNING: only works when DestroyPlayerDroppedItem = True
DestroyEquipableItem = False
# Keep discarded things in the database to be restored after restarting the server
SaveDroppedItem = False
# Clean up the table after loading things into memory - Safe Settings
# If the server crashes before you save things at next start will be restored old things
# And the players will be able to collect some of them - that will prevent duplicate
EmptyDroppedItemTableAfterLoad = False
# Time in minutes to save the discarded items in the database, 0 to disable
# WARNING: If this option is disabled SaveDroppedItemInterval,
# Things will remain in the database only when you restart the server
SaveDroppedItemInterval = 60
# Delete all saved items from the database at next start
# WARNING: only works when SaveDroppedItem = False
ClearDroppedItemTable = False
# Remove broken quests player
AutoDeleteInvalidQuestData = False
# Set to false can improve the performance of servers with high concurrence
PreciseDropCalculation = False
# Allow create spliced things
MultipleItemDrop = True
# Sending information about all the things your character, and not only that with which the operation takes place.
# WARNING: Incredible traffic loads.
ForceInventoryUpdate = False
# Sending information about all the stats your character, and not only that with which the operation takes place.
# WARNING: Higher traffic loads.
ForceCompletePlayerStatusUpdate = True
# The maximum deviation from the point of Spawn mobs
MaxDriftRange = 200
# Minimum and maximum variables in seconds for NPC animation delay.
# You must keep MinNpcAnimation lower or equal to MaxNpcAnimation.
# Set values to 0 for disabling random animations.
# Default: 5
MinNpcAnimation = 5
# Default: 60
MaxNpcAnimation = 60
# Default: 5
MinMonsterAnimation = 5
# Default: 60
MaxMonsterAnimation = 60
# Show the lvl and type of aggro mobs?
ShowNpcLevel = False
# Record the location of the characters in the file before the off / restarting the server?
ActivatePositionRecorder = False
# On/Off Hight rate Server.
# Only Adena, LifeStones, SealStones, Boss Jewels Drop Option
HighRateServerDrops = False
# ----------------------------------
# Additional Settings
# ----------------------------------
# On / Off Warehouse
AllowWarehouse = True
# On / Off hashing Warehouse
WarehouseCache = False
# How much memory should occupy hash Warehouse
WarehouseCacheTime = 15
# On / Off use Freight Warehouse
AllowFreight = True
# If True player can try on weapon and armor in shop.
# Default: True
AllowWear = True
# Default: 5
WearDelay = 5
#Adena cost to try on an item.
# Default: 10
WearPrice = 10
# ======= Test configuration ======#
# True Enabled / False Disabled #
AllowLottery = True
AllowRace = True
AllowRentPet = False
AllowFishing = True
AllowBoat = True
AllowCursedWeapons = True
AllowManor = True
AllowNpcWalkers = True
# =============================
# -------------------------------
# Community board
# -------------------------------
# Activate or no the community board.
EnableCommunityBoard = True
# Show this community board section when you open it.
BBSDefault = _bbshome
# Options grid: Grid can be enabled or disabled. This also will affect
# Loading and processing of all tasks of artificial intelligence and geodata to work in conjunction with the grid.
# When playing in this place the character begins to work immediately grid and in addition
# Start lining up for a specified number of seconds from 8 neighboring character grids.
# After exiting the main square and adjacent characters within a few seconds is
# Coordinates, if all this time in the area had no players.
# Enabling this option allows grids to be always active.
GridsAlwaysOn = False
GridNeighborTurnOnTime = 30
GridNeighborTurnOffTime = 300
# Combining streams prioritized implementation
# The default values -1,0,1 (group low / med / high)
ExecutorPriLow = -1
ExecutorPriMed = 0
ExecutorPriHigh = 1

View File

@ -1,258 +0,0 @@
#============================================================#
# Other Settings #
#============================================================#
#Amount of adena/AA that a new character is given
StartingAdena = 0
StartingAncientAdena = 0
# Enable this if you want the below configuration to work.
# Default: False
CustomStarterItemsEnabled = False
# Starting itens for fighter's classes
StartingCustomItemsFighter = 57,1000;
# Starting itens for mage's classes
StartingCustomItemsMage = 57,1000;
# movement speed for strider and wyvern
WyvernSpeed = 100
StriderSpeed = 80
#Allow the wyvern manager located in every castle to train wyverns and striders from hatchlings
AllowWyvernUpgrader = True
# If True, when effects of the same stack group are used, lesser
# effects will be canceled if stronger effects are used. New effects
# that are added will be canceled if they are of lesser priority to the old one.
# If False, they will not be canceled, and it will switch to them after the
# stronger one runs out, if the lesser one is still in effect.
CancelLesserEffect = True
# If you wish to disable the use of guards agains agressive monsters.
# Default is False.
AllowGuards = False
# If True, the following deep blue mobs' drop penalties will be applied:
# - When player's level is 9 times greater than mob's level, drops got divided by 3
# - After 9 lvl's of difference between player and deep blue mobs, drop chance is
# lowered by 9% each lvl that difference increases. (9lvls diff = -9%; 10lvls diff = -18%; ...)
# NOTE1: These rules are applied to both normal and sweep drops
# NOTE2: These rules ignores the server's rate when drop is of adena type (Complies with retail server)
UseDeepBlueDropRules = True
# Inventory space limits
# All race without dwarf
MaximumSlotsForNoDwarf = 80
# Dwarf race
MaximumSlotsForDwarf = 100
# GM char
MaximumSlotsForGMPlayer = 250
# Warehouse space limits (Must be < 300 for prevent client crash)
# Dwarfs will get bonus from lvl 60
MaximumWarehouseSlotsForDwarf = 120
MaximumWarehouseSlotsForNoDwarf = 100
MaximumWarehouseSlotsForClan = 200
MaximumFreightSlots = 20
# % regeneration of normal regeneration speed
HpRegenMultiplier = 100
MpRegenMultiplier = 100
CpRegenMultiplier = 100
# % regeneration and defence for RaidBoss and their minions
RaidHpRegenMultiplier = 100
RaidMpRegenMultiplier = 100
RaidPhysicalDefenceMultiplier = 100
RaidMagicalDefenceMultiplier = 100
#Configure Minimum and Maximum multiplier time between RaidBoss respawn.
#By Default 12Hours*1.0 for Minimum Time and 24Hours*1.0 for Maximum Time.
RaidMinRespawnMultiplier = 1.0
RaidMaxRespawnMultiplier = 1.0
# Minions respawn timer 300000 = 5 mins
RaidMinionRespawnTime = 300000
# Enable keyboard movement.
# Retail: True
KeyboardMovement = True
# Unstuck interval, seconds, default is 300 sec.
UnstuckInterval = 300
# Player Protection on login in seconds, 0 for disabled
PlayerSpawnProtection = 0
# Player Protection after teleporting, 0 for disabled
PlayerTeleportProtection = 0
# Player Protection from (agro) mobs after getting up from fake death; in seconds, 0 for disabled
PlayerFakeDeathUpProtection = 0
# PARTY XP DISTRIBUTION
# The first option can be set to auto, percentage, level, none.
# When is "auto" member of the party receives less Exp / SP, where its level is low
# If the party received a bonus for him (30% for 2 members of the party)
# In this case, he will not get Exp / SP of the party, and will not receive a bonus party
# Not used quite too high values of the parameter "percentage"!
# Not used quite too low values of the parameter "level"!
# If you do not want to be the distribution of XP for the members of the Party
# Just put "none". Default:, 3.0, 30
PartyXpCutoffMethod = auto
PartyXpCutoffPercent = 3.0
PartyXpCutoffLevel = 30
# Levels restore HP, MP, and CP after death
# Values are specified in percentage
RespawnRestoreCP = 70
RespawnRestoreHP = 70
RespawnRestoreMP = 70
# Allow random regeneration in cities, indicating the maximum displacement
# From the main origin.
RespawnRandomInTown = True
RespawnRandomMaxOffset = 20
# The maximum number of slots for the purchase / sale (for dwarves and other races)
# By default, dwarf 5 slots, the other 4 races
MaxPvtStoreSlotsDwarf = 5
MaxPvtStoreSlotsOther = 4
# Keep the effects buffs and debuff when you exit the game
StoreSkillCooltime = True
# Rent with pets (wyvern and Strider). Example: 111,222,333
ListPetRentNpc = 30827
# Declare the location of Mammon NPCs to players during the ratification of the press.
AnnounceMammonSpawn = False
# Allow player to send petition?
PetitioningAllowed = True
# The number of petitions per session
MaxPetitionsPerPlayer = 5
# The number of petitions, which may consider GM
MaxPetitionsPending = 25
# ------------------------------
# Configure prison
# ------------------------------
# PvP zone?
JailIsPvp = False
# Turn off all chats except basics?
JailDisableChat = True
# Chance to get Death Penalty
DeathPenaltyChance = 20
# --------------------------------------
# Alternative time buffs
# --------------------------------------
# When the reads, buff, and their duration.
# Default: False
EnableModifySkillDuration = False
# Format: id_skill time; id_skill2, time2 ;....
# Example:
#SkillDurationList = 264,3660;265,3660;266,3660;267,3660;268,3660;\
#269,3660;270,3660;304,3660;305,3660;306,3660;308,3660;349,3660;\
#363,3660;364,3660;529,3660;271,3660;272,3660;273,3660;274,3660;\
#275,3660;276,3660;277,3660;307,3660;309,3660;310,3660;311,3660;\
#305,3660;366,3660;530,3660;365,3660;\
#1086,3660;1240,3660;1242,3660;1243,3660;1388,3660;1389,3660;336,3660;\
#1035,3660;1043,3660;1044,3660;1062,3660;1268,3660;1040,3660;1393,3660;\
#1077,3660;1078,3660;1085,3660;1204,3660;1036,3660;1045,3660;1048,3660;\
#1007,3660;1006,3660;1009,3660;1251,3660;1252,3660;1253,3660;1307,3660;\
#1284,3660;1308,3660;1309,3660;1310,3660;1390,3660;1391,3660;1362,3660;\
#1303,3660;1087,3660;1259,3660;1059,3660;1311,3660;1033,3660;1002,3660;\
#1068,3660;1397,3660;1032,3660;1189,3660;1191,3660;1182,3660;1365,3660;\
#1010,3660;1282,3660;1004,3660;1008,3660;1249,3660;1250,3660;1260,3660;\
#1261,3660;1364,3660;1259,3660;1073,3660;1257,3660;1304,3660;1460,3660;\
#1353,3660;1354,3660;1003,3660;1005,3660;\
#1352,3660;1442,3660;1392,3660;\
#1355,3660;1356,3660;1357,3660;1363,3660;1461,3660;1413,3660;1414,3660
SkillDurationList =
# --------------------------------
# Chat Filter System
# --------------------------------
# Enable chat filter default: false
UseChatFilter = False
# Replace illegal words with following chars
ChatFilterChars = -_-
# Punishment for bad words:
# Options:
# off - there is no punishment for the words
# Karma - karma giving
# Jail - jail
# Chat - chat ban
ChatFilterPunishment = off
# How long penalty minutes
ChatFilterPunishmentParam1 = 5
# How to give karma for the bad word
ChatFilterPunishmentParam2 = 1000
# -----------------------------
# Four Sepulchers
# -----------------------------
# The time allowed for the attack
TimeOfAttack = 50
# The time allowed for rest
TimeOfCoolDown = 5
# The time allowed to the input
TimeOfEntry = 3
# The time allowed for warm-up
TimeOfWarmUp = 2
# Minimum players in the party
NumberOfNecessaryPartyMembers = 4
# --------------------------------------------------
# Quake / Killing Spree System
# --------------------------------------------------
# Enable The Killing Spree System
# When a Player Hits an Amount of pvp's an announcement appears
AllowQuakeSystem = False
# Enable Messages to GMs on 4-5 consecutive pvp of a player
# Why? to see if a char are farming!
EnableAntiPvpFarmMsg = True
# -----------------------------------------
# Aio System
# -----------------------------------------
# Enable / Disable Aion System
EnableAioSystem = True
# Enable / Disable Name Color
AllowAioNameColor = True
AioNameColor = 88AA88
# Enable / Disable Title Color
AllowAioTitleColor = True
AioTitleColor = 88AA88
# List of Aio Skills
# Format : skillid,skilllvl;skillid2,skilllvl2;....skillidn,skilllvln
AioSkills = 1085,3;1304,3;1087,3;1354,1;1062,2;1005,3;1243,6;1045,6;1048,6;\
1311,6;168,3;213,8;1007,3;1309,3;1552,3;1006,3;1229,15;1308,3;1253,3;1284,3;\
1009,3;1310,4;1363,1;1362,1;1397,3;1292,6;1078,6;307,1;276,1;309,1;274,1;275,1;\
272,1;277,1;273,1;311,1;366,1;365,1;310,1;271,1;1242,3;1257,3;1353,3;1391,3;\
1352,1;229,7;228,3;1077,3;1218,33;1059,3;1219,33;1217,33;1388,3;1389,3;1240,3;\
1086,2;1032,3;1073,2;1036,2;1035,4;1068,3;1003,3;1282,2;1356,1;1355,1;1357,33;\
1044,3;1182,3;1191,3;1033,3;1189,3;1259,4;1306,6;234,23;1040,3;364,1;264,1;306,1;\
269,1;270,1;265,1;363,1;349,1;308,1;305,1;304,1;267,1;266,1;268,1;1390,3;1303,2;\
1204,2;1268,4;1413,1;4699,8;4700,8;4703,8
# Aio Buffers can use GK?
AllowAioUseGk = False
# Aio Buffers can speak to Class Master?
AllowAioUseClassMaster = False
# Allow AIO in events?
AllowAioInEvents = False
# Announce castle lords on enter game. default = False
AnnounceCastleLords = False
# Click task when target an Npc
# Leave as default if you don't know what you are changing
# Default: 50
ClickTask = 50
# Crit announce
GMShowCritAnnouncerName = False

View File

@ -1,6 +1,6 @@
#=========================================#
# Boss Configuration #
#=========================================#
# ---------------------------------------------------------------------------
# Raidboss Settings
# ---------------------------------------------------------------------------
# If True: Player can heal RB
# If False: Player can't heal RB
@ -42,9 +42,10 @@ AllowDirectTeleportToBossRoom = False
# Raid Info IDs showed
RaidInfoIDs = 29001,29006,29014,29019,29020,29022,29028,29045
# -----------------
# ---------------------------------------------------------------------------
# Antharas
# -----------------
# ---------------------------------------------------------------------------
# If true, the Interlude Script is used, meanwhile if you want new
# script feature (different Antharas Instances since weak to strong
# Antharas as for Freya) just set false
@ -66,9 +67,10 @@ AntharasWaitTime = 30
# Default 1.0 = retail
AntharasPowerMultiplier = 1.0
# --------------
# ---------------------------------------------------------------------------
# Baium
# --------------
# ---------------------------------------------------------------------------
# Time left Baium into hibernation after the last attack on him.
# The value in seconds.
BaiumSleep = 1800
@ -81,9 +83,10 @@ BaiumRespSecond = 16
# Default 1.0 = retail
BaiumPowerMultiplier = 1.0
# -----------
# ---------------------------------------------------------------------------
# Core
# -----------
# ---------------------------------------------------------------------------
# Time minion respawn after their murder.
# The value in seconds.
CoreRespMinion = 60
@ -99,9 +102,10 @@ CoreRingChance = 0
# Default 1.0 = retail
CorePowerMultiplier = 1.0
# -----------
# ---------------------------------------------------------------------------
# Zaken
# -----------
# ---------------------------------------------------------------------------
# Time respawn core after the murder. Total time respawn shield as follows:
# The first value + value in the range from 0 up to the second value.
# Value in hours.
@ -114,9 +118,10 @@ ZakenEarringChance = 0
# Default 1.0 = retail
ZakenPowerMultiplier = 1.0
# -----------
# ---------------------------------------------------------------------------
# Orfen
# -----------
# ---------------------------------------------------------------------------
# Time respawn core after the murder. Total time respawn shield as follows:
# The first value + value in the range from 0 up to the second value.
# Value in hours.
@ -129,9 +134,10 @@ OrfenEarringChance = 0
# Default 1.0 = retail
OrfenPowerMultiplier = 1.0
# -----------
# ---------------------------------------------------------------------------
# Valakas
# -----------
# ---------------------------------------------------------------------------
# Time respawn valakas after the murder. Total time respawn shield as follows:
# The first value + value in the range from 0 up to the second value.
# Value in hours.
@ -144,9 +150,10 @@ ValakasWaitTime = 30
ValakasDespawnTime = 240
ValakasPowerMultiplier = 1.0
# --------------------
# ---------------------------------------------------------------------------
# Queen Ant
# -------------------
# ---------------------------------------------------------------------------
# Time minion respawn after their murder.
# The value in seconds.
# Nurses
@ -165,9 +172,10 @@ QARingChance = 0
# Default 1.0 = retail
QueenAntPowerMultiplier = 1.0
# --------------------
# Frintezza -
# -------------------
# ---------------------------------------------------------------------------
# Frintezza
# ---------------------------------------------------------------------------
# Frintezza respawn time after the murder. Total time respawn shield as follows:
# The first value + value in the range from 0 up to the second value.
# Value in hours.
@ -188,9 +196,10 @@ BypassPartiesCheck = False
# in this mode: power = retail_power * ((level_diff/10)*LevelDiffMultiplier)
LevelDiffMultiplierMinion = 0.5
# --------------------------------------
# ---------------------------------------------------------------------------
# High Priest van Halter
# --------------------------------------
# ---------------------------------------------------------------------------
# Time for the High Priest van Halter.
# Value in seconds. Interval 300-864000
# The time taken from random FixIntervalOfVanHalter before FixIntervalOfVanHalter + RandomIntervalOfVanHalter.

View File

@ -81,6 +81,15 @@ BackupDays = 30
# Misc Server Settings
# ---------------------------------------------------------------------------
# This is the server ID that the Game Server will request.
# Example: 1 = Bartz
# Default: 1
RequestServerID = 1
# True = The Login Server will give an other ID to the server if the requested ID is already reserved.
# Default: True
AcceptAlternateID = True
# Datapack root directory.
# Defaults to current directory from which the server is started unless the below line is uncommented.
# WARNING: <u><b><font color="red">If the specified path is invalid, it will lead to multiple errors!</font></b></u>
@ -89,3 +98,62 @@ DatapackRoot = .
# Scripts root directory.
ScriptRoot = ./data/scripts
# Define how many players are allowed to play simultaneously on your server.
# Default: 2000
MaximumOnlineUsers = 2000
# Minimum and maximum protocol revision that server allow to connect.
# You must keep MinProtocolRevision <= MaxProtocolRevision.
# Retail 740 - 746
MinProtocolRevision = 740
MaxProtocolRevision = 746
# Setting for serverList.
# Displays [] in front of server name.
# Default: False
ServerListBrackets = False
# Displays a clock next to the server name.
# Default: False
ServerListClock = False
# ---------------------------------------------------------------------------
# Thread Configuration
# ---------------------------------------------------------------------------
# Specifies how many threads will be in the scheduled pool.
# Default: 40
ScheduledThreadPoolCount = 40
# Specifies how many threads will be in the single instant pool.
# Default: 20
InstantThreadPoolCount = 20
# ---------------------------------------------------------------------------
# Misc Player Settings
# ---------------------------------------------------------------------------
# Character name template.
# Examples:
# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*
# The above setting will allow names with first capital letter, next three small letters,
# and any letter (case insensitive) or number, like OmfgWTF1
# CnameTemplate = [A-Z][a-z]*
# The above setting will allow names only of letters with first one capital, like Omfgwtf
# Default .* (allows any symbol)
CnameTemplate = .*
# This setting restricts names players can give to their pets.
# See CnameTemplate for details
PetNameTemplate = .*
# This setting restricts clan/subpledge names players can set.
# See CnameTemplate for details
ClanNameTemplate = .*
# This setting restricts ally names players can set.
# See CnameTemplate for details
AllyNameTemplate = .*

View File

@ -1,3 +1,6 @@
# ---------------------------------------------------------------------------
# Daemons settings
# ---------------------------------------------------------------------------
# Preamble:
# Standard set up is possible only two parameters of demons:
# - Pereodichnost run in milliseconds
@ -29,8 +32,12 @@ CheckTeleportZombiesDelay = 60000
CleanDBInitial = 300000
CleanDBDelay = 900000
# DEAD LOCK CHECK DAEMON:
# Allows to block the flow and see what they blocked
# More details: http://en.wikipedia.org/wiki/Deadlock
# ---------------------------------------------------------------------------
# Dead Lock Detector (separate thread for detecting deadlocks)
# ---------------------------------------------------------------------------
# For improved crash logs and automatic restart in deadlock case if enabled.
# Check interval is in seconds.
# Default: 0 (disabled)
DeadLockCheck = 0
DeadLockDelay = 0
DeadLockDelay = 0

File diff suppressed because it is too large Load Diff

View File

@ -23,8 +23,6 @@ import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Logger;
import org.l2jmobius.Config;
public class OlympiadLogger
{
private static final Logger LOGGER = Logger.getLogger(OlympiadLogger.class.getName());
@ -69,15 +67,4 @@ public class OlympiadLogger
add(text, null);
}
}
public static final void Assert(boolean exp, String cmt)
{
if (exp || !Config.ASSERT)
{
return;
}
LOGGER.info("Assertion error [" + cmt + "]");
Thread.dumpStack();
}
}

View File

@ -20,7 +20,6 @@ import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.WorldObject;
/**
@ -213,10 +212,6 @@ public final class L2ObjectHashMap<T extends WorldObject>extends L2ObjectMap<T>
expand();
}
final int hashcode = obj.getObjectId();
if (Config.ASSERT)
{
assert hashcode > 0;
}
int seed = hashcode;
final int incr = 1 + (((seed >> 5) + 1) % (_table.length - 1));
int ntry = 0;
@ -255,11 +250,6 @@ public final class L2ObjectHashMap<T extends WorldObject>extends L2ObjectMap<T>
{
return;
}
// this should never happen
if (Config.ASSERT)
{
assert obj.getObjectId() != _table[pos].getObjectId();
}
// if there was no collisions at this slot, and we found a free
// slot previously - use found slot
if ((slot >= 0) && (_keys[pos] > 0))
@ -300,10 +290,6 @@ public final class L2ObjectHashMap<T extends WorldObject>extends L2ObjectMap<T>
public synchronized void remove(T obj)
{
final int hashcode = obj.getObjectId();
if (Config.ASSERT)
{
assert hashcode > 0;
}
int seed = hashcode;
final int incr = 1 + (((seed >> 5) + 1) % (_table.length - 1));
int ntry = 0;
@ -418,10 +404,6 @@ public final class L2ObjectHashMap<T extends WorldObject>extends L2ObjectMap<T>
continue;
}
final int hashcode = _keys[i] & 0x7FFFFFFF;
if (Config.ASSERT)
{
assert hashcode == obj.getObjectId();
}
int seed = hashcode;
final int incr = 1 + (((seed >> 5) + 1) % (newSize - 1));
int ntry = 0;
@ -430,10 +412,6 @@ public final class L2ObjectHashMap<T extends WorldObject>extends L2ObjectMap<T>
final int pos = (seed % newSize) & 0x7FFFFFFF;
if (newTable[pos] == null)
{
if (Config.ASSERT)
{
assert (newKeys[pos] == 0) && (hashcode != 0);
}
// found an empty slot without previous collisions,
// but use previously found slot
newKeys[pos] = hashcode;

View File

@ -20,7 +20,6 @@ import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.WorldObject;
/**
@ -174,10 +173,6 @@ public final class L2ObjectHashSet<T extends WorldObject>extends L2ObjectSet<T>
expand();
}
final int hashcode = obj.getObjectId();
if (Config.ASSERT)
{
assert hashcode > 0;
}
int seed = hashcode;
final int incr = 1 + (((seed >> 5) + 1) % (_table.length - 1));
int ntry = 0;
@ -211,11 +206,6 @@ public final class L2ObjectHashSet<T extends WorldObject>extends L2ObjectSet<T>
{
return;
}
// this should never happen
if (Config.ASSERT)
{
assert obj.getObjectId() != _table[pos].getObjectId();
}
// if there was no collisions at this slot, and we found a free
// slot previously - use found slot
if ((slot >= 0) && ((_collisions[pos >> 5] & (1 << (pos & 31))) == 0))
@ -252,10 +242,6 @@ public final class L2ObjectHashSet<T extends WorldObject>extends L2ObjectSet<T>
return;
}
final int hashcode = obj.getObjectId();
if (Config.ASSERT)
{
assert hashcode > 0;
}
int seed = hashcode;
final int incr = 1 + (((seed >> 5) + 1) % (_table.length - 1));
int ntry = 0;
@ -307,10 +293,6 @@ public final class L2ObjectHashSet<T extends WorldObject>extends L2ObjectSet<T>
return false;
}
final int hashcode = obj.getObjectId();
if (Config.ASSERT)
{
assert hashcode > 0;
}
int seed = hashcode;
final int incr = 1 + (((seed >> 5) + 1) % (size - 1));
int ntry = 0;

View File

@ -22,7 +22,6 @@ import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import org.l2jmobius.Config;
import org.l2jmobius.commons.database.DatabaseFactory;
import org.l2jmobius.gameserver.datatables.SkillTable;
import org.l2jmobius.gameserver.datatables.sql.ArmorSetsTable;
@ -196,11 +195,6 @@ public abstract class Inventory extends ItemContainer
return;
}
if (Config.ASSERT)
{
assert null == getPaperdollItem(PAPERDOLL_LRHAND);
}
if (item.getItemType() == WeaponType.BOW)
{
ItemInstance arrow = getPaperdollItem(PAPERDOLL_LHAND);
@ -234,11 +228,6 @@ public abstract class Inventory extends ItemContainer
return;
}
if (Config.ASSERT)
{
assert item == getPaperdollItem(PAPERDOLL_LRHAND);
}
if (item.getItemType() == WeaponType.BOW)
{
ItemInstance arrow = findArrowForBow(item.getItem());
@ -889,11 +878,6 @@ public abstract class Inventory extends ItemContainer
*/
public synchronized void addPaperdollListener(PaperdollListener listener)
{
if (Config.ASSERT)
{
assert !_paperdollListeners.contains(listener);
}
_paperdollListeners.add(listener);
}

View File

@ -18,7 +18,6 @@ package org.l2jmobius.gameserver.model;
import java.util.logging.Logger;
import org.l2jmobius.Config;
import org.l2jmobius.gameserver.model.actor.Creature;
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
@ -58,11 +57,6 @@ public class ObjectPosition
*/
public final void setXYZ(int x, int y, int z)
{
if (Config.ASSERT)
{
assert getWorldRegion() != null;
}
setWorldPosition(x, y, z);
try
@ -110,10 +104,6 @@ public class ObjectPosition
*/
public final void setXYZInvisible(int x, int y, int z)
{
if (Config.ASSERT)
{
assert getWorldRegion() == null;
}
if (x > World.MAP_MAX_X)
{
x = World.MAP_MAX_X - 5000;

View File

@ -109,31 +109,16 @@ public abstract class WorldObject
public final int getX()
{
if (Config.ASSERT)
{
assert (getPosition().getWorldRegion() != null) || _isVisible;
}
return getPosition().getX();
}
public final int getY()
{
if (Config.ASSERT)
{
assert (getPosition().getWorldRegion() != null) || _isVisible;
}
return getPosition().getY();
}
public final int getZ()
{
if (Config.ASSERT)
{
assert (getPosition().getWorldRegion() != null) || _isVisible;
}
return getPosition().getZ();
}
@ -158,11 +143,6 @@ public abstract class WorldObject
*/
public final void decayMe()
{
if (Config.ASSERT)
{
assert getPosition().getWorldRegion() != null;
}
// Remove the WorldObject from the world
_isVisible = false;
World.getInstance().removeVisibleObject(this, getPosition().getWorldRegion());
@ -198,16 +178,6 @@ public abstract class WorldObject
*/
public final void pickupMe(Creature creature) // NOTE: Should move this function into ItemInstance because it does not apply to Creature
{
if (Config.ASSERT)
{
assert this instanceof ItemInstance;
}
if (Config.ASSERT)
{
assert getPosition().getWorldRegion() != null;
}
WorldRegion oldregion = getPosition().getWorldRegion();
// Create a server->client GetItem packet to pick up the ItemInstance
@ -264,11 +234,6 @@ public abstract class WorldObject
*/
public final void spawnMe()
{
if (Config.ASSERT)
{
assert (getPosition().getWorldRegion() == null) && (getPosition().getWorldPosition().getX() != 0) && (getPosition().getWorldPosition().getY() != 0) && (getPosition().getWorldPosition().getZ() != 0);
}
synchronized (this)
{
// Set the x,y,z position of the WorldObject spawn and update its _worldregion
@ -291,11 +256,6 @@ public abstract class WorldObject
public final void spawnMe(int x, int y, int z)
{
if (Config.ASSERT)
{
assert getPosition().getWorldRegion() == null;
}
synchronized (this)
{
// Set the x,y,z position of the WorldObject spawn and update its _worldregion

View File

@ -339,11 +339,6 @@ public final class WorldRegion
*/
public void addVisibleObject(WorldObject object)
{
if (Config.ASSERT)
{
assert object.getWorldRegion() == this;
}
if (object == null)
{
return;
@ -372,11 +367,6 @@ public final class WorldRegion
*/
public void removeVisibleObject(WorldObject object)
{
if (Config.ASSERT)
{
assert (object.getWorldRegion() == this) || (object.getWorldRegion() == null);
}
if (object == null)
{
return;

View File

@ -353,11 +353,6 @@ public final class ItemInstance extends WorldObject
*/
public int getEquipSlot()
{
if (Config.ASSERT)
{
assert (_loc == ItemLocation.PAPERDOLL) || (_loc == ItemLocation.PET_EQUIP) || (_loc == ItemLocation.FREIGHT);
}
return _locData;
}
@ -1162,11 +1157,6 @@ public final class ItemInstance extends WorldObject
*/
public final void dropMe(Creature dropper, int x, int y, int z)
{
if (Config.ASSERT)
{
assert getPosition().getWorldRegion() == null;
}
if (Config.PATHFINDING && (dropper != null))
{
Location dropDest = GeoEngine.getInstance().canMoveToTargetLoc(dropper.getX(), dropper.getY(), dropper.getZ(), x, y, z, dropper.getInstanceId());
@ -1207,11 +1197,6 @@ public final class ItemInstance extends WorldObject
*/
private void updateInDb()
{
if (Config.ASSERT)
{
assert _existsInDb;
}
if (_wear)
{
return;
@ -1257,11 +1242,6 @@ public final class ItemInstance extends WorldObject
return;
}
if (Config.ASSERT)
{
assert !_existsInDb && (getObjectId() != 0);
}
try (Connection con = DatabaseFactory.getConnection())
{
PreparedStatement statement = con.prepareStatement("INSERT INTO items (owner_id,item_id,count,loc,loc_data,enchant_level,price_sell,price_buy,object_id,custom_type1,custom_type2,mana_left) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)");
@ -1299,11 +1279,6 @@ public final class ItemInstance extends WorldObject
return;
}
if (Config.ASSERT)
{
assert _existsInDb;
}
// delete augmentation data
if (isAugmented())
{
@ -1470,11 +1445,6 @@ public final class ItemInstance extends WorldObject
*/
public int getLocationSlot()
{
if (Config.ASSERT)
{
assert (_loc == ItemLocation.PAPERDOLL) || (_loc == ItemLocation.PET_EQUIP) || (_loc == ItemLocation.FREIGHT) || (_loc == ItemLocation.INVENTORY);
}
return _locData;
}

View File

@ -550,13 +550,6 @@ public class EnterWorld extends GameClientPacket
player.removeSkill(3628, true);
}
// If it's a Beta server all players got GM SPEED skill for better testing
if (Config.BETASERVER)
{
player.addSkill(SkillTable.getInstance().getInfo(7029, 4), true);
player.sendMessage("Server is on Beta mode. Skill Gm Haste 4 added for better testing.");
}
// Send all skills to char
player.sendSkillList();

View File

@ -36,7 +36,11 @@ public final class ProtocolVersion extends GameClientPacket
@Override
protected void runImpl()
{
if ((_version < Config.MIN_PROTOCOL_REVISION) || (_version > Config.MAX_PROTOCOL_REVISION))
if ((_version == 65534) || (_version == -2)) // Ping
{
getClient().close((GameServerPacket) null);
}
else if ((_version < Config.MIN_PROTOCOL_REVISION) || (_version > Config.MAX_PROTOCOL_REVISION))
{
LOGGER.info("Client: " + getClient() + " -> Protocol Revision: " + _version + " is invalid. Minimum is " + Config.MIN_PROTOCOL_REVISION + " and Maximum is " + Config.MAX_PROTOCOL_REVISION + " are supported. Closing connection.");
LOGGER.warning("Wrong Protocol Version " + _version);