Ir para conteúdo

Sekk

Membro
  • Registro em

  • Última visita

Tudo que Sekk postou

  1. @Qwizer Não é possível utilizar algum client da cip? posso alterar a versão do protocolo?
  2. vc ta tentando colocar outfits novas tipo da versão 10.x no 8.6? Pq tipo, no 10.1 lançaram o esquema de 8 frames, os outfits tem mais movimentos, entao n sei se eu posso adicionar normal no 8.6 aushuahs
  3. eu preciso deixar o addon em um lookType diferente que o outfit no object builder? achei que ficava tudo junto '-'
  4. Sekk respondeu ao post em um tópico de Sekk em Suporte & Pedidos
    QUAL NICK?
  5. Bom gente, o titulo ja é bem auto explicativo, mas mesmo assim: Eu quero criar um server 8.6, mas quero que ele tenha os novos itens(pelo menos até o 10.8), eu começei a jogar um server do south america memes, e eles conseguiram fazer isso. Tem todos os novos itens, tem montarias e tambem as novas outfits, fiquei boquiaberta... Além de terem colocado um sistema no cliente de desabilitar o chat e permitir o player de andar pelas teclas w a s d... Caso alguém saiba como prosseguir com algo dai, por favor responda!!!
  6. tfs 0.4 3777
  7. Sekk postou uma resposta no tópico em Suporte & Pedidos
    Alguem mais joga SAM OTS?
  8. consegui nada mano
  9. onde vc pegou o script? ta incompleto
  10. provavelmente seu config.lua está programado para usar mysql, não sqlite. Se vc não sabe mexer em mysql, vai no config.lua e procure por "mysql" e substitua por "sqlite"
  11. Sekk respondeu ao post em um tópico de Vim Rusha em Suporte Tibia OTServer
    function onUse(cid, item, fromPosition, itemEx, toPosition) local days = 2 -- coloque os dias que serão a VIP! local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13600) local timenow = os.time() if getPlayerStorageValue(cid, 13600) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doRemoveItem(item.uid, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 13600, time) local quantity = math.floor((getPlayerStorageValue(cid, 13600) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. quantity .." dias de VIP restantes.") return true end
  12. entao vai no config.php do seu site e ve qual o valora necessario para o page_access
  13. Sekk respondeu ao post em um tópico de Sekk em Suporte Tibia OTServer
    ja tentei mas n funfou 0.4 do fir3
  14. function onLogin(cid) if isPremium(cid) then if getPLayerVocation(cid) == 1 or getPLayerVocation(cid) == 2 or getPLayerVocation(cid) == 3 or getPLayerVocation(cid) == 4 then doPlayerSetVocation(cid, getPLayerVocation(cid) + 4) end else if getPLayerVocation(cid) == 5 or getPLayerVocation(cid) == 6 or getPLayerVocation(cid) == 7 or getPLayerVocation(cid) == 8 then doPlayerSetVocation(cid, getPLayerVocation(cid) - 4) end end return true end
  15. Tenta ai uahsusah(aproveitei pra ver se to entendendo o for) cria um arquivo novo em creaturescripts chamado newvoc.lua e coloca isso ai local free = {1, 2, 3, 4} local prem = {5, 6, 7, 8} function onLogin(cid) if isPremium(cid) then for _, v in pairs(free) do if getPLayerVocation(cid) == v then doPlayerSetVocation(cid, getPLayerVocation(cid) + 4) end end else for k, i in pairs(prem) do if getPLayerVocation(cid) == i then doPlayerSetVocation(cid, getPLayerVocation(cid) - 4) end end end return true end no creaturescripts.xml coloca isso: <event type="login" name="LogVoc" event="script" value="newvoc.lua"/> no login.lua só registra isso: registerCreatureEvent(cid, "LogVoc")
  16. if isPremium(cid) then if getPlayerVocation(cid) == 1 then doPlayerSetVocation(cid, 5) elseif getPlayerVocation(cid) == 2 then doPlayerSetVocation(cid, 6) elseif getPlayerVocation(cid) == 3 then doPlayerSetVocation(cid, 7) elseif getPlayerVocation(cid) == 4 then doPlayerSetVocation(cid, 8) end end
  17. Sekk respondeu ao post em um tópico de Sekk em Suporte Tibia OTServer
    Procurei por scripts que setam pz locked no player mas n deu certo Tentei com doPlayerSetPzLocked(cid) doPlayerSetPzLocked(cid, true) doPlayerSetPzLocked(cid, locked) -- o luascript.cpp do meu tfs fala que é assim Mas nenhum funciona, por enquanto deixei o script assim, não deu certo mas n indica nenhum erro: function onCombat(cid, target) if isPlayer(target) and getPlayerSecureMode(cid) == 0 and getCreatureSkullType(target) == 0 then return false end if getCreatureSkullType(target) > 0 then doPlayerSetPzLocked(cid, locked) end return true end @xWhiteWolf @Vodkart @Fir3element @zipter98
  18. Sekk respondeu ao post em um tópico de Sekk em Suporte Tibia OTServer
    parte está funcional, mas o player que ataca o pk não pega pz
  19. mano, isso é independente, vc testa com qualquer item e depois ele muda ue
  20. Sekk respondeu ao post em um tópico de Sekk em Suporte Tibia OTServer
    up @xWhiteWolf
  21. realmente n sei se funfa, mas tenta ai uahsusha local porcent = 10 -- porcentagem de vida dos players para healar local exaust = 1 -- exhausted em segundos local effect = {36} -- efeito que ira aparecer nos player, caso for mais de 1, adicionar virgulas dentro da tabela local pos = {x = 10160, y = 10054, z = 7} local function REVIVE(cid) if not isCreature(cid) then return true end if getTilePzInfo(getThingPos(cid)) == false and getCreatureHealth(cid) <= math.floor(getCreatureHealth(cid)*porcent/setConditionParam(condition, CONDITION_PARAM_TICKS, 200000)) then if getPlayerVocation(cid) == 1 or getPlayerVocation(cid) == 5 then doSendMagicEffect(getCreaturePos(cid), 35) doTeleportThing(cid, pos, true) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) elseif getPlayerVocation(cid) == 2 or getPlayerVocation(cid) == 6 then doSendMagicEffect(getCreaturePos(cid), 36) doTeleportThing(cid, pos, true) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) elseif getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 7 then doSendMagicEffect(getCreaturePos(cid), 37) doTeleportThing(cid, pos, true) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) elseif getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 8 then doSendMagicEffect(getCreaturePos(cid), 38) doTeleportThing(cid, pos, true) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) end setPlayerStorageValue(cid, 8855, -1) else addEvent(REVIVE, 100, cid) end end function onCastSpell(cid, var) local pos = getCreaturePos(cid) if exhaustion.check(cid, 8844) == true then doPlayerSendCancel(cid, "You are exhausted.") doSendMagicEffect(pos, 2) return false end if getPlayerStorageValue(cid, 8855) > 0 then doPlayerSendCancel(cid, "You already have protection.") return false end for i = 1, #effect do doSendMagicEffect(pos, effect[i]) end REVIVE(cid) exhaustion.set(cid, 8844, exaust) return true end
  22. entao quando o player usar a spell, ele vai ser teleportado pra outro lugar e healar? mas ja tem um effect
  23. to começando a entender, mas, esse script não possui nada que teleporte o player pra nenhum lugar :s

Informação Importante

Confirmação de Termo