alanf
de uma olhada no mega update
que está melhor ainda do que esse
^^
Por zimbituba, 17 de mar. de 2008 em Archived
info
Grupo: Conde
Registrado: 19/01/08
Posts: 704
Reputação: +17
Char no Tibia: Atera Knight

alanf
de uma olhada no mega update
que está melhor ainda do que esse
^^
info
Grupo: Campones
Registrado: 11/12/07
Posts: 31
Reputação: 0
Char no Tibia: Alyson Da Tropa De Elite

xD...
Adorei!!!!!
APROVADO!
info
Grupo: Campones
Registrado: 28/01/08
Posts: 1
Reputação: 0
Char no Tibia: kilyk of hell

info
Grupo: Conde
Registrado: 19/01/08
Posts: 704
Reputação: +17
Char no Tibia: Atera Knight

pois os cara são noob não lê as paradas
![]()
Ow, blz mano?
so meio novato ainda em fazer ot, gostei muito do seu ot soh que o NPC Jhonny nao vende promotion(só premmy)
keria saber se vc poderia me ajudar ake como faz pra bota ele vendendo promotion...
espero que possa me ajduar
VLW !!
info
Grupo: Conde
Registrado: 19/01/08
Posts: 704
Reputação: +17
Char no Tibia: Atera Knight

ai vai a correção do npc da premmy para vcs arrumerem desculpem pelo meu erro, ejá vou avisando se me perguntar denovo não vou mais responder pq já respondi issu umas 10000x
Vá na pasta data/npc/scripts e no arquivo promote cole isto:
local focus = 0local talk_start = 0
local target = 0
local days = 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('Hello ' .. creatureGetName(cid) .. '! I sell premiums and promotions.')
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, 'promotion') or msgcontains(msg, 'promote') then
if getPlayerVocation(cid) > 4 then
selfSay('Sorry, you are already promoted.')
talk_state = 0
elseif getPlayerLevel(cid) < 20 then
selfSay('Sorry, you need level 20 to buy promotion.')
talk_state = 0
elseif not getPlayerPremium(cid) then
selfSay('Sorry, you must be premium to buy promotion.')
talk_state = 0
else
selfSay('Do you want to buy promotion for 20k?')
talk_state = 1
end
elseif msgcontains(msg, 'premium') or msgcontains(msg, 'premmy') then
selfSay('Do you want to buy 7 days of premium for 7k?')
talk_state = 2
elseif talk_state == 1 then
if msgcontains(msg, 'yes') then
if pay(cid,20000) then
doPlayerSetVocation(cid, getPlayerVocation(cid)+4)
selfSay('You are now promoted!')
else
selfSay('Sorry, you do not have enough money.')
end
end
talk_state = 0
elseif talk_state == 2 then
if msgcontains(msg, 'yes') then
if pay(cid,7000) then
doPlayerAddPremiumDays(cid, 7)
selfSay('You have 7 days of premium more!')
else
selfSay('Sorry, you do not have enough money.')
end
end
talk_state = 0
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()
doNpcSetCreatureFocus(focus)
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
Ai vai tbm o script do npc
na -pasta data/npc Jhonny.xml adicione isto
<?xml version="1.0"?>
<npc name="Johnny" script="data/npc/scripts/promote.lua" access="3" lookdir="2">
<mana now="800" max="800"/>
<health now="200" max="200"/>
<look type="133" head="114" body="119" legs="132" feet="114"/>
</npc>
info
Grupo: Campones
Registrado: 08/12/07
Posts: 12
Reputação: 0
Char no Tibia: Seromontis

ow veie, tem os itens do uptade 8.11?? a potions pra lvl 130+ ...
tem?
obrigado desde de ja ... :smile_positivo:
info
Grupo: Conde
Registrado: 19/01/08
Posts: 704
Reputação: +17
Char no Tibia: Atera Knight

ow veie, tem os itens do uptade 8.11?? a potions pra lvl 130+ ...tem?
obrigado desde de ja ... :smile_positivo:
cara é óbvio que não ![]()
mais eu falei com um membro da equipe aries e ele me disse que já ta quase pronto o server 8.11
vamos esperar pra ver
xD
info
Grupo: Campones
Registrado: 08/04/08
Posts: 8
Reputação: 0
Char no Tibia: Nem Lembro. :P

Baixando....
Depois edito.
:smile_positivo:
info
Grupo: Campones
Registrado: 10/04/08
Posts: 1
Reputação: 0
Char no Tibia: Gui'henrique

[/
Oie
COMO PONHO O TELEPORT???????????????????????????
VALEU ADD AI NO MSN gui.321@hotmail.com :smile_positivo:
info
Grupo: Conde
Registrado: 19/01/08
Posts: 704
Reputação: +17
Char no Tibia: Atera Knight

[/Oie
COMO PONHO O TELEPORT???????????????????????????
VALEU ADD AI NO MSN gui.321@hotmail.com :smile_positivo:
com o mapeditor
xD
olhe os tutoriais de mapping do xtibia
kra o cyc heala?????? pow eu fui la com o knight encantei a spike sword n tirava nada nem do monk trainer oia que eu tava com skill 80 dai n consegui mata o cyc arruma ai vei pls xD
info
Grupo: Conde
Registrado: 19/01/08
Posts: 704
Reputação: +17
Char no Tibia: Atera Knight

aqui ta normal mais vou dar uma olhada
link do meu ipchanger 8.11
http://www.xtibia.com/forum/Shynzo-Ipchanger-811-t81863.html
info
Grupo: Campones
Registrado: 07/03/08
Posts: 15
Reputação: 0
Meus parabens