DE

Fazendo Bolo

Por Dekooo, 25 de ago. de 2007 em Actions e Talkactions

tibia
script
otserv
5.0 (1)
25
6.3k
DekoooD
05 de setembro de 2007 às 21:19

Uhauhasuehasiuehae... é mesmo...

 

mas num é inutil..

 

é pra divertir o servidor..

 

os noobs gostam ^^

christenC
12 de setembro de 2007 às 09:22

KKKK concordo dekow!!!

JvchequerJ
12 de setembro de 2007 às 13:37

Movido.

HunterHeroH
13 de setembro de 2007 às 10:25

Tá bom, mas você não faz grande coisa. Tu próprio disseste que tiras isso do **************, e postar aqui -.-, as coisas boas são as que nós próprios fazemos. Ao menos você poe os creditos! :D Good luck, e em vez de trazeres, faz tu próprio!

tibiaa4eT
15 de setembro de 2007 às 20:12

EU ja tinha postado uma que eu fiz anteriomente aki

+ fico muito boa

 

Acho que ficou quase a mesma coisa

e eu to com preguiça de procurar =x

2 semanas depois...
HatiatH
26 de setembro de 2007 às 17:05

Muito Legal esse tbm cara!

 

=)

 

Comu disse no seu oputro topico:

Continue assim!

1 mês depois...
50lopes5
07 de outubro de 2007 às 15:59

Concordo que deve ser um ótimo script de Action. Mas, meu itens.xml não tem Milk... '-'. Alguém tem um items.xml e um items.otb que tenha Milk, por favor.

 

Edit: Eu estou procurando aprender a editar o Tibia.spr, o Tibia.Dat e por fim o Tibia.xml

Editado Outubro 7 por LopinhoO

1 mês depois...
FerrysF
17 de novembro de 2007 às 10:50

muito bom esse topico

tipow o da sorveteria

x)~

 

~Ferrys

42912264
18 de novembro de 2007 às 19:17

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

Editado Novembro 18 por Lord Lolzao

1 ano depois...
23 de outubro de 2009 às 10:26

Olá! Desculpem reviver o tópico, mas é que eu estou louco pra ter uma action dessa no meu OT.

 

Mas eu tenho um pequeno probleminha:

 

Toda vez que dou "/i vial" ou "/i bucket" aparece ela com um líquido verde, e que dando look aparece que é uma bucket de void...

 

Muito estranho, e quando vou tentar jogar a "void" no chão diz que não dá... ISSO NO GOD

 

E no map editor, o único jeito seria por copos que já vem com leite, mas ai eu teria que por muuuuuuuuuitos...

 

NÃO TEM SISTEMA DE ENCHER BUÁÁÁÁ!!!!

 

Ajuda!