Advertisement
Guest User

ayudame porfavor

a guest
Oct 13th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 12.08 KB | None | 0 0
  1. -- The OTX Server Config
  2.  
  3.    
  4. -- Owner Data
  5.     ownerName = ""
  6.    
  7. ownerEmail = ""
  8.     url = ""
  9.    
  10. location = ""
  11.  
  12.    
  13.  
  14. -- Messages
  15.    
  16. motd = "Welcome to the OTX Server!"
  17.    
  18. serverName = "OTXSERVER"
  19.    
  20. loginMessage = "Welcome to The OTX Server!"
  21.    
  22. displayGamemastersWithOnlineCommand = false
  23.  
  24.  
  25.    
  26. -- MySql
  27.    
  28. sqlType = "sqlite"
  29.    
  30. sqlHost = "127.0.0.1"
  31.    
  32. sqlPort = 3306
  33.    
  34. sqlUser = "root"
  35.    
  36. sqlPass = ""
  37.    
  38. sqlDatabase = ""
  39.    
  40. sqlFile = "schemas/otxserver.s3db"
  41.    
  42. sqlKeepAlive = 0
  43.    
  44. mysqlReadTimeout = 10
  45.    
  46. mysqlWriteTimeout = 10
  47.    
  48. mysqlReconnectionAttempts = 3
  49.    
  50. encryptionType = "sha1"
  51.  
  52. --// encryptionType can be (plain, md5, sha1, sha256 or sha512).
  53.  
  54.    
  55.  
  56. -- World / Ip / Port
  57.    
  58. worldId = 0
  59.    
  60. ip = "127.0.0.1"
  61.    
  62. worldType = "open"
  63.    
  64. bindOnlyGlobalAddress = false
  65.    
  66. loginPort = 7171
  67.    
  68. gamePort = "7172"
  69.    
  70. statusPort = 7171
  71.    
  72. loginOnlyWithLoginServer = false
  73.  
  74.    
  75. -- Account manager
  76.    
  77. accountManager = true
  78.    
  79. namelockManager = true
  80.    
  81. newPlayerChooseVoc = true
  82.    
  83. newPlayerSpawnPosX = 0 
  84. newPlayerSpawnPosY = 0
  85.    
  86. newPlayerSpawnPosZ = 2 
  87. newPlayerTownId = 2
  88.    
  89. newPlayerLevel = 100
  90.    
  91. newPlayerMagicLevel = 100
  92.    
  93. generateAccountNumber = false
  94.    
  95. generateAccountSalt = true
  96.  
  97.    
  98. -- Limits on frags / Time
  99.     fragsLimit = 24 * 60 * 60
  100.     fragsSecondLimit = 7 * 24 * 60 * 60
  101.     fragsThirdLimit = 30 * 24 * 60 * 60
  102.  
  103.     -- Red Skull Config
  104.     fragsToRedSkull = 3
  105.     fragsSecondToRedSkull = 5
  106.     fragsThirdToRedSkull = 10
  107.     redSkullLength = 3 * 24 * 60 * 60
  108.  
  109.     -- Black Skull Config
  110.     fragsToBlackSkull = 6
  111.     fragsSecondToBlackSkull = 10
  112.     fragsThirdToBlackSkull = 20
  113.     blackSkulledDeathHealth = 40
  114.     blackSkulledDeathMana = 0
  115.     blackSkullLength = 6 * 24 * 60 * 60
  116.     useBlackSkull = true
  117.  
  118.     -- Banishment Config
  119.     -- killsBanLength works only if useBlackSkull option is disabled.
  120.     notationsToBan = 3
  121.     warningsToFinalBan = 4
  122.     warningsToDeletion = 5
  123.     banLength = 7 * 24 * 60 * 60
  124.     killsBanLength = 7 * 24 * 60 * 60
  125.     finalBanLength = 30 * 24 * 60 * 60
  126.     ipBanLength = 1 * 24 * 60 * 60
  127.     fragsToBanishment = 7
  128.     fragsSecondToBanishment = 21
  129.     fragsThirdToBanishment = 41
  130.  
  131.     -- Battle
  132.     -- NOTE: showHealth/ManaChangeForMonsters inherites from showHealth/ManaChange.
  133.     protectionLevel = 1
  134.     pvpTileIgnoreLevelAndVocationProtection = true
  135.     allowFightback = true
  136.     pzLocked = 60 * 1000
  137.     huntingDuration = 60 * 1000
  138.     criticalHitMultiplier = 1
  139.     displayCriticalHitNotify = true
  140.     removeWeaponAmmunition = true
  141.     removeWeaponCharges = true
  142.     removeRuneCharges = true
  143.     whiteSkullTime = 15 * 60 * 1000
  144.     advancedFragList = true
  145.     useFragHandler = true
  146.     noDamageToSameLookfeet = false
  147.     showHealthChange = true
  148.     showManaChange = true
  149.     showHealthChangeForMonsters = true
  150.     showManaChangeForMonsters = true
  151.     fieldOwnershipDuration = 5 * 1000
  152.     stopAttackingAtExit = true
  153.     loginProtectionPeriod = 10 * 1000
  154.     deathLostPercent = 10
  155.     stairhopDelay = 2 * 1000
  156.     pushCreatureDelay = 2 * 1000
  157.     deathContainerId = 1987
  158.     gainExperienceColor = 215
  159.     addManaSpentInPvPZone = true
  160.     recoverManaAfterDeathInPvPZone = true
  161.     squareColor = 0
  162.  
  163.     -- RSA
  164.     -- NOTE: These should not be changed unless you know what your doing!
  165.     -- Prime1 - known as p; Prime2 - known as q; Public - known as e;
  166.     -- Modulus - known as n; Private - known as d.
  167.     -- How make custom client with custom RSA Key: http://vapus.net/customclient
  168.     rsaPrime1 = "14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113"
  169.     rsaPrime2 = "7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101"
  170.     rsaPublic = "65537"
  171.     rsaModulus = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413"
  172.     rsaPrivate = "46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073"
  173.  
  174.     -- OTX Server Extras Features
  175.         -- Battle
  176.         optionalWarAttackableAlly = true
  177.         fistBaseAttack = 7
  178.         criticalHitChance = 7
  179.         noDamageToGuildMates = false
  180.             -- if true then no damage, if false then damage
  181.         noDamageToPartyMembers = false
  182.             -- if true then no damage, if false then damage
  183.  
  184.         -- Rook System
  185.         rookLevelTo = 5
  186.         rookLevelToLeaveRook = 8
  187.         rookTownId = 1
  188.         useRookSystem = true
  189.  
  190.         -- Paralyze delay
  191.         paralyzeDelay = 1500
  192.  
  193.         -- GUI
  194.         premiumDaysToAddByGui = 10
  195.  
  196.         -- Depot and Miscellaneous
  197.         -- set playerFollowExhaust to 2000 if someone causes lags and kicks by following unreachable creatures too often
  198.         useCapacity = true
  199.         defaultDepotSize = 500
  200.         defaultDepotSizePremium = 1000
  201.         enableProtectionQuestForGM = true
  202.         cleanItemsInMap = false
  203.         playerFollowExhaust = 2000
  204.  
  205.         -- 8.7x + config
  206.         useMounts = true
  207.         enableCooldowns = true
  208.         unmountPlayerInPz = true
  209.         tibiaClassicSlots = true
  210.         monsterSpawnWalkback = true
  211.         allowBlockSpawn = true
  212.  
  213.         -- Summons and monsters
  214.         NoShareExpSummonMonster = false
  215.  
  216.         -- Others
  217.         -- gmAnonymousInChanel = 0 - normal; 1 - in help channel; 2 - all channels
  218.         enableLootBagDisplay = false
  219.         serverPreview = false
  220.         levelToOfflineTraining = 8
  221.         advertisingBlock = ""
  222.         gmAnonymousInChanel = 0
  223.         useRunesRequirements = true
  224.  
  225.         -- Advanced Version
  226.         -- Note: If you use another protocol than the one we set as you will have functional failures.
  227.         -- Supported (10.30) = 10.30
  228.         -- Supported (10.39) = 10.39
  229.         manualVersionConfig = false
  230.         versionMin = 1030
  231.         versionMax = 1039
  232.         versionMsg = "Only clients with protocol 10.30 allowed!"
  233.  
  234.     -- Connection config
  235.     loginTries = 20
  236.     retryTimeout = 5 * 1000
  237.     loginTimeout = 60 * 1000
  238.     maxPlayers = 200
  239.     onePlayerOnlinePerAccount = true
  240.     allowClones = 0
  241.     statusTimeout = 1000
  242.     replaceKickOnLogin = true
  243.     forceSlowConnectionsToDisconnect = false
  244.     premiumPlayerSkipWaitList = true
  245.     packetsPerSecond = 50
  246.  
  247.     -- Deathlist
  248.     deathListEnabled = true
  249.     deathListRequiredTime = 1 * 60 * 1000
  250.     deathAssistCount = 20
  251.     maxDeathRecords = 5
  252.  
  253.     -- Guilds
  254.     ingameGuildManagement = true
  255.     levelToFormGuild = 20
  256.     premiumDaysToFormGuild = 0
  257.     guildNameMinLength = 4
  258.     guildNameMaxLength = 20
  259.  
  260.     -- Highscores
  261.     highscoreDisplayPlayers = 15
  262.     updateHighscoresAfterMinutes = 60
  263.  
  264.     -- Houses
  265.     buyableAndSellableHouses = true
  266.     houseNeedPremium = true
  267.     bedsRequirePremium = true
  268.     levelToBuyHouse = 20
  269.     housesPerAccount = 1
  270.     houseRentAsPrice = false
  271.     housePriceAsRent = false
  272.     housePriceEachSquare = 1000
  273.     houseRentPeriod = "weekly"
  274.     houseCleanOld = 8 * 24 * 60 * 60
  275.     guildHalls = true
  276.     houseSkipInitialRent = true
  277.     houseProtection = true
  278.  
  279.     -- Item usage
  280.     timeBetweenActions = 200
  281.     timeBetweenExActions = 1000
  282.     timeBetweenCustomActions = 500
  283.     checkCorpseOwner = true
  284.     hotkeyAimbotEnabled = true
  285.     maximumDoorLevel = 999
  286.     tradeLimit = 100
  287.     canOnlyRopePlayers = false
  288.  
  289.     -- Map
  290.     -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
  291.     -- houseDataStorage usage may be found at how-use-internal-functions.log
  292.     mapAuthor = "Komic"
  293.     randomizeTiles = true
  294.     houseDataStorage = "binary-tilebased"
  295.     storeTrash = true
  296.     cleanProtectedZones = true
  297.     mapName = "forgotten.otbm"
  298.         -- For Windows(compiled with MSVC) and Linux use:
  299.         -- OTX Server use default GroundCache
  300.         -- GroundCache mode save memory: __GROUND_CACHE__
  301.             -- forgotten map on normal mode use memory: 361,512 KB
  302.             -- forgotten map with groundCache mode use memory: 334,124 KB
  303.  
  304.     -- Mailbox
  305.     mailMaxAttempts = 5
  306.     mailBlockPeriod = 30 * 60 * 1000
  307.     mailAttemptsFadeTime = 5 * 60 * 1000
  308.     mailboxDisabledTowns = ""
  309.         -- Example disable rook depot (temple) "4"
  310.         -- mailboxDisabledTowns = "4"
  311.  
  312.     -- Market
  313.     marketEnabled = true
  314.     marketOfferDuration = 30 * 24 * 60 * 60
  315.     premiumToCreateMarketOffer = true
  316.     checkExpiredMarketOffersEachMinutes = 60
  317.     maxMarketOffersAtATimePerPlayer = 100
  318.  
  319.     -- Startup
  320.     -- For Linux use "-1" is default
  321.     -- daemonize works only on *nix, same as niceLevel
  322.     daemonize = false
  323.     defaultPriority = "higher"
  324.     niceLevel = 5
  325.     serviceThreads = 1
  326.     coresUsed = "-1" -- ("0, 1, 2, 3") -- For QuadCore ONLY Windows
  327.     startupDatabaseOptimization = true
  328.     removePremiumOnInit = true
  329.     confirmOutdatedVersion = false
  330.     skipItemsVersionCheck = false
  331.  
  332.     -- Muted buffer
  333.     maxMessageBuffer = 4
  334.  
  335.     -- Miscellaneous
  336.     dataDirectory = "data/"
  337.     logsDirectory = "data/logs/"
  338.     disableOutfitsForPrivilegedPlayers = false
  339.     bankSystem = true
  340.     spellNameInsteadOfWords = false
  341.     emoteSpells = true
  342.     unifiedSpells = true
  343.     promptExceptionTracerErrorBox = true
  344.     storePlayerDirection = false
  345.     savePlayerData = true
  346.     monsterLootMessage = 3
  347.     monsterLootMessageType = 20
  348.     separateViplistPerCharacter = false
  349.     vipListDefaultLimit = 20
  350.     vipListDefaultPremiumLimit = 100
  351.  
  352.     -- Outfits
  353.     allowChangeOutfit = true
  354.     allowChangeColors = true
  355.     allowChangeAddons = true
  356.     addonsOnlyPremium = true
  357.  
  358.     -- Ghost mode
  359.     ghostModeInvisibleEffect = false
  360.     ghostModeSpellEffects = true
  361.  
  362.     -- Limits
  363.     idleWarningTime = 14 * 60 * 1000
  364.     idleKickTime = 15 * 60 * 1000
  365.     expireReportsAfterReads = 1
  366.     playerQueryDeepness = -1
  367.     protectionTileLimit = 10
  368.     houseTileLimit = 10
  369.     tileLimit = 7
  370.  
  371.     -- Premium-related
  372.     freePremium = false
  373.     premiumForPromotion = true
  374.     updatePremiumStateAtStartup = true
  375.  
  376.     -- Blessings
  377.     blessings = true
  378.     blessingOnlyPremium = true
  379.     blessingReductionBase = 30
  380.     blessingReductionDecrement = 5
  381.     eachBlessReduction = 8
  382.     useFairfightReduction = true
  383.     pvpBlessingThreshold = 40
  384.     fairFightTimeRange = 60
  385.  
  386.     -- Rates
  387.     experienceStages = false
  388.     rateExperience = 5.0
  389.     rateExperienceFromPlayers = 0
  390.     rateSkill = 1.0
  391.     rateSkillOffline = 0.5
  392.     rateMagic = 1.0
  393.     rateMagicOffline = 0.5
  394.     rateLoot = 2.0
  395.     rateSpawnMin = 1
  396.     rateSpawnMax = 1
  397.     formulaLevel = 5.0
  398.     formulaMagic = 1.0
  399.         -- Monster rates
  400.         rateMonsterHealth = 1.0
  401.         rateMonsterMana = 1.0
  402.         rateMonsterAttack = 1.0
  403.         rateMonsterDefense = 1.0
  404.  
  405.     -- Experience from players
  406.     minLevelThresholdForKilledPlayer = 0.9
  407.     maxLevelThresholdForKilledPlayer = 1.1
  408.  
  409.     -- Stamina System
  410.     rateStaminaLoss = 1
  411.     rateStaminaGain = 3
  412.     rateStaminaThresholdGain = 12
  413.     staminaRatingLimitTop = 40 * 60
  414.     staminaRatingLimitBottom = 14 * 60
  415.     staminaLootLimit = 14 * 60
  416.     rateStaminaAboveNormal = 1.5
  417.     rateStaminaUnderNormal = 0.5
  418.     staminaThresholdOnlyPremium = true
  419.  
  420.     -- Party System
  421.     experienceShareRadiusX = 30
  422.     experienceShareRadiusY = 30
  423.     experienceShareRadiusZ = 1
  424.     experienceShareLevelDifference = 2 / 3
  425.     extraPartyExperienceLimit = 20
  426.     extraPartyExperiencePercent = 5
  427.     experienceShareActivity = 2 * 60 * 1000
  428.  
  429.     -- Global save
  430.     globalSaveEnabled = false
  431.     globalSaveHour = 8
  432.     globalSaveMinute = 0
  433.     shutdownAtGlobalSave = true
  434.     cleanMapAtGlobalSave = false
  435.     closeInstanceOnShutdown = true
  436.  
  437.     -- Spawns
  438.     minRateSpawn = 1
  439.     maxRateSpawn = 3
  440.     deSpawnRange = 2
  441.     deSpawnRadius = 50
  442.  
  443.     -- Summons
  444.     maxPlayerSummons = 2
  445.     teleportAllSummons = false
  446.     teleportPlayerSummons = true
  447.  
  448.     -- Logs
  449.     disableLuaErrors = false
  450.     adminLogs = true
  451.     displayPlayersLogging = true
  452.     prefixChannelLogs = ""
  453.     runFile = "server/run.log"
  454.     outputLog = "server/out.log"
  455.     truncateLogOnStartup = false
  456.     logPlayersStatements = true
  457.  
  458.     -- Manager
  459.     -- NOTE: managerPassword left blank disables manager.
  460.     managerPort = 7171
  461.     managerLogs = true
  462.     managerPassword = ""
  463.     managerLocalhostOnly = true
  464.     managerConnectionsLimit = 1
  465.  
  466.     -- Admin
  467.     -- NOTE: adminPassword left blank disables manager.
  468.     -- Set to anything if you set adminRequireLogin to false.
  469.     -- adminEncryption available options: rsa1024xtea;
  470.     -- remember to set correct data!
  471.     adminPort = 7171
  472.     adminPassword = ""
  473.     adminLocalhostOnly = true
  474.     adminConnectionsLimit = 1
  475.     adminRequireLogin = true
  476.     adminEncryption = ""
  477.     adminEncryptionData = ""
  478.  
  479.     -- Don't edit use at your own risk
  480.     saveGlobalStorage = false
  481.     bufferMutedOnSpellFailure = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement