Ir para conteúdo

[Ajuda] Urgente


coyotestark

Posts Recomendados

Otserv Wodbo

Tipo de script Spells/rune/ Buffs(Skills)

 

oi povo. estou aki enchendo o saco um pouco. é o seguinte, em wodbo eu adicionei uma nova vocação. ja que no meu nao tinha eu nao sabia como fazer fui procurando ate achar. coloquei o sprit e tudo improvisei o modo de transforms por takaction ate ai tudo bem, ainda nao achei problema. tirando que. os buffs estao vazios. alguns chamam de buffs outros de skills. mas nessa minha vocação os skills nao aparecem, que sao as magias de Magic level. alguem pode me dar uma forcinha?

 

quem ajudar eh +REP na ooooora Desde já agradeço.

 

por favor me ajudem.

Link para o comentário
Compartilhar em outros sites

esse eh o problema, nao sei aonde fica isto. na pasta spells, tem Runes. lá ficam todos os skills que ficam nos Buufs, e em spells.xml tambem, no entanto, nao aparece no client, quando se clica eh como se fosse uma bag. outra coisa que eu to querendo eh por raios nas transforms. reborn

Link para o comentário
Compartilhar em outros sites

eh so baixar a pasta de algum ot,. aki no forum mesmo tem, assim nao preciso fazer o up, pode demorar. eu pensei, a parte dos raios pode ser em addon, vou catar. espero conseguir, outra coisa que nao to conseguindo eh add outfits novas para monstros no dateditor, so consigo se substituir uma ja existente..

 

lembrando que é Ot de wodbo.

 

parece que nao vai ter mais respostas :<

Link para o comentário
Compartilhar em outros sites

Olá Coyote, isso é muito fácil de se resolver. Eu também fiquei atrás disso um tempo pensando que editava somente pelo source, mas não é. Seguinte, vai na pasta \data\movements\scripts, tem um arquivo chamado first.lua lá. Ele vai estar assim:

function onStepIn(cid, item, pos)

if isPlayer(cid) == 1 then

 

if getPlayerStorageValue(cid,20010) <= 0 then

dobackPack(cid)

doPlayerAddItem(cid,2148,1)

doPlayerAddItem(cid,2148,1)

doPlayerAddItem(cid,2148,1)

 

if (getPlayerVocation(cid) == 1)

or (getPlayerVocation(cid) == 15)

or (getPlayerVocation(cid) == 16)

or (getPlayerVocation(cid) == 17)

or (getPlayerVocation(cid) == 18)

or (getPlayerVocation(cid) == 19)

or (getPlayerVocation(cid) == 20)

or (getPlayerVocation(cid) == 86)

or (getPlayerVocation(cid) == 201)

or (getPlayerVocation(cid) == 202)

or (getPlayerVocation(cid) == 203)

or (getPlayerVocation(cid) == 204)

or (getPlayerVocation(cid) == 205)

or (getPlayerVocation(cid) == 206)

or (getPlayerVocation(cid) == 207) then

doPlayerAddItem(cid,2313,1)

doPlayerAddItem(cid,2277,1)

doPlayerAddItem(cid,2300,1)

doPlayerAddItem(cid,2304,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2275,1)

doPlayerAddItem(cid,2305,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 2)

or (getPlayerVocation(cid) == 21)

or (getPlayerVocation(cid) == 22)

or (getPlayerVocation(cid) == 23)

or (getPlayerVocation(cid) == 24)

or (getPlayerVocation(cid) == 25)

or (getPlayerVocation(cid) == 26)

or (getPlayerVocation(cid) == 88)

or (getPlayerVocation(cid) == 214)

or (getPlayerVocation(cid) == 215)

or (getPlayerVocation(cid) == 216)

or (getPlayerVocation(cid) == 217)

or (getPlayerVocation(cid) == 218)

or (getPlayerVocation(cid) == 219)

or (getPlayerVocation(cid) == 220)

or (getPlayerVocation(cid) == 37) then

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 3)

or (getPlayerVocation(cid) == 41)

or (getPlayerVocation(cid) == 42)

or (getPlayerVocation(cid) == 43)

or (getPlayerVocation(cid) == 44)

or (getPlayerVocation(cid) == 237)

or (getPlayerVocation(cid) == 238)

or (getPlayerVocation(cid) == 239)

or (getPlayerVocation(cid) == 240)

or (getPlayerVocation(cid) == 241) then

doPlayerAddItem(cid,2296,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2270,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 5)

or (getPlayerVocation(cid) == 68)

or (getPlayerVocation(cid) == 69)

or (getPlayerVocation(cid) == 70)

or (getPlayerVocation(cid) == 71)

or (getPlayerVocation(cid) == 258)

or (getPlayerVocation(cid) == 259)

or (getPlayerVocation(cid) == 260)

or (getPlayerVocation(cid) == 261)

or (getPlayerVocation(cid) == 262) then

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2292,1)

doPlayerAddItem(cid,2291,1)

doPlayerAddItem(cid,2302,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 6)

or (getPlayerVocation(cid) == 27)

or (getPlayerVocation(cid) == 28)

or (getPlayerVocation(cid) == 29)

or (getPlayerVocation(cid) == 30)

or (getPlayerVocation(cid) == 90)

or (getPlayerVocation(cid) == 208)

or (getPlayerVocation(cid) == 209)

or (getPlayerVocation(cid) == 210)

or (getPlayerVocation(cid) == 211)

or (getPlayerVocation(cid) == 212)

or (getPlayerVocation(cid) == 213) then

doPlayerAddItem(cid,2283,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2270,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2275,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 7)

or (getPlayerVocation(cid) == 31)

or (getPlayerVocation(cid) == 32)

or (getPlayerVocation(cid) == 33)

or (getPlayerVocation(cid) == 34)

or (getPlayerVocation(cid) == 35)

or (getPlayerVocation(cid) == 36)

or (getPlayerVocation(cid) == 221)

or (getPlayerVocation(cid) == 222)

or (getPlayerVocation(cid) == 223)

or (getPlayerVocation(cid) == 224)

or (getPlayerVocation(cid) == 225)

or (getPlayerVocation(cid) == 226) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2272,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 8)

or (getPlayerVocation(cid) == 51)

or (getPlayerVocation(cid) == 52)

or (getPlayerVocation(cid) == 53)

or (getPlayerVocation(cid) == 274)

or (getPlayerVocation(cid) == 275)

or (getPlayerVocation(cid) == 276)

or (getPlayerVocation(cid) == 277)

or (getPlayerVocation(cid) == 278)

or (getPlayerVocation(cid) == 279) then

doPlayerAddItem(cid,2299,1)

doPlayerAddItem(cid,2301,1)

doPlayerAddItem(cid,2300,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2275,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 9)

or (getPlayerVocation(cid) == 45)

or (getPlayerVocation(cid) == 46)

or (getPlayerVocation(cid) == 47)

or (getPlayerVocation(cid) == 48)

or (getPlayerVocation(cid) == 49)

or (getPlayerVocation(cid) == 50)

or (getPlayerVocation(cid) == 253)

or (getPlayerVocation(cid) == 254)

or (getPlayerVocation(cid) == 255)

or (getPlayerVocation(cid) == 256)

or (getPlayerVocation(cid) == 257) then

doPlayerAddItem(cid,2293,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2303,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 10)

or (getPlayerVocation(cid) == 54)

or (getPlayerVocation(cid) == 55)

or (getPlayerVocation(cid) == 56)

or (getPlayerVocation(cid) == 57)

or (getPlayerVocation(cid) == 58)

or (getPlayerVocation(cid) == 247)

or (getPlayerVocation(cid) == 248)

or (getPlayerVocation(cid) == 249)

or (getPlayerVocation(cid) == 250)

or (getPlayerVocation(cid) == 251)

or (getPlayerVocation(cid) == 252) then

doPlayerAddItem(cid,2282,1)

doPlayerAddItem(cid,2289,1)

doPlayerAddItem(cid,2300,1)

doPlayerAddItem(cid,2281,1)

doPlayerAddItem(cid,2306,1)

doPlayerAddItem(cid,2275,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2298,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 11)

or (getPlayerVocation(cid) == 59)

or (getPlayerVocation(cid) == 60)

or (getPlayerVocation(cid) == 61)

or (getPlayerVocation(cid) == 96)

or (getPlayerVocation(cid) == 242)

or (getPlayerVocation(cid) == 243)

or (getPlayerVocation(cid) == 244)

or (getPlayerVocation(cid) == 245)

or (getPlayerVocation(cid) == 246) then

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 12) or (getPlayerVocation(cid) == 62) or (getPlayerVocation(cid) == 63) or (getPlayerVocation(cid) == 64) or (getPlayerVocation(cid) == 65) or (getPlayerVocation(cid) == 268) or (getPlayerVocation(cid) == 269) or (getPlayerVocation(cid) == 270) or (getPlayerVocation(cid) == 271) or (getPlayerVocation(cid) == 272) or (getPlayerVocation(cid) == 273) then

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 13) or (getPlayerVocation(cid) == 72) or (getPlayerVocation(cid) == 73) or (getPlayerVocation(cid) == 74) or (getPlayerVocation(cid) == 75) or (getPlayerVocation(cid) == 263) or (getPlayerVocation(cid) == 264) or (getPlayerVocation(cid) == 265) or (getPlayerVocation(cid) == 266) or (getPlayerVocation(cid) == 267) then

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2292,1)

doPlayerAddItem(cid,2291,1)

doPlayerAddItem(cid,2302,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 14) then

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2292,1)

doPlayerAddItem(cid,2291,1)

doPlayerAddItem(cid,2302,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 76) or (getPlayerVocation(cid) == 77) or (getPlayerVocation(cid) == 80) or (getPlayerVocation(cid) == 81) or (getPlayerVocation(cid) == 82) or (getPlayerVocation(cid) == 227) or (getPlayerVocation(cid) == 228) or (getPlayerVocation(cid) == 229) or (getPlayerVocation(cid) == 230) or (getPlayerVocation(cid) == 231) then

doPlayerAddItem(cid,2283,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2275,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 78) or (getPlayerVocation(cid) == 79) or (getPlayerVocation(cid) == 83) or (getPlayerVocation(cid) == 84) or (getPlayerVocation(cid) == 85) or (getPlayerVocation(cid) == 232) or (getPlayerVocation(cid) == 233) or (getPlayerVocation(cid) == 234) or (getPlayerVocation(cid) == 235) or (getPlayerVocation(cid) == 236) then

doPlayerAddItem(cid,2296,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2275,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 91) or (getPlayerVocation(cid) == 92) or (getPlayerVocation(cid) == 280) or (getPlayerVocation(cid) == 93) or (getPlayerVocation(cid) == 94) or (getPlayerVocation(cid) == 95) or (getPlayerVocation(cid) == 281) or (getPlayerVocation(cid) == 282) or (getPlayerVocation(cid) == 283) or (getPlayerVocation(cid) == 284) or (getPlayerVocation(cid) == 285) then

doPlayerAddItem(cid,2293,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2303,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2284,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 100) or (getPlayerVocation(cid) == 101) or (getPlayerVocation(cid) == 102) or (getPlayerVocation(cid) == 103) or (getPlayerVocation(cid) == 104) or (getPlayerVocation(cid) == 113) or (getPlayerVocation(cid) == 286) or (getPlayerVocation(cid) == 287) or (getPlayerVocation(cid) == 288) or (getPlayerVocation(cid) == 289) or (getPlayerVocation(cid) == 290) or (getPlayerVocation(cid) == 291) then

doPlayerAddItem(cid,2261,1)

