Ir para conteúdo
  • Cadastre-se

(Resolvido)unexpected sylbol near "´" no meu login.lua. Leiam a descrição.


Ir para solução Resolvido por Vodkart,

Posts Recomendados

Apartir de hoje quando estou abrindo minha distro está aparecendo isso nela. Não entendo porque, ja tentei colocar outros logins.lua pra ver se não é o meu mas todos aparecem o mesmo erro, ja coloquei ANSI, UTF-8, UNICODE, e todos dizem isso, e o foda é que fico sem meu login.lua e o server fica estranho. Por favor algum serumaninho ai? vou dixar fotos e o código. Meu server é tfs 0.4 vs 1.0.6

image.png.d578b1ac4811a7ba177822fea492c627.thumb.png.a953f22cc164df3e7c75975eff4e44f7.png

login.lua:

ocal config = {
    loginMessage = getConfigValue('loginMessage'),
    useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))
}
function onLogin(cid)
    local loss = getConfigValue('deathLostPercent')
    if(loss ~= nil) then
        doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
    end
    local accountManager = getPlayerAccountManager(cid)
    
    if(accountManager == MANAGER_NONE) then
        local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
        if(lastLogin > 0) then
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
            str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
        else
            str = str .. "Hello ."
            doPlayerSendTextMessage(cid)
        end
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
    elseif(accountManager == MANAGER_NAMELOCK) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
    elseif(accountManager == MANAGER_ACCOUNT) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type {account} to manage your account and if you want to start over then type {cancel}.")
    else
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type {account} to create an account or type {recover} to recover an account.")
    end
    
    if(not isPlayerGhost(cid)) then
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
    end
    
        registerCreatureEvent(cid, "critical")
        registerCreatureEvent(cid, "recompensa")
    registerCreatureEvent(cid, "AdvanceSave")
    registerCreatureEvent(cid, "advance")
        registerCreatureEvent(cid, "TopFrags")
    registerCreatureEvent(cid, "FimVip")
        registerCreatureEvent(cid, "attackguild")
    registerCreatureEvent(cid, "VipReceive")
        registerCreatureEvent(cid, "expvip")
    registerCreatureEvent(cid, "PlayerKill")
        registerCreatureEvent(cid, "AuraLogin")
        registerCreatureEvent(cid, "Auto Loot")
        registerCreatureEvent(cid, "vipeffects")
        registerCreatureEvent(cid, "SkullCheck")
        registerCreatureEvent(cid, "TopEffect")
        registerCreatureEvent(cid, "BlessAmulet")
        registerCreatureEvent(cid, "ProtectLevel")
        registerCreatureEvent(cid, "TiraBattle")
        registerCreatureEvent(cid, "hmup")
        registerCreatureEvent(cid, "Popup1")
        registerCreatureEvent(cid, "blesscheck")
        registerCreatureEvent(cid, "AdvEffect")
        registerCreatureEvent(cid, "CastleExp")
        registerCreatureEvent(cid, "DesertDeath")
     registerCreatureEvent(cid, "DesertCombat")
        registerCreatureEvent(cid, "BattleDeath")
        registerCreatureEvent(cid, "ZombieThink")
    registerCreatureEvent(cid, "ZombieDeath")
        registerCreatureEvent(cid, "BattleCombat")
        registerCreatureEvent(cid, "FragsGuildLogin")
        registerCreatureEvent(cid, "FragsGuildKill")
        registerCreatureEvent(cid, "ctf")

            registerCreatureEvent(cid, "ga1")
            registerCreatureEvent(cid, "ga2")
                registerCreatureEvent(cid, "ga3")
                    registerCreatureEvent(cid, "gv1")
                        registerCreatureEvent(cid, "gv2")
                            registerCreatureEvent(cid, "gv3")

    if (InitArenaScript ~= 0) then
        InitArenaScript = 1
        -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    -- if he did not make full arena 1 he must start from zero
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 2 he must start from zero
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 3 he must start from zero
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena 
    registerCreatureEvent(cid, "deathchannel") 

    if getPlayerStorageValue(cid, 48913) == -1 then
        setPlayerStorageValue(cid, 48913, 0) 
    end

    return true
end

Desdejá agradeço, por favor.

Link para o post
Compartilhar em outros sites
local config = {
    loginMessage = getConfigValue('loginMessage'),
    useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))
}

