Ir para conteúdo

[Encerrado] Portrait Todo Preto


Andrew9999

Posts Recomendados

Eu uso server Pokemon ex 2.0

Se alguem ai poder dar uma ajuda agradeço.

Quando vou abrir o server da o seguinte error.

 

[22/07/2011 18:54:32] [Error - MoveEvents Interface]

[22/07/2011 18:54:32] data/movements/scripts/portrait.lua:onEquip

[22/07/2011 18:54:32] Description:

[22/07/2011 18:54:32] (luaDoTransformItem) Item not found

 

[22/07/2011 18:54:56] [Error - MoveEvents Interface]

[22/07/2011 18:54:56] data/movements/scripts/test.lua:onDeEquip

[22/07/2011 18:54:56] Description:

[22/07/2011 18:54:56] (luaDoTransformItem) Item not found

Minha script do portrait é essa.

local fotos = {

["Bulbasaur"] = {fotopoke = 2377},

["Ivysaur"] = {fotopoke = 2378},

["Venusaur"] = {fotopoke = 2379},

["Charmander"] = {fotopoke = 2380},

["Charmeleon"] = {fotopoke = 2381},

["Charizard"] = {fotopoke = 2382},

["Squirtle"] = {fotopoke = 2383},

["Wartortle"] = {fotopoke = 2384},

["Blastoise"] = {fotopoke = 2385},

["Caterpie"] = {fotopoke = 2386},

["Metapod"] = {fotopoke = 2387},

["Butterfree"] = {fotopoke = 2388},

["Weedle"] = {fotopoke = 2389},

["Kakuna"] = {fotopoke = 2390},

["Beedrill"] = {fotopoke = 2391},

["Pidgey"] = {fotopoke = 2392},

["Pidgeotto"] = {fotopoke = 2393},

["Pidgeot"] = {fotopoke = 2394},

["Rattata"] = {fotopoke = 2395},

["Raticate"] = {fotopoke = 2396},

["Spearow"] = {fotopoke = 2397},

["Fearow"] = {fotopoke = 2398},

["Ekans"] = {fotopoke = 2399},

["Arbok"] = {fotopoke = 2400},

["Pikachu"] = {fotopoke = 2401},

["Raichu"] = {fotopoke = 2402},

["Sandshrew"] = {fotopoke = 2403},

["Sandslash"] = {fotopoke = 2404},

["NidoranF"] = {fotopoke = 181},

["Nidorina"] = {fotopoke = 2406},

["Nidoqueen"] = {fotopoke = 2407},

["NidoranM"] = {fotopoke = 2408},

["Nidorino"] = {fotopoke = 2409},

["Nidoking"] = {fotopoke = 2410},

["Clefairy"] = {fotopoke = 2411},

["Clefable"] = {fotopoke = 2412},

["Vulpix"] = {fotopoke = 2413},

["Ninetales"] = {fotopoke = 2414},

["Jigglypuff"] = {fotopoke = 2415},

["Wigglytuff"] = {fotopoke = 2416},

["Zubat"] = {fotopoke = 2417},

["Golbat"] = {fotopoke = 2418},

["Oddish"] = {fotopoke = 2419},

["Gloom"] = {fotopoke = 2420},

["Vileplume"] = {fotopoke = 2421},

["Paras"] = {fotopoke = 2422},

["Parasect"] = {fotopoke = 2423},

["Venonat"] = {fotopoke = 2424},

["Venomoth"] = {fotopoke = 180},

["Diglett"] = {fotopoke = 2426},

["Dugtrio"] = {fotopoke = 2427},

["Meowth"] = {fotopoke = 2428},

["Persian"] = {fotopoke = 2429},

["Psyduck"] = {fotopoke = 2430},

["Golduck"] = {fotopoke = 2431},

["Mankey"] = {fotopoke = 2432},

["Primeape"] = {fotopoke = 2433},

["Growlithe"] = {fotopoke = 2434},

["Arcanine"] = {fotopoke = 2435},

["Poliwag"] = {fotopoke = 2436},

["Poliwhirl"] = {fotopoke = 2437},

["Poliwrath"] = {fotopoke = 2438},

["Abra"] = {fotopoke = 2439},

["Kadabra"] = {fotopoke = 2440},

["Alakazam"] = {fotopoke = 2441},

["Machop"] = {fotopoke = 2442},

["Machoke"] = {fotopoke = 2443},

["Machamp"] = {fotopoke = 2444},

["Bellsprout"] = {fotopoke = 2445},

["Weepinbell"] = {fotopoke = 2446},

["Victreebel"] = {fotopoke = 2447},

["Tentacool"] = {fotopoke = 2448},

["Tentacruel"] = {fotopoke = 2449},

["Geodude"] = {fotopoke = 2450},

["Graveler"] = {fotopoke = 2451},

["Golem"] = {fotopoke = 2452},

["Ponyta"] = {fotopoke = 2453},

["Rapidash"] = {fotopoke = 2454},

["Slowpoke"] = {fotopoke = 2455},

["Slowbro"] = {fotopoke = 2456},

["Magnemite"] = {fotopoke = 2457},

["Magneton"] = {fotopoke = 2458},

["FarfetchD"] = {fotopoke = 178},

["Doduo"] = {fotopoke = 2460},

["Dodrio"] = {fotopoke = 2461},

["Seel"] = {fotopoke = 2462},

["Dewgong"] = {fotopoke = 2463},

["Grimer"] = {fotopoke = 2464},

["Muk"] = {fotopoke = 2465},

["Shellder"] = {fotopoke = 2466},

["Cloyster"] = {fotopoke = 2467},

["Gastly"] = {fotopoke = 2468},

["Haunter"] = {fotopoke = 2469},

["Gengar"] = {fotopoke = 2470},

["Onix"] = {fotopoke = 2471},

["Drowzee"] = {fotopoke = 2472},

["Hypno"] = {fotopoke = 2473},

["Krabby"] = {fotopoke = 2474},

["Kingler"] = {fotopoke = 2475},

["Voltorb"] = {fotopoke = 2476},

["Electrode"] = {fotopoke = 2477},

["Exeggcute"] = {fotopoke = 2478},

["Exeggutor"] = {fotopoke = 2479},

["Cubone"] = {fotopoke = 2480},

["Marowak"] = {fotopoke = 2481},

["Hitmonlee"] = {fotopoke = 2482},

["Hitmonchan"] = {fotopoke = 2483},

["Lickitung"] = {fotopoke = 2484},

["Koffing"] = {fotopoke = 179},

["Weezing"] = {fotopoke = 2486},

["Rhyhorn"] = {fotopoke = 2487},

["Rhydon"] = {fotopoke = 2488},

["Chansey"] = {fotopoke = 2489},

["Tangela"] = {fotopoke = 2490},

["Kangaskhan"] = {fotopoke = 2491},

["Horsea"] = {fotopoke = 2492},

["Seadra"] = {fotopoke = 2493},

["Goldeen"] = {fotopoke = 2494},

["Seaking"] = {fotopoke = 2495},

["Staryu"] = {fotopoke = 2496},

["Starmie"] = {fotopoke = 2497},

["MrMime"] = {fotopoke = 177},

["Scyther"] = {fotopoke = 2499},

["Jynx"] = {fotopoke = 2500},

["Electabuzz"] = {fotopoke = 2501},

["Magmar"] = {fotopoke = 2502},

["Pinsir"] = {fotopoke = 2503},

["Tauros"] = {fotopoke = 2504},

["Magikarp"] = {fotopoke = 2505},

["Gyarados"] = {fotopoke = 2506},

["Lapras"] = {fotopoke = 2507},

["Ditto"] = {fotopoke = 2508},

["Eevee"] = {fotopoke = 2509},

["Vaporeon"] = {fotopoke = 2510},

["Jolteon"] = {fotopoke = 2511},

["Flareon"] = {fotopoke = 2512},

["Porygon"] = {fotopoke = 2513},

["Omanyte"] = {fotopoke = 2514},

["Omastar"] = {fotopoke = 2515},

["Kabuto"] = {fotopoke = 2516},

["Kabutops"] = {fotopoke = 2517},

["Aerodactyl"] = {fotopoke = 2518},

["Snorlax"] = {fotopoke = 2519},

["Articuno"] = {fotopoke = 2520},

["Zapdos"] = {fotopoke = 2521},

["Moltres"] = {fotopoke = 2522},

["Dratini"] = {fotopoke = 2523},

["Dragonair"] = {fotopoke = 2524},

["Dragonite"] = {fotopoke = 2525},

["Mewtwo"] = {fotopoke = 2526},

["Mew"] = {fotopoke = 2527},

["Shiny Charizard"] = {fotopoke = 2528},

["Shiny Magikarp"] = {fotopoke = 102},

["Shiny Rattata"] = {fotopoke = 107},

["Shiny Oddish"] = {fotopoke = 111},

["Shiny Zubat"] = {fotopoke = 112},

["Ariados"] = {fotopoke = 113},

["Shiny Abra"] = {fotopoke = 145},

["Azumarill"] = {fotopoke = 146},

["Shiny Venomoth"] = {fotopoke = 147},

["Shiny Raichu"] = {fotopoke = 148},

["Elite Hitmonchan"] = {fotopoke = 149},

["Elite Hitmonlee"] = {fotopoke = 150},

["Shiny Voltorb"] = {fotopoke = 151},

["Bayleef"] = {fotopoke = 152},

["Shiny Tentacruel"] = {fotopoke = 153},

["Shiny Growlithe"] = {fotopoke = 154},

["Shiny Venonat"] = {fotopoke = 155},

["Shiny Blastoise"] = {fotopoke = 156},

["Shiny Raticate"] = {fotopoke = 157},

["Shiny Electrode"] = {fotopoke = 158},

["Shiny Dratini"] = {fotopoke = 159},

["Shiny Electabuzz"] = {fotopoke = 160},

["Shiny Kingler"] = {fotopoke = 161},

["Shiny Muk"] = {fotopoke = 162},

["Shiny Tentacool"] = {fotopoke = 163},

["Shiny Seadra"] = {fotopoke = 164},

["Shiny Parasect"] = {fotopoke = 165},

["Shiny Beedril"] = {fotopoke = 166},

["Shiny Gyarados"] = {fotopoke = 167},

["Shiny Scyther"] = {fotopoke = 168},

["Shiny Jynx"] = {fotopoke = 169},

["Shiny Krabby"] = {fotopoke = 170},

["Shiny Grimer"] = {fotopoke = 171},

["Shiny Farfetchd"] = {fotopoke = 172},

["Farfetchd"] = {fotopoke = 178},

["Ampharos"] = {fotopoke = 173},

["Aipom"] = {fotopoke = 174},

["Hitmontop"] = {fotopoke = 185},

["Entei"] = {fotopoke = 183},

["Tyranitar"] = {fotopoke = 189},

["Dialga"] = {fotopoke = 188},

}