doPlayerAddItem(cid,2307,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 105) or (getPlayerVocation(cid) == 106) or (getPlayerVocation(cid) == 107) or (getPlayerVocation(cid) == 108) or (getPlayerVocation(cid) == 292) or (getPlayerVocation(cid) == 293) or (getPlayerVocation(cid) == 294) or (getPlayerVocation(cid) == 295) or (getPlayerVocation(cid) == 296) or (getPlayerVocation(cid) == 297) then

doPlayerAddItem(cid,2282,1)

doPlayerAddItem(cid,2285,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2281,1)

doPlayerAddItem(cid,2306,1)

doPlayerAddItem(cid,2275,1)

doPlayerAddItem(cid,2286,1)

doPlayerAddItem(cid,2298,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 109) or (getPlayerVocation(cid) == 110) or (getPlayerVocation(cid) == 111) or (getPlayerVocation(cid) == 112) or (getPlayerVocation(cid) == 298) or (getPlayerVocation(cid) == 299) or (getPlayerVocation(cid) == 300) or (getPlayerVocation(cid) == 301) or (getPlayerVocation(cid) == 302) then

doPlayerAddItem(cid,2271,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2316,1)

doPlayerAddItem(cid,2270,1)

doPlayerAddItem(cid,2273,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2280,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

 

end

 

 

setPlayerStorageValue(cid,20010,3)

end

end

return 1

end

 

 

Aonde tá assim :

if (getPlayerVocation(cid) == 1)

or (getPlayerVocation(cid) == 15) ... é o número da vocação

 

E aonde está assim:

 

doPlayerAddItem(cid,2261,1)

doPlayerAddItem(cid,2307,1)

doPlayerAddItem(cid,2310,1).... é o id das magias de buffs do wodbo.

 

Eu aconselho você pegar uma vocação de exemplo e colocar a nova vocação embaixo dela. Qualquer dúvida posta ai.

Editado por dragonfight
Link para o comentário
Compartilhar em outros sites

eh eu vi isto tambe, mas eu olhando nao tinha nada em relação rsrs. bom vu tentar resolver, agora surge mais dois problemas rsrs o de por raios nas transforms reborn. e um detalhe, eu nao sabia aonde merda mudava as transforms. dai achei um script fuçando as pastas que tinhaesta função usei e deu certo. porem fica dando erro. vou postar umas imagens aki e o script ele diz mais oumenos o seguint

script error spell interface,

luaAddevent <>. callback parameter should be a function

 

tem algo errado. foi isso que eu fiz.

 

la no final

elseif (getPlayerVocation(cid) == 403) 
or (getPlayerVocation(cid) == 404) 
or (getPlayerVocation(cid) == 405) 
or (getPlayerVocation(cid) == 406) 
or (getPlayerVocation(cid) == 407) 
or (getPlayerVocation(cid) == 408) 
or (getPlayerVocation(cid) == 409) 
or (getPlayerVocation(cid) == 410) 
or (getPlayerVocation(cid) == 411) 
or (getPlayerVocation(cid) == 412)   then
doPlayerAddItem(cid,2297,1)
doPlayerAddItem(cid,2290,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2288,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2284,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)

Link para o comentário
Compartilhar em outros sites

eh eu vi isto tambe, mas eu olhando nao tinha nada em relação rsrs. bom vu tentar resolver, agora surge mais dois problemas rsrs o de por raios nas transforms reborn. e um detalhe, eu nao sabia aonde merda mudava as transforms. dai achei um script fuçando as pastas que tinhaesta função usei e deu certo. porem fica dando erro. vou postar umas imagens aki e o script ele diz mais oumenos o seguint

script error spell interface,

luaAddevent <>. callback parameter should be a function

 

tem algo errado. foi isso que eu fiz.

 

la no final

elseif (getPlayerVocation(cid) == 403) 
or (getPlayerVocation(cid) == 404) 
or (getPlayerVocation(cid) == 405) 
or (getPlayerVocation(cid) == 406) 
or (getPlayerVocation(cid) == 407) 
or (getPlayerVocation(cid) == 408) 
or (getPlayerVocation(cid) == 409) 
or (getPlayerVocation(cid) == 410) 
or (getPlayerVocation(cid) == 411) 
or (getPlayerVocation(cid) == 412)   then
doPlayerAddItem(cid,2297,1)
doPlayerAddItem(cid,2290,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2288,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2284,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)

 

 

Não entendi direito o que você disse, mas acho que o erro está aqui:

 

or (getPlayerVocation(cid) == 410)

or (getPlayerVocation(cid) == 411)

or (getPlayerVocation(cid) == 412) then <<<<<<<<<<<

doPlayerAddItem(cid,2297,1)

 

Se você copiou e colou igualzinho está, tenta puxar o "then" pra tras, assim:

 

or (getPlayerVocation(cid) == 412) then << deixando somente um espaço depois do ).

 

 

