Ir para conteúdo

thiagorgp

Campones
  • Total de itens

    2
  • Registro em

  • Última visita

Sobre thiagorgp

Informações

  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    Programador

thiagorgp's Achievements

  1. Estou tentando abrir meu servidor que baixei do zero tudo novinho, já posicionei o spawn no RME, no config.lua e até no sqlite, Eu entro no servidor até a parte de login, logo na conta que é account manage 1/1 e fica conectando infinitamente ao selecionar o personagem, fica dando o erro no cmd do server escrito [Error - CreatureScript Interface] data/creaturescripts/scripts/login.lua:onLogin Description: data/lib/050-function.lua:188: attempt to call global 'getcreatureCondition' (a nil value) stack traceback: data/lib/050-function.lua:188: in function 'isPlayerGhost' data/creaturescripts/scripts/login.lua:32: in function (data/creaturescripts/scripts/login.lua:6) alguém pode me ajudar ? Minha Login.lua: 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 .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then addEvent(valid(doCreatureSay), 500, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to manage your account. If you would like to start over, type {cancel} anywhere.", TALKTYPE_PRIVATE_NP, true, cid) else addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to create an account or {recover} to recover an account.", TALKTYPE_PRIVATE_NP, true, cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildEvents") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "ThankYou") registerCreatureEvent(cid, "AdvanceSave") return true end
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...