Advertisement
Guest User

Untitled

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