Ir para conteúdo

Danihcv

Membro
  • Registro em

  • Última visita

Tudo que Danihcv postou

  1. Se ngm.te ajudar até hj de noite. Eu vejo o que posso fazer. Mas peço pra que vc me lembre por pm... shuashuas :s @Edit: Aqui está o script que uso em meu server e que faz tudo certo, sem bug nenhum:
  2. Não amigo... Pq as sprites são apenas pixels... Não eh um objeto 3d que daria pra usar alguma ferramenta de auto complete em certas partes, sacas? Então sinto informar que não existe tal programa. Vc terá que fazer todos angulos na mão. :/
  3. Danihcv postou uma resposta no tópico em Suporte Tibia OTServer
    Aparece algum erro na distro?
  4. @jNo, boa idéia. Vou implementar isso amn. Vlw!
  5. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    @Raell5, obg bro.
  6. Isso quer dizer que não foi possível encontrar o arquivo papai_noel.lua Ou seja, deve ter havido algum engano na hora de colocar o nome do arquivo .lua do papai noel dentro da pasta scripts. Peço que reveja os nomes dos arquivos se estão corretos e nos devidos diretórios.
  7. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    @MarcosFraga, huahuahua vlw cara.
  8. Pera... vão ter 5 baus com X itens cada. Ai em cada baú o player tem q escolher 1 item dentre os X itens do baú. E no 5 baú o player pode pegar 2 dentre os X itens do baú 5. Eh isso?
  9. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    @Guilherme, vlw man.
  10. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Oh god! Thanks (?) :s Hsushsus
  11. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    @Orochi Elf, brigado cara. Vou tentar melhorar cada vez mais.
  12. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Opa, vlw cara.
  13. Danihcv postou uma resposta no tópico em Playground (Off-topic)
    Eae galera do TK, blz? Bom, alguns de vcs ja conhecem o danihcv que ajuda sempre que pode, porem vcs ainda n conhecem a outra parte desse individuo. Deixem-me apresentar-vos. Meu nome é Daniel, vou cursar o 3° ano do ensino médio esse ano (2015). Pretendo cursar engenharia mecatrônica. E como todo adolescente, tenho alguns sonhos meio altos... shuashuashua Mas enfim, não gostaria de me prolongar muito mais (apesar de ja estar fazendo). Hoje começo meu estágio no TK e espero alcançar as metas e satisfazer as espectativas não só minhas mas também de todos que torcerem por mim ao decorrer deste período (estágio) e assim ser aceito como suporter. Mesmo que eu nao obtenha a aprovação vou continuar dando suporte a todos que necessitarem. E se eu for aceito nao vou mudarquem sou, toda duvida merece atenção e uma resposta. E isso é tudo pessoal.
  14. Apareceu algum erro??
  15. Então cara. Isso vai variar de ot pra ot. No meu qnd o god está como ghost essa luz não aparece para os players.
  16. Tem o Object Builder que suporta as versões até 10.5x (versão 0.3.4) eu poderia passar o link, mas estou no celular, ai complica :s
  17. local tempo = 5 -- tempo do paralyze em segundos local effect = 221 -- efeito que vai sair ao redor do player local exausted = 8 -- exhausted em segundos local storage = 13098 -- storage do exausted local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5000) function onCastSpell(cid, var) local target = getCreatureTarget(cid) local function Efect() if not isCreature(target) then return true end local positions = { [1] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [2] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y, z=getCreaturePosition(target).z}, [3] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z}, [4] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [5] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y, z=getCreaturePosition(target).z}, [6] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z}, [7] = {x=getCreaturePosition(target).x, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [8] = {x=getCreaturePosition(target).x, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z} } for i=1, #positions do if isWalkable(positions[i]) then end end end local function No_Move_Target() if isCreature(target) then doCreatureSetNoMove(target, 0) end return TRUE end if isPlayer(cid) and exhaustion.check(cid, storage) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, storage) .. " segundos para usar novamente.") return false end exhaustion.set(cid, storage, exausted) doCreatureSetNoMove(target, 1) doAddCondition(target, condition) doSendMagicEffect({getCreaturePosition(target).x+3, getCreaturePosition(target).y, getCreaturePosition(target).z}, effect) addEvent(No_Move_Target, tempo*1000) local t = 0 while t <= tempo*1000 do addEvent(Efect, t) t = t+300 end return true end Tenta assim.
  18. Amigo, eu mandei outro script. Re-enviando: local tempo = 5 -- tempo do paralyze em segundos local effect = 221 -- efeito que vai sair ao redor do player local exausted = 8 -- exhausted em segundos local storage = 13098 -- storage do exausted local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5000) function onCastSpell(cid, var) local target = getCreatureTarget(cid) local function Efect() if not isCreature(target) then return true end local positions = { [1] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [2] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y, z=getCreaturePosition(target).z}, [3] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z}, [4] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [5] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y, z=getCreaturePosition(target).z}, [6] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z}, [7] = {x=getCreaturePosition(target).x, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [8] = {x=getCreaturePosition(target).x, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z} } for i=1, #positions do if isWalkable(positions[i]) then end end end local function No_Move_Target() if isCreature(target) then doCreatureSetNoMove(target, 0) end return TRUE end if isPlayer(cid) and exhaustion.check(cid, storage) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, storage) .. " segundos para usar novamente.") return false end exhaustion.set(cid, storage, exausted) doCreatureSetNoMove(target, 1) doAddCondition(target, condition) doSendMagicEffect(getCreaturePosition(target), effect) addEvent(No_Move_Target, tempo*1000) local t = 0 while t <= tempo*1000 do addEvent(Efect, t) t = t+300 end return true end Tente esse.
  19. local tempo = 5 -- tempo do paralyze em segundos local effect = 221 -- efeito que vai sair ao redor do player local exausted = 8 -- exhausted em segundos local storage = 13098 -- storage do exausted local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5000) function onCastSpell(cid, var) local target = getCreatureTarget(cid) local function Efect() if not isCreature(target) then return true end local positions = { [1] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [2] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y, z=getCreaturePosition(target).z}, [3] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z}, [4] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [5] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y, z=getCreaturePosition(target).z}, [6] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z}, [7] = {x=getCreaturePosition(target).x, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [8] = {x=getCreaturePosition(target).x, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z} } for i=1, #positions do if isWalkable(positions[i]) then end end end local function No_Move_Target() if isCreature(target) then doCreatureSetNoMove(target, 0) end return TRUE end if isPlayer(cid) and exhaustion.check(cid, storage) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, storage) .. " segundos para usar novamente.") return false end exhaustion.set(cid, storage, exausted) doCreatureSetNoMove(target, 1) doAddCondition(target, condition) doSendMagicEffect(getCreaturePosition(target), effect) addEvent(No_Move_Target, tempo*1000) local t = 0 while t <= tempo*1000 do addEvent(Efect, t) t = t+300 end return true end
  20. Verdade. Confundi. sahusahu] O certo é ver se tem uma tag mais ou menos assim no creaturescripts.xml: <event type="death" name="SkullAmulet"
  21. Tenta ae: local tempo = 5 -- tempo do paralyze em segundos local effect = 221 -- efeito que vai sair ao redor do player local exausted = 8 -- exhausted em segundos local storage = 13098 -- storage do exausted local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_SPEED, -5000) function onCastSpell(cid, var) local target = getCreatureTarget(cid) local function Efect() if not isCreature(target) then return true end local positions = { [1] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [2] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y, z=getCreaturePosition(target).z}, [3] = {x=getCreaturePosition(target).x+1, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z}, [4] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [5] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y, z=getCreaturePosition(target).z}, [6] = {x=getCreaturePosition(target).x-1, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z}, [7] = {x=getCreaturePosition(target).x, y=getCreaturePosition(target).y+1, z=getCreaturePosition(target).z}, [8] = {x=getCreaturePosition(target).x, y=getCreaturePosition(target).y-1, z=getCreaturePosition(target).z} } for i=1, #positions do if isWalkable(positions[i]) then end end end local function No_Move_Target() if isCreature(target) then doCreatureSetNoMove(target, 0) end return TRUE end if isPlayer(cid) and exhaustion.check(cid, storage) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Aguarde " .. exhaustion.get(cid, storage) .. " segundos para usar novamente.") return false end exhaustion.set(cid, storage, exausted) doCreatureSetNoMove(target, 1) doAddCondition(target, condition) doSendMagicEffect(getPlayerPosition(cid), effect) addEvent(No_Move_Target, tempo*1000) local t = 0 while t <= tempo*1000 do addEvent(Efect, t) t = t+300 end return true end
  22. Cara... Vc precisa dar informações sobre o que vc quer. TIpo, qual o id dos diamantes, quantos diamantes equivalem à quantos pontos no site, as falas do player e do npc, etc. Pf seja mais específico, amigo.
  23. Vá em actions.xml e procure pelo id 2173. Lá estará informando o diretório do script responsavel pelo Aol.
  24. Que erro? Vá no seu arquivo items.xml e reveja a tag do item 2410, pois o shoottype dele não está escrito na forma correta: Como está: Como deve ser (um exemplo): Ainda no arquivo items.xml confira o item 855, pois o slotType está errado. Como está: Como deveria ser (bom, usei a logica e interpretei que isso deve ser algum tipo de espada): Sinto não poder dar com total precisão as configurações certas, pois não sei nada de nto (acho que é o caso).

Informação Importante

Confirmação de Termo