function onEquip (cid, item, slot)

for i,x in pairs(fotos) do

if i == getItemAttribute(item.uid, "poke"):sub(9, findLetter(getItemAttribute(item.uid, "poke"), "'")-1) then

doTransformItem(getPlayerSlotItem(cid, 7).uid, fotos.fotopoke)

return true

end

end

end

 

E não sei se precisa mas a script do movents

 

<movevent type="Equip" itemid="2220;2221;2222;2223;2224;2227;2651;2652;2657;2653;2654;2658;2655;2656;2659" slot="feet" event="script" value="portrait.lua"/>

<movevent type="DeEquip" itemid="2220;2221;2222;2223;2224;2227;2651;2652;2657;2653;2654;2658;2655;2656;2659" slot="feet" event="script" value="test.lua"/>

Quem ajuda ai ganha rep + vlw.

Mals pela formatação é meu primeiro post.

Essa é a imagem que fica no jogo.

Portrait.bmp

Link para o comentário
Compartilhar em outros sites

  • 1 month later...

man sou novato +saquei esse problema,man é o seguinte pra voltar é só dar /i e o id o portrait vazio e tenta ajeitar o portrait de alguns pokes pq tpw no meu sv o flareon faz dxar preto,qr dizer q o portrait dele ta bugado tenta ver qm é e ajeita la vlw,espero ter ajudado!

 

by:Mzinho

 

 

desculpa se eu tiver revivido o topico!

Link para o comentário
Compartilhar em outros sites

  • 6 years later...
A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.

+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.
Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...