-
Total de itens
141 -
Registro em
-
Última visita
-
Dias Ganhos
1
Tudo que KamuiRunt postou
-
Isso não é erro, o fast ataque é de 400 por segundo, ou seja Você deve ter posto um numero absurdo. Isso significa que é o intervalo de segundos entre ataques. Quanto maior o número, mais demorado é o ataque. Quanto menor o número, mais rápido é o ataque. Obs: Seção errada, aqui é pedido de scripts, e não correção de falta de atenção. Reportado para mover.
-
Ta ai traduzidinho local focus = 0 local talk_start = 0 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('Ola ' .. creatureGetName(cid) .. '! Bem vindo ao banco local!') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Espere, ' .. creatureGetName(cid) .. '! Falo com voce em um minuto...') elseif focus == cid then if msgcontains(msg, 'balance') then balance(cid) talk_state = 0 talk_start = os.clock() elseif msgcontains(msg, 'deposit') and getCount(msg) > 0 then value = getCount(msg) selfSay('Voce realmente quer depositar '..value..' gps?') talk_state = 2 talk_start = os.clock() elseif msgcontains(msg, 'deposit') then selfSay('Por favor me diga quanto voce quer depositar...') talk_state = 1 talk_start = os.clock() elseif talk_state == 1 then value = getCount(msg) if value > 0 then selfSay('Voce realmente quer depositar '..value..' gps?') talk_state = 2 else talk_state = 0 end elseif msgcontains(msg, 'yes') and talk_state == 2 then deposit(cid, value) talk_state = 0 elseif msgcontains(msg, 'transfer') and getCount(msg) > 0 then value = getCount(msg) selfSay('Qual o NOME do Player para quem voce quer transferir '..value..' gps?') talk_state = 5 talk_start = os.clock() elseif talk_state == 5 then xid = getPlayerByName(msg) if xid == 0 then selfSay('Player "'..msg..'" nao encontrado!!!') talk_state = 0 elseif xid == cid then selfSay('Voce nao pode transferir dinheiro para voce mesmo!!!') talk_state = 0 else NomeDele = getPlayerName(xid) selfSay('Tem certeza que voce quer transferir '..value..' gps da sua conta para '..NomeDele..'?') talk_state = 8 end elseif msgcontains(msg, 'transfer') then selfSay('Por favor me diga o quanto voce quer transferir?') talk_state = 7 talk_start = os.clock() elseif talk_state == 7 then value = getCount(msg) if value > 0 then selfSay('Qual o NOME do Player para quem voce quer transferir '..value..' gps?') talk_state = 5 talk_start = os.clock() else talk_state = 0 end elseif msgcontains(msg, 'yes') and talk_state == 8 then transfer(cid, value, xid) talk_state = 0 elseif msgcontains(msg, 'withdraw') and getCount(msg) > 0 then value = getCount(msg) selfSay('Voce realmente que retirar '..value..' gps da sua conta?') talk_state = 3 talk_start = os.clock() elseif msgcontains(msg, 'withdraw') then talk_state = 4 selfSay('Por favor me diga o quanto voce quer retirar.') talk_start = os.clock() elseif talk_state == 4 then value = getCount(msg) if value > 0 then selfSay('Tem certeza que quer retirar '..value..' gps da sua conta?') talk_state = 3 else talk_state = 0 end elseif msgcontains(msg, 'yes') and talk_state == 3 then withdraw(cid, value) talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 2 then selfSay('Como quiser, algo mais que eu possa fazer por voce?') talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 3 then selfSay('Voce que sabe, volte quando quiser falar de dinheiro.') talk_state = 0 elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Adeus ' .. creatureGetName(cid) .. ', volte quando quiser falar de dinheiro.') focus = 0 talk_start = 0 elseif msg ~= "" then selfSay('Voce esta num banco! Fale sobre coisas que se faz num BANCO!') talk_state = 0 end end end function onCreatureChangeOutfit(creature) end function onThink() doNpcSetCreatureFocus(focus) if (os.clock() - talk_start) > 30 then if focus > 0 then selfSay('Proximo!!...') end focus = 0 talk_start = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Adeus, volte quando tiver mais dinheiro!') focus = 0 talk_start = 0 end end end - Qualquer coisa da um toque no e-mail ;D E se te ajudei, claro rep + ;D T+
-
Entendo sua posição + é o seguinte, é a mesma coisa que eu chegar pra VOCÊ moderador, e falar por exemplo: A então, para jogar o tibia.. é só ligar ele. É uma resposta inutil correto? Qualquer um sabe que pra colocar protect zone é só clicar na ferramenta, até um cara com problemais mentais saberia disso. Obs: Se você acha que o comentário foi normal, olhe os outros dele. É tudo similar, ele posta para conseguir posts, não ajuda ninguem. Fica minha opinião, até +
-
Food: 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('Xauzin Gordo ;O.') 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('Olá ' .. creatureGetName(cid) .. '! Eu vendo: hams, meats, carrots, apples, brown breads, brown mushrooms and eggs (Tudo por apenas 9gps).') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Ow, ' .. creatureGetName(cid) .. '! Calma Ae =).') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'brown bread') or msgcontains(msg, 'brown breads')then count = getCount(msg) price = count*8 buy(cid,2691,count,price) elseif msgcontains(msg, 'ham') or msgcontains(msg, 'hams')then count = getCount(msg) price = count*8 buy(cid,2671,count,price) elseif msgcontains(msg, 'carrot') or msgcontains(msg, 'carrots') then count = getCount(msg) price = count*8 buy(cid,2684,count,price) elseif msgcontains(msg, 'meat') or msgcontains(msg, 'meats')then count = getCount(msg) price = count*8 buy(cid,2666,count,price) elseif msgcontains(msg, 'apple') or msgcontains(msg, 'apples')then count = getCount(msg) price = count*8 buy(cid,2674,count,price) elseif msgcontains(msg, 'brown mushroom') or msgcontains(msg, 'brown mushroooms')then count = getCount(msg) price = count*8 buy(cid,2789,count,price) elseif msgcontains(msg, 'egg') or msgcontains(msg, 'eggs')then count = getCount(msg) price = count*8 buy(cid,2695,count,price) elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. creatureGetName(cid) .. '!') focus = 0 talk_start = 0 end end end function onCreatureChangeOutfit(creature) end function onThink() -- Walking -- if focus == 0 and max_x >= 0 and max_y >= 0 then cx, cy, cz = selfGetPosition() randmove = math.random(1,20) if randmove == 4 and current_x <= max_x then nx = cx + 1 current_x = current_x + 1 elseif randmove == 8 and current_x >= (max_x - (max_x * 2)) then nx = cx - 1 current_x = current_x - 1 elseif randmove == 12 and current_y <= max_y then ny = cy + 1 current_y = current_y + 1 elseif randmove == 16 and current_y >= (max_y - (max_y * 2)) then ny = cy - 1 current_y = current_y - 1 elseif randmove <= 20 then nx = cx ny = cy end moveToPosition(nx, ny, cz) end -- End Walking -- if (os.clock() - talk_start) > 30 then if focus > 0 then selfSay('Proximo -.-.') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Xauzin _|_.') focus = 0 end end end Bows: 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('Xauzin '-'.') 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('Olá ' .. creatureGetName(cid) .. '! Eu Vendo throwing star (300gps), viper star(300gps), assassin star(1k), crossbows (200gps), bows (100gps), arrows (30gps), bolts (50gps), earth arrow (50gps), flash arrow (50gps), sniper arrow (50gps), piercing bolt (60gps), flaming arrow (50gps), shiver arrow (50gps), onyx arrow (50gps), viper star (100gps) and spears (20gps).') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Desculpe, ' .. creatureGetName(cid) .. '! Ja ja eu falo com você ^^.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'crossbow') then buy(cid,2455,getCount(msg),200) elseif msgcontains(msg, 'bow') then buy(cid,2456,getCount(msg),100) elseif msgcontains(msg, 'throwing star') then buy(cid,2399,getCount(msg),300) elseif msgcontains(msg, 'viper star') then buy(cid,7366,getCount(msg),300) elseif msgcontains(msg, 'assassin star') then buy(cid,7368,getCount(msg),1000) elseif msgcontains(msg, 'arrows') then buy(cid,2544,getCount(msg),30) elseif msgcontains(msg, 'bolts') then buy(cid,2543,getCount(msg),50) elseif msgcontains(msg, 'spears') then buy(cid,2389,getCount(msg),20) elseif msgcontains(msg, 'earth arrow') then buy(cid,7850,getCount(msg),50) elseif msgcontains(msg, 'flash arrow') then buy(cid,7838,getCount(msg),50) elseif msgcontains(msg, 'sniper arrow') then buy(cid,7364,getCount(msg),50) elseif msgcontains(msg, 'piercing bolt') then buy(cid,7363,getCount(msg),60) elseif msgcontains(msg, 'flaming arrow') then buy(cid,7840,getCount(msg),50) elseif msgcontains(msg, 'shiver arrow') then buy(cid,7839,getCount(msg),50) elseif msgcontains(msg, 'onyx arrow') then buy(cid,7365,getCount(msg),50) elseif msgcontains(msg, 'bye') and focus == cid and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. creatureGetName(cid) .. '!') focus = 0 talk_start = 0 end end end function onCreatureChangeOutfit(creature) end function onThink() -- Walking -- if focus == 0 and max_x >= 0 and max_y >= 0 then cx, cy, cz = selfGetPosition() randmove = math.random(1,20) if randmove == 4 and current_x <= max_x then nx = cx + 1 current_x = current_x + 1 elseif randmove == 8 and current_x >= (max_x - (max_x * 2)) then nx = cx - 1 current_x = current_x - 1 elseif randmove == 12 and current_y <= max_y then ny = cy + 1 current_y = current_y + 1 elseif randmove == 16 and current_y >= (max_y - (max_y * 2)) then ny = cy - 1 current_y = current_y - 1 elseif randmove <= 20 then nx = cx ny = cy end moveToPosition(nx, ny, cz) end -- End Walking -- if (os.clock() - talk_start) > 30 then if focus > 0 then selfSay('Proximo ;D') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Olha la aonde você vai enfiar essa flecha em ;D kkkkk (:.') focus = 0 end end end Se te ajudei da um rep + ;D Abraços ;*
-
na proxima vez eu vou ficar mais atento... compreendo o que disse... Assim espero, se não tornarei a reportar.
-
Como Fazer Uma Quest De Ganhar Pokemon
tópico respondeu ao pok302010 de KamuiRunt em Lixeira Pública
Área errada, aqui é mapping. Reportado. -
Creio que seja o RME Certo? tem uma barra aqui embaixo < Pvp Tools Protect Tools........ clique nela, e no tile que você quer. Se te ajudei rep+. Abraços =) Reportado dinovo.....
-
poketibia [Help] Presiso De Tutorial Poketibia
tópico respondeu ao 7111847 de KamuiRunt em Lixeira Pública
Reportado, isso é na parte de tutoriais. -
Não é necessário uma script. Vá na pasta data/ vocations.xml e veja esse 'Mini-Tutorial': attackspeed="350" -- Velocidade que os players atacam. O padrão do RL é de 800, fast = 400 LEMBRANDO QUE: Quanto MENOR o valor, mais RÁPIDO o ataque. Caso você aumente o valor, ele demorará mais para atacar. O número é o INTERVALO de ataque por milisegundos. <formula damage="1.2" -- Uma linha de comando que 99.9% DOS PLAYERS/GODS/SCRIPTERS não sabem é que isso é a base de dano x % de skills. Ou seja, se você quiser que dobre o dano, coloque <formula damage="2.4" -------------------------------------------------------------------------------------------------------------------------------------------- Citação: <vocation id="3" name="Paladin" description="a Assassin Cross" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="100" gainmanaticks="1" gainmanaamount="300" gainsoulticks="120" gainsoulamount="1" maxsoul="100" manamultiplier="1.4" attackspeed="350" prevoc="3" basespeed="520"> <diepercent experience="7" magic="7" skill="7" equipment="7" container="100"/> <formula damage="1.2" defense="1.1" armor="1.1"/> <skill id="0" multiplier="1.2"/> <skill id="1" multiplier="1.2"/> <skill id="2" multiplier="1.2"/> <skill id="3" multiplier="1.2"/> <skill id="4" multiplier="1.1"/> <skill id="5" multiplier="1.1"/> <skill id="6" multiplier="1.1"/> </vocation> -------------------------------------------------------------------------------------------------------------------------------------------- Se te ajudei, da um rep +. Abraços =) Double Post em: http://www.xtibia.com/forum/topic/151510-spell-fast-attack/page__p__1003003#entry1003003 Reportado!
-
Veja se é isso: focus1 = 0 focus2 = 0 talk_start = 0 target = 0 following = false attacking = false talkstate = 0 moved=0 function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(id, stackpos) if id == focus1 or id == focus1 then ceremonyend('Goodbye, then.') 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 ceremonyend(msg) focus1 = 0 focus2 = 0 talk_start = 0 talkstate = 0 selfSay(msg) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if talkstate == 1 then if cid == focus2 then if msgcontains(msg, 'yes') then talkstate=2 selfSay('' .. creatureGetName(focus1) .. ' should I begin the ceremony?') else ceremonyend('Come back when you are ready.') end end end if talkstate == 2 then if cid == focus1 then if msgcontains(msg, 'yes') then talkstate=3 else ceremonyend('Come back when you are ready.') end end end if talkstate == 9 then if cid == focus1 then if string.find(msg, '(%a*)yes(%a*)') then talkstate=10 else ceremonyend('Come back when you are ready.') end end end if talkstate == 11 then if cid == focus2 then if string.find(msg, '(%a*)yes(%a*)') then talkstate=12 else ceremonyend('Volte quando estiver pronto.') end end end if msgcontains(msg, 'hi') and focus1 > 0 and focus2 == 0 and not(cid==focus1) and isPromoted(cid) and getDistanceToCreature(cid) < 4 then if getPlayerStorageValue(cid,2001) == -1 then selfSay('Olá, ' .. creatureGetName(cid) .. '! Eu sou um Padre, posso te casar. Podemos começar?!?') focus2 = cid talk_start = os.clock() talkstate=1 else selfSay('You are already married.') end end if msgcontains(msg, 'hi') and focus1 == 0 and isPromoted(cid) and getDistanceToCreature(cid) < 4 then if getPlayerStorageValue(cid,2001) == -1 then selfSay('Oi, ' .. creatureGetName(cid) .. '! Eu sou um Padre, e posso te casar.') focus1 = cid talk_start = os.clock() else selfSay('Tú já se casou.') end end if msgcontains(msg, 'ishtar') and (focus1 == cid or focus2 == cid) then selfSay('Ishtar é uma #####...Aquela gorda me chifrou com o Porteiro do prédio...Era um negão com um bigode na testa...') talk_start = os.clock() end if string.find(msg, '(%a*)bye(%a*)') and (focus1 == cid or focus2 == cid) and getDistanceToCreature(cid) < 6 then ceremonyend('Adeus, ' .. creatureGetName(cid) .. '!') end end function onCreatureChangeOutfit(creature) end function onThink() if talkstate==3 and (os.clock() - talk_start) > 10 then selfSay('Blablablablablablabla..'); talk_start = os.clock() talkstate=4 end if talkstate==4 and (os.clock() - talk_start) > 6 then selfSay('Blablablablablablabla..'); talk_start = os.clock() talkstate=5 end if talkstate==5 and (os.clock() - talk_start) > 6 then selfSay('Blablablablablablabla..'); talk_start = os.clock() talkstate=6 end if talkstate==6 and (os.clock() - talk_start) > 8 then selfSay('Blablablablablablabla..'); talk_start = os.clock() talkstate=7 end if talkstate==7 and (os.clock() - talk_start) > 6 then selfSay('Blablablablablablabla...'); talk_start = os.clock() talkstate=8 end if talkstate==8 and (os.clock() - talk_start) > 6 then selfSay(creatureGetName(focus1) .. ' quer se casar com ' .. creatureGetName(focus2) .. '?'); talk_start = os.clock() talkstate=9 end if talkstate==10 and (os.clock() - talk_start) > 6 then selfSay(creatureGetName(focus2) .. ' quer se casar com ' .. creatureGetName(focus1) .. '?'); talk_start = os.clock() talkstate=11 end if talkstate==12 and (os.clock() - talk_start) > 6 then pla1 = creatureGetName(focus1) pla2 = creatureGetName(focus2) getMarried(focus2,pla1) getMarried(focus1,pla2) ceremonyend('Estão casados.'); talk_start = os.clock() end if (os.clock() - talk_start) > 100 then if focus1 > 0 or focus2 > 0 then ceremonyend('Goodbye, then.') end end --if moved==0 then --x, y, z = selfGetPosition() --moveToPosition(x+1, y, z) --moved=1 --end end ; Caso for da um rep + ;D Abraços
-
Da uma olhada, ve se é isso: 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) local msg = string.lower(msg) if msgcontains(msg, 'hi') and focus == 0 and getDistanceToCreature(cid) < 4 then selfSay('Hello ' .. creatureGetName(cid) .. '! I sell runes, potions, wands and rods.') 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, 'runes') then selfSay('I sell hmms (10gps each), uhs (30gps each), gfbs (20gps each), explosions (30gps each), sds (40gps each) and blank runes (5gps each).') elseif msgcontains(msg, 'wands') then selfSay('I sell wand of inferno (15k), wand of decay (5k), wand of cosmic energy (10k), wand of vortex (free) and wand of dragonbreath (1k).') elseif msgcontains(msg, 'rods') then selfSay('I sell quagmire rod (10k), snakebite rod (free), hailstorm rod (15k), necrotic rod (5k) and moonlight rod (1k).') elseif msgcontains(msg, 'potions') then selfSay('I sell healthpotion (150gp), manapotion (100gp), strong health potion (300gp), great health potion (500gp), great mana potion (450gp), strong mana potion (250gp).') -- inicio da venda de wands =) elseif msgcontains(msg, 'inferno') then count = getCount(msg) if count == 0 then selfSay('0 wand of inferno? LOL?') talk_start = os.clock() else buy(cid,2187,count,15000) end elseif msgcontains(msg, 'decay') then count = getCount(msg) if count == 0 then selfSay('0 wand of decay? LOL?') talk_start = os.clock() else buy(cid,2188,count,5000) end elseif msgcontains(msg, 'cosmic energy') then count = getCount(msg) if count == 0 then selfSay('0 wand of cosmic energy? LOL?') talk_start = os.clock() else buy(cid,2189,count,10000) end elseif msgcontains(msg, 'vortex') then count = getCount(msg) if count == 0 then selfSay('0 wand of vortex? LOL?') talk_start = os.clock() else buy(cid,2190,count,0) end elseif msgcontains(msg, 'dragonbreath') then count = getCount(msg) if count == 0 then selfSay('0 Wand of Dragonbreath? LOL?') talk_start = os.clock() else buy(cid,2191,count,1000) end -- fim da venda de wands =) -- inicio da venda de rods =) elseif msgcontains(msg, 'quagmire') then count = getCount(msg) if count == 0 then selfSay('0 Quagmire Rod? LOL?') talk_start = os.clock() else buy(cid,2181,count,10000) end elseif msgcontains(msg, 'snakebite') then count = getCount(msg) if count == 0 then selfSay('0 Snakebite Rod? LOL?') talk_start = os.clock() else buy(cid,2182,count,0) end elseif msgcontains(msg, 'hailstorm') then count = getCount(msg) if count == 0 then selfSay('0 Hailstorm Rod? LOL?') talk_start = os.clock() else buy(cid,2183,count,15000) end elseif msgcontains(msg, 'volcanic') then count = getCount(msg) if count == 0 then selfSay('0 Volcanic Rod? LOL?') talk_start = os.clock() else buy(cid,2185,count,5000) end elseif msgcontains(msg, 'moonlight') then count = getCount(msg) if count == 0 then selfSay('0 Moonlight Rod? LOL?') talk_start = os.clock() else buy(cid,2186,count,1000) end -- fim da venda de rods =) -- inicio da venda de runas =) elseif msgcontains(msg, 'hmm') then count = getCount(msg) if count == 0 then selfSay('0 Hmm? LOL?') talk_start = os.clock() else buy(cid,2311,count,10) end elseif msgcontains(msg, 'uh') then count = getCount(msg) if count == 0 then selfSay('0 UH? LOL?') talk_start = os.clock() else buy(cid,2273,count,25) end elseif msgcontains(msg, 'gfb') then count = getCount(msg) if count == 0 then selfSay('0 GFB? LOL?') talk_start = os.clock() else buy(cid,2304,count,20) end elseif msgcontains(msg, 'explosion') then count = getCount(msg) if count == 0 then selfSay('0 EXPLO? LOL?') talk_start = os.clock() else buy(cid,2313,count,20) end elseif msgcontains(msg, 'sd') then count = getCount(msg) if count == 0 then selfSay('0 SD? LOL?') talk_start = os.clock() else buy(cid,2268,count,30) end -- fim da venda de runas =) -- inicio da venda de potions =) elseif msgcontains(msg, 'manapotion') or msgcontains(msg, 'mp') then buy(cid,7620,getCount(msg),100) elseif msgcontains(msg, 'healthpotion') or msgcontains(msg, 'hp') then buy(cid,7618,getCount(msg),150) elseif msgcontains(msg, 'strong mana potion') or msgcontains(msg, 'smp') then buy(cid,7589,getCount(msg),250) elseif msgcontains(msg, 'strong health potion') or msgcontains(msg, 'shp') then buy(cid,7588,getCount(msg),300) elseif msgcontains(msg, 'great mana potion') or msgcontains(msg, 'gmp') then buy(cid,7590,getCount(msg),400) elseif msgcontains(msg, 'great health potion') or msgcontains(msg, 'ghp') then buy(cid,7591,getCount(msg),500) -- fim da venda venda de potions =) elseif string.find(msg, '(%a*)bye(%a*)') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. creatureGetName(cid) .. '!') focus = 0 talk_start = 0 end end end function onCreatureChangeOutfit(creature) end function onThink() -- Walking -- if focus == 0 and max_x >= 0 and max_y >= 0 then cx, cy, cz = selfGetPosition() randmove = math.random(1,20) if randmove == 4 and current_x <= max_x then nx = cx + 1 current_x = current_x + 1 elseif randmove == 8 and current_x >= (max_x - (max_x * 2)) then nx = cx - 1 current_x = current_x - 1 elseif randmove == 12 and current_y <= max_y then ny = cy + 1 current_y = current_y + 1 elseif randmove == 16 and current_y >= (max_y - (max_y * 2)) then ny = cy - 1 current_y = current_y - 1 elseif randmove <= 20 then nx = cx ny = cy end moveToPosition(nx, ny, cz) end -- End Walking -- 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 ; Caso for, da um rep+ ;D Abraços ;*
-
[War System] Contrato Scripter, Pago Em R$
tópico respondeu ao alexandreramos de KamuiRunt em Lixeira Pública
Não viola, mas está em seção errada. Isso poderia ficar no tópico de Equipes. Da uma olhada no forum, tem uma parte especificando isso. Vou pedir para a moderação mover. t+ -
Ele quis dizer que ele está respondendo no default ao invéz de outro canal de chat. Vou pegar o script aqui, e ja edito o post.
-
Obs: Só complementando a resposta do nosso amigo acima, caso você utilize o site otservers... bla bla bla para divulgar seu ot, la tambem tem a opção de autor. Não se esqueça.. Fica mais fácil o divulgamento. T+
-
Dinada, disponha. Obrigado pelo rep+ Qualquer coisa só me adicionar: kamui_lg@hotmail.com Abraços.
-
Dinada, disponha =). Qualquer coisa fala comigo no msn: kamui_lg@hotmail.com Abraços ;*
-
Server Caindo Muito Frequentemente!por Motivo Desconnhecido!
tópico respondeu ao pok302010 de KamuiRunt em Lixeira Pública
Olhando cada script de NPC lol. Veja se tem o NOME: mensagem, clean ou algo do tipo Se tiver, poste aqui para eu dar uma olhada e te ajudar -
Vá em config.lua Ache essa linha e coloque isso: expmulpvp = 0 Obs: Seção errada, isso deveria ficar em dúvidas. Reportado.
-
poketibia Me Ajuda Por Favor =Rep +
tópico respondeu ao diegoparalon321 de KamuiRunt em Lixeira Pública
Seção errada, aqui é mapping. -
Nada cara, precisar tamo ae ;D Fiz até com direito a promote.. =) Até +
-
"TALVES?" Que resposta mais inutil cara. E outra, você tem que saber como resolver os problemas, reinstalar qualquer semi-inteligente consegue. Reportado.
-
Vá em itens.xml, pegue a linha que está a sua armadura.. De cabeça eu não sei, pegue uma outra armadura de base, que tenha add de skill distance, de ctrl f (Procurar), e ache a linha que estiver algo do tipo: "Skill add, advanced.." não sei dizer, faz tempo que não mexo com versão nova. Pegue essa linha, e coloque debaixo da armadura que você editou, ou seja, embaixo do nome. Rep+ = + Respeito. Quando alguem te ajuda, dembaixo da resposta tem um + (Verde) e um - (Vermelho), só clicar no mais, é uma forma de agradecimento a quem te ajudou.. =) Abraços.
-
Tem futuro, go go postar em OpenServer Até +
-
Acontece, as vezes no esquecemos no obvio
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.