Ir para conteúdo

Feedback

Problemas? Sugestões? Poste aqui.


Explore Perguntas

Não há nenhuma pergunta popular de mostrar agora

  1. 0 votos
    0 respostas
  2. Mudança de conta ou Email

    Perguntado por Jakx,

    0 votos
    0 respostas
  3. novo XT

    Perguntado por Poccnn,

    0 votos
    5 respostas
  4. COMO JOGAR OFFLINE TIBIA 12.30?!

    Perguntado por muzzle,

    0 votos
    1 resposta
  5. Buy Otserv 12.30

    Perguntado por sebacc15,

    0 votos
    0 respostas

41 questões neste fórum

  1. [Nova Seção] Live de Conteúdos

    0 votos
    19 respostas
  2. Ajuda

    0 votos
    5 respostas
  3. ALGUEM AJUDA REP+

    0 votos
    1 resposta
  4. Buy Otserv 12.30

    0 votos
    0 respostas
  5. COMO JOGAR OFFLINE TIBIA 12.30?!

    0 votos
    1 resposta
  6. Dica sobre o sistema de rep+

    0 votos
    1 resposta
  7. Formatação de tópico + Novo Cargo

    0 votos
    4 respostas
  8. Hidden Content

    0 votos
    3 respostas
  9. Mudança de conta ou Email

    0 votos
    0 respostas
  10. novo XT

    0 votos
    5 respostas
  11. Otpanel

    0 votos
    5 respostas
  12. OTPanel e Conteúdo desatualizado.

    0 votos
    3 respostas
  13. otserv-list.com, ajuda

    0 votos
    2 respostas
  14. OTServlists.com Está bugado!

    0 votos
    1 resposta
  15. Problema com o site

    0 votos
    3 respostas
  16. problemas com o Remeres

    0 votos
    0 respostas
  17. sobre anuncie

    0 votos
    3 respostas
  18. 0 votos
    0 respostas
  19. xtibia

    0 votos
    1 resposta
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
  • Mais Reputados

  • Tópicos

  • Últimos Posts

    • qual erro retorna no console? simple_pet.lua   function onUse(cid, item, fromPosition, itemEx, toPosition) local petName = "[PET] NIVEL MAXIMO" local storageValue = 83712 local playerPets = getCreatureSummons(cid) -- Verifica se o jogador já tem um pet invocado if #playerPets <= 0 then -- Se não houver pet invocado, invoca um novo local newPet = doSummonMonster(cid, petName) if newPet then setPlayerStorageValue(cid, storageValue, 1) end else -- Se houver pet invocado, verifica se é o pet correto e remove-o for _, pet in ipairs(playerPets) do if getCreatureName(pet) == petName then doRemoveCreature(pet) end end end -- Registra o evento Infriendlyfire registerCreatureEvent(cid, "Infriendlyfire") return true end infriendlyfire.lua   function onInfriendlyfire(cid, attacker, target) if isPlayer(attacker) and isPlayer(target) then return false -- Impede que jogadores causem dano uns aos outros end if isPlayer(attacker) and isSummon(target) then local master = getCreatureMaster(target) if master == attacker then return false -- Impede que o domador cause dano ao seu pet end end if isSummon(attacker) then local master = getCreatureMaster(attacker) if master == target then return false -- Impede que o pet cause dano ao seu domador end end return true end  
    • -- CONFIG -- local roomOccupied = false local playersOnly = "no" local questLevel = 1 local STORAGE_BOSS_CD = 22497 local cdtime = 20 * 60 * 60 -- cooldown time in seconds local room = { fromX = 1032, fromY = 1014, fromZ = 7, toX = 1044, toY = 1020, toZ = 7 } local monster_pos = { [1] = {pos = {1042, 1017, 7}, monster = "Tibia bug"} } local players_pos = { {x = 1033, y = 1010, z = 7, stackpos = 253} } local new_player_pos = { {x = 1035, y = 1017, z = 7} } -- CONFIG END -- function onUse(cid, item, fromPosition, itemEx, toPosition) local allReady, monsters, player, level = 0, 0, {}, 0 if item.itemid == 1946 then -- Check if the room is occupied if roomOccupied then doPlayerSendTextMessage(cid, 19, "A sala está ocupada, aguarde sua vez.") return false end for i = 1, #players_pos do table.insert(player, 0) end for i = 1, #players_pos do player[i] = getThingfromPos(players_pos[i]) if player[i].itemid > 0 then if string.lower(playersOnly) == "yes" then if isPlayer(player[i].uid) == true then allReady = allReady+1 else monsters = monsters+1 end else allReady = allReady+1 end end end if allReady == #players_pos then for i = 1, #players_pos do player[i] = getThingfromPos(players_pos[i]) if isPlayer(player[i].uid) == true then if getPlayerStorageValue(player[i].uid,STORAGE_BOSS_CD) > os.time() then doPlayerSendCancel(cid,"Você já fez o boss hoje, tente amanhã!") return false end if getPlayerLevel(player[i].uid) >= questLevel then level = level+1 end else level = level+1 end end if level == #players_pos then if string.lower(playersOnly) == "yes" and monsters == 0 or string.lower(playersOnly) == "no" then for _, area in pairs(monster_pos) do doSummonCreature(area.monster,{x=area.pos[1],y=area.pos[2],z=area.pos[3]}) end for i = 1, #players_pos do doSendMagicEffect(players_pos[i], CONST_ME_POFF) doTeleportThing(player[i].uid, new_player_pos[i]) doSendMagicEffect(new_player_pos[i], CONST_ME_ENERGYAREA) setPlayerStorageValue(player[i].uid,STORAGE_BOSS_CD,os.time() + cdtime) end doTransformItem(item.uid,1945) else doPlayerSendTextMessage(cid,19,"Apenas players têm acesso.") return false end else doPlayerSendTextMessage(cid,19,"Você tem que estar no level: "..questLevel.." p.") return false end else doPlayerSendCancel(cid,"Fique em cima do SQM correto para ter acesso a sala.") return false end elseif item.itemid == 1945 then local playerRoom = 0 for x = room.fromX, room.toX do for y = room.fromY, room.toY do for z = room.fromZ, room.toZ do local pos = {x=x, y=y, z=z, stackpos = 253} local thing = getThingfromPos(pos) if thing.itemid > 0 then if isPlayer(thing.uid) == true then playerRoom = playerRoom+1 end end end end end if playerRoom >= 1 then doPlayerSendTextMessage(cid,19,"Time fazendo o boss, aguarde.") return false elseif playerRoom == 0 then for x = room.fromX, room.toX do for y = room.fromY, room.toY do for z = room.fromZ, room.toZ do local pos = {x=x, y=y, z=z, stackpos = 253} local thing = getThingfromPos(pos) if thing.itemid > 0 then doRemoveCreature(thing.uid) end end end end doTransformItem(item.uid,1946) end end return true end  
    • varia um pouco, mas geralmente é necesse diretorio: Client/mods/game_task
    • Elevate your dating game with the top site for hassle-free connections. Authentic Ladies [URL=https://matchnow.life]Finest casual Dating[/URL]
×
×
  • Criar Novo...