Ir para conteúdo

4291226

Visconde
  • Total de itens

    519
  • Registro em

  • Última visita

Tudo que 4291226 postou

  1. Bom, ate onde sei já existem vários e vários tópicos sobre o mesmo. Más esta muito bom seu tutorial, creio que deve ser Aprovado
  2. Addict... Tava Lugar Errado?? 0o Tava onde?? Tutoriais?? Xp.. Mal.. Sem mais, //Lord
  3. Nao tendi Nada... Sem Mais.
  4. Muito Bom. Aprovado. Sem Mais, //Lord
  5. Voto na Img 3 Sem Mais, //Lord
  6. Mal Bom Topic. Coloque Devidos Creditos...Para o Tutorial. Estarei Lhe Reportando. Por Ripping. Sem Mais. Cya
  7. Tenho 1 Duvida.. TPW Queria Criar Outras Armas assim... + ai Tpw... como eu Defino que tal arma vai fazer isso? Se nem em Script e nem no Xml se coloca o Id Do Item.. Poderia me Explicar? Cya
  8. Eu Consegui xP... Testei In My Map Test xP hehehe Fico Rox so nao consegui configura pra onde ele vai anda xP Ja Testei Tbm o Sistema de Montanha Russa da BO Esse tmb e Rox xP Cya... Andrew Otimo Trabalho Como ja Disse Conde. Aprovado.
  9. function onUse(cid, item, frompos, item2, topos)tilepos = {x=topos.x, y=topos.y, z=topos.z}if item2.itemid == 0 thenreturn 0endif item2.itemid == 231 and tilepos.x == 200 and tilepos.y == 58 and tilepos.z == 7 thenterminar = {x=202, y=61, z=8}doSendMagicEffect(cid,2)doTeleportThing(cid,terminar)doSendMagicEffect(terminar,14)endreturn 1end Use Code e nao CODEBOX. Cya
  10. xP... 1 Dia 1 "Pessoa" Pergunto ao Jota ve onde postar Scripts.. o Jv Disse "Posta no Open Tibia Actions" xP heheheh Parabens Script. Como ja Havia Dito.
  11. Otimo Tutorial. Caro amigo Vitor. xP Continue Assim Fuiz
  12. Complementado. 1 Npc Que Vende Tais Ingredientes : local focus = 0 local talk_start = 0 local target = 0 local following = false local attacking = false function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Hello, ' .. getCreatureName(cid) .. '! ), , Eu vendo Ovo 10 gps, Farinha - 10 gp, Leite - 20 gps, Balde - 10 gps, Faca - 5 gp Cereja - 5 gp, vela - 10 gp.') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! I talk to you in a minute.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'ovo') then buy(cid,2695,getCount(msg),10) elseif msgcontains(msg, 'farinha') then buy(cid,1988,getCount(msg),10) elseif msgcontains(msg, 'balde') then buy(cid,7142,getCount(msg),10) elseif msgcontains(msg, 'leite') then buyFluidContainer(cid,2006,getCount(msg),20,6) elseif msgcontains(msg, 'faca') then buy(cid,2566,getCount(msg),5) elseif msgcontains(msg, 'cereja') then buy(cid,2580,getCount(msg),5) elseif msgcontains(msg, 'vela') then buy(cid,2047,getCount(msg),10) elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. getCreatureName(cid) .. '!') focus = 0 talk_start = 0 end end end function onCreatureChangeOutfit(creature) end function onThink() if focus > 0 then x, y, z = creatureGetPosition(focus) myx, myy, myz = selfGetPosition() if ((myy-y==0) and (myx-x<=0 and myx-x>=-4)) then selfTurn(1) end if ((myy-y==0) and (myx-x>=0 and myx-x<=4)) then selfTurn(3) end if ((myx-x==0) and (myy-y<=0 and myy-y>=-4)) then selfTurn(2) end if ((myx-x==0) and (myy-y>=0 and myy-y<=4)) then selfTurn(0) end if ((myy-y==-2) and (myx-x>=-1 and myx-x<=1)) then selfTurn(2) end if ((myy-y==2) and (myx-x>=-1 and myx-x<=1)) then selfTurn(0) end if ((myx-x==2) and (myy-y>=-1 and myy-y<=1)) then selfTurn(3) end if ((myx-x==-2) and (myy-y>=-1 and myy-y<=1)) then selfTurn(1) end if ((myy-y==-3) and (myx-x>=-2 and myx-x<=2)) then selfTurn(2) end if ((myy-y==3) and (myx-x>=-2 and myx-x<=2)) then selfTurn(0) end if ((myx-x==3) and (myy-y>=-2 and myy-y<=2)) then selfTurn(3) end if ((myx-x==-3) and (myy-y>=-2 and myy-y<=2)) then selfTurn(1) end if ((myy-y==-4) and (myx-x>=-3 and myx-x<=3)) then selfTurn(2) end if ((myy-y==4) and (myx-x>=-3 and myx-x<=3)) then selfTurn(0) end if ((myx-x==4) and (myy-y>=-3 and myy-y<=3)) then selfTurn(3) end if ((myx-x==-4) and (myy-y>=-3 and myy-y<=3)) then selfTurn(1) end end if (os.clock() - talk_start) > 30 then if focus > 0 then selfSay('Next Please...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Good bye then.') focus = 0 end end end xP Cya. Creditos Victor Bacchi
  13. nao isso e 1 Coiso que eles usam pra deixar o script certo xP ehehhe Cya
  14. Lol Peguei e Copiei xD.. So Isso.. nao Tenho Culpa que Foi All Na Msm Linha 0o xD Cya
  15. Lol Fico Tudo na Msm Linha So Isso..
  16. 4291226

    Como E Seu Desktop?

    Rox... Onde arrumo esse Programa? xD Cya
  17. Pow... Nao Funfo Help mE Xd Cya Deu esse Erro event onUse not found. Cya
  18. ² xD Parabens Msm
  19. xD..Qualquer Coisa Tamo Ai Brow. @All Vlw
  20. Muito Bom. Rox De Mais. Tem Suporte pra Win:98? eaheauheaue Cya
  21. Bem Legal. Apesar De Todos Saberem. Cya
  22. Nops.
  23. Dekoow. Nada Contra Voce + Desnecesario. Lol..Isso Nao e Credito Seu. Isso e Credito De Quem Crio o Script Do Food. xD Pois se so Add 4 Novas Coisas. Cya
  24. Pra que Serve?? Fala ne. lol Cya
  25. Nesse tutorial vo ensinar como colocar 2 novos pexeis vamos adicionar os seguintes peixes: rainbow trout (id 7158) e green perch (id 7159) entao vamos ao que importa abra data/actions/scripts/food voce deve achar isso: local text = "" local nutrition = 0 local effect = 50 function onUse(cid, item, frompos, item2, topos) if item.itemid == 2684 or item.itemid == 2362 or item.itemid == 2691 then nutrition = 8 text = "Crunch." elseif item.itemid == 2695 then nutrition = 6 text = "Gulp." elseif item.itemid == 2674 then nutrition = 6 text = "Yum." elseif item.itemid == 2787 then nutrition = 9 text = "Munch." elseif item.itemid == 2690 then nutrition = 3 text = "Crunch." elseif item.itemid == 2666 then nutrition = 15 text = "Munch." elseif item.itemid == 2667 then nutrition = 12 text = "Munch." elseif item.itemid == 2668 then nutrition = 10 text = "Mmmm." elseif item.itemid == 2689 then nutrition = 10 text = "Crunch." elseif item.itemid == 2669 then nutrition = 17 text = "Munch." elseif item.itemid == 2670 then nutrition = 4 text = "Gulp." elseif item.itemid == 2671 then nutrition = 30 text = "Chomp." elseif item.itemid == 2672 then nutrition = 60 text = "Chomp." elseif item.itemid == 2673 then nutrition = 5 text = "Yum." elseif item.itemid == 2675 then nutrition = 13 text = "Yum." elseif item.itemid == 2677 or item.itemid == 2679 then nutrition = 1 text = "Yum." elseif item.itemid == 2678 then nutrition = 18 text = "Slurp." elseif item.itemid == 2680 then nutrition = 2 text = "Yum." elseif item.itemid == 2687 then nutrition = 2 text = "Crunch." elseif item.itemid == 2681 then nutrition = 9 text = "Yum." elseif item.itemid == 2686 then nutrition = 9 text = "Crunch." elseif item.itemid == 2696 then nutrition = 9 text = "Smack." elseif item.itemid == 2682 then nutrition = 20 text = "Yum." elseif item.itemid == 2683 then nutrition = 17 text = "Munch." elseif item.itemid == 2685 then nutrition = 6 text = "Munch." elseif item.itemid == 2688 or item.itemid == 2793 then nutrition = 9 text = "Munch." elseif item.itemid == 2788 then nutrition = 4 text = "Munch." elseif item.itemid == 2789 then nutrition = 22 text = "Munch." elseif item.itemid == 2790 or item.itemid == 2791 then nutrition = 30 text = "Munch." elseif item.itemid == 2792 then nutrition = 6 text = "Munch." elseif item.itemid == 2794 then nutrition = 3 text = "Munch." elseif item.itemid == 2795 then nutrition = 36 text = "Munch." elseif item.itemid == 2796 then nutrition = 5 text = "Munch." elseif item.itemid == 6574 then nutrition = 4 text = "Mmmm." elseif item.itemid == 6394 then nutrition = 4 text = "Mmmm." elseif item.itemid == 6569 then nutrition = 1 text = "Mmmm." effect = 27 end if (getPlayerFood(cid) + nutrition > 400) then doPlayerSendCancel(cid,"You are full.") else doPlayerFeed(cid, nutrition * 4) doPlayerSay(cid, text, 16) doRemoveItem(item.uid, 1) if effect < 31 then doSendMagicEffect(getPlayerPosition(cid), 27) end end return 1 end Agora adicione isto: elseif item.itemid == 7158 then nutrition = 30 text = "Mmmm." elseif item.itemid == 7159 then nutrition = 30 text = "Mmmm." Ficando Assim: local text = "" local nutrition = 0 local effect = 50 function onUse(cid, item, frompos, item2, topos) if item.itemid == 2684 or item.itemid == 2362 or item.itemid == 2691 then nutrition = 8 text = "Crunch." elseif item.itemid == 2695 then nutrition = 6 text = "Gulp." elseif item.itemid == 2674 then nutrition = 6 text = "Yum." elseif item.itemid == 2787 then nutrition = 9 text = "Munch." elseif item.itemid == 2690 then nutrition = 3 text = "Crunch." elseif item.itemid == 2666 then nutrition = 15 text = "Munch." elseif item.itemid == 2667 then nutrition = 12 text = "Munch." elseif item.itemid == 2668 then nutrition = 10 text = "Mmmm." elseif item.itemid == 2689 then nutrition = 10 text = "Crunch." elseif item.itemid == 2669 then nutrition = 17 text = "Munch." elseif item.itemid == 2670 then nutrition = 4 text = "Gulp." elseif item.itemid == 2671 then nutrition = 30 text = "Chomp." elseif item.itemid == 2672 then nutrition = 60 text = "Chomp." elseif item.itemid == 2673 then nutrition = 5 text = "Yum." elseif item.itemid == 2675 then nutrition = 13 text = "Yum." elseif item.itemid == 2677 or item.itemid == 2679 then nutrition = 1 text = "Yum." elseif item.itemid == 2678 then nutrition = 18 text = "Slurp." elseif item.itemid == 2680 then nutrition = 2 text = "Yum." elseif item.itemid == 2687 then nutrition = 2 text = "Crunch." elseif item.itemid == 2681 then nutrition = 9 text = "Yum." elseif item.itemid == 2686 then nutrition = 9 text = "Crunch." elseif item.itemid == 2696 then nutrition = 9 text = "Smack." elseif item.itemid == 2682 then nutrition = 20 text = "Yum." elseif item.itemid == 2683 then nutrition = 17 text = "Munch." elseif item.itemid == 2685 then nutrition = 6 text = "Munch." elseif item.itemid == 2688 or item.itemid == 2793 then nutrition = 9 text = "Munch." elseif item.itemid == 2788 then nutrition = 4 text = "Munch." elseif item.itemid == 2789 then nutrition = 22 text = "Munch." elseif item.itemid == 2790 or item.itemid == 2791 then nutrition = 30 text = "Munch." elseif item.itemid == 2792 then nutrition = 6 text = "Munch." elseif item.itemid == 2794 then nutrition = 3 text = "Munch." elseif item.itemid == 2795 then nutrition = 36 text = "Munch." elseif item.itemid == 2796 then nutrition = 5 text = "Munch." elseif item.itemid == 6574 then nutrition = 4 text = "Mmmm." elseif item.itemid == 6394 then nutrition = 4 text = "Mmmm." elseif item.itemid == 7158 then nutrition = 30 text = "Mmmm." elseif item.itemid == 7159 then nutrition = 30 text = "Mmmm." elseif item.itemid == 6569 then nutrition = 1 text = "Mmmm." effect = 27 end if (getPlayerFood(cid) + nutrition > 400) then doPlayerSendCancel(cid,"You are full.") else doPlayerFeed(cid, nutrition * 4) doPlayerSay(cid, text, 16) doRemoveItem(item.uid, 1) if effect < 31 then doSendMagicEffect(getPlayerPosition(cid), 27) end end return 1 end Depois de fazer isto abra data/action/action.xml E Adicione Isso <action itemid="7158" script="food.lua" /> <action itemid="7159" script="food.lua" /> Creditos: [Forum] Lord Lolzao. Decupem se Ja Tiver .
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...