Ir para conteúdo
Entre para seguir isso  
Convidado ShadowCast

FaÇa Seu Npc LadrÃo!, shASIUSHAUI issu mesmo :D

Recommended Posts

Convidado ShadowCast   
Convidado ShadowCast

UHUAHSuaShuaHsuaH é isso ai gente!! Um npc exterionatário xD aki eu puis o nome dele como deputado Roberto Jeferson. XD

 

Bom vamos lá. Entra na sua pasta data lá tem 1 outra pasta chamada "npc" entre nela. Copie 1 arquivo de formato .xml qualquer e cole na pasta "npc". Renomei para "Deputado Roberto Jeferson". Clique com o botão direito no arquivo e a seguir clique em editar. Apague tudo e ponha isto:

 

 

QUOTE

<?xml version="1.0"?>

<npc name="Deputado Roberto Jeferson" script="data/npc/scripts/deputado.lua" access="3" lookdir="2">

<mana now="0" max="0"/>

<health now="150" max="150"/>

<look type="134" head="95" body="22" legs="10" feet="95"/>

</npc>

 

 

Agora entre na pasta "scripts" localizada na pasta "npc".Lá copie qualquer 1 script que estiver lá e renomeie para "deputado".

Clique com o botão direito no arquivo e a seguir clique em editar.

Apague oque há dentro dele e ponha isto:

 

 

QUOTE

--ox = 44

--oy = 5

--oz = 6

 

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('HAHAHA SAI DAKI MANO!')

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) < 4 then

selfSay('Oi sr. ' .. creatureGetName(cid) .. ' Desviei umas coisas do governo sabe..mais agente tá precisando de mais dinheiro pra cubri o Lula, então to vendendo 1 golden helmet e 1 golgen boots por 1kk( 1milhão de gps) bom, e ainda vo te dá de graça 2 magic plate armor e 1 demon legs vai kerer?')

focus = cid

talk_start = os.clock()

elseif string.find(msg, '(%a*)hi(%a*)') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then

selfSay('Perae, ' .. creatureGetName(cid) .. '! I So 1 só!') elseif focus == cid then

talk_start = os.clock()

 

if msgcontains(msg, 'sim') then

sell(cid,2981,10,1)

end

end

end

 

 

function onCreatureChangeOutfit(creature)

 

end

 

 

function onThink()

if (os.clock() - talk_start) > 30 then

if focus > 0 then

selfSay('Próximo!')

end

focus = 0

end

if focus ~= 0 then

if getDistanceToCreature(focus) > 5 then

selfSay('VAZAAAAAAAAA MALUCOOO!!')

focus = 0

end

end

end

 

 

 

Seu Npc está pronto =)

 

 

 

 

 

Para por um "spaw" dele em seu mapa vá na pasta world(localizada na pasta data de seu ot). Haverá 1 arquivo .xml chamado "npc".

Clique com o botão direito no arquivo e a seguir clique em editar.

Adicione isto na penultima linha (ou seja antes de </npclist>)

 

QUOTE

<npc name="Deputado Roberto Jeferson" x="145" y="50" z="7"/>

 

 

HEHEHEHE FIM!!! seu npc exterionatário tá ai!! desde os tempos mais primórdios... hashuhsua eskece essa letra vai

 

 

Screen Shot:

(IMG:http://s34.flogao.com.br/13/02/06/172/45751294.jpg)

 

OBS: Já arrumei os erros drásticos de ortografia.

 

 

 

 

 

 

 

 

 

Creditos:

narutosaske_nutz

Compartilhar este post


Link para o post
Compartilhar em outros sites
Convidado ShadowCast   
Convidado ShadowCast

UHUAHSuaShuaHsuaH é isso ai gente!! Um npc exterionatário xD aki eu puis o nome dele como deputado Roberto Jeferson. XD

 

Bom vamos lá. Entra na sua pasta data lá tem 1 outra pasta chamada "npc" entre nela. Copie 1 arquivo de formato .xml qualquer e cole na pasta "npc". Renomei para "Deputado Roberto Jeferson". Clique com o botão direito no arquivo e a seguir clique em editar. Apague tudo e ponha isto:

 

 

QUOTE

<?xml version="1.0"?>

<npc name="Deputado Roberto Jeferson" script="data/npc/scripts/deputado.lua" access="3" lookdir="2">

<mana now="0" max="0"/>

<health now="150" max="150"/>

<look type="134" head="95" body="22" legs="10" feet="95"/>

</npc>

 

 

Agora entre na pasta "scripts" localizada na pasta "npc".Lá copie qualquer 1 script que estiver lá e renomeie para "deputado".

Clique com o botão direito no arquivo e a seguir clique em editar.

Apague oque há dentro dele e ponha isto:

 

 

QUOTE

--ox = 44

--oy = 5

--oz = 6

 

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('HAHAHA SAI DAKI MANO!')

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) < 4 then

selfSay('Oi sr. ' .. creatureGetName(cid) .. ' Desviei umas coisas do governo sabe..mais agente tá precisando de mais dinheiro pra cubri o Lula, então to vendendo 1 golden helmet e 1 golgen boots por 1kk( 1milhão de gps) bom, e ainda vo te dá de graça 2 magic plate armor e 1 demon legs vai kerer?')

focus = cid

talk_start = os.clock()

elseif string.find(msg, '(%a*)hi(%a*)') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then

selfSay('Perae, ' .. creatureGetName(cid) .. '! I So 1 só!') elseif focus == cid then

talk_start = os.clock()

 

if msgcontains(msg, 'sim') then

sell(cid,2981,10,1)

end

end

end

 

 

function onCreatureChangeOutfit(creature)

 

end

 

 

function onThink()

if (os.clock() - talk_start) > 30 then

if focus > 0 then

selfSay('Próximo!')

end

focus = 0

end

if focus ~= 0 then

if getDistanceToCreature(focus) > 5 then

selfSay('VAZAAAAAAAAA MALUCOOO!!')

focus = 0

end

end

end

 

 

 

Seu Npc está pronto =)

 

 

 

 

 

Para por um "spaw" dele em seu mapa vá na pasta world(localizada na pasta data de seu ot). Haverá 1 arquivo .xml chamado "npc".

Clique com o botão direito no arquivo e a seguir clique em editar.

Adicione isto na penultima linha (ou seja antes de </npclist>)

 

QUOTE

<npc name="Deputado Roberto Jeferson" x="145" y="50" z="7"/>

 

 

HEHEHEHE FIM!!! seu npc exterionatário tá ai!! desde os tempos mais primórdios... hashuhsua eskece essa letra vai

 

 

Screen Shot:

(IMG:http://s34.flogao.com.br/13/02/06/172/45751294.jpg)

 

OBS: Já arrumei os erros drásticos de ortografia.

 

 

 

 

 

 

 

 

 

Creditos:

narutosaske_nutz

Compartilhar este post


Link para o post
Compartilhar em outros sites
_LeO_    0
_LeO_

LoL, tem que cobrir o lula uahuauhauhahu

Compartilhar este post


Link para o post
Compartilhar em outros sites
Razor    1
Razor

UHAUHAUHAUHAUHAHAUHAUH

Esse foi bom..

Otimo pra enganar os troxas dos servers..

Gostei..

Aprovado!

 

esK~

Compartilhar este post


Link para o post
Compartilhar em outros sites
resgate    0
resgate

Favor colocar os creditos ae, pois esse NPC não é seu ^^

Compartilhar este post


Link para o post
Compartilhar em outros sites
Bacardi    0
Bacardi

AHAhuahuhauhua

Essa foi boa

vlw :P

Compartilhar este post


Link para o post
Compartilhar em outros sites
NarutOSaskE_NutZ    0
NarutOSaskE_NutZ

bom tuto parabens

Compartilhar este post


Link para o post
Compartilhar em outros sites
Tagales    0
Tagales

jah cai uma vez hauahuahauahauahaa

Compartilhar este post


Link para o post
Compartilhar em outros sites
Malinha    0
Malinha

eita... :D xD ta rox... continua assim...

 

~Malinha

Compartilhar este post


Link para o post
Compartilhar em outros sites
Don Corleone    0
Don Corleone

Hehehehe, bem inteligente.

No tibia RL, a Aruda, de Thais, rouba 10 gp dos players...

Bem semelhante, ja caí uma vez :)

 

Yours, Don Vito Corleone

Compartilhar este post


Link para o post
Compartilhar em outros sites
Anphyre    0
Anphyre

uhsuahsuhaushasua

q jogo sujo esse npc...

muito roxxxx ^^

Compartilhar este post


Link para o post
Compartilhar em outros sites
wiick    0
wiick

UHuheUHEHuhe mto doidoo xD

 

Deputado Roberto...

 

11352038b682140aa8c432680660f341c.1.gif

Compartilhar este post


Link para o post
Compartilhar em outros sites
BlueAvenger    0
BlueAvenger

Parabens adorei o npc, sinceramente muito bom, muitas pessoas do meu server tambem gostaram, isto está mais que...

Aprovado

Compartilhar este post


Link para o post
Compartilhar em outros sites
saddanxx    0
saddanxx

como q fas pa coloka ele no meu server???

ele nao aparece la no map editor

Compartilhar este post


Link para o post
Compartilhar em outros sites
Gladiatus    0
Gladiatus

Muito bom npc. para servers com experiência alta, mais se der tente faser um português melhor no npc.

Compartilhar este post


Link para o post
Compartilhar em outros sites
alanf    0
alanf

Hehehehe, bem inteligente.

No tibia RL, a Aruda, de Thais, rouba 10 gp dos players...

Bem semelhante, ja caí uma vez :)

 

Yours, Don Vito Corleone

 

 

é é é é =]

 

NPC ladraozinho,

 

o____O

Compartilhar este post


Link para o post
Compartilhar em outros sites
Zero the Reployd    0
Zero the Reployd

kkkk gostei depois faz o lula e o genuino (dança genuino :D) parabens pelo tuto e continue assim vlw

Compartilhar este post


Link para o post
Compartilhar em outros sites
Malfragado    0
Malfragado

kkkkk

gostei mto

npc ladrao

lol

kkkkkk

irado mano...

flws

Compartilhar este post


Link para o post
Compartilhar em outros sites
_Gorpo_    0
_Gorpo_

AFF

 

PROGRAMADOR:||||

ENGENHARIA DA INFORMATICA:|||||||

HACKER:|||||||||| =/

Compartilhar este post


Link para o post
Compartilhar em outros sites
Pedro Teixeira    0
Pedro Teixeira

tipo vei q q ele faz, vc passa na frente ele pega seru gold?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Faça login para comentar

Você vai ser capaz de deixar um comentário após fazer o login



Entrar Agora
Entre para seguir isso  

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×