Tudo que Storm postou
-
(Resolvido)Spell dando paralyze infinito
@MarkCharlotte Removi a condition, não faz nenhum sentido ter ela ali
-
(Resolvido)Spell dando paralyze infinito
@MarkCharlotte Tenta assim:
-
(Resolvido)Spell dando paralyze infinito
@MarkCharlotte Tenta assim:
-
(Resolvido)Spell dando paralyze infinito
@MarkCharlotte Tenta assim: local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 5000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5000) function onCastSpell(cid, var) local target = getCreatureTarget(cid) local targetpos = getCreaturePosition(target) local efepos = {x=targetpos.x, y=targetpos.y, z=targetpos.z} local time = 5 -- tempo paralyzado if isPlayer(cid) and exhaustion.check(cid, 11560) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, 11560) .. " segundos para usar novamente.") return FALSE end exhaustion.set(cid, 11560, 30) doCreatureSetNoMove(target, 1) doAddCondition(target, condition) doSendMagicEffect(efepos, 24) addEvent(No_Move_Target, time*1000, cid) return TRUE end local function No_Move_Target(cid) local target = getCreatureTarget(cid) if isCreature(target) then doCreatureSetNoMove(target, 0) end return TRUE end
-
(Resolvido)Spell dando paralyze infinito
@MarkCharlotte Tenta assim: local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 5000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5000) function onCastSpell(cid, var) local target = getCreatureTarget(cid) local targetpos = getCreaturePosition(target) local efepos = {x=targetpos.x, y=targetpos.y, z=targetpos.z} local time = 5 -- tempo paralyzado if isPlayer(cid) and exhaustion.check(cid, 11560) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, 11560) .. " segundos para usar novamente.") return FALSE end exhaustion.set(cid, 11560, 30) doCreatureSetNoMove(target, 1) doAddCondition(target, condition) doSendMagicEffect(efepos, 24) addEvent(No_Move_Target, time*1000, target) return TRUE end local function No_Move_Target(target) if isCreature(target) then doCreatureSetNoMove(target, 0) end return TRUE end
-
(Resolvido)SCRIPT DE BOSS ALEATORIO
@Jonathan005 Não sou bom com TFS 1.X, mas tenta assim:
-
(Resolvido)[Resolvido] Efeito não sai na posição correta
@RuukasuSenpai Foi mal, lerdei demais agora: local effects = { --Goku-- [915] = 672, } function onThink(interval) for _, pid in ipairs(getPlayersOnline()) do local effect = effects[getPlayerVocation(pid)] if(effect) then local position = {x = getCreaturePosition(pid).x, y = getCreaturePosition(pid).y, z = getCreaturePosition(pid).z} doSendMagicEffect(position, effect) end end return true end
-
(Resolvido)[Resolvido] Efeito não sai na posição correta
@RuukasuSenpai local effects = { --Goku-- [915] = 672, } function onThink(interval) for _, pid in ipairs(getPlayersOnline()) do local effect = effects[getPlayerVocation(pid)] local position = {x = getCreaturePosition(pid).x, y = getCreaturePosition(pid).y, z = getCreaturePosition(pid).z} if(effect) then doSendMagicEffect(pos, effect) end end return true end
-
(Resolvido)[Resolvido] Efeito não sai na posição correta
@RuukasuSenpai local effects = { --Goku-- [915] = 672, } function onThink(interval) for _, pid in ipairs(getPlayersOnline()) do local effect = effects[getPlayerVocation(pid)] local position = {x = getCreaturePosition(pid), y = getCreaturePosition(pid), z = getCreaturePosition(pid)} if(effect) then doSendMagicEffect(pos, effect) end end return true end
-
Entrar no boss Dragonking quantos player quiser
@Jhonjhon775
-
(Resolvido)Npc com erro
@MarkCharlotte Tenta assim:
-
Deixar Item Infinito
@alexpaimel
-
STORAGE NO SCRIPT
@Magalhaes92 Tenta assim, só configurar o valor da storage na variável:
-
(Resolvido)problema com QUEST/BAÚS
@kaique2020 Acho que essa script foi feita do jeito errado, tenta trocar o valor das storages deixando assim: function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 5997 then queststatus = getPlayerStorageValue(cid, 33333) if queststatus < 1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a Royal Scale Robe.") doPlayerAddItem(cid, 12604, 1) setPlayerStorageValue(cid, 33333, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.") end elseif item.uid == 5997 then queststatus = getPlayerStorageValue(cid, 33334) if queststatus < 1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a Royal Draken Mail.") doPlayerAddItem(cid, 12603, 1) setPlayerStorageValue(cid, 33334, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.") end elseif item.uid == 5997 then queststatus = getPlayerStorageValue(cid, 33335) if queststatus < 1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a Elite Draken Helmet.") doPlayerAddItem(cid, 12606, 1) setPlayerStorageValue(cid, 33335, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.") end end return true end @kaique2020 Essa script do Yalahar Quest você copiou do jeito errado e esqueceu do end no final, deixa ela assim:
- [8.60][OLD Client] Narutibia (NTO HARD) - Servidor Completo
-
(Resolvido)Script Bugado.
@Pifafa Mas ele consegue usar o Exercise Bow quando está com a magia ativa? Se conseguir, tenta assim: if getCreatureCondition(cid, CONDITION_ATTRIBUTES, 1) then doPlayerSendTextMessage(cid, 27, "Voce nao pode usar o Exercise Bow com um buff ativo.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return false end
-
(Resolvido)Script Bugado.
@Pifafa Isso mesmo. Funcionou ou deu algo errado?
-
(Resolvido)Script Bugado.
@Pifafa Adiciona na linha embaixo de: local crit = math.random(1, 100) O seguinte escopo: if getCreatureCondition(cid, CONDITION_ATTRIBUTES) then doPlayerSendTextMessage(cid, 27, "Voce nao pode usar o Exercise Bow com um buff ativo.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return false end
-
(Resolvido)Script Bugado.
@Pifafa Me manda as spells, vou criar um if para verificar se tem uma condition ativa e não permitir o uso do skill trainer
-
(Resolvido)Script Bugado.
@Pifafa A magia que aumenta a skill é uma condition? Se possível, me manda a spell.
- [8.60][OLD Client] Narutibia (NTO HARD) - Servidor Completo
-
Servidor Consumindo Muita memoria
Seu servidor é de NTO? Se sim, tenho duas suspeitas: 1 - A distro do seu servidor está com muitos erros (geralmente causado por spells) 2 - O servidor está muito mal otimizado, com sistemas mal feitos e um mapa muito pesado.
-
[Dúvida] Transformar tfs 0.3.6 em 0.4 [8.54]
@Absolute Luffy Se você olhar bem, nos tópicos lá um usuário postou a distro já compilada.
-
[Dúvida] Transformar tfs 0.3.6 em 0.4 [8.54]
@Absolute Luffy Pelo jeito você ta usando os Linkers errados na hora de compilar. Vai no tópico dessa source aí e procura os Linkers corretos para o DEV.
-
(Resolvido)[PEDIDO] Ganhar recompensa ao matar jogador
@OinomedRellik Tenta assim: