Tudo que Jeanfersonsp postou
-
(Resolvido)SCRIPT COM DELAY NO MAGICEFFECT (HELP)
Jeanfersonsp respondeu ao post em um tópico de raphadoidera em Suporte OTServer Derivados (Resolvidos)troca > doSendMagicEffect({x= t_Pos.x, y = t_Pos.y+ajust[2], z = t_Pos.z}, effect) por > doSendMagicEffect({x= t_Pos.x+ajust[1], y = t_Pos.y+ajust[2], z = t_Pos.z}, effect)
-
(Resolvido)SCRIPT COM DELAY NO MAGICEFFECT (HELP)
Jeanfersonsp respondeu ao post em um tópico de raphadoidera em Suporte OTServer Derivados (Resolvidos)Repete esta linha addEvent(targetEffect, 1000, cid, 419, {2,0}) --addEvent(targetEffect, 1000(TEMPO EM MILÉSIMOS PARA EFEITO), cid, 419(NUMERO DO EFEITO), {2,0}(AJUSTAR X E Y))
-
(Resolvido)SCRIPT COM DELAY NO MAGICEFFECT (HELP)
Jeanfersonsp respondeu ao post em um tópico de raphadoidera em Suporte OTServer Derivados (Resolvidos)local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -130.2, 1, -140.2, 1) function targetEffect(cid, effect, ajust) -- efeito sai no target if isCreature(cid) and isCreature(getCreatureTarget(cid)) then local t_Pos = getCreaturePosition(getCreatureTarget(cid)) doSendMagicEffect({x= t_Pos.x+ajust[1], y = t_Pos.y+ajust[2], z = t_Pos.z}, effect) end end local delay = 1000 -- tempo para o segundo efeito, em milésimos function onCastSpell(cid, var) local waittime = 2 -- Tempo de exhaustion local storage = 120033 if exhaustion.check(cid, storage) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, storage) .. " segundos para usar a spell novamente.") return false end targetEffect(cid, 419, {1,0}) addEvent(targetEffect, delay, cid, 419, {2,0}) exhaustion.set(cid, storage, waittime) return doCombat(cid, combat, var) end
-
(Resolvido)SCRIPT COM DELAY NO MAGICEFFECT (HELP)
Jeanfersonsp respondeu ao post em um tópico de raphadoidera em Suporte OTServer Derivados (Resolvidos)vc n especificou onde iria sair o segundo efeito, entao fiz de dois modos. function targetEffect(cid, effect, ajust) -- efeito sai no target if isCreature(cid) and isCreature(getCreatureTarget(cid)) then local t_Pos = getCreaturePosition(getCreatureTarget(cid)) doSendMagicEffect({x= t_Pos.x+ajust[1], y = t_Pos.y+ajust[2], z = t_Pos.z}, effect) end end addEvent(targetEffect, 2000, cid, 169, {0,0}) function cidEffect(cid, effect, ajust) -- efeito sai em min if isCreature(cid) then local t_Pos = getCreaturePosition(cid) doSendMagicEffect({x= t_Pos.x+ajust[1], y = t_Pos.y+ajust[2], z = t_Pos.z}, effect) end end addEvent(cidEffect, 2000, cid, 169, {0,0})
-
(Resolvido)Alguém poderia centralizar esse efeito?
Jeanfersonsp respondeu ao post em um tópico de raphadoidera em Suporte OTServer Derivados (Resolvidos)local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, 126) (Efeito Míssil) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -22.2, 1, -31.2, 1) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end function onCastSpell(cid, var) local waittime = 2 -- Tempo de exhaustion local storage = 45672 -- não mecha if exhaustion.check(cid, storage) then doPlayerSendCancel(cid, "Aguarde "..(exhaustion.get(cid, storage)).." segundos(s) para usar novamente.") return false end local parameters = {cid = cid, var = var, combat1 = combat1} for k = 1, 5 do addEvent(function() if isCreature(cid) and isCreature(getCreatureTarget(cid)) then onCastSpell1(parameters) local t_Pos = getCreaturePosition(getCreatureTarget(cid)) doSendMagicEffect({x= t_Pos.x+1, y = t_Pos.y, z = t_Pos.z}, 296) end end, 1 + ((k-1) * 275)) end exhaustion.set(cid, storage, waittime) return true end
-
UPDATE 3: Moveitem + Antipush + Anti-Crash Elf Bot - Bug Fixes - TFS 0.4 11/04/2024
olhei os 2 mas n notei diferença mas se você diz né
-
UPDATE 3: Moveitem + Antipush + Anti-Crash Elf Bot - Bug Fixes - TFS 0.4 11/04/2024
Sé faltou deixar os créditos do resto porque estas scripts/funções já existe a muito tempo e tem em todos os forums creio eu
-
(Resolvido)Deixar 1 dos effect lento
Jeanfersonsp respondeu ao post em um tópico de OinomedRellik em Suporte OTServer Derivados (Resolvidos)local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 15) function onGetFormulaValues(cid, level, skill, attack, factor) local lvl_skill = getPlayerSkillLevel(cid, SKILL_CLUB) local min = (level * 3 + lvl_skill * 3) * 1 local max = (level * 3 + lvl_skill * 3) * 1 return -min, -max end setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues") function onCastSpell(cid, var) local delay = 1500 -- (1000 = 1 seg) local target = getCreatureTarget(cid) if target > 0 and isCreature(cid) then position1 = {x=getThingPos(target).x, y=getThingPos(target).y, z=getThingPos(target).z} position2 = {x=getThingPos(target).x, y=getThingPos(target).y, z=getThingPos(target).z} doSendMagicEffect(position1, 688) addEvent(doSendMagicEffect, delay, position2, 683) local skillmin = 1 -- MINIMO DE SKILL PRA LANÇAR A MAGIA if getPlayerSkillLevel(cid, skill) < skillmin then return doPlayerSendCancel(cid, "You must have at least ".. skillmin .." of sword skill to use this spell.") end return doCombat(cid, combat, var) end end
-
[Pedido][TFS 1.3 ] Action que sumona npc
Agora q vi o tfs , pena que n mecho com ele
-
erro ao adicionar novas voc ou Spells
amigo aqui carregou normal, creio que você deletou a linha q estava dando erro
-
erro ao adicionar novas voc ou Spells
Poste o arquivo spells.xml
-
Check de monstro em uma area
Amigo topico de checar monster em certas areas ja existe, basta procurar um pouco. Mas recetemente eu encontrei uma script no seguinte tópico https://tibiaking.com/forums/topic/89834-check-de-monster-em-um-determinado-lugar/ no qual checa qualquer Monsters em determinada area então eu resolvi aprimorar a funçao, para checar all ou somente um ou mais monstros em especifico. Formas de uso : Agora respondendo o seu tópico, coloque isso na script
-
Colocar para verificar storage pra ver os reset
Não testei ainda , tenta trocar esse look.lua por esse
-
(Resolvido)Spell Hidan Imortal TFS 0.4
editei e inserir as condiçoes de player isPlayer(cid) em creaturescript
-
(Resolvido)Spell Hidan Imortal TFS 0.4
amigo eu testei aqui e deu certo, não entendi pq n funcionou no seu
-
(Resolvido)Spell Hidan Imortal TFS 0.4
As vezes quando você da copia de um spoiler a script vem com falhas, tente pegar os arquivos do winrar
-
(Resolvido)Spell Hidan Imortal TFS 0.4
deu algum erro?
-
(Resolvido)Spell Hidan Imortal TFS 0.4
Eu não testei ainda então se tiver algo errado me corrijam ou se faltou algo avize Em spells/scritps, crie um arquivo chamado Imortaly.lua e coloque dentro Em spells.xml adicione Em creaturescripts/scripts crie um arquivo chamado Imortaly.lua e coloque dentro Em creaturescripts.xml adicione Sistema Hidan.rar
-
(Resolvido)Spell Hidan Imortal TFS 0.4
Deixa ver se entendi, ao usar a spell, o hidan fica imortal, paralyzado, e não pode atacar.
-
(Resolvido)bug no look e showvoc
Desativa o do Frag e o Jin look e dps apaga tudo do Showvoc e poe isso
-
Gesior com bug na guild.
Informação Importante
Confirmação de Termo