Ir para conteúdo

Khost

Campones
  • Total de itens

    23
  • Registro em

  • Última visita

Tudo que Khost postou

  1. po tipo uma talkaction pro GOD e uma pro player, pro GOD uma talkaction que tipo desbloqueasse a talkaction do player a talkaction só o GOD possa usar ,a talkaction do player teleportasse o player para o lugar adequado pro seu lvl : use esse exemplo... • Até level 200 • Até level 500 • Até level 800 • Acima de level 800 e depois uma talkaction que tipo "fexasse" o evento não deixando que o player use a talkaction para se teleportar... espero que vc entenda e obrigado por ter ajeitado a outra action... Obrigado..
  2. Khost

    [fexado]

    eu nem sei se da mas vamo vê se alguem consegue fazer um script que tipo só GODS podem usa /surv , esse comando "libera" uma talkaction pros players poderem usar , e /cancel ,"fexa" essa talkaction isso encerra o evento n dexando eles usarem essa talkaction... Obrigado!
  3. eu testei o script quando acaba o tempo a alavanca se transforma num corpse de um bicho... eu ja sei pq ta acontecendo isso é pq ta na msm linha a o unquid tem que estar em linhas diferentes eu n sei como consertar =( Falta isso : elseif item.itemid == 1946 then tendo que encaichar isso nesse script : function onUse(cid, item, frompos, item2, topos) piece1pos = {x=718, y=1382, z=7, stackpos=1} rockpos = {x=718, y=1382, z=7, stackpos=1} getpiece1 = getThingfromPos(piece1pos) if item.uid == 9222 and item.itemid == 1945 and getpiece1.itemid == 1304 and doPlayerRemoveMoney(cid, 100) == TRUE then doRemoveItem(getpiece1.uid,1) doTransformItem(item.uid,item.itemid+1) doPlayerSendTextMessage(cid,22,"Voce tem 2 segundos para passar.") parameters = {cid = cid, itemid = item.itemid, itemuid = item.uid, rockpos = rockpos} evento = addEvent(pedranormal, 10000, parameters) else doPlayerSendTextMessage(cid,22,"Sorry, not possible.") end return 1 end function pedranormal(parameters) doCreateItem(1304,1,parameters.rockpos) doTransformItem(parameters.itemuid,parameters.itemid-1) stopEvent(evento) end obrigado!
  4. como seria a talkaction ??? =) se puder botar o script... obrigado
  5. como sempre estou com dúvida se é possivel fazer uma talkaction que tipo teleportasse players para tal lugar só que de acordo com o lvl de cada exemplo : isso cada area adequada com o lvl lvl 201 até lvl 300 ---->> vai pra um lugar lvl 301 até lvl 400 --->> vai pra outro lugar lvl 401 até lvl 500 -->> outro lugar lvl 501 até lvl 601 -->> vai pra outro lugar tudo isso numa talkaction só... e tipo essa talkaction só pudesse ser usada na hora do evento e e tambem só em protect zone. Obrigado..
  6. Lucas ta dando esse erro aqui ó: [04/08/2009 10:53:09] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/pedra.lua) [04/08/2009 10:53:09] data/actions/scripts/pedra.lua:15: '=' expected near 'else' vlw function onUse(cid, item, frompos, item2, topos) piece1pos = {x=63, y=1509, z=7, stackpos=1} rockpos = {x=63, y=1509, z=7, stackpos=1} getpiece1 = getThingfromPos(piece1pos) if item.uid == 9221 and item.itemid == 9825 and getpiece1.itemid == 1547 and doPlayerRemoveMoney(cid, 500000) == TRUE then doRemoveItem(getpiece1.uid,1) doTransformItem(item.uid,item.itemid+1) doPlayerSendTextMessage(cid,22,"Voce tem 1 minuto para passar!.") parameters = {cid = cid, itemid = item.itemid, itemuid = item.uid, rockpos = rockpos} evento = addEvent(pedranormal, 60000, parameters) evento else doPlayerSendTextMessage(cid,22,"Sorry, not possible.") end return 1 end function pedranormal(parameters) doCreateItem(1547,1,parameters.rockpos) doTransformItem(parameters.itemuid,parameters.itemid-1) stopEvent(evento) end
  7. Vlw ae k9 muito obrigado ...
  8. aqui como eu fasso pra botar nesse scrip aqui pra pedra voltar em 1 minuto??e bota a msg quando o player remover a pedra "Você tem 1 minuto para passar " ou coisa parecida.. function onUse(cid, item, frompos, item2, topos)piece1pos = {x=364, y=43, z=7, stackpos=1} rockpos = {x=364, y=43, z=7, stackpos=1} getpiece1 = getThingfromPos(piece1pos) if item.uid == 9221 and item.itemid == 9825 and getpiece1.itemid == 1543 then doPlayerRemoveMoney(cid, 50000) == TRUE then doRemoveItem(getpiece1.uid,1) doTransformItem(item.uid,item.itemid+1) elseif item.uid == 9221 and item.itemid == 9826 then doCreateItem(1543,1,rockpos) doTransformItem(item.uid,item.itemid-1) else doPlayerSendTextMessage(cid,22,"Sorry, not possible.") end return 1 end Obrigado!
  9. n funciona =(.. só uma pergunta e caso não seje igual como eu boto por exemplo : Nome do char : Khost Nome da guild : Test Obrigado!
  10. eu preciso de uma action ou movement de uma alavanca que ela remova uma parede e e vá uma msg pro player "voce tem um minuto para passar" e tambem remova 500 k da pessoa que a puxou e depois de 1 minuto a parede volte.. Obrigado!
  11. Khost

    [fexado] Pode Fexar =)

    eu preciso de uma action ou movement de uma alavanca que ela remova uma parede e e vá uma msg pro player "voce tem um minuto para passar" e tambem remova 500 k da pessoa que a puxou e depois de 1 minuto a parede volte.. Obrigado!
  12. da um exemplo ae como eu fasso.... como seria o certo... vlw ae!
  13. Khost

    [dúvida] Talkaction

    uma dúvida quando eu boto o nome da guild no script aqui não vai continua dando erro diz que eu n so da guild... function onSay(cid,words,param) local player = getCreaturePosition(cid) if getPlayerGuildName(getPlayerName(cid)) == "GOD Alissow " then if getTilePzInfo(player) == TRUE then doTeleportThing(cid,{x=587, y=670, z=7}) doPlayerSendTextMessage(cid,25,"Go COH!") else doPlayerSendCancel(cid, "Voce precisa estar em pz.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end else doPlayerSendCancel(cid, "voce precisa estar na guild vencedora do COH") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end return TRUE end eu n sei oq botar aqui : if getPlayerGuildName(getPlayerName(cid)) == "GOD Alissow " then Vlw!
  14. como fazer um comando que bote todos os bless no player? obrigado!
  15. Khost

    [dúvida] Spells

    Eu queria ver se é possivel fazer esta magia que esta na foto.... Obrigado!
  16. ae alguem pode me ajuda botando esse monster pra dropar de 500 a 750 k só isso toda hora ,dando atack de groundshaker,dando atacks de fogo e de planta , eoutra coisa consertar pq ele ta dando erro... <?xml version="1.0" encoding="UTF-8"?> <monster name="Wiglaf" nameDescription="a wiglaf" race="fire" experience="100000" speed="1200" manacost="255"> <health now="100000" max="100000"/> <look type="266" corpse="3128"/> <targetchange interval="2000" chance="0"/> <strategy attack="100" defense="50"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="40"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" min="-1000" max="-4500"/> <attack name="fire" interval="2000" chance="14" range="7" radius="7" target="1" min="-100" max="-3000"> <attack name="earth" interval="1000" chance="85" length="9" spread="3" min="-600" max="-3050"> <attribute key="areaEffect" value="bigplants"/> </attack> <attack name="firefield" interval="1000" chance="15" range="7" radius="1" target="1"> <attribute key="shootEffect" value="fire"/> </attack> </attacks> <defenses armor="50" defense="55"> <defense name="healing" interval="1000" chance="15" min="90" max="200"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="1000" chance="15" speedchange="200" duration="20000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <voices interval="5000" chance="10"> <voice sentence="i kill you asshole." yell="1"/> <voice sentence="uiiiiii." yell="1"/> </voices> <elements> <element firePercent="100"/> <element physicalPercent="25"/> <element earthpercent="20"/> <element energyPercent="20"/> <element deathPercent="20"/> <element icePercent="-25"/> <element holyPercent="-10"/> </elements> <immunities> <immunity lifedrain="1"/> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <loot> <item id="2148" countmax="0" chance1="0" chancemax="0"/> <item id="2148" countmax="0" chance1="0" chancemax="0"/> <item id="2393" chance="0"/> <item id="2514" chance="0"/> <item id="2432" chance="0"/> <item id="2472" chance="0"/> <item id="5906" countmax="0" chance="0"/> <item id="5954" countmax="0" chance="0"/> <item id="2164" chance="0"/> <item id="2176" chance="0"/> <item id="1982" chance="0"/> <item id="2160" countmax="2" chance="1200"/> <item id="2165" chance="0"/> <item id="1987" chance="0"> <inside> <item id="2214" chance="0"/> <item id="2396" chance="0"/> <item id="2179" chance="0"/> <item id="2160" countmax="60" chance="20000"/> <item id="2678" countmax="0" chance1="0" chancemax="0"/> <item id="2148" countmax="0" chance1="100000" chancemax="0"/> <item id="2151" countmax="0" chance1="0" chancemax="0"/> <item id="2462" chance="0"/> <item id="2160" countmax="0" chance1="0" chancemax="0"/> <item id="2171" chance="0"/> <item id="2387" chance="0"/> <item id="2470" chance="0"/> <item id="2520" chance="0"/> <item id="2418" chance="0"/> <item id="7382" chance="0"/> <item id="2377" chance="0"/> </inside> </item> </loot> </monster> Obrigado!
  17. Khost

    [resolvido]

    eu quero trocar 100 crystal coins por 1 gol den nugget só que eu não tenho que muda só ae, mais aonde eu tenho que muda??? Obrigado!
  18. Khost

    [resolvido]

    como que eu posso fazer um sistema que troque uma moeda que eu vo criar por crystal coin e a crystal coin pela moeda que eu inventar??? o script das minhas moedas estao ae function onUse(cid, item, fromPosition, itemEx, toPosition) if item.itemid == ITEM_GOLD_COIN and item.type == ITEMCOUNT_MAX then doChangeTypeItem(item.uid, item.type - item.type) doPlayerAddItem(cid, ITEM_PLATINUM_COIN, 1) doSendAnimatedText(fromPosition, "$$$", TEXTCOLOR_PLATINUMBLUE) elseif item.itemid == ITEM_PLATINUM_COIN and item.type == ITEMCOUNT_MAX then doChangeTypeItem(item.uid, item.type - item.type) doPlayerAddItem(cid, ITEM_CRYSTAL_COIN, 1) doSendAnimatedText(fromPosition, "$$$", TEXTCOLOR_TEAL) elseif item.itemid == ITEM_PLATINUM_COIN and item.type < ITEMCOUNT_MAX then doChangeTypeItem(item.uid, item.type - 1) doPlayerAddItem(cid, ITEM_GOLD_COIN, ITEMCOUNT_MAX) doSendAnimatedText(fromPosition, "$$$", TEXTCOLOR_YELLOW) elseif item.itemid == ITEM_CRYSTAL_COIN then doChangeTypeItem(item.uid, item.type - 1) doPlayerAddItem(cid, ITEM_PLATINUM_COIN, ITEMCOUNT_MAX) doSendAnimatedText(fromPosition, "$$$", TEXTCOLOR_PLATINUMBLUE) else return FALSE end return TRUE end me ajudem please =0 Obrigado!
  19. Khost

    Dúvida [scripting]

    oi por que esse meu script não quer funcionar... function onSay(cid,words,param) local player = getCreaturePosition(cid) if (getPlayerGuildName(getPlayerName(cid)) == "Nome da Guild") then if getTilePzInfo(player) == TRUE then doTeleportThing(cid,{x=528, y=917, z=7}) doPlayerSendTextMessage(cid,25,"Go COH") else doPlayerSendCancel(cid, "voce precisa estar na guild vencedora do COH") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end end return TRUE end tipo to em pz tudo ele não me teleporta... e tipo eu queria que quando vc n tivesse em pz mostrasse a msg tb , aí só ta mostrando quando vc não ta na guild , e tambem queria que o script funcionasse... Obrigado!
  20. Khost

    [dúvida]rings

    não consegui não =(... Obrigado!
  21. Khost

    [loot] Dúvida

    Aonde eu ponho isso,aonde ta o lo gin .lua no creaturescript né??? Obrigado!
  22. Khost

    [loot] Dúvida

    é no creaturescript né? o meu é o alissow. vlw Marcryzius vlw Ryan! Obrigado!
  23. Khost

    [dúvida]rings

    é possivel botar pra só uma determinada vocação usar UM RING escolhido??? Obrigado
  24. Khost

    [loot] Dúvida

    o meu não veio =S Obrigado!
  25. Khost

    [loot] Dúvida

    oi , estive jogando tibia global esses dias e queria saber se é possivel fazer , um sistema que quando você mata um monstro aparece um msg (em verde) dizendo o loot do bicho.... Obrigado!
  • Quem Está Navegando   0 membros estão online

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