function onLogin(cid)
    local loss = getConfigValue('deathLostPercent')
    if(loss ~= nil) then
        doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
    end
    local accountManager = getPlayerAccountManager(cid)
    
    if(accountManager == MANAGER_NONE) then
        local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
        if(lastLogin > 0) then
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
            str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
        else
            str = str .. "Hello ."
            doPlayerSendTextMessage(cid)
        end
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
    elseif(accountManager == MANAGER_NAMELOCK) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
    elseif(accountManager == MANAGER_ACCOUNT) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type {account} to manage your account and if you want to start over then type {cancel}.")
    else
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type {account} to create an account or type {recover} to recover an account.")
    end
    
    if(not isPlayerGhost(cid)) then
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
    end
    
	registerCreatureEvent(cid, "critical")
	registerCreatureEvent(cid, "recompensa")
    registerCreatureEvent(cid, "AdvanceSave")
    registerCreatureEvent(cid, "advance")
	registerCreatureEvent(cid, "TopFrags")
    registerCreatureEvent(cid, "FimVip")
	registerCreatureEvent(cid, "attackguild")
    registerCreatureEvent(cid, "VipReceive")
	registerCreatureEvent(cid, "expvip")
    registerCreatureEvent(cid, "PlayerKill")
	registerCreatureEvent(cid, "AuraLogin")
	registerCreatureEvent(cid, "Auto Loot")
	registerCreatureEvent(cid, "vipeffects")
	registerCreatureEvent(cid, "SkullCheck")
	registerCreatureEvent(cid, "TopEffect")
	registerCreatureEvent(cid, "BlessAmulet")
	registerCreatureEvent(cid, "ProtectLevel")
	registerCreatureEvent(cid, "TiraBattle")
	registerCreatureEvent(cid, "hmup")
	registerCreatureEvent(cid, "Popup1")
	registerCreatureEvent(cid, "blesscheck")
	registerCreatureEvent(cid, "AdvEffect")
	registerCreatureEvent(cid, "CastleExp")
	registerCreatureEvent(cid, "DesertDeath")
	registerCreatureEvent(cid, "DesertCombat")
	registerCreatureEvent(cid, "BattleDeath")
	registerCreatureEvent(cid, "ZombieThink")
    registerCreatureEvent(cid, "ZombieDeath")
	registerCreatureEvent(cid, "BattleCombat")
	registerCreatureEvent(cid, "FragsGuildLogin")
	registerCreatureEvent(cid, "FragsGuildKill")
	registerCreatureEvent(cid, "ctf")
	registerCreatureEvent(cid, "ga1")
	registerCreatureEvent(cid, "ga2")
	registerCreatureEvent(cid, "ga3")
	registerCreatureEvent(cid, "gv1")
	registerCreatureEvent(cid, "gv2")
	registerCreatureEvent(cid, "gv3")

    if (InitArenaScript ~= 0) then
        InitArenaScript = 1
        -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    -- if he did not make full arena 1 he must start from zero
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 2 he must start from zero
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 3 he must start from zero
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena 
    registerCreatureEvent(cid, "deathchannel") 

    if getPlayerStorageValue(cid, 48913) == -1 then
        setPlayerStorageValue(cid, 48913, 0) 
    end

    return true
end

 

Link para o post
Compartilhar em outros sites

mesmo erro brother, vc n editou nada ai, so colocou o L no começo de Local que eu esqueci de marcar quando copiei e colei meu arquivo, 

continua com o mesmo erro, pfv, preciso de ajuda

image.thumb.png.6d2370f14206707891ee3ec6ed598267.png

Link para o post
Compartilhar em outros sites

Tinha alguns caracteres estranhos, tenta com esse: LINK.
 

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

Link para o post
Compartilhar em outros sites

@Fabio Leandro Utilize o Notepad++ para editar seus arquivos, aparentemente não tem erro algum de sintaxe na linha 1, nem na 2... 

No signature.

 

 

 

Link para o post
Compartilhar em outros sites

eu tbm ultilizo notepad mesmo assim dá o mesmo erro mano, isso ta me deixando louco, 

Link para o post
Compartilhar em outros sites
  • Solução
