Ir para conteúdo

kuraxana

Campones
  • Total de itens

    2
  • Registro em

  • Última visita

Sobre kuraxana

Informações

  • Char no Tibia
    a
  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    Jogador

kuraxana's Achievements

  1. Ola eu segui td como falado! Deu certo e td mais! Porem eu queria faze o mesmo esquema de antes sem ficar tudo meio bagunçado! Fiz isso q vc falo aqui porem nao deu certo! o q mais posso fazer?? Abraçoo!
  2. Ola estou tendo problema com um script: <!-- by Gui [1] = {{"warlock", 100},{"demon", 500},{"morgaroth", 10},{"orshabaal", 20}} , [2] = {{"warlock", 100},{"demon", 500},{"morgaroth", 10},{"orshabaal", 20}} , [3] = {{"warlock", 200},{"demon", 500},{"morgaroth", 10},{"orshabaal", 10}} , [4] = {{"demon", 800},{"orshabaal", 30},{"morgaroth", 10},{"ghazbaran", 2}} , --> thirdQuests = { [5] = {{"warlock", 100},{"demon", 500},{"morgaroth", 10},{"orshabaal", 20}} , [6] = {{"warlock", 100},{"demon", 500},{"morgaroth", 10},{"orshabaal", 20}} , [7] = {{"warlock", 200},{"demon", 500},{"morgaroth", 10},{"orshabaal", 10}} , [8] = {{"demon", 800},{"orshabaal", 30},{"morgaroth", 10},{"ghazbaran", 2}} } function startFocusStorage(cid) setPlayerStorageValue(cid, thirdConfig.questStorage, 1) for k, v in pairs(thirdConfig.monsterStorage) do setPlayerStorageValue(cid, v, 0) end return true end function getFocusKills(cid) t = {} for k,v in pairs(thirdConfig.monsterStorage) do output = getPlayerStorageValue(cid, v) table.insert(t, output) end return t end function showFocusKills(cid) s = "Focus Quest Defeat List: \n\n" index = 0 voc = getPlayerVocation(cid) for k,v in pairs(getFocusKills(cid)) do index = index+1 monster = thirdQuests[voc][index] s = s..monster[1]..": "..v.." / "..monster[2].."\n" end return doShowTextDialog(cid, 100, s) end function getFocusKill(cid, monster) voc = getPlayerVocation(cid) set = thirdQuests[voc] for k,v in pairs(set) do if v[1] == monster then return getPlayerStorageValue(cid, thirdConfig.monsterStorage[k]) end end return false end function addFocusKill(cid, monster, much) count = much or 1 kills = getFocusKill(cid, monster) voc = getPlayerVocation(cid) set = thirdQuests[voc] for k,v in pairs(set) do if v[1] == monster and kills < v[2] then return setPlayerStorageValue(cid, thirdConfig.monsterStorage[k], kills+count) end end return false end function checkFocus(cid, monster) kills = getFocusKill(cid, monster) voc = getPlayerVocation(cid) set = thirdQuests[voc] for k,v in pairs(set) do if v[1] == monster and kills < v[2] then return false elseif v[1] == monster and kills >= v[2] then return true end end return false end function checkAllFocus(cid) kills = getFocusKills(cid) status = true voc = getPlayerVocation(cid) set = thirdQuests[voc] for k,v in pairs(kills) do monster = set[k] if v < monster[2] then status=false end end return status end function addFocusPromotion(cid) return setPlayerPromotionLevel(cid, 2) end function focusMonsterByName(name, voc) t = thirdQuests[voc] for k,v in pairs(t) do if v[1] == name then return v end end return false end Este script fica numa pasta config dentro da pasta do ot. Quando vou executar o ot ele abre normal porem da uns erros esse script n abre Eh um erro simples, porem nao consigo resolver meu server eh TFS 0.3.5 o erro eh esse: [27/10/2009 00:08:20] Lua Script Error: [TalkAction Interface] [27/10/2009 00:08:20] data/talkactions/scripts/showfocus.lua [27/10/2009 00:08:20] config/thirdCfg.lua:1: unexpected symbol near '<' [27/10/2009 00:08:20] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/showfocus.lua) [27/10/2009 00:08:20] Lua Script Error: [CreatureScript Interface] [27/10/2009 00:08:20] data/creaturescripts/scripts/focuskill.lua [27/10/2009 00:08:20] config/thirdCfg.lua:1: unexpected symbol near '<' [27/10/2009 00:08:20] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/focuskill.lua) [27/10/2009 00:08:20] Lua Script Error: [CreatureScript Interface] [27/10/2009 00:08:20] data/creaturescripts/scripts/focusexp.lua [27/10/2009 00:08:20] config/thirdCfg.lua:1: unexpected symbol near '<' [27/10/2009 00:08:20] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/focusexp.lua) Se alguem souber pelo que posso substituir estes simbolos eu agradeço!! Grato!
  3. Aqui teve um pequeno problema... fiz tudo como foi pedido porem na hora que vou tenta acessar o phpmyadmin ele da acesso negado! O que pode ser? VLW!
  • Quem Está Navegando   0 membros estão online

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