-
Total de itens
75 -
Registro em
-
Última visita
Tudo que Gm Dudu postou
-
@Rocksody eu entendi oque faz eu li as actions pra ver... a minha pergunta é aonde eu vou por isso entende é meio inutil @... achei meio bobo não tem aonde por ta bom o trabalho ! muito bom mais não tenho aonde por por isso é meio inutil, mais ficou legal
-
MUUUITOOO BOOOM ! cara isso deve ter dado muitooo trabalho ! otimo post o forum vai ter só actions sua 5 posts por dia ! continue asim ! parabens !
-
cara voce tem feito otimos posts acho que o motivo de não ter coments é porque voce não explica nada eu por exemplo não entendi nada
-
é ele ta certo vai desaparecer pq eu não ponho save itens na parede oque eu quer dizer é que na hora de fazer a casa eu só ponhoi os tiles do chão
-
tibiaa4e nosso idolo ! cada vez melhor muito bom continue asim ! nosso futuro colex só da voce nas actions muito bom ! atenciosamente, Dudu
-
oque eu faço com isso?
-
sem querer me gabar mais tenho uma 100000 vezes melhor serio mesmo essa ai é pessima mais o trabalho foi obrigado por mas esse post aaaaa não serio melhor add as portas no arquivo door na pasta data? -----------------------edit------------------ não sei oque houve mais puis 2 posts sem querer não sei como pagar [[sugestão: butão para eu poder excluir meus posts]]
-
sem querer me gabar mais tenho uma 100000 vezes melhor serio mesmo essa ai é pessima mais o trabalho foi obrigado por mas esse post aaaaa não serio melhor add as portas no arquivo door na pasta data?
-
Tipo... eu puis o Vomit System no meu ot ai eu vi que não era tãoooo legal asim.. ai eu resolvi editar ! eu passei pra portugues e tambem puis uma nova função... então ai vai, com voces: Vomit System by Colez (98%) e eu (2%) :icon2: mais mesmo asim ta legal--> --Food System 7.6 by Danielo with GM Eating System by Frerety end Vomit System by Colex --adiçoes by Gm Dudu-- MAX_FOOD = 1200 function onUse(cid, item, frompos, item2, topos) if item.itemid == 2328 then food = 96 elseif item.itemid == 2362 then food = 96 elseif item.itemid == 2363 then food = 72 elseif item.itemid == 2666 then food = 180 elseif item.itemid == 2667 then food = 144 elseif item.itemid == 2668 then food = 120 elseif item.itemid == 2669 then food = 254 elseif item.itemid == 2670 then food = 196 elseif item.itemid == 2671 then food = 360 elseif item.itemid == 2672 then food = 720 elseif item.itemid == 2673 then food = 56 elseif item.itemid == 2674 then food = 72 elseif item.itemid == 2675 then food = 156 elseif item.itemid == 2676 then food = 96 elseif item.itemid == 2677 then food = 12 elseif item.itemid == 2678 then food = 160 elseif item.itemid == 2679 then food = 12 elseif item.itemid == 2680 then food = 24 elseif item.itemid == 2681 then food = 108 elseif item.itemid == 2682 then food = 240 elseif item.itemid == 2683 then food = 240 --MODIFIC elseif item.itemid == 2684 then food = 96 elseif item.itemid == 2685 then food = 46 elseif item.itemid == 2686 then food = 108 elseif item.itemid == 2687 then food = 24 elseif item.itemid == 2688 then food = 126 --MODIFIC elseif item.itemid == 2689 then food = 120 elseif item.itemid == 2690 then food = 72 elseif item.itemid == 2691 then food = 96 ------------------------------- elseif item.itemid == 2695 then food = 96 elseif item.itemid == 2696 then food = 108 elseif item.itemid == 2787 then food = 72 --102 elseif item.itemid == 2788 then food = 48 elseif item.itemid == 2789 then food = 264 elseif item.itemid == 2790 then food = 84 elseif item.itemid == 2791 then food = 84 elseif item.itemid == 2792 then food = 140 elseif item.itemid == 2793 then food = 126 elseif item.itemid == 2794 then food = 111 elseif item.itemid == 2795 then food = 136 elseif item.itemid == 2796 then food = 60 else return 0 end vomit = math.random(1,50) if (getPlayerFood(cid) + food > MAX_FOOD) then if getPlayerAccess(cid) > 2 then doPlayerFeed(cid,food) doRemoveItem(item.uid,1) return 1 else if vomit == 1 then doPlayerSay(cid,"Bluerr Coff Coff",16) doPlayerSendCancel(cid,"Voce Acaba de Vumitar.") doSendMagicEffect(getPlayerPosition(cid),8) doPlayerAddHealth(cid,-vomit) vom = doCreateItem(2025,4,getPlayerPosition(cid)) doRemoveItem(item.uid,1) doSetItemSpecialDescription(vom,"Vomito") doDecayItem(vom) else doPlayerSendCancel(cid,"Voce Jah Esta Satisfeito.") end return 1 end end doPlayerFeed(cid,food) doRemoveItem(item.uid,1) return 1 end é isso ai...to indo p a r t i u... atenciosamente, Dudu :hi:
-
Função Para Npc Rl Tibia (arrumado)
tópico respondeu ao tibiaa4e de Gm Dudu em NPCs, monsters e raids
bom legal só nun gostei dessa parte de que vai dar bug -
isso é magia??? que feio isso ta mais pra posion field com dano certo... mt facil mais mesmo asim... é sempre bom postar...
-
Pedra Magica Que Troca A Voc Do Player!
tópico respondeu ao nitrouz de Gm Dudu em Actions e Talkactions
mais simples ainda é resetar o player todo pra trocar de vocação -
Não gostei ! eu acho que se alguem usa a runa em vc vc vai pro dp ! to certo? se tiver errado.... Tahh aprovadoo :embarrest:
-
provavelmente temque dar use pq eu vi nun lembro ontem que action é tudo que vc de use
-
TOTALMENTE PORTUGUES Ele interage com dois players ao mesmo tempo muitooo fodaaaaa ate aliança ele vende ! Eu só não foi falar pra abrir aqui abrir ali pq eu to cansado, foi mo trabalho fazer isso entaum ai vai: focus = 0talk_start = 0target = 0following = falseattacking = falsemyname = ''origmsg = ''accs = 0function onThingMove(creature, thing, oldpos, oldstackpos)endfunction onCreatureAppear(creature)endfunction onCreatureDisappear(cid, pos) if focus == cid then selfSay('Vá Com Deus Irmao, Que o Senhor vos acompanhe.') focus = 0 talk_start = 0 endendfunction onCreatureTurn(creature)endfunction msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))endfunction onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Ola, Tudo bem? Sou o Padre Do Server voce deseja se casar?') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Ola ' .. creatureGetName(cid) .. ' aguarde sua vez') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'sim') accs == 1 then selfSay('Me Diga seu nome da sua esposa') accs = 2 elseif accs == 2 then mynamedois = origmsg selfSay('E Voce? qual seu nome?') accs = 3 elseif accs == 3 then mynameum = origmsg selfSay('posso começar?') accs = 4 elseif msgcontains(msg, 'sim') accs == 4 then selfSay('' .. creatureGetName(cid) .. ', Promete ama-la e respeitala, na saude e na doença na riquesa e na probresa ate que a morte os separe?') accs = 5 elseif msgcontains(msg, 'sim') accs == 5 then selfSay('E voce '..mynamedois..', Promete ama-lo e respeita-lo, na saude e na doença na riquesa e na probresa ate que a morte os separe?') accs = 6 elseif msgcontains(msg, 'sim') and (focus ~= cid) and getDistanceToCreature(cid) accs == 6 then selfSay(''..mynameum..', voce aceita '..mynamedois..' como sua legitima esposa?') accs = 7 elseif msgcontains(msg, 'sim') accs == 7 then selfSay('E voce '..mynamedois..', voce aceita '..mynameum..' como seu legitimo esposo?') accs = 8 elseif msgcontains(msg, 'sim') and (focus ~= cid) and getDistanceToCreature(cid) accs == 8 then selfSay('Eu os declaro, Marido e Mulher ! '..mynameum..', Pode beijar a noiva') selfSay(''..mynameum..' Voce deseja comprar as alianças?') accs = 9 elseif msgcontains(msg, 'sim') accs == 9 then buy(cid,1990,1,0) buy(cid,2121,2,100) selfSay('Voces Estaum Oficialmente Casados !') accs = 10 elseif string.find(msg, '(%a*)no(%a*)') and getDistanceToCreature(cid) < 4 then selfSay('Volte outra hora entao') focus = 0 talk_start = 0 end endendfunction onCreatureChangeOutfit(creature)endfunction onThink()if (os.clock() - talk_start) > 30 thenif focus > 0 thenselfSay('Aaah ! Ja era proximo casamento !')endfocus = 0endif focus ~= 0 thenif getDistanceToCreature(focus) > 5 thenselfSay('Vá Com Deus Irmao, Que o Senhor vos acompanhe.')focus = 0endendif focus == 0 thencx, cy, cz = selfGetPosition()randmove = math.random(1,20)if randmove == 1 thennx = cx + 1endif randmove == 2 thennx = cx - 1endif randmove == 3 thenny = cy + 1endif randmove == 4 thenny = cy - 1endif randmove >= 5 thennx = cxny = cyendmoveToPosition(nx, ny, cz)--summons = 30--summons2 = 30endend Flww ! espero ter ajudado Atenciosamente, Dudu
-
alguem pode formula pra mim? esse code com o da manarune?
-
Maker: 100% Gm Dudu Npc que vende Fluids ! Confira os Fluids Abaixo: --Water --Blood --Beer --Slime --Lemonade --Milk --Oil --Smile --Urine --Wine --Mud --Lava --Swamp Water focus = 0talk_start = 0target = 0following = falseattacking = falsefunction onThingMove(creature, thing, oldpos, oldstackpos)endfunction onCreatureAppear(creature)endfunction onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 endendfunction onCreatureTurn(creature)endfunction msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))endfunction onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Hello ' .. creatureGetName(cid) .. '! vendo todos os fluids por 100 gps.') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. creatureGetName(cid) .. '! I talk to you in a minute.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'fluid') then selfSay('Water, Blood, Beer, Slime, Lemonade, Milk, Oil, Smile, Urine, Wine, Mud, Lava, Swamp Water') elseif msgcontains(msg, 'water') then buy(cid,2006,1,100) elseif msgcontains(msg, 'blood') then buy(cid,2006,2,100) elseif msgcontains(msg, 'beer') then buy(cid,2006,3,100) elseif msgcontains(msg, 'slime') then buy(cid,2006,4,100) elseif msgcontains(msg, 'lemonade') then buy(cid,2006,5,100) elseif msgcontains(msg, 'milk') then buy(cid,2006,6,100) elseif msgcontains(msg, 'oil') then buy(cid,2006,11,100) elseif msgcontains(msg, 'smile') then buy(cid,2006,12,100) elseif msgcontains(msg, 'urine') then buy(cid,2006,13,100) elseif msgcontains(msg, 'wine') then buy(cid,2006,15,100) elseif msgcontains(msg, 'mud') then buy(cid,2006,19,100) elseif msgcontains(msg, 'lava') then buy(cid,2006,26,100) elseif msgcontains(msg, 'swamp water') then buy(cid,2006,28,100) elseif string.find(msg, '(%a*)bye(%a*)') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. creatureGetName(cid) .. '!') focus = 0 talk_start = 0 end endendfunction onCreatureChangeOutfit(creature)endfunction onThink()if (os.clock() - talk_start) > 30 thenif focus > 0 thenselfSay('Next Please...')endfocus = 0endif focus ~= 0 thenif getDistanceToCreature(focus) > 5 thenselfSay('Good bye then.')focus = 0endendif focus == 0 thencx, cy, cz = selfGetPosition()randmove = math.random(1,20)if randmove == 1 thennx = cx + 1endif randmove == 2 thennx = cx - 1endif randmove == 3 thenny = cy + 1endif randmove == 4 thenny = cy - 1endif randmove >= 5 thennx = cxny = cyendmoveToPosition(nx, ny, cz)--summons = 30--summons2 = 30endend espero ter ajudado Atenciosamente, Dudu
-
vo pergunta dinovo... xD como aplico isso na manarune
-
LEIA focus = 0talk_start = 0target = 0following = falseattacking = falsefunction onThingMove(creature, thing, oldpos, oldstackpos)endfunction onCreatureAppear(creature)endfunction onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 endendfunction onCreatureTurn(creature)endfunction msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))endfunction onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Ola ' .. creatureGetName(cid) .. ' voce deseja salvar esse xar? :' .. creatureGetName(cid) .. '') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. creatureGetName(cid) .. '! I talk to you in a minute.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'no') then selfSay('entao venha com o xar desejado ate mim') if msgcontains(msg, 'yes') then f = assert(io.open("./data/inativos/players.lua", "w")) f = io.open("./data/inativos/players.lua", "w") f:write(", ' .. creatureGetName(cid) .. '") elseif string.find(msg, '(%a*)bye(%a*)') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. creatureGetName(cid) .. '!') focus = 0 talk_start = 0 end endendfunction onCreatureChangeOutfit(creature)endfunction onThink()if (os.clock() - talk_start) > 30 thenif focus > 0 thenselfSay('Next Please...')endfocus = 0endif focus ~= 0 thenif getDistanceToCreature(focus) > 5 thenselfSay('Good bye then.')focus = 0endendif focus == 0 thencx, cy, cz = selfGetPosition()randmove = math.random(1,20)if randmove == 1 thennx = cx + 1endif randmove == 2 thennx = cx - 1endif randmove == 3 thenny = cy + 1endif randmove == 4 thenny = cy - 1endif randmove >= 5 thennx = cxny = cyendmoveToPosition(nx, ny, cz)--summons = 30--summons2 = 30endend
-
Aeee To disponibilizando o The Oracle ! Totalmente Editado e com NOVAS ADIÇÕES FODAS =] --1º Ele da exp 5000 Mil de exp quando voce passa por ele --2º Ele aviza a todos que um novo player começou a jogar e fala o nome do Player entaum ai vai o code Pasta do ot/Data/Npc Copie um Bloco de Notas, e ponha o nome de: "The_Oracle" focus = 0talk_start = 0target = 0following = falseattacking = falsetalk_state = 0cname = ''vocation = 0mainlevel = 8function onThingMove(creature, thing, oldpos, oldstackpos)endfunction onCreatureAppear(creature)endfunction onCreatureDisappear(cid, pos) if focus == cid then selfSay('Ateh mais.') focus = 0 talk_start = 0 endendfunction onCreatureTurn(creature)endfunction msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))endfunction onCreatureSay(cid, type, msg) cname = creatureGetName(cid)msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Ola ' .. cname .. 'Pra onde voce deseja ir?') talk_state = 0 focus = cid talk_start = os.clock()elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Pera ' .. cname .. ',me da um minuto porfavor.') elseif msgcontains(msg, 'bye') and focus == cid and getDistanceToCreature(cid) < 4 then selfSay('Ateh mais, ' .. cname .. '!') talk_state = 0 focus = 0 talk_start = 0 elseif focus == cid then talk_start = os.clock() if talk_state == 0 then if msgcontains(msg, 'yes') then -- vamos para main land xD level = getPlayerLevel(cname) if level >= mainlevel then selfSay('Escolha knight, sorcerer, druid ou paladin') talk_state = 1 else selfSay('Desculpa, Voce Precisa de lv ' .. mainlevel .. '.') talk_state = 0 end else selfSay('Volte com o lv ' .. mainlevel .. '.') talk_state = 0 end elseif talk_state == 1 then -- telling vocation talk_state = 2 if msgcontains(msg, 'sorcerer') then selfSay('voce tem certesa?') vocation = 1 elseif msgcontains(msg, 'druid') then selfSay('voce tem certesa?') vocation = 2 elseif msgcontains(msg, 'paladin') then selfSay('voce tem certesa?') vocation = 3 elseif msgcontains(msg, 'knight') then selfSay('voce tem certesa?') vocation = 4 else selfSay('essa vocação não existe.') vocation = 0 talk_state = 1 end elseif talk_state == 2 then -- confirme sua vocação if msgcontains(msg, 'yes') then selfSay('Voce tem certesa que deseja ir a city?') talk_state = 3 else selfSay('escolha uma vocação') talk_state = 1 end elseif talk_state == 3 then -- telling city name if msgcontains(msg, 'yes') then selfSay('Bem-vindo a cidade') setPlayerVocation(cid,vocation) setPlayerMasterPos(cid,X,Y,Z) -- o X,Y,Z do seu templo selfSay('/send ' .. cname .. ', X Y Z') selfSay('/giveexp 5000 ' .. cname .. '') selfSay('/B Temos um novo Player o : ' .. cname .. ' ') talk_state = 0 focus = 0 talk_start = 0 else selfSay('Sorry, there is no such city.') talk_state = 3 end end endendfunction onCreatureChangeOutfit(creature)endfunction onThink() if (os.clock() - talk_start) > 45 then if focus > 0 then selfSay('Proximo') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Ateh mais.') focus = 0 end endend Pasta do ot/Data/Npc Copie um XML, e ponha o nome de: "The Oracle" <?xml version="1.0" ?><npc name="The Oracle" script="data/npc/scripts/the_oracle.lua" access="3"><look type="1448" head="57" body="59" legs="40" feet="76" /></npc> Agora na Pasta do ot/Data/World abra e add essa Tag <npc name="The Oracle" x="X" y="Y" z="Z" dir="2" /> X,Y,Z são as pocições os tiles do mapa é isso que mede tudo X = De la <- para ca -> Y = De cima para baixo Z = Os andares 7 Terreo 6 um andar a cima 8 um andar a baixo ======//=======//======//=====//======= DIR = o lado que o npc esta virado 1 = Lado D. (->) 2 = Baixo (\/) 3 = Lado E. (<-) 4 = Cima (/\) Flww pessoal ate mais espero ter ajudado ! Duvida??? POsTe Atenciosamente, Dudu vlww
-
como que eu aplico isso na manarune?
-
pq naum pode add na manarune?
-
@afk Malz... eu andei meio afastado ! desculpa aee pessoal é mt simples ela é iqual a todas as magias porfavor expacifica mais emq vc ta com duvida... flw @Noxidy__ Vlw Obrigado pelo elogio, entendo de tudo um poco @ruzin posta sua duvida porfavor... Atenciosamente, Dudu
-
haha a idea foi boa.... parabens.. mais tem uma coisa, eu queria um npc iqual do tibia rl vc fla heal mais ele só heala se sua vida tiver menor que 60 e ele só heala ate 100 e tb sem aparecer a magia neh.... eu estou procurando aquele portal que muda o seu templo... se alguem souber aonde tenha ou puder fazer pra mim,Obrigado Atenciosamente, Dudu
-
Exclusivo uma runa novinha ! acabou de ser feita ! Estou pondo para o publico pela primeira vez minha mais nova criação Entaum vamos la ! Essa runa é muito boa pra pvp-enforced eu suponho mais acho que é muito boa tb pra server comuns pvp e non-pvp Abra a pasta do seu otserver dpois vá em data/spells/intants ai vc copia qualquer arquivo que que tenha lá, apaga tudo que tiver dentro do arquivo que vc copiou, dpois vc copia oq tem abaixo dentro do documento que vc copiou area = { {0, 1, 0}, {1, 1, 1}, {0, 1, 0} } attackType = ATTACK_PHYSICAL needDirection = true areaEffect = NM_ME_EXPLOSION_AREA animationEffect = NM_ANI_FIRE hitEffect = NM_ME_EXPLOSION_DAMAGE damageEffect = NM_ME_DRAW_BLOOD animationColor = RED offensive = true drawblood = true HealFriendObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0) SubHealFriendObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg) SubHealFriendObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 1000, 1000) function onCast(cid, creaturePos, level, maglv, var) centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z} targetpos = getPosition(var) HealFriendObject.minDmg = (level * 2 + maglv * 3) * 3 HealFriendObject.maxDmg = (level * 2 + maglv * 3) * 3 + 40 if targetpos.x ~= nil and targetpos.z ~= nil and targetpos.y ~= nil then if math.abs(targetpos.x - centerpos.x) < 18 and math.abs(targetpos.y - centerpos.y) < 14 and targetpos.z == centerpos.z then return doTargetMagic(cid, targetpos, HealFriendObject:ordered()) end end return false end agora vai em: a pasta do seu ot/data/spells/spells.xml ai add essa linha em spells instantaneas <spell name="Explo" words="explo sio" maglv="10" mana="1000" enabled="1"> <vocation id="1" /> <vocation id="2" /> </spell> Pronto ! agora vc tem a spells rodando... como ussa-la: vc escolhe o player que vc quer atacar e siga o exemplo EX: explo sio "player Pronto, acabo as coisas boas sem acabão rapido... Vlw ! espero ter ajudado com mais esse post inedito ;D Abraçusss
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.