local config = {
    loginMessage = getConfigValue("loginMessage"),
    useFragHandler = getBooleanFromString(getConfigValue("useFragHandler"))
}
function onLogin(cid)
    local loss = getConfigValue('deathLostPercent')
    if(loss ~= nil) then
        doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
    end
    local accountManager = getPlayerAccountManager(cid)
    if(accountManager == MANAGER_NONE) then
        local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
        if(lastLogin > 0) then
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
            str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
        else
            str = str .. "Hello ."
            doPlayerSendTextMessage(cid)
        end
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
    elseif(accountManager == MANAGER_NAMELOCK) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
    elseif(accountManager == MANAGER_ACCOUNT) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type {account} to manage your account and if you want to start over then type {cancel}.")
    else
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type {account} to create an account or type {recover} to recover an account.")
    end  
  if (not isPlayerGhost(cid)) then
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
    end
        registerCreatureEvent(cid, "critical")
        registerCreatureEvent(cid, "recompensa")
        registerCreatureEvent(cid, "AdvanceSave")
        registerCreatureEvent(cid, "advance")
        registerCreatureEvent(cid, "TopFrags")
        registerCreatureEvent(cid, "FimVip")
        registerCreatureEvent(cid, "attackguild")
        registerCreatureEvent(cid, "VipReceive")
        registerCreatureEvent(cid, "expvip")
        registerCreatureEvent(cid, "PlayerKill")
        registerCreatureEvent(cid, "AuraLogin")
        registerCreatureEvent(cid, "Auto Loot")
        registerCreatureEvent(cid, "vipeffects")
        registerCreatureEvent(cid, "SkullCheck")
        registerCreatureEvent(cid, "TopEffect")
        registerCreatureEvent(cid, "BlessAmulet")
        registerCreatureEvent(cid, "ProtectLevel")
        registerCreatureEvent(cid, "TiraBattle")
        registerCreatureEvent(cid, "hmup")
        registerCreatureEvent(cid, "Popup1")
        registerCreatureEvent(cid, "blesscheck")
        registerCreatureEvent(cid, "AdvEffect")
        registerCreatureEvent(cid, "CastleExp")
        registerCreatureEvent(cid, "DesertDeath")
        registerCreatureEvent(cid, "DesertCombat")
        registerCreatureEvent(cid, "BattleDeath")
        registerCreatureEvent(cid, "ZombieThink")
        registerCreatureEvent(cid, "ZombieDeath")
        registerCreatureEvent(cid, "BattleCombat")
        registerCreatureEvent(cid, "FragsGuildLogin")
        registerCreatureEvent(cid, "FragsGuildKill")
        registerCreatureEvent(cid, "ctf")
        registerCreatureEvent(cid, "ga1")
        registerCreatureEvent(cid, "ga2")
        registerCreatureEvent(cid, "ga3")
        registerCreatureEvent(cid, "gv1")
        registerCreatureEvent(cid, "gv2")
        registerCreatureEvent(cid, "gv3")
    if (InitArenaScript ~= 0) then
        InitArenaScript = 1
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0)
    end
    setPlayerStorageValue(cid, 42350, 0)
    setPlayerStorageValue(cid, 42352, 0)
    registerCreatureEvent(cid, "deathchannel") 

    if getPlayerStorageValue(cid, 48913) == -1 then
        setPlayerStorageValue(cid, 48913, 0) 
    end
    return true
end

 

OBS: tais usando o onlogin.lua certo? porque tem server que tem mais de um, podendo entrar em conflito e tal, é bom dar uma visualizada nisso.

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

mesmo erro maninho, :'( onlogin? o nome do arquivo é LOGIN.LUA que ta em creaturescripts/scripts

 

Link para o post
Compartilhar em outros sites
Agora, Fabio Leandro disse:

mesmo erro maninho, :'( onlogin? o nome do arquivo é LOGIN.LUA que ta em creaturescripts/scripts

 

 

kkkk costume kkkk

 

é login.lua mesmo!

 

pode dar uma olhada na sua pasta e ver se tem mais de um arquivo desses?

achoi que descobri.

 

 

local config = {
    loginMessage = getConfigValue("loginMessage"),
    useFragHandler = getBooleanFromString(getConfigValue("useFragHandler"))
}
function onLogin(cid)
    local loss = getConfigValue("deathLostPercent")
    if(loss ~= nil) then
        doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
    end
    local accountManager = getPlayerAccountManager(cid)
    if(accountManager == MANAGER_NONE) then
        local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
        if(lastLogin > 0) then
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
            str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
        else
            str = str .. "Hello."
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
        end
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
    elseif(accountManager == MANAGER_NAMELOCK) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
    elseif(accountManager == MANAGER_ACCOUNT) then
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type {account} to manage your account and if you want to start over then type {cancel}.")
    else
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type {account} to create an account or type {recover} to recover an account.")
    end  
  if(not isPlayerGhost(cid)) then
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
    end
        registerCreatureEvent(cid, "critical")
        registerCreatureEvent(cid, "recompensa")
        registerCreatureEvent(cid, "AdvanceSave")
         registerCreatureEvent(cid, "advance")
        registerCreatureEvent(cid, "TopFrags")
        registerCreatureEvent(cid, "FimVip")
        registerCreatureEvent(cid, "attackguild")
         registerCreatureEvent(cid, "VipReceive")
        registerCreatureEvent(cid, "expvip")
        registerCreatureEvent(cid, "PlayerKill")
        registerCreatureEvent(cid, "AuraLogin")
        registerCreatureEvent(cid, "Auto Loot")
        registerCreatureEvent(cid, "vipeffects")
        registerCreatureEvent(cid, "SkullCheck")
        registerCreatureEvent(cid, "TopEffect")
        registerCreatureEvent(cid, "BlessAmulet")
        registerCreatureEvent(cid, "ProtectLevel")
        registerCreatureEvent(cid, "TiraBattle")
        registerCreatureEvent(cid, "hmup")
        registerCreatureEvent(cid, "Popup1")
        registerCreatureEvent(cid, "blesscheck")
        registerCreatureEvent(cid, "AdvEffect")
        registerCreatureEvent(cid, "CastleExp")
        registerCreatureEvent(cid, "DesertDeath")
        registerCreatureEvent(cid, "DesertCombat")
        registerCreatureEvent(cid, "BattleDeath")
        registerCreatureEvent(cid, "ZombieThink")
        registerCreatureEvent(cid, "ZombieDeath")
        registerCreatureEvent(cid, "BattleCombat")
        registerCreatureEvent(cid, "FragsGuildLogin")
        registerCreatureEvent(cid, "FragsGuildKill")
        registerCreatureEvent(cid, "ctf")
            registerCreatureEvent(cid, "ga1")
            registerCreatureEvent(cid, "ga2")
                registerCreatureEvent(cid, "ga3")
                    registerCreatureEvent(cid, "gv1")
                        registerCreatureEvent(cid, "gv2")
                            registerCreatureEvent(cid, "gv3")
    if (InitArenaScript ~= 0) then
        InitArenaScript = 1
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0)
    end
    setPlayerStorageValue(cid, 42350, 0)
    setPlayerStorageValue(cid, 42352, 0)
    registerCreatureEvent(cid, "deathchannel") 

    if getPlayerStorageValue(cid, 48913) == -1 then
        setPlayerStorageValue(cid, 48913, 0) 
    end

    return true
end

 

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

então manda o config.lua pra mim ver como está a msg no inicio

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

config.lua

Spoiler

accountManager = "true"
namelockManager = "no"
newPlayerChooseVoc = true
newPlayerSpawnPosX = 98
newPlayerSpawnPosY = 34
newPlayerSpawnPosZ = 8
newPlayerTownId = 1
newPlayerLevel = 10
newPlayerMagicLevel = 0
generateAccountNumber = false
enableCast = true

redSkullLength = 3 * 24 * 60 * 60
blackSkullLength = 5 * 24 * 60 * 60
dailyFragsToRedSkull = 10
weeklyFragsToRedSkull = 30
monthlyFragsToRedSkull = 70
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = false

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

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

worldId = 0
ip = "127.0.0.1"
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 1000
motd = "Salve Parceiro (a)! Seja bem vindo ao Baiak Smoking. Ascenda seu baseado e vamos chapar juntos."
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Baiak Smoking"
loginMessage = "Salve Parceiro (a)! Seja bem vindo ao Baiak Smoking. Ascenda seu baseado e vamos chapar juntos."
statusTimeout = 30 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false

sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "vertrigo"
sqlDatabase = "servidor"
sqlFile = "TheForgottenServer.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"

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

ingameGuildManagement = true
levelToFormGuild = 8
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20

highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 2

buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = true
levelToBuyHouse = 200
housesPerAccount = 0
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 10000
houseRentPeriod = "never"
houseCleanOld = 0
guildHalls = true

timeBetweenActions = 500
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500

mapName = "Baiak Barao.otbm"
mapAuthor = "Ygnus"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"

defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false

maxMessageBuffer = 4
bufferMutedOnSpellFailure = false

dataDirectory = "data/"
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = false
spellNameInsteadOfWords = false
emoteSpells = true
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false

ghostModeInvisibleEffect = false
ghostModeSpellEffects = true

idleWarningTime = 14 * 60 * 1000
idleKickTime = 15 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0

freePremium = true
premiumForPromotion = true

blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8

experienceStages = true
rateExperience = 0.5
rateExperienceFromPlayers = 0
rateSkill = 25
rateMagic = 10
rateLoot = 4
rateSpawn = 1

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

minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

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

experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000

globalSaveEnabled = false
globalSaveHour = 1
shutdownAtGlobalSave = false
cleanMapAtGlobalSave = false
enableCast = true

deSpawnRange = 2
deSpawnRadius = 50

maxPlayerSummons = 2
teleportAllSummons = true
teleportPlayerSummons = false

ownerName = "Styller Premium"
ownerEmail = "[email protected]"
url = ""
location = "Brazil"
displayGamemastersWithOnlineCommand = false

adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false
 

 

Link para o post
Compartilhar em outros sites

kkkkkkkkkkkkkkkkkk

 

loginMessage = "Salve Parceiro (a)! Seja bem vindo ao Baiak Smoking. Ascenda seu baseado e vamos chapar juntos."

 

 

 

pode baixar um login.lua de outro serve só pra testar se funciona no seu? ai vc copia e cola e ve se abre por favor ^^

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

e ja tentou usar teu login.lua em outro serve pra ve se da esse erro?

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo