PO

[Wodbo 8.0]Criando Vocações Parte 1

Por PostadorHunter, 16 de set. de 2012 em Tutoriais para Iniciantes

script
5.0 (1)
35
11.8k
ddkD
22 de setembro de 2012 às 15:34

Tenho vc no msn,Bruno aqui procura ai no seu msn e um cara tipo um monge, olha quando eu deslogo ele vai para forma lvl 1 e nao reverte e nem transforma fica empacado.

Bruno aqui procura ai no seu msn e um cara tipo um monge

22 de setembro de 2012 às 15:47

ele muda o outfit so

ele continua transformado so que com o outfit da forma 1

vou ensinar como fazer ele voltar pra vocation inicial quando deslogar

eme creaturesscripts/scripts deve ter la logout.lu abre ele

n sei qual seu server então deve ter algo parecido com ssio la se n tiver me diz qual o seu server

 

function onLogout(cid)

 

 

--- Janemba ---

if (getPlayerVocation(cid) == 304)

or (getPlayerVocation(cid) == 305)

or (getPlayerVocation(cid) == 306)

or (getPlayerVocation(cid) == 307) then

doPlayerSetVocation(cid,303)

--- Reborn ---

elseif (getPlayerVocation(cid) == 309)

or (getPlayerVocation(cid) == 310)

or (getPlayerVocation(cid) == 311)

or (getPlayerVocation(cid) == 312) then

doPlayerSetVocation(cid,308)

--- End ---

--- Shenron ---

elseif (getPlayerVocation(cid) == 330)

or (getPlayerVocation(cid) == 331)

or (getPlayerVocation(cid) == 332)

or (getPlayerVocation(cid) == 333)

or (getPlayerVocation(cid) == 334)

or (getPlayerVocation(cid) == 335) then

doPlayerSetVocation(cid,329)

--- Reborn ---

elseif (getPlayerVocation(cid) == 340)

or (getPlayerVocation(cid) == 339)

or (getPlayerVocation(cid) == 338)

or (getPlayerVocation(cid) == 337) then

doPlayerSetVocation(cid,336)

--- Gotenks ---

elseif (getPlayerVocation(cid) == 315)

or (getPlayerVocation(cid) == 314)

or (getPlayerVocation(cid) == 313) then

doPlayerSetVocation(cid,77)

--- Chibi ---

elseif (getPlayerVocation(cid) == 318)

or (getPlayerVocation(cid) == 317)

or (getPlayerVocation(cid) == 316) then

doPlayerSetVocation(cid,79)

--- Reborn ---

elseif (getPlayerVocation(cid) == 321)

or (getPlayerVocation(cid) == 320)

or (getPlayerVocation(cid) == 319) then

doPlayerSetVocation(cid,228)

--- Chibi Reb ---

elseif (getPlayerVocation(cid) == 324)

or (getPlayerVocation(cid) == 323)

or (getPlayerVocation(cid) == 322) then

doPlayerSetVocation(cid,233)

--- Gogeta SSJ ---

elseif (getPlayerVocation(cid) == 325) then

doPlayerSetVocation(cid,18)

elseif (getPlayerVocation(cid) == 326) then

doPlayerSetVocation(cid,25)

--- Gogeta SSJ4 ---

elseif (getPlayerVocation(cid) == 327) then

doPlayerSetVocation(cid,206)

elseif (getPlayerVocation(cid) == 328) then

doPlayerSetVocation(cid,219)

 

---Goku---

elseif (getPlayerVocation(cid) == 400)

or (getPlayerVocation(cid) == 500) then

doPlayerSetVocation(cid,206)

---vegeta---

elseif (getPlayerVocation(cid) == 401)

or (getPlayerVocation(cid) == 501) then

doPlayerSetVocation(cid,219)

---gohan---

elseif (getPlayerVocation(cid) == 402)

or (getPlayerVocation(cid) == 502) then

doPlayerSetVocation(cid,213)

---trunks---

elseif (getPlayerVocation(cid) == 403)

or (getPlayerVocation(cid) == 503) then

doPlayerSetVocation(cid,226)

---freeza---

elseif (getPlayerVocation(cid) == 404)

or (getPlayerVocation(cid) == 504) then

doPlayerSetVocation(cid,257)

---cell---

elseif (getPlayerVocation(cid) == 405)

or (getPlayerVocation(cid) == 505) then

doPlayerSetVocation(cid,279)

---buu---

elseif (getPlayerVocation(cid) == 406)

or (getPlayerVocation(cid) == 506) then

doPlayerSetVocation(cid,252)

---tsuful---

elseif (getPlayerVocation(cid) == 407)

or (getPlayerVocation(cid) == 507) then

doPlayerSetVocation(cid,246)

---dende---

elseif (getPlayerVocation(cid) == 408)

or (getPlayerVocation(cid) == 508) then

doPlayerSetVocation(cid,302)

---namekjin---

elseif (getPlayerVocation(cid) == 409)

or (getPlayerVocation(cid) == 509) then

doPlayerSetVocation(cid,241)

---brolly---

elseif (getPlayerVocation(cid) == 410)

or (getPlayerVocation(cid) == 510) then

doPlayerSetVocation(cid,273)

---cooler---

elseif (getPlayerVocation(cid) == 411)

or (getPlayerVocation(cid) == 511) then

doPlayerSetVocation(cid,285)

---c17---

elseif (getPlayerVocation(cid) == 412)

or (getPlayerVocation(cid) == 512) then

doPlayerSetVocation(cid,262)

---c18---

elseif (getPlayerVocation(cid) == 413)

or (getPlayerVocation(cid) == 513) then

doPlayerSetVocation(cid,267)

---bardock---

elseif (getPlayerVocation(cid) == 414)

or (getPlayerVocation(cid) == 514) then

doPlayerSetVocation(cid,291)

---uub---

elseif (getPlayerVocation(cid) == 415)

or (getPlayerVocation(cid) == 515) then

doPlayerSetVocation(cid,297)

 

return 1

end

end

 

ai e so da um enter dps de

 

elseif (getPlayerVocation(cid) == 415)

or (getPlayerVocation(cid) == 515) then

doPlayerSetVocation(cid,297)

e i colocando

se for a primeira linha isso

elseif (getPlayerVocation(cid) == 415)

415 e uma das vocations transformadas

e se n for a primeira linha isso

or (getPlayerVocation(cid) == 515)

ai na ultima vocation transformada

or (getPlayerVocation(cid) == 307) then

em que deixar com o then

e na outra linha

doPlayerSetVocation(cid,303)

303 e a vocation sem transforms

ddkD
22 de setembro de 2012 às 16:04

Conceguimos cara , obrigadao mesmo REP + DURANTE UM BOM TEMPO CREIO QUE 2 SEMANAS !

Servidor eo antigo dbz union DBO !

22 de setembro de 2012 às 16:04

Conceguimos cara , obrigadao mesmo REP + DURANTE UM BOM TEMPO CREIO QUE 2 SEMANAS !

Servidor eo antigo dbz union DBO !

nada ja postei o dat e o spr do client que tu tinha pedido
ddkD
22 de setembro de 2012 às 16:11

Olha achei isto la na pasta

Function on Look.lua

sabe como coloco para funcionar ?

function onLook(cid, thing, position, lookDistance)
if(isPlayer(thing.uid) == true) then  
doPlayerSendTextMessage(cid, 20, "Voce esta vendo o "..getCreatureName(thing.uid)..", Level: "..getPlayerLevel(thing.uid)..". Ele é um "..getVocationInfo(getPlayerVocation(thing.uid)).name..".")
return TRUE
end  
return TRUE
end

Editado Setembro 22 por ddk

22 de setembro de 2012 às 16:14

Olha achei isto la na pasta

Function on Look.lua

sabe como coloco para funcionar ?

[b]function onLook(cid, thing, position, lookDistance)[/b]
[b]if(isPlayer(thing.uid) == true) then  
doPlayerSendTextMessage(cid, 20, "Voce esta vendo o "..getCreatureName(thing.uid)..", Level: "..getPlayerLevel(thing.uid)..". Ele é um "..getVocationInfo(getPlayerVocation(thing.uid)).name..".")
return TRUE
end  
return TRUE
end[/b]

não intendi

aonde vc acho isso ???

ddkD
22 de setembro de 2012 às 16:24

\data\creaturescripts\scripts

 

to desconfiando que isso fas aquela parada de dar look igual dbo brasil que fala o level e sua raça

22 de setembro de 2012 às 16:48

\data\creaturescripts\scripts

 

to desconfiando que isso fas aquela parada de dar look igual dbo brasil que fala o level e sua raça

qual o seu server ?
ddkD
22 de setembro de 2012 às 16:50

E um que o beeki postou realesed lah agora eu to fasendo um update dele eu percebi quer ele era o antigo dbz union aquele que era bom de se jogar !

22 de setembro de 2012 às 19:37

E um que o beeki postou realesed lah agora eu to fasendo um update dele eu percebi quer ele era o antigo dbz union aquele que era bom de se jogar !

vamos parar de floodar aqui no topico se quiser tirar mais alguma duvida me mande pm

parece que esqueceram da area de aprovação de tutoriais

MaenilseM
23 de setembro de 2012 às 18:54

Organize Melhor o topico , use fontes diferentes, tamanhos diferentes , e negrito para destacar as partes mais importantes , ainda há partes bugadas.

Esse script é para ot dbz? Se for Coloque no titulo .

23 de setembro de 2012 às 19:37

Organize Melhor o topico , use fontes diferentes, tamanhos diferentes , e negrito para destacar as partes mais importantes , ainda há partes bugadas.

Esse script é para ot dbz? Se for Coloque no titulo .

ja esta no titulo

WODBO = World of Dragon Ball Online

não ha nenhuma parte bugada

Kaiser05K
24 de setembro de 2012 às 15:20

muito bom tutorial) parabéns é Rap+ ajudara muitas pessoas) DDk eae seu preto '-' breno aki auhaus

24 de setembro de 2012 às 15:25

muito bom tutorial) parabéns é Rap+ ajudara muitas pessoas) DDk eae seu preto '-' breno aki auhaus

obrigado

farei a aula 2-vocations parte 2 quando aprovarem esse

nela vou ensinar como colocar:

-buffs

-rb

-como fazer quando deslogar voltar pra vocation não transformada para n bugar o outfit

quando termianar todas as aulas de wodbo 8.0

vou começar de wodbo 8.54

1 mês depois...
CriticalC
02 de outubro de 2012 às 15:40

Tutorial aprovado, movido para seção correta.

 

Atenciosamente, Critical.