Ir para conteúdo

Config.lua Ot Sql


xiriom

Posts Recomendados

Aew alguem pode me responde nesse config lua onde muda o cap ou se mudou o lugar de mudar o cap? ;)

-- The Forgotten Server Config

 

-- Account manager

accountManager = "yes"

namelockManager = "no"

newPlayerChooseVoc = "yes"

newPlayerSpawnPosX = 160

newPlayerSpawnPosY = 54

newPlayerSpawnPosZ = 7

newPlayerTownId = 1

newPlayerLevel = 8

newPlayerMagicLevel = 0

generateAccountNumber = "no"

 

-- Banishments

notationsToBan = 3

warningsToFinalBan = 4

warningsToDeletion = 7

banLength = 7 * 24 * 60 * 60

finalBanLength = 30 * 24 * 60 * 60

ipBanishmentLength = 1 * 24 * 60 * 60

broadcastBanishments = "yes"

killsToBan = 8

maxViolationCommentSize = 200

 

-- Battle

-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.

worldType = "pvp"

hotkeyAimbotEnabled = "yes"

protectionLevel = 50

pvpTileIgnoreLevelAndVocationProtection = "yes"

killsToRedSkull = 4

pzLocked = 15000

criticalHitChance = 25

displayCriticalHitNotify = "no"

removeWeaponAmmunition = "no"

removeWeaponCharges = "yes"

removeRuneCharges = "yes"

timeToDecreaseFrags = 1800000

whiteSkullTime = 180000

noDamageToSameLookfeet = "no"

experienceByKillingPlayers = "no"

showHealingDamage = "no"

fieldOwnershipDuration = 5 * 1000

stopAttackingAtExit = "no"

oldConditionAccuracy = "no"

loginProtectionPeriod = 10

 

-- Connection config

worldId = 0

ip = "127.0.0.1"

port = 7171

loginTries = 10

retryTimeout = 5 * 1000

loginTimeout = 60 * 1000

maxPlayers = "100"

motd = "Bem Vindo ao Slayer Yurots para contato add no msn - darkdraggy@hotmail.com."

displayOnOrOffAtCharlist = "no"

onePlayerOnlinePerAccount = "yes"

allowClones = 0

serverName = "Slayer Yurots"

loginMessage = "Aew Bem Vindo ao Slayer Yurots OT Server. Sobre Acesso VIP Diga !vip - Sobre Spells e Runes Diga !spells - Sobre PVP diga !pvp."

adminLogsEnabled = "no"

statusTimeout = 5 * 60 * 1000

replaceKickOnLogin = "yes"

forceSlowConnectionsToDisconnect = "no"

loginOnlyWithLoginServer = "no"

 

-- Database

-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.

-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.

sqlType = "sqlite"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "root"

sqlPass = ""

sqlDatabase = "theforgottenserver"

sqlFile = "forgottenserver.s3db"

sqlKeepAlive = 60

mysqlReadTimeout = 3

optimizeDatabaseAtStartup = "yes"

passwordType = "plain"

 

-- Deathlist

deathListEnabled = "yes"

maxDeathRecords = 5

 

-- Guilds

ingameGuildManagement = "yes"

levelToFormGuild = 100

guildNameMinLength = 4

guildNameMaxLength = 25

 

-- Highscores

highscoreDisplayPlayers = 15

updateHighscoresAfterMinutes = 60

 

-- Houses

buyableAndSellableHouses = "yes"

housesPerAccount = 0

levelToBuyHouse = 100

houseRentAsPrice = "no"

housePriceAsRent = "no"

housePriceEachSQM = 20000

houseRentPeriod = "never"

 

-- Item usage

timeBetweenActions = 200

timeBetweenExActions = 1000

 

-- Map

-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.

-- useHouseDataStorage usage may be found at README.

mapName = "test"

mapAuthor = "Slayer"

randomizeTiles = "yes"

useHouseDataStorage = "no"

storeTrash = "yes"

cleanProtectedZones = "yes"

 

-- Miscellaneous

-- NOTE: defaultPriority works only on Windows

-- promptExceptionTracerErrorBox works only with precompiled support feature,

-- called "exception tracer" (__EXCEPTION_TRACER__ flag).

defaultPriority = "normal"

maxMessageBuffer = 4

kickIdlePlayerAfterMinutes = 15

allowChangeOutfit = "yes"

allowChangeColors = "yes"

disableOutfitsForPrivilegedPlayers = "no"

displayGamemastersWithOnlineCommand = "no"

bankSystem = "yes"

saveGlobalStorage = "yes"

displaySkillLevelOnAdvance = "no"

spellNameInsteadOfWords = "no"

emoteSpells = "no"

expireReportsAfterReads = 1

promptExceptionTracerErrorBox = "yes"

 

-- Premium account

freePremium = "yes"

removePremiumOnInit = "yes"

premiumForPromotion = "yes"

blessingsOnlyPremium = "yes"

houseNeedPremium = "yes"

bedsRequirePremium = "yes"

 

-- Rates

-- NOTE: experienceStages configuration is located in data/XML/stages.xml.

rateExperience = 35

rateSkill = 200

rateMagic = 50

rateLoot = 3

rateSpawn = 2

experienceStages = "yes"

 

-- Party

-- NOTE experienceShareLevelDifference is float number.

-- 0.66666666666667 is highestLevel * 2 / 3

experienceShareRadiusX = 30

experienceShareRadiusY = 30

experienceShareRadiusZ = 1

experienceShareLevelDifference = 0.66666666666667

extraPartyExperienceLimit = 20

extraPartyExperiencePercent = 5

 

-- Global save

-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,

-- if you want such a system please check out data/globalevents/globalevents.xml.

globalSaveEnabled = "no"

globalSaveHour = 8

shutdownAtGlobalSave = "no"

cleanMapAtGlobalSave = "no"

 

-- Spawns

deSpawnRange = 2

deSpawnRadius = 50

 

-- Summons

maxPlayerSummons = 2

teleportAllSummons = "no"

teleportPlayerSummons = "no"

 

-- Status

ownerName = "Jean Slayer"

ownerEmail = "@otland.net"

url = "http://otland.net/"

location = "Brasil"

 

-- Logs

-- NOTE: This kind of logging does not work in GUI version.

-- For such, please compile the software with __GUI_LOGS__ flag.

outLogName = "server/out.log"

errorLogName = "server/error.log"

truncateLogsOnStartup = "yes"

Só isso vlw ;)

Link para o comentário
Compartilhar em outros sites

pra mudar o cap eh aki

 

--- SQLite part (ignore if you are using MySQL)
sqlite_db = "db.s3db"

-------------------------------------------------------------------------------------------------
---------------------------- Evolutions Basic Configuration ----------------------------
-------------------------------------------------------------------------------------------------

-- world name (shows in the character list)
worldname = "world name"

-- time to save the server (default = 5)
autosave = 2

-- do you want to enable cap system? (yes/no)
capsystem = "no"

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...
Aew alguem pode me responde nesse config lua onde muda o cap ou se mudou o lugar de mudar o cap? ;)

 

Só isso vlw ;)

 

Cara, se nao tem nada no CONFIG.LUA, da uma olhada no vocations.xml lah tu deve axar alguma coisa, xD

Espero ter ajudado

xDD

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...