Tenta ai, qualquer coisa posta denovo

Link para o comentário
Compartilhar em outros sites

hoho man, consegui resolver o problema e junto a isso. tambem consegui resolver outro, de um item que de mana e life. consegui resolver.

 

 

agora so falta dois,

 

o das transforms que ficam dando erro. no CMD. e dos rainhos. vc ja deve ter jogado WoDBO ne?

 

é este o script para transformar e reverter. funfa de boa, mas da erros no serv, no prompt.

 

nao vuo colocar todo que tem muita coisa.

 

--- ichigo reborn ---

elseif getPlayerVocation(cid) == 408 then	
   if getPlayerLevel(cid) >= 50 then
     doPlayerSetVocation(cid,409) 
     addEvent(ichigo5,ext,cid) 
           doSetCreatureOutfit(cid, ichigo5, -1)
	doSendMagicEffect(getPlayerPosition(cid), 19) 

else
doPlayerSendCancel(cid, "Shenron, You need 50 level to transform.")
	doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 409 then	
   if getPlayerLevel(cid) >= 100 then
     doPlayerSetVocation(cid,410) 
     addEvent(ichigo6,ext,cid) 
           doSetCreatureOutfit(cid, ichigo6, -1)
	doSendMagicEffect(getPlayerPosition(cid), 19) 

else
doPlayerSendCancel(cid, "Shenron, You need 100 level to transform.")
	doSendMagicEffect(getPlayerPosition(cid), 2) 
end

elseif getPlayerVocation(cid) == 410 then	
   if getPlayerLevel(cid) >= 150 then
     doPlayerSetVocation(cid,411) 
     addEvent(ichigo7,ext,cid) 
           doSetCreatureOutfit(cid, ichigo7, -1)
	doSendMagicEffect(getPlayerPosition(cid), 233) 
doPlayerSendCancel(cid, "Success Transform.")
else
doPlayerSendCancel(cid, "Shenron, You need 150 level to transform.")
	doSendMagicEffect(getPlayerPosition(cid), 2) 
end


elseif getPlayerVocation(cid) == 411 then	
   if getPlayerLevel(cid) >= 200 then
     doPlayerSetVocation(cid,412) 
     addEvent(ichigo8,ext,cid) 
           doSetCreatureOutfit(cid, ichigo8, -1)
	doSendMagicEffect(getPlayerPosition(cid), 19) 

else
doPlayerSendCancel(cid, "Ichigo, Voce precisa estar level 200 para transformar.")
	doSendMagicEffect(getPlayerPosition(cid), 2) 
end

--- ichigo reborn End ---

 

Gostaria de pedir mais ajuda. quem ja jogou algum Ot de wodbo. ja deve ter percebido que ao rebornar. o player canha uns raios na transform. gostaria de saber como posso fazer o mesmo. pois eu coloquei 3 novas vocações em meu Ot. que so tem 5 outfit. para level de 0 a 200 dai preciso colocar os rainhos nas transforms reborn. alguem ajuda?

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...