Bem-vindo(a),

Notamos que você não está logado no Fórum. Se já tiver uma conta, por favor, faça o Login. Se você ainda não tem uma conta, registre-se, demora menos de dois minutos e você tem acesso a todas as vantagens de ser um membro.

Tutorial Fazend Seu Próprio, Config.lua (Para Ots 8.40) 5 5 1

Tutorial Fazend Seu Próprio, Config.lua (Para Ots 8.40)

Ver o tópico anterior Ver o tópico seguinte Ir em baixo

Tutorial Fazend Seu Próprio, Config.lua (Para Ots 8.40)

Mensagem por GathHell em Ter 16 Dez 2008, 12:32

Fala galera,

Esse tutorial é o script do "Config.lua".

-=!COMEÇANDO!=-

Bom, abra um bloco de notas e coloque isso aqui dentro dele:

Spoiler:
-- The Forgotten Server Config

-- Account Manager
accountManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 377
newPlayerSpawnPosY = 140
newPlayerSpawnPosZ = 6
newPlayerTownId = 1
newPlayerLevel = 20
newPlayerMagicLevel = 8
generateAccountNumber = "no"

-- Banishments
broadcastBanishments = "yes"
banDays = 7
finalBanDays = 30
killsToBan = 5

-- Battle
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 50
killsToRedSkull = 6
pzLocked = 10000
deathLosePercent = 10
criticalHitChance = 7
removeAmmoWhenUsingDistanceWeapon = "no"
removeChargesFromRunes = "no"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000

-- Commands
displayGamemastersWithOnlineCommand = "no"

-- Connection Config
ip = "1.2.7.0.0.1"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Seja Bem Vindo ao OverLord OT, 20x Server Rox!"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Forgotten"
loginMessage = "Seja bem vindo ao OverLord OT, 20x Server Rox!!"
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"

-- Deathlist
deathListEnabled = "no"
maxDeathRecords = 5

-- Guilds
ingameGuildSystem = "yes"

-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

-- Houses
housePriceEachSQM = 1000
houseRentPeriod = "never"

-- Idle
kickIdlePlayerAfterMinutes = 15

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
mapName = "forgotten"
mapAuthor = "Komic"
randomizeTiles = "yes"

-- Messaging
maxMessageBuffer = 4

-- MySQL
mysqlHost = "localhost"
mysqlUser = "alisson"
mysqlPass = "qo8ww9h"
mysqlDatabase = "crisis"
mysqlPort = 3306

-- Premium Account
freePremium = "yes"

-- PVP Server
displayOnOrOffAtCharlist = "no"
allowChangeOutfit = "yes"
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"

-- Rates
rateExp = 20
rateSkill = 95
rateLoot = 8
rateMagic = 45
rateSpawn = 1

-- Real Server Save
-- note: serverSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system use autoSaveEachMinutes. this serversave method
-- may be unstable, we recommend using otadmin if you want real serversaves.
serverSaveEnabled = "no"
serverSaveHour = 3
shutdownAtServerSave = "yes"
cleanMapAtServerSave = "yes"

-- Server saving
autoSaveEachMinutes = 15
saveGlobalStorage = "no"

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- SqLite
sqliteDatabase = "forgottenserver.s3db"

-- SQL
sqlType = "sqlite"
passwordType = "plain"

-- Startup
defaultPriority = "high"

-- Status
ownerName = "GathHell"
ownerEmail = "gath-hell@hotmail.com"
url = "nohave.com"
location = "Brasil"


Esse é o script que "Carrega" junto com loader (8.40).

Informações:
As Letras/Números Coloridas de Vermelho são as coisas que podem ser mudadas.
E o número colorido de Laranja Nunca em qualquer rasão pode mudar.
Obs: O Config.lua é igual os outros, mais a "raiz" de leitura dele é outra.
Espero que gostem do "Config.lua" para (8.40)

TUTORIAL 100% FEITO POR: GathHell

Atenciosamente: GathHell





GathHell
Servo
Servo

Mensagens: 25

Voltar ao Topo Ir em baixo

Re: Tutorial Fazend Seu Próprio, Config.lua (Para Ots 8.40)

Mensagem por marcryzius fhurer em Sab 30 Maio 2009, 14:45

a vc esta errado em afirma que nao posso modificar o town id de iniciaçao.

newPlayerTownId = 1


sinceramente isso e erro seu.
pode sim modificar pra outros towns ids se vc quiser.

ele fica como town 1 pela questao de ser a primeira cidade (ou rookgaard).

marcryzius fhurer
Servo
Servo

Mensagens: 14

Voltar ao Topo Ir em baixo

Re: Tutorial Fazend Seu Próprio, Config.lua (Para Ots 8.40)

Mensagem por Narutox009 em Ter 22 Dez 2009, 14:42

topico bom ;D
pra quen quer fazer propio config
è otimo

Narutox009
Barão
Barão

Mensagens: 346

Voltar ao Topo Ir em baixo

Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo

- Tópicos similares

Permissão deste fórum:
Você não pode responder aos tópicos neste fórum