• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

config rates not working

elkingahmed

New Member
Joined
May 31, 2012
Messages
116
Reaction score
2
someone help me to fix rates in config , its not working i've set the expfromplayer to 0 and i still get like 5 levels from killing players event the monster exp rates not working too
tfs 0.4
[/SPOILER]
Code:
    accountManager = false
    namelockManager = true
    newPlayerChooseVoc = false
    newPlayerSpawnPosX = 95
    newPlayerSpawnPosY = 117
    newPlayerSpawnPosZ = 7
    newPlayerTownId = 1
    newPlayerLevel = 1
    newPlayerMagicLevel = 0
    generateAccountNumber = false

   
    enableCast = true

    useFragHandler = true
    redSkullLength = 1 * 60 * 60 * 24
    blackSkullLength = 2 * 60 * 60 * 24
    dailyFragsToRedSkull = 50000
    weeklyFragsToRedSkull = 20000
    monthlyFragsToRedSkull = 75000
    dailyFragsToBlackSkull = 70000
    weeklyFragsToBlackSkull = 40000
    monthlyFragsToBlackSkull = 85000
    dailyFragsToBanishment = 10000
    weeklyFragsToBanishment = 50000
    monthlyFragsToBanishment = 100000
    blackSkulledDeathHealth = 40
    blackSkulledDeathMana = 0
    useBlackSkull = true
    advancedFragList = true


    notationsToBan = 3
    warningsToFinalBan = 4
    warningsToDeletion = 5
    banLength = 3 * 24 * 60 * 60
    killsBanLength = 3 * 24 * 60 * 60
    finalBanLength = 7 * 24 * 60 * 60
    ipBanishmentLength = 30 * 24 * 60 * 60
    broadcastBanishments = true
    maxViolationCommentSize = 200
    violationNameReportActionType = 2
    autoBanishUnknownBytes = false


    worldType = "open"
    protectionLevel = 100
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 3 * 1000
    huntingDuration = 6 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = true
    removeWeaponAmmunition = false
    removeWeaponCharges = false
    removeRuneCharges = false
    whiteSkullTime = 1.5 * 60 * 1000
    noDamageToSameLookfeet = false
    showHealingDamage = true
    showHealingDamageForMonsters = true
    fieldOwnershipDuration = 5 * 1000
    stopAttackingAtExit = false
    loginProtectionPeriod = 10 * 1000
    deathLostPercent = 0
    stairhopDelay = 1 * 500
    pushCreatureDelay = 1 * 100
    deathContainerId = 1987
    gainExperienceColor = 215
    addManaSpentInPvPZone = true
    squareColor = 0
    allowFightback = false
    fistBaseAttack = 7

   
    worldId = 0
    ip = ""
    loginPort = 7171
    gamePort = 7172
    loginTries = 10
    retryTimeout = 5 * 1000
    loginTimeout = 60 * 1000
    maxPlayers = 1000
    motd = "Welcome"
    displayOnOrOffAtCharlist = false
    onePlayerOnlinePerAccount = false
    allowClones = false
    serverName = ""
    loginMessage = "Welcome"
    statusTimeout = 5 * 60 * 1000
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    loginOnlyWithLoginServer = false
    premiumPlayerSkipWaitList = false


    sqlType = "mysql"
    sqlHost = "localhost"
    sqlPort = 3306
    sqlUser = ""
    sqlPass = ""
    sqlDatabase = ""
    sqlFile = ""
    sqlKeepAlive = 0
    mysqlReadTimeout = 0
    mysqlWriteTimeout = 0
    mysqlReconnectionAttempts = 1
    encryptionType = "sha1"


    deathListEnabled = true
    deathListRequiredTime = 1 * 60 * 1000
    deathAssistCount = 19
    maxDeathRecords = 5


    ingameGuildManagement = false
    levelToFormGuild = 80
    premiumDaysToFormGuild = 0
    guildNameMinLength = 3
    guildNameMaxLength = 20

    highscoreDisplayPlayers = 15
    updateHighscoresAfterMinutes = 60


    buyableAndSellableHouses = true
    houseNeedPremium = true
    bedsRequirePremium = true
    levelToBuyHouse = 150000
    housesPerAccount = 1
    houseRentAsPrice = false
    housePriceAsRent = false
    housePriceEachSquare = 5
    houseRentPeriod = "never"
    houseCleanOld = 86400 * 15
    guildHalls = false


    timeBetweenActions = 200
    timeBetweenExActions = 1000
    hotkeyAimbotEnabled = true


    mapName = "Evolution.otbm"
    mapAuthor = ""
    randomizeTiles = true
    storeTrash = true
    cleanProtectedZones = true
    mailboxDisabledTowns = ""

    defaultPriority = "high"
    niceLevel = 5
    coresUsed = "0"

    startupDatabaseOptimization = true
    updatePremiumStateAtStartup = true
    confirmOutdatedVersion = false


    formulaLevel = 5.0
    formulaMagic = 1.0
    bufferMutedOnSpellFailure = false
    spellNameInsteadOfWords = false
    emoteSpells = true


    allowChangeOutfit = true
    allowChangeColors = true
    allowChangeAddons = true
    disableOutfitsForPrivilegedPlayers = false
    addonsOnlyPremium = true


    dataDirectory = "data/"
    logsDirectory = "data/logs/"
    bankSystem = true
    displaySkillLevelOnAdvance = true
    promptExceptionTracerErrorBox = true
    maximumDoorLevel = 500
    maxMessageBuffer = 15

    separateVipListPerCharacter = false
    vipListDefaultLimit = 20
    vipListDefaultPremiumLimit = 100


    saveGlobalStorage = true
    useHouseDataStorage = true
    storePlayerDirection = false


    checkCorpseOwner = true
    monsterLootMessage = 3
    monsterLootMessageType = 25


    ghostModeInvisibleEffect = false
    ghostModeSpellEffects = true


    idleWarningTime = 24 * 24 * 60 * 60
    idleKickTime = 24 * 24 * 60 * 60
    reportsExpirationAfterReads = 1
    playerQueryDeepness = 2
    tileLimit = 0
    protectionTileLimit = 0
    houseTileLimit = 0


    freePremium = true
    premiumForPromotion = false


    blessings = true
    blessingOnlyPremium = false
    blessingReductionBase = 0
    blessingReductionDecrement = 0
    eachBlessReduction = 0



    experienceStages = true
    rateExperience = 5.0
    rateExperienceFromPlayers = 0
    rateSkill = 45.0
    rateMagic = 30.0
    rateLoot = 3.5
    rateSpawn = 3


    rateMonsterHealth = 1.0
    rateMonsterMana = 1.0
    rateMonsterAttack = 1.0
    rateMonsterDefense = 1.0

   
    minLevelThresholdForKilledPlayer = 0.9
    maxLevelThresholdForKilledPlayer = 250



    rateStaminaLoss = 1
    rateStaminaGain = 3
    rateStaminaThresholdGain = 12
    staminaRatingLimitTop = 40 * 60
    staminaRatingLimitBottom = 14 * 60
    staminaLootLimit = 14 * 60
    rateStaminaAboveNormal = 1.5
    rateStaminaUnderNormal = 0.5
    staminaThresholdOnlyPremium = true


    experienceShareRadiusX = 0
    experienceShareRadiusY = 0
    experienceShareRadiusZ = 0
    experienceShareLevelDifference = 0
    extraPartyExperienceLimit = 20
    extraPartyExperiencePercent = 0
    experienceShareActivity = 1 * 60 * 1000


    globalSaveEnabled = false
    globalSaveHour = 8
    globalSaveMinute = 0
    shutdownAtGlobalSave = true
    cleanMapAtGlobalSave = false
   



    deSpawnRange = 2
    deSpawnRadius = 50


    maxPlayerSummons = 2
    teleportAllSummons = false
    teleportPlayerSummons = false


    statusPort = 7171
    ownerName = ""
    ownerEmail = ""
    url = ""
    location = "Europe"
    displayGamemastersWithOnlineCommand = false


    displayPlayersLogging = true
    prefixChannelLogs = ""
    runFile = ""
    outputLog = ""
    truncateLogsOnStartup = false

    managerPort = 7171
    managerLogs = true
    managerPassword = ""
    managerLocalhostOnly = true
    managerConnectionsLimit = 1


    adminPort = 7171
    adminLogs = true
    adminPassword = ""
    adminLocalhostOnly = true
    adminConnectionsLimit = 1
    adminRequireLogin = true
    adminEncryption = ""
    adminEncryptionData = ""
 
To fix the monster exp rate, change experienceStages = true to experienceStages = false so your server will use the rateExperience for all levels. But you can use the stages changing each rate in XML/stages.xml
Also for the PvP problem i would change maxLevelThresholdForKilledPlayer = 250 to maxLevelThresholdForKilledPlayer = 1.1 but idk why they are giving exp if its not hardcore type
 
Last edited:
To fix the monster exp rate, change experienceStages = true to experienceStages = false so your server will use the rateExperience for all levels. But you can use the stages changing each rate in XML/stages.xml
Also for the PvP problem i would change maxLevelThresholdForKilledPlayer = 250 to maxLevelThresholdForKilledPlayer = 1.1 but idk why they are giving exp if its not hardcore type
so if i turned the stages on its its going to affect all rates not only monsters exp ?
its war ot so i need the exp from players but the problem is i failed to edit the amount of gained exp
and i didnt know about maxLevelThresholdForKilledPlayer how does it work ?
 
so if i turned the stages on its its going to affect all rates not only monsters exp ?
its war ot so i need the exp from players but the problem is i failed to edit the amount of gained exp
and i didnt know about maxLevelThresholdForKilledPlayer how does it work ?
Oh i see, so its a war server.
No, the stage system is only for monsters.
About the threshold, here is a explanation: minLevelThresholdForKilledPlayer
 
what about the expfromplayers option in config is it useless ?

I will suggest you to not use in config.lua because for example
If player level 3000 and 300 level kills him he will get 500-700 level by 1 single death
If you use custom special scripts and player level 300 and he kills to level 3000, you can configure, and player will get 2 levels per death,
 
Back
Top