Corpscool naum deleta pq naum tem + tuto sobre isso, e move pra tutoriais plxx
- Fórum
- OTServ
- Tutoriais
- Tutoriais de Scripting
- Tutorial De Manafluid Rune 7.5
Tutorial De Manafluid Rune 7.5
Por Rafix, 06 de nov. de 2005 em Tutoriais de Scripting
info
Grupo: Campones
Registrado: 07/08/05
Posts: 8
Reputação: 0

ow mano, o npc nem ta funfanfo... ajeita ai plx!!!
Kra vc falou mf rune ? se naum fale, pq eu colokei ali para se o cara falar mf rune naum manafluid rune, mas eh como vc preferir, se vc preferir manafluid rune eu boto
Atenciosamente,
Rafix
lol pra q deleta issu tah mto ###### parabens mto bom explicado e bem mostrado vlw xD
Estou à disposição...
Amanham eu vou postar um tutorial de como fazer quests com alavanca soh pra avisar...
Editado Novembro 11 por Rafix
tipo... tem um problema com esse mf de rune seu ae... num tem exausted ... os kra liga um macro e fika soltando UE aki no meu server ja tem nego ml 120 por causa desse prob.... se souber como resolver posta ae plx !!
Kra, o exhausted, eh no config.LUA, quem sabe voce coloca um pouco de exhausted para isso naum acontecer, e tira pvp pra naum fika pklizança...
info
Grupo: Campones
Registrado: 16/11/05
Posts: 2
Reputação: 0
me ajudoh muit issu vlw ManoW... tds os seus Topicos quase sempre me ajudam muit LokkX flws
info
Grupo: Campones
Registrado: 24/11/05
Posts: 1
Reputação: 0
Vlw aew manu ajudou mto^^
ty :grin: ![]()
info
Grupo: Campones
Registrado: 24/11/05
Posts: 1
Reputação: 0
manuw vlw melhor topico pra mana rune deu tudo certo ty gratx
Muito Bom.
Aprovado !
Obrigado
Spanker
o npc naum ta vendendo oq eu tenho q faze???
Post ta rox ... mais esse problema ta ###### ... vlw
É que voce tentou falar "manafluid rune"
Eu coloquei para falar mf rune, malz, eu vou editar...
Atenciosamente,
Rafix
Rafix, parabens!
Seus tópicos sempre me ajudam mto! XD
Coloquei o manafluid rune la no meu server.. agora ta bem melhor..
Antes tinha q ficar usando a manafluid e depois tacar a vial fora... Agora eh só clicar... :grin:
Vlw ae..
Ótimo Tuto
Me ajudo mto e ajudo muitas pessoas tbm
Continua assim
![]()




info
Grupo: Barão
Registrado: 29/08/05
Posts: 231
Reputação: +4
Char no Tibia: retired
Como tah no pedidos de tutoriais, eu vou repostar porque muita gente quer e o Corpscool deleto meu ultimo tuto sobre manafluid rune dizendo que ja tinha, eu procurei e naum achei...
La vai:
Abra a pasta de seu Ot, va em data\actions\scripts copie um dos arquivos .LUA e renomeie para manarune , logo após, abra-o com o bloco de notas, delete tudo o que há lah, e cole o seguinte:
-- New mF RuNe 7.5 bY JoAo--function onUse(cid, item, frompos, item2, topos)playerpos = {x=topos.x, y=topos.y, z=topos.z, stackpos=253} player = getThingfromPos(playerpos)ml = getPlayerMagLevel(cid)lvl = getPlayerLevel(cid)formula = math.random(((lvl+ml)*2)-(lvl-ml))if item2.itemid == 1 and ml >= 2 thendoSendMagicEffect(playerpos,1)doPlayerAddMana(player.uid,formula)doPlayerSay(cid,"Ahhhh! Fresh ManaFluid !",16)if item.type > 1 thendoChangeTypeItem(item.uid,item.type-1)elsedoRemoveItem(item.uid,1)endendif item2.itemid == 1 and ml <= 1 thendoSendMagicEffect(frompos,2)doPlayerSendCancel(cid,"You dont Have Magic Level to use this rune.")endif item2.itemid >= 2 thendoPlayerSendCancel(cid,"You can only use this rune in you or in players.")doSendMAgicEffect(frompos,2)endreturn 1endIfMag:[[[[Acho que é o magic level necessário]]]]
X= Mana que enche quando usa
Depois de ter feito isso, volte para a pasta actions, e abra o actions.xml com o bloco de notas, aperte crtl+f e mande procurar por: steerwheel , em baixo aperte enter e cole o seguinte:
Entaum, vai ficar assim o final:
Ta funfado, mas se vc kiser por pra vender no npc e mudar o nome da runa de "rune" p/ "manafluid rune" Vow mostrar como:
__________________________________________________________________
Para colocar pra vender no npc:
va em data\npc\sripts e abra com o bloco de notas o seller.LUA, e como eh dificil de explicar onde colocar um negocio, vo da pra vcs , 20x de mf rune=1k se souberem modifiquem ou me add no msn, toh: deleta tudo e cola isso:
focus = 0 talk_start = 0 target = 0 following = false 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 ((string.find(msg, '(%a*)hi(%a*)')) and (focus == 0)) and getDistanceToCreature(cid) < 3 then selfSay('Hello, ' .. creatureGetName(cid) .. '! I sell ropes (50gps), shovels (20gps), manafluid runes (1kgps), backpacks (10gps), manafluids (100gps), lifefluids (60gps) and fishing rods (100gps). I buy vials (10gps).') focus = cid talk_start = os.clock() elseif string.find(msg, '(%a*)hi(%a*)') and (focus ~= cid) and getDistanceToCreature(cid) < 3 then selfSay('Sorry, ' .. creatureGetName(cid) .. '! I talk to you in a minute.') elseif msgcontains(msg, 'rope') and focus == cid then buy(cid,2941,1,50) talk_start = os.clock() elseif msgcontains(msg, 'manafluid rune') and focus == cid then buy(cid,3121,20,1000) talk_start = os.clock() elseif msgcontains(msg, 'shovel') and focus == cid then buy(cid,3395,1,20) talk_start = os.clock() elseif msgcontains(msg, 'backpack') and focus == cid then buy(cid,2792,1,10) talk_start = os.clock() elseif msgcontains(msg, 'mf') and focus == cid then buy(cid,2812,7,100) talk_start = os.clock() elseif msgcontains(msg, 'lifefluid') and focus == cid then buy(cid,2812,10,60) talk_start = os.clock() elseif msgcontains(msg, 'fishing rod') and focus == cid then buy(cid,3421,1,100) talk_start = os.clock() elseif (msgcontains(msg, 'vial') or msgcontains(msg, 'flask')) and focus == cid then sell(cid,2812,1,10) talk_start = os.clock() elseif string.find(msg, '(%a*)bye(%a*)') and focus == cid and getDistanceToCreature(cid) < 3 then selfSay('Good bye, ' .. creatureGetName(cid) .. '!') focus = 0 talk_start = 0 end end function onCreatureChangeOutfit(creature) end function onThink() if (os.clock() - talk_start) > 30 then if focus > 0 then selfSay('Next Please...') end focus = 0 end endPronto, o seller vende mf rune!!!
__________________________________________________________________
Agora pra colocar o nome manafluid rune:
Va em data\items e abra o items.xml em bloco de notas, aperte ctrl+f e procure por: 3121 , ali vai aparecer "name=rune", apenas substitua para "name=manafluid rune"...
__________________________________________________________________
Eh isso gente, espero ter ajudado
Atenciosamente,
Rafix
Edit:
O bug do exhausted ja foi arrumado, porém o script foi trocado pelo do neverland então:
Créditos para Neverland
Editado Março 13 por Rafix