
Tudo que Absolute postou
- [AJUDA] Effect
-
(Resolvido)Ajuda meu server está faltando o executável
Eratsu, é visível na foto dele tem o global.sh, porém os arquivos sh que ficam aí são auto restarters, no entanto é visível também que não tem o theforgottenserver na apsta dele, então não irá adiantar rodar o global.sh pois o arquivo não irá encontrar o diretório theforgottenserver para roda-lo. Ai mesmo diz que é sql jovem, basta criar uma database no phpmyamdin e importa-la via ssh, esquece o s3db pois não roda em linux, terá de ser mysql, qual a versão do seu linux?
-
(Resolvido)Ajuda meu server está faltando o executável
Viitin, ele está precisando do executável do linux, no caso o theforgottenserver, ele não é formado s3db, formatos em s3db são banco de dados sqlite, porém não são utilizáveis no linux, o que ele está buscando é o executavel para rodar o seu servidor. @Topic, meu caro, basta pegar uma trunk da versão e seguir algum tutorial para compilar em linux, são coisas fáceis, build.sh, configure sql, e make, nada que a força de vontade não faça =)
-
[urgente] Meus monstros
Postem o monstro que quer que ataque
- [creaturescripts] Senha para porta
- [Battlefield Event New!] Exclusivo e mais legal ;p
-
[City War Event] Luta pela sobrevivência
Estou dizendo que você tem loja que rouba os outros e venda o que não é seu, pois sei que se depender da sua capacidade, não consegue fazer script de comprar aol AUEHAUEHAUHEA. Se você não fez porr* nenhuma pq tá enchendo o saco? + estudo - noobise por favor jovem! Até breve. Sim Tio Slash!
-
[AJUDA] Accunt Manager Aparece em varios lugar
tenho script de log conections.
-
[ajuda] problema com quest's
Script das quests.
-
[AJUDA] Accunt Manager Aparece em varios lugar
Amigo no próprio acc manager tem as posx y e z dele, então acredito que não tem como isto, mas só colocar um anti mb, com 4 conexões por ips...
- [Battlefield Event New!] Exclusivo e mais legal ;p
-
[PEDIDO] 5 Top frags GESIOR
Quer em BOX?
-
Evolution.lua bugado rsrs
Teste; 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}, ["Nidoran Female"] = {fotopoke = 2405}, ["Nidorina"] = {fotopoke = 2406}, ["Nidoqueen"] = {fotopoke = 2407}, ["Nidoran Male"] = {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 = 2425}, ["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 = 2459}, ["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 = 2485}, ["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}, ["Mr Mime"] = {fotopoke = 2498}, ["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}, ["Elder Charizard"] = {fotopoke = 2528}, ["Crystal Onix"] = {fotopoke = 2529}, ["Shiny Charizard"] = {fotopoke = 2528}, ["ShinyMagikarp"] = {fotopoke = 102}, ["ShinyRattata"] = {fotopoke = 107}, ["ShinyOddish"] = {fotopoke = 111}, ["ShinyZubat"] = {fotopoke = 112}, ["ShinyParas"] = {fotopoke = 113}, ["ShinyAbra"] = {fotopoke = 145}, ["Shiny Arcanine"] = {fotopoke = 146}, ["Shiny Venomoth"] = {fotopoke = 147}, ["Shiny Raichu"] = {fotopoke = 148}, ["Elite Hitmonchan"] = {fotopoke = 149}, ["Elite Hitmonlee"] = {fotopoke = 150}, ["ShinyVoltorb"] = {fotopoke = 151}, ["ShinyHorsea"] = {fotopoke = 152}, ["Shiny Tentacruel"] = {fotopoke = 153}, ["ShinyGrowlithe"] = {fotopoke = 154}, ["ShinyVenonat"] = {fotopoke = 155}, ["Shiny Blastoise"] = {fotopoke = 156}, ["Shiny Raticate"] = {fotopoke = 157}, ["Shiny Electrode"] = {fotopoke = 158}, ["ShinyDratini"] = {fotopoke = 159}, ["Shiny Electabuzz"] = {fotopoke = 160}, ["Shiny Kingler"] = {fotopoke = 161}, ["Shiny Muk"] = {fotopoke = 162}, ["ShinyTentacool"] = {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}, ["ShinyKrabby"] = {fotopoke = 170}, ["ShinyGrimer"] = {fotopoke = 171}, ["Shiny Farfetchd"] = {fotopoke = 172}, ["Shiny Butterfree"] = {fotopoke = 173}, ["Shiny Venusaur"] = {fotopoke = 174} } local poken = { ["Bulbasaur"] = {level = 20, cons = 43, vida = 1200}, ["Ivysaur"] = {level = 40, cons = 86, vida = 2600}, ["Venusaur"] = {level = 85, cons = 189, vida = 5200}, ["Charmander"] = {level = 20, cons = 30, vida = 970}, ["Charmeleon"] = {level = 40, cons = 70, vida = 2900}, ["Charizard"] = {level = 85, cons = 140, vida = 5200}, ["Squirtle"] = {level = 20, cons = 47, vida = 1350}, ["Wartortle"] = {level = 40, cons = 93, vida = 2800}, ["Blastoise"] = {level = 85, cons = 194, vida = 5900}, ["Caterpie"] = {level = 1, cons = 13, vida = 300}, ["Metapod"] = {level = 10, cons = 30, vida = 1100}, ["Butterfree"] = {level = 30, cons = 56, vida = 2000}, ["Weedle"] = {level = 1, cons = 16, vida = 325}, ["Kakuna"] = {level = 10, cons = 32, vida = 900}, ["Beedrill"] = {level = 30, cons = 64, vida = 1900}, ["Pidgey"] = {level = 1, cons = 22, vida = 380}, ["Pidgeotto"] = {level = 20, cons = 47, vida = 1400}, ["Pidgeot"] = {level = 65, cons = 101, vida = 3800}, ["Rattata"] = {level = 1, cons = 19, vida = 350}, ["Raticate"] = {level = 20, cons = 68, vida = 900}, ["Spearow"] = {level = 5, cons = 22, vida = 450}, ["Fearow"] = {level = 50, cons = 95, vida = 3300}, ["Ekans"] = {level = 12, cons = 27, vida = 600}, ["Arbok"] = {level = 30, cons = 87, vida = 2900}, ["Pikachu"] = {level = 20, cons = 32, vida = 900}, ["Raichu"] = {level = 50, cons = 99, vida = 3200}, ["Sandshrew"] = {level = 18, cons = 30, vida = 700}, ["Sandslash"] = {level = 55, cons = 96, vida = 3400}, ["Nidoran Female"] = {level = 10, cons = 27, vida = 600}, ["Nidorina"] = {level = 25, cons = 58, vida = 2000}, ["Nidoqueen"] = {level = 65, cons = 146, vida = 4200}, ["Nidoran Male"] = {level = 10, cons = 34, vida = 650}, ["Nidorino"] = {level = 25, cons = 74, vida = 2500}, ["Nidoking"] = {level = 65, cons = 169, vida = 4800}, ["Clefairy"] = {level = 10, cons = 30, vida = 600}, ["Clefable"] = {level = 35, cons = 90, vida = 2400}, ["Vulpix"] = {level = 20, cons = 32, vida = 680}, ["Ninetales"] = {level = 65, cons = 121, vida = 3400}, ["Jigglypuff"] = {level = 10, cons = 30, vida = 550}, ["Wigglytuff"] = {level = 42, cons = 95, vida = 2900}, ["Zubat"] = {level = 5, cons = 28, vida = 450}, ["Golbat"] = {level = 30, cons = 70, vida = 1900}, ["Oddish"] = {level = 5, cons = 21, vida = 340}, ["Gloom"] = {level = 18, cons = 51, vida = 1400}, ["Vileplume"] = {level = 50, cons = 96, vida = 3300}, ["Paras"] = {level = 1, cons = 40, vida = 850}, ["Parasect"] = {level = 50, cons = 110, vida = 3800}, ["Venonat"] = {level = 18, cons = 50, vida = 1350}, ["Venomoth"] = {level = 50, cons = 125, vida = 3850}, ["Diglett"] = {level = 5, cons = 45, vida = 900}, ["Dugtrio"] = {level = 35, cons = 110, vida = 3450}, ["Meowth"] = {level = 12, cons = 52, vida = 950}, ["Persian"] = {level = 25, cons = 85, vida = 2250}, ["Psyduck"] = {level = 12, cons = 50, vida = 950}, ["Golduck"] = {level = 55, cons = 150, vida = 4000}, ["Mankey"] = {level = 10, cons = 60, vida = 1050}, ["Primeape"] = {level = 45, cons = 155, vida = 4500}, ["Growlithe"] = {level = 20, cons = 60, vida = 1000}, ["Arcanine"] = {level = 80, cons = 170, vida = 6800}, ["Poliwag"] = {level = 5, cons = 20, vida = 400}, ["Poliwhirl"] = {level = 20, cons = 44, vida = 1200}, ["Poliwrath"] = {level = 65, cons = 138, vida = 4400}, ["Abra"] = {level = 10, cons = 20, vida = 620}, ["Kadabra"] = {level = 45, cons = 57, vida = 2500}, ["Alakazam"] = {level = 80, cons = 94, vida = 4000}, ["Machop"] = {level = 18, cons = 60, vida = 1100}, ["Machoke"] = {level = 40, cons = 110, vida = 3500}, ["Machamp"] = {level = 65, cons = 185, vida = 7500}, ["Bellsprout"] = {level = 5, cons = 24, vida = 420}, ["Weepinbell"] = {level = 18, cons = 49, vida = 1100}, ["Victreebel"] = {level = 50, cons = 117, vida = 4000}, ["Tentacool"] = {level = 12, cons = 52, vida = 1050}, ["Tentacruel"] = {level = 70, cons = 165, vida = 7050}, ["Geodude"] = {level = 15, cons = 30, vida = 700}, ["Graveler"] = {level = 40, cons = 82, vida = 3000}, ["Golem"] = {level = 70, cons = 111, vida = 6500}, ["Ponyta"] = {level = 20, cons = 60, vida = 1400}, ["Rapidash"] = {level = 60, cons = 160, vida = 5500}, ["Slowpoke"] = {level = 12, cons = 55, vida = 1200}, ["Slowbro"] = {level = 45, cons = 110, vida = 4600}, ["Magnemite"] = {level = 15, cons = 27, vida = 450}, ["Magneton"] = {level = 40, cons = 67, vida = 1750}, ["Farfetchd"] = {level = 40, cons = 95, vida = 3000}, ["Doduo"] = {level = 12, cons = 31, vida = 600}, ["Dodrio"] = {level = 45, cons = 78, vida = 2650}, ["Seel"] = {level = 20, cons = 50, vida = 1000}, ["Dewgong"] = {level = 65, cons = 135, vida = 5200}, ["Grimer"] = {level = 12, cons = 30, vida = 600}, ["Muk"] = {level = 30, cons = 85, vida = 2400}, ["Shellder"] = {level = 5, cons = 45, vida = 800}, ["Cloyster"] = {level = 65, cons = 155, vida = 5000}, ["Gastly"] = {level = 18, cons = 50, vida = 1000}, ["Haunter"] = {level = 45, cons = 105, vida = 3000}, ["Gengar"] = {level = 80, cons = 175, vida = 7000}, ["Onix"] = {level = 50, cons = 150, vida = 5300}, ["Drowzee"] = {level = 22, cons = 58, vida = 1150}, ["Hypno"] = {level = 50, cons = 100, vida = 4600}, ["Krabby"] = {level = 5, cons = 45, vida = 850}, ["Kingler"] = {level = 35, cons = 100, vida = 3250}, ["Voltorb"] = {level = 14, cons = 30, vida = 620}, ["Electrode"] = {level = 38, cons = 76, vida = 2000}, ["Exeggcute"] = {level = 8, cons = 42, vida = 800}, ["Exeggutor"] = {level = 48, cons = 98, vida = 4000}, ["Cubone"] = {level = 18, cons = 58, vida = 1200}, ["Marowak"] = {level = 45, cons = 105, vida = 3900}, ["Hitmonlee"] = {level = 60, cons = 140, vida = 5500}, ["Hitmonchan"] = {level = 60, cons = 140, vida = 5500}, ["Lickitung"] = {level = 45, cons = 100, vida = 4800}, ["Koffing"] = {level = 15, cons = 60, vida = 900}, ["Weezing"] = {level = 30, cons = 100, vida = 2800}, ["Rhyhorn"] = {level = 35, cons = 80, vida = 3800}, ["Rhydon"] = {level = 65, cons = 175, vida = 7000}, ["Chansey"] = {level = 60, cons = 130, vida = 7500}, ["Tangela"] = {level = 40, cons = 85, vida = 3500}, ["Kangaskhan"] = {level = 60, cons = 160, vida = 7000}, ["Horsea"] = {level = 5, cons = 19, vida = 300}, ["Seadra"] = {level = 45, cons = 68, vida = 2500}, ["Goldeen"] = {level = 10, cons = 50, vida = 950}, ["Seaking"] = {level = 25, cons = 80, vida = 2000}, ["Staryu"] = {level = 15, cons = 55, vida = 1050}, ["Starmie"] = {level = 45, cons = 95, vida = 3800}, ["Mr Mime"] = {level = 60, cons = 110, vida = 5500}, ["Scyther"] = {level = 70, cons = 145, vida = 6500}, ["Jynx"] = {level = 65, cons = 125, vida = 6000}, ["Electabuzz"] = {level = 70, cons = 150, vida = 2500}, ["Magmar"] = {level = 70, cons = 160, vida = 7200}, ["Pinsir"] = {level = 42, cons = 95, vida = 4000}, ["Tauros"] = {level = 40, cons = 100, vida = 4200}, ["Magikarp"] = {level = 1, cons = 5, vida = 120}, ["Gyarados"] = {level = 75, cons = 195, vida = 7800}, ["Lapras"] = {level = 70, cons = 140, vida = 7000}, ["Ditto"] = {level = 40, cons = 100, vida = 4000}, ["Eevee"] = {level = 20, cons = 55, vida = 1500}, ["Vaporeon"] = {level = 55, cons = 110, vida = 4500}, ["Jolteon"] = {level = 55, cons = 110, vida = 4500}, ["Flareon"] = {level = 55, cons = 110, vida = 4500}, ["Porygon"] = {level = 45, cons = 10, vida = 100}, ["Omanyte"] = {level = 20, cons = 55, vida = 1300}, ["Omastar"] = {level = 70, cons = 140, vida = 6000}, ["Kabuto"] = {level = 20, cons = 55, vida = 1300}, ["Kabutops"] = {level = 70, cons = 150, vida = 6500}, ["Aerodactyl"] = {level = 100, cons = 190, vida = 8000}, ["Snorlax"] = {level = 85, cons = 200, vida = 9500}, ["Articuno"] = {level = 120, cons = 200, vida = 11000}, ["Zapdos"] = {level = 120, cons = 200, vida = 11000}, ["Moltres"] = {level = 120, cons = 200, vida = 11000}, ["Dratini"] = {level = 10, cons = 55, vida = 1200}, ["Dragonair"] = {level = 70, cons = 165, vida = 5600}, ["Dragonite"] = {level = 100, cons = 250, vida = 10800}, ["Mewtwo"] = {level = 100, cons = 175, vida = 8500}, ["Mew"] = {level = 100, cons = 125, vida = 7200}, ["Shiny Charizard"] = {level = 100, cons = 125, vida = 1200}, ["Crystal Onix"] = {level = 100, cons = 125, vida = 7200}, ["ShinyMagikarp"] = {level = 10, cons = 30, vida = 240}, ["ShinyRattata"] = {level = 10, cons = 28, vida = 900}, ["ShinyParas"] = {level = 10, cons = 140, vida = 1400}, ["ShinyOddish"] = {level = 10, cons = 140, vida = 990}, ["ShinyZubat"] = {level = 20, cons = 140, vida = 1200}, ["ShinyTentacool"] = {level = 20, cons = 140, vida = 3725}, ["Shiny Tentacruel"] = {level = 100, cons = 140, vida = 12050}, ["Shiny Raticate"] = {level = 35, cons = 140, vida = 2900}, ["ShinyKrabby"] = {level = 20, cons = 140, vida = 1271}, ["Shiny Kingler"] = {level = 50, cons = 140, vida = 6750}, ["ShinyHorsea"] = {level = 15, cons = 140, vida = 0}, ["Shiny Seadra"] = {level = 60, cons = 140, vida = 0}, ["Shiny Gyarados"] = {level = 120, cons = 200, vida = 18000}, ["Shiny Parasect"] = {level = 60, cons = 140, vida = 0}, ["Shiny Scyther"] = {level = 100, cons = 140, vida = 0}, ["Shiny Electabuz"] = {level = 100, cons = 140, vida = 0}, ["Shiny Jynx"] = {level = 80, cons = 140, vida = 0}, ["Shiny Electrode"] = {level = 50, cons = 140, vida = 0}, ["ShinyVoltorb"] = {level = 25, cons = 140, vida = 0}, ["Shiny Raichu"] = {level = 70, cons = 140, vida = 0}, ["ShinyVenonat"] = {level = 25, cons = 140, vida = 0}, ["Shiny Venomoth"] = {level = 60, cons = 140, vida = 0}, ["Shiny Beedril"] = {level = 35, cons = 140, vida = 0}, ["Shiny Butterfree"] = {level = 40, cons = 140, vida = 0}, ["Shiny Venusaur"] = {level = 100, cons = 140, vida = 0}, ["Shiny Blastoise"] = {level = 100, cons = 140, vida = 0}, ["Shiny Farfetchd"] = {level = 50, cons = 140, vida = 0}, ["ShinyGrimer"] = {level = 20, cons = 140, vida = 0}, ["Shiny Muk"] = {level = 50, cons = 140, vida = 0}, ["ShinyGrowlithe"] = {level = 30, cons = 140, vida = 0}, ["Shiny Arcanine"] = {level = 100, cons = 140, vida = 0}, ["ShinyDratini"] = {level = 35, cons = 140, vida = 0}, ["ShinyAbra"] = {level = 50, cons = 140, vida = 0}, ["Elite Hitmonlee"] = {level = 100, cons = 250, vida = 16500}, ["Elite Hitmonchan"] = {level = 100, cons = 240, vida = 17500} } local pokes = { ["Bulbasaur"] = {level = 40, evolution = "Ivysaur", maxh = 2900, count = 1, stoneid = 2276, stoneid2 = 0}, ["Ivysaur"] = {level = 85, evolution = "Venusaur", maxh = 5200, count = 1, stoneid = 2276, stoneid2 = 0}, ["Charmander"] = {level = 40, evolution = "Charmeleon", maxh = 2900, count = 1, stoneid = 2283, stoneid2 = 0}, ["Charmeleon"] = {level = 85, evolution = "Charizard", maxh = 5200, count = 1, stoneid = 2283, stoneid2 = 0}, ["Squirtle"] = {level = 40, evolution = "Wartortle", maxh = 2900, count = 1, stoneid = 2277, stoneid2 = 0}, ["Wartortle"] = {level = 85, evolution = "Blastoise", maxh = 5200, count = 1, stoneid = 2277, stoneid2 = 0}, ["Caterpie"] = {level = 15, evolution = "Metapod", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0}, ["Metapod"] = {level = 30, evolution = "Butterfree", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0}, ["Weedle"] = {level = 15, evolution = "Kakuna", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0}, ["Kakuna"] = {level = 25, evolution = "Beedrill", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0}, ["Pidgey"] = {level = 20, evolution = "Pidgeotto", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0}, ["Pidgeotto"] = {level = 65, evolution = "Pidgeot", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0}, ["Rattata"] = {level = 25, evolution = "Raticate", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0}, ["Spearow"] = {level = 50, evolution = "Fearow", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0}, ["Ekans"] = {level = 35, evolution = "Arbok", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0}, ["Pikachu"] = {level = 50, evolution = "Raichu", maxh = 1400, count = 1, stoneid = 2279, stoneid2 = 0}, ["Sandshrew"] = {level = 55, evolution = "Sandslash", maxh = 1400, count = 1, stoneid = 2287, stoneid2 = 0}, ["Nidoran Female"] = {level = 30, evolution = "Nidorina", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0}, ["Nidorina"] = {level = 65, evolution = "Nidoqueen", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 2287}, ["Nidoran Male"] = {level = 30, evolution = "Nidorino", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0}, ["Nidorino"] = {level = 65, evolution = "Nidoking", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 2287}, ["Clefairy"] = {level = 45, evolution = "Clefable", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0}, ["Vulpix"] = {level = 70, evolution = "Ninetales", maxh = 1400, count = 1, stoneid = 2283, stoneid2 = 0}, ["Jigglypuff"] = {level = 45, evolution = "Wigglytuff", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0}, ["Zubat"] = {level = 35, evolution = "Golbat", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0}, ["Oddish"] = {level = 25, evolution = "Gloom", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 0}, ["Gloom"] = {level = 50, evolution = "Vileplume", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 2278}, ["Paras"] = {level = 50, evolution = "Parasect", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 0}, ["Venonat"] = {level = 50, evolution = "Venomoth", maxh = 1400, count = 1, stoneid = 2284, stoneid2 = 2278}, ["Diglett"] = {level = 35, evolution = "Dugtrio", maxh = 1400, count = 1, stoneid = 2287, stoneid2 = 0}, ["Meowth"] = {level = 30, evolution = "Persian", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0}, ["Psyduck"] = {level = 55, evolution = "Golduck", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2288}, ["Mankey"] = {level = 50, evolution = "Primeape", maxh = 1400, count = 1, stoneid = 2281, stoneid2 = 0}, ["Growlithe"] = {level = 80, evolution = "Arcanine", maxh = 1400, count = 1, stoneid = 2283, stoneid2 = 0}, ["Poliwag"] = {level = 25, evolution = "Poliwhirl", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0}, ["Poliwhirl"] = {level = 65, evolution = "Poliwrath", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2281}, ["Abra"] = {level = 45, evolution = "Kadabra", maxh = 1400, count = 1, stoneid = 2288, stoneid2 = 0}, ["Kadabra"] = {level = 80, evolution = "Alakazam", maxh = 1400, count = 1, stoneid = 2288, stoneid2 = 0}, ["Machop"] = {level = 45, evolution = "Machoke", maxh = 1400, count = 1, stoneid = 2281, stoneid2 = 0}, ["Machoke"] = {level = 70, evolution = "Machamp", maxh = 1400, count = 1, stoneid = 2281, stoneid2 = 0}, ["Bellsprout"] = {level = 25, evolution = "Weepinbell", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 0}, ["Weepinbell"] = {level = 50, evolution = "Victreebel", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 0}, ["Tentacool"] = {level = 75, evolution = "Tentacruel", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2278}, ["Geodude"] = {level = 40, evolution = "Graveler", maxh = 1400, count = 1, stoneid = 2280, stoneid2 = 0}, ["Graveler"] = {level = 70, evolution = "Golem", maxh = 1400, count = 1, stoneid = 2280, stoneid2 = 0}, ["Ponyta"] = {level = 55, evolution = "Rapidash", maxh = 1400, count = 1, stoneid = 2283, stoneid2 = 0}, ["Slowpoke"] = {level = 45, evolution = "Slowbro", maxh = 1400, count = 1, stoneid = 2288, stoneid2 = 0}, ["Magnemite"] = {level = 40, evolution = "Magneton", maxh = 1400, count = 1, stoneid = 2279, stoneid2 = 0}, ["Doduo"] = {level = 45, evolution = "Dodrio", maxh = 1400, count = 1, stoneid = 2289, stoneid2 = 0}, ["Seel"] = {level = 65, evolution = "Dewgong", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0}, ["Grimer"] = {level = 45, evolution = "Muk", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0}, ["Shellder"] = {level = 60, evolution = "Cloyster", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0}, ["Gastly"] = {level = 45, evolution = "Haunter", maxh = 1400, count = 1, stoneid = 2286, stoneid2 = 0}, ["Haunter"] = {level = 80, evolution = "Gengar", maxh = 1400, count = 1, stoneid = 2286, stoneid2 = 0}, ["Drowzee"] = {level = 55, evolution = "Hypno", maxh = 1400, count = 1, stoneid = 2288, stoneid2 = 0}, ["Krabby"] = {level = 40, evolution = "Kingler", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0}, ["Voltorb"] = {level = 35, evolution = "Electrode", maxh = 1400, count = 1, stoneid = 2279, stoneid2 = 0}, ["Exeggcute"] = {level = 55, evolution = "Exeggutor", maxh = 1400, count = 1, stoneid = 2276, stoneid2 = 2288}, ["Cubone"] = {level = 55, evolution = "Marowak", maxh = 1400, count = 1, stoneid = 2287, stoneid2 = 0}, ["Koffing"] = {level = 35, evolution = "Weezing", maxh = 1400, count = 1, stoneid = 2278, stoneid2 = 0}, ["Rhyhorn"] = {level = 75, evolution = "Rhydon", maxh = 1400, count = 1, stoneid = 2280, stoneid2 = 0}, ["Horsea"] = {level = 45, evolution = "Seadra", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0}, ["Goldeen"] = {level = 35, evolution = "Seaking", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0}, ["Staryu"] = {level = 15, evolution = "Starmie", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 0}, ["Magikarp"] = {level = 85, evolution = "Gyarados", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2285}, ["Omanyte"] = {level = 80, evolution = "Omastar", maxh = 1400, count = 1, stoneid = 2277, stoneid2 = 2285}, ["Kabuto"] = {level = 80, evolution = "Kabutops", maxh = 1400, count = 1, stoneid = 2280, stoneid2 = 2285}, ["Dratini"] = {level = 60, evolution = "Dragonair", maxh = 1400, count = 1, stoneid = 2285, stoneid2 = 0}, ["Dragonair"] = {level = 100, evolution = "Dragonite", maxh = 1400, count = 1, stoneid = 2285, stoneid2 = 0}, ["Hitmonlee"] = {level = 1, evolution = "Elite Hitmonlee", maxh = 16500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Hitmonchan"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 16500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Abra"] = {level = 1, evolution = "Dark Abra", maxh = 17500, count = 1, stoneid = 2290, stoneid2 = 0}, ["Charizard"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Arcanine"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Beedrill"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Blastoise"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Butterfree"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Dratini"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Electabuzz"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Electrode"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Farfetchd"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Gengar"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Grimer"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Growlithe"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Gyarados"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Hitmonchan"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Hitmonlee"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Horsea"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Jynx"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Kingler"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Krabby"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Magikarp"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Muk"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = , stoneid2 = 0}, ["Oddish"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = , stoneid2 = 0}, ["Paras"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Parasect"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Raichu"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = , stoneid2 = 0}, ["Raticate"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Rattata"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Scyther"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Seadra"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Tentacool"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Tentacruel"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Venomoth"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Venusaur"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Voltorb"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0}, ["Zubat"] = {level = 1, evolution = "Elite Hitmonchan", maxh = 17500, count = 10, stoneid = 2290, stoneid2 = 0} } local types = { ["Leaf"] = {itemid = 2276, "Bulbasaur", "Ivysaur", "Oddish", "Gloom", "Bellsprout", "Weepinbell", "Exeggcute"}, ["Water"] = {itemid = 2277, "Squirtle", "Wartortle", "Horsea", "Goldeen", "Magikarp", "ShinyMagikarp", "Psyduck", "Poliwag", "Poliwhirl", "Tentacool", "Krabby", "Staryu", "Omanyte", "Eevee"}, ["Venom"] = {itemid = 2278, "Zubat", "Ekans", "Nidoran male", "Nidoran female", "Nidorino", "Nidorina", "Gloom", "Venonat", "Tentacool", "Grimer", "Koffing"}, ["Thunder"] = {itemid = 2279, "Magnemite", "Pikachu", "Voltorb", "Eevee", "Elekid"}, ["Rock"] = {itemid = 2280, "Geodude", "Graveler", "Rhyhorn", "Kabuto"}, ["Punch"] = {itemid = 2281, "Machop", "Machoke", "Mankey", "Poliwhirl", "Hitmonlee", "Hitmonchan"}, ["Fire"] = {itemid = 2283, "Charmander", "Charmeleon", "Vulpix", "Growlithe", "Ponyta", "Eevee"}, ["Coccon"] = {itemid = 2284, "Caterpie", "Metapod", "Weedle", "Kakuna", "Paras", "Venonat", "Dragon Lord"}, ["Crystal"] = {itemid = 2285, "Dratini", "Dragonair", "Magikarp", "ShinyMagikarp", "Omanyte", "Kabuto"}, ["Darkness"] = {itemid = 2286, "Gastly", "Haunter"}, ["Earth"] = {itemid = 2287, "Cubone", "Sandshrew", "Nidorino", "Nidorina", "Diglett"}, ["Enigma"] = {itemid = 2288, "Abra", "Kadabra", "Psyduck", "Slowpoke", "Drowzee"}, ["Heart"] = {itemid = 2289, "Rattata", "Pidgey", "Pidgeotto", "Spearow", "Clefairy", "Jigglypuff", "Meowth", "Doduo", "ShinyRattata"}, ["Shiny"] = {itemid = 2290, "Abra", "Shellder"} } local eevee = {'2277', '2279', '2283'} function onUse(cid, item, frompos, item2, topos) if not isMonster(item2.uid) then return true end if not isPlayer(getCreatureMaster(item2.uid)) or getCreatureMaster(item2.uid) ~= cid then doPlayerSendCancel(cid, "You can only use stones on pokemons you own.") return true end for i,x in pairs(types) do if getPlayerSlotItem(cid, 7).itemid ~= fotos[getCreatureName(item2.uid)].fotopoke then return doPlayerSendCancel(cid, "Plase, keep your pokemon's ball at the right place during evolution!") end if item.itemid == x.itemid then if isPlayerSummon(cid, item2.uid) then if table.find(x, getCreatureName(item2.uid)) then if getCreatureName(item2.uid) == "Eevee" then if item.itemid == 2279 then if getPlayerLevel(cid) < 55 then return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).") end local pokeball = getPlayerSlotItem(cid, 8) doItemSetAttribute(pokeball.uid, "poke", "This is Jolteon's pokeball. HP = [100/100]") doItemSetAttribute(pokeball.uid, "description", "Contains a Jolteon.") doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Jolteon!") doSendMagicEffect(topos, 18) doTransformItem(getPlayerSlotItem(cid, 7).uid, 2511) doSendMagicEffect(getThingPos(cid), 173) local oldpos = getThingPos(item2.uid) doRemoveCreature(item2.uid) doSummonMonster(cid, "Jolteon") local pk = getCreatureSummons(cid)[1] registerCreatureEvent(pk, "DiePoke") registerCreatureEvent(pk, "Exp") doTeleportThing(pk, oldpos, false) doCreatureSetLookDir(pk, 2) setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid))) doCreatureAddHealth(pk, getCreatureMaxHealth(pk)) setPlayerStorageValue(cid, 2, 0) doPlayerRemoveItem(cid, item.itemid, 1) elseif item.itemid == 2277 then if getPlayerLevel(cid) < 55 then return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).") end local pokeball = getPlayerSlotItem(cid, 8) doItemSetAttribute(pokeball.uid, "poke", "This is Vaporeon's pokeball. HP = [100/100]") doItemSetAttribute(pokeball.uid, "description", "Contains a Vaporeon.") doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Vaporeon!") doSendMagicEffect(topos, 18) doTransformItem(getPlayerSlotItem(cid, 7).uid, 2510) doSendMagicEffect(getThingPos(cid), 173) local oldpos = getThingPos(item2.uid) doRemoveCreature(item2.uid) doSummonMonster(cid, "Vaporeon") local pk = getCreatureSummons(cid)[1] registerCreatureEvent(pk, "DiePoke") registerCreatureEvent(pk, "Exp") doTeleportThing(pk, oldpos, false) doCreatureSetLookDir(pk, 2) setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid))) doCreatureAddHealth(pk, getCreatureMaxHealth(pk)) setPlayerStorageValue(cid, 2, 0) doPlayerRemoveItem(cid, item.itemid, 1) elseif item.itemid == 2283 then if getPlayerLevel(cid) < 55 then return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon (55).") end local pokeball = getPlayerSlotItem(cid, 8) doItemSetAttribute(pokeball.uid, "poke", "This is Flareon's pokeball. HP = [100/100]") doItemSetAttribute(pokeball.uid, "description", "Contains a Flareon.") doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a Flareon!") doSendMagicEffect(topos, 18) doTransformItem(getPlayerSlotItem(cid, 7).uid, 2512) doSendMagicEffect(getThingPos(cid), 173) local oldpos = getThingPos(item2.uid) doRemoveCreature(item2.uid) doSummonMonster(cid, "Flareon") local pk = getCreatureSummons(cid)[1] registerCreatureEvent(pk, "DiePoke") registerCreatureEvent(pk, "Exp") doTeleportThing(pk, oldpos, false) doCreatureSetLookDir(pk, 2) setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid))) doCreatureAddHealth(pk, getCreatureMaxHealth(pk)) setPlayerStorageValue(cid, 2, 0) doPlayerRemoveItem(cid, item.itemid, 1) end local i = getCreatureName(getCreatureSummons(cid)[1]) if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then doPlayerAddSoul(cid, 1) setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ") end return true end local count = pokes[getCreatureName(item2.uid)].count local stnid = pokes[getCreatureName(item2.uid)].stoneid local stnid2 = pokes[getCreatureName(item2.uid)].stoneid2 local evo = pokes[getCreatureName(item2.uid)].evolution local levell = pokes[getCreatureName(item2.uid)].level if stnid2 > 1 and getPlayerItemCount(cid, stnid2) < count then return doPlayerSendCancel(cid, "You need at least one "..getItemNameById(stnid).." and one "..getItemNameById(stnid2).." to evolve this pokemon!") end if stnid2 > 1 and getPlayerItemCount(cid, stnid) < count then return doPlayerSendCancel(cid, "You need at least one "..getItemNameById(stnid).." and one "..getItemNameById(stnid2).." to evolve this pokemon!") end if getPlayerItemCount(cid, stnid) < count then return doPlayerSendCancel(cid, "You need at least "..count.." "..getItemNameById(stnid).."s to evolve this pokemon!") end if getPlayerLevel(cid) < pokes[getCreatureName(item2.uid)].level then return doPlayerSendCancel(cid, "Sorry, you don't have the required level to evolve this pokemon ("..levell..").") end local owner = getCreatureMaster(item2.uid) local pokeball = getPlayerSlotItem(cid, 8) local description = "Contains a "..evo.."." local nas = { ["%%pokename"] = pokes[getCreatureName(item2.uid)].evolution } for i,x in pairs(nas) do if description:find(i) then description = description:gsub(i, x) end end local slo = pokes[getCreatureName(item2.uid)].maxh local sle = pokes[getCreatureName(item2.uid)].evolution doItemSetAttribute(pokeball.uid, "poke", "This is "..evo.."'s pokeball. HP = ["..pokes[getCreatureName(item2.uid)].maxh.."/"..pokes[getCreatureName(item2.uid)].maxh.."]") doItemSetAttribute(pokeball.uid, "description", description) doPlayerSendTextMessage(cid, 27, "Congratulations! Your "..getCreatureName(item2.uid).." evolved into a "..evo.."!") doSendMagicEffect(topos, 18) doTransformItem(getPlayerSlotItem(cid, 7).uid, fotos[sle].fotopoke) doSendMagicEffect(getThingPos(cid), 173) local oldpos = getThingPos(item2.uid) doRemoveCreature(item2.uid) doSummonMonster(cid, sle) local pk = getCreatureSummons(cid)[1] registerCreatureEvent(pk, "DiePoke") registerCreatureEvent(pk, "Exp") doTeleportThing(pk, oldpos, false) doCreatureSetLookDir(pk, 2) setCreatureMaxHealth(pk, slo) doCreatureAddHealth(pk, slo) setCreatureMaxHealth(pk, getCreatureMaxHealth(pk) + (poken[getCreatureName(pk)].cons * getPlayerLevel(cid))) doCreatureAddHealth(pk, getCreatureMaxHealth(pk)) doPlayerRemoveItem(cid, stnid, count) doPlayerRemoveItem(cid, stnid2, count) setPlayerStorageValue(cid, 2, 0) local i = getCreatureName(getCreatureSummons(cid)[1]) if not string.find(getPlayerStorageValue(cid, 54842), ""..i..",") then doPlayerAddSoul(cid, 1) setPlayerStorageValue(cid, 54842, getPlayerStorageValue(cid, 54842)..""..i..", ") end break else return doPlayerSendCancel(cid, "Sorry, this is not the required stone to evolve this pokemon!") end end end end return TRUE end
- Baiak Hollister (Speed 16/06/2014)
-
Evolution.lua bugado rsrs
Tem limites em número o script.
- (Resolvido)[Dúvida] Talkaction Ao Ser Falada Não Aparecer No Chat
- Poke Server Oline
- ERRO em funçao customCallbackonbuy
- ERRO em funçao customCallbackonbuy
-
ERRO em funçao customCallbackonbuy
Teste este: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local Topic = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local function getTable(player) local itemsList = { {name="backpack", id=1988, buy=20}, {name="bag", id=1987, buy=5}, {name="basket", id=1989, buy=6}, {name="bucket", id=2005, buy=4}, {name="candlestick", id=2047, buy=2}, {name="closed trap", id=2578, buy=280, sell=75}, {name="crowbar", id=2416, buy=260, sell=50}, {name="expedition backpack", id=11241, buy=100}, {name="expedition bag", id=11242, buy=50}, {name="fishing rod", id=2580, buy=150, sell=40}, {name="lamp", id=2044, buy=8}, {name="pick", id=2553, buy=50, sell=15}, {name="rope", id=2120, buy=50, sell=15}, {name="scythe", id=2550, buy=50, sell=10}, {name="shovel", id=2554, buy=50, sell=8}, {name="torch", id=2050, buy=2}, {name="watch", id=2036, buy=20, sell=6}, {name="worm", id=3976, buy=1}, {name="inkwell", id=2600, sell=8}, {name="mirror", id=2560, sell=10}, {name="sickle", id=2405, sell=3} } -- 1 tome local tomes = { { {name="arrow", id=2544, buy=3}, {name="bolt", id=2543, buy=4}, {name="bow", id=2456, buy=400, sell=100}, {name="crossbow", id=2455, buy=500, sell=120}, {name="crystalline arrow", id=18304, buy=20}, {name="dragon tapestry", id=11264, buy=80}, {name="drill bolt", id=18436, buy=12}, {name="earth arrow", id=7850, buy=5}, {name="envenomed arrow", id=18437, buy=12}, {name="flaming arrow", id=7840, buy=5}, {name="flash arrow", id=7838, buy=5}, {name="onyx arrow", id=7365, buy=7}, {name="piercing bolt", id=7363, buy=5}, {name="power bolt", id=2547, buy=7}, {name="prismatic bolt", id=18435, buy=20}, {name="royal spear", id=7378, buy=15}, {name="shiver arrow", id=7839, buy=5}, {name="sniper arrow", id=7364, buy=5}, {name="spear", id=2389, buy=9, sell=3}, {name="tarsal arrow", id=15648, buy=6}, {name="throwing star", id=2399, buy=42}, {name="vortex bolt", id=15649, buy=6}, {name="corrupted flag", id=11326, sell=700}, {name="high guard flag", id=11332, sell=550}, {name="legionnaire flags", id=11334, sell=500}, {name="zaogun flag", id=11330, sell=600} }, { -- 2 tomes {name="minotaur backpack", id=11244, buy=200} }, { -- 5 tomes {name="dragon backpack", id=11243, buy=200} }, } if player:getStorageValue(85300) >= 1 then -- 1 tome for i = 1, #tomes[1] do table.insert(itemsList, tomes[1][i]) end end if player:getStorageValue(85300) >= 2 then -- 2 tomes for i = 1, #tomes[2] do table.insert(itemsList, tomes[2][i]) end end if player:getStorageValue(85300) >= 5 then -- 5 tomes for i = 1, #tomes[3] do table.insert(itemsList, tomes[3][i]) end end return itemsList end local function setNewTradeTable(table) local items = {} for _, v in ipairs(table) do items[v.id] = {itemId = v.id, buyPrice = v.buy, sellPrice = v.sell, subType = 0, realName = v.name} end return items end function creatureSayCallback(cid, type, msg) local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local player = Player(cid) if (msgcontains(msg, "hello") or msgcontains(msg, "hi")) and (not npcHandler:isFocused(cid)) then npcHandler:say("Hello.", cid, TRUE) npcHandler:addFocus(cid) elseif(not npcHandler:isFocused(cid)) then return false elseif msgcontains(msg, "bye") or msgcontains(msg, "farewell") then npcHandler:say("It was a pleasure to help you, "..getCreatureName(cid)..".", cid, TRUE) npcHandler:releaseFocus(cid) elseif msgcontains(msg, "trade") then local player = Player(cid) local items = setNewTradeTable(getTable(player)) local function onBuy(cid, item, subType, amount, ignoreCap, inBackpacks) if (ignoreCap == false and (player:getFreeCapacity() < getItemWeight(items[item].itemId, amount) or inBackpacks and player:getFreeCapacity() < (getItemWeight(items[item].itemId, amount) + getItemWeight(1988, 1)))) then return player:sendTextMessage(MESSAGE_STATUS_SMALL, 'You don\'t have enough cap.') end if items[item].buyPrice <= player:getMoney() then if inBackpacks then local container = Game.createItem(1988, 1) local bp = player:addItemEx(container) if(bp ~= 1) then return player:sendTextMessage(MESSAGE_STATUS_SMALL, 'You don\'t have enough container.') end for i = 1, amount do container:addItem(items[item].itemId, items[item]) end else return player:addItem(items[item].itemId, amount, false, items[item]) and player:removeMoney(amount * items[item].buyPrice) and player:sendTextMessage(MESSAGE_INFO_DESCR, 'You bought '..amount..'x '..items[item].realName..' for '..items[item].buyPrice * amount..' gold coins.') end player:sendTextMessage(MESSAGE_INFO_DESCR, 'You bought '..amount..'x '..items[item].realName..' for '..items[item].buyPrice * amount..' gold coins.') player:removeMoney(amount * items[item].buyPrice) else player:sendTextMessage(MESSAGE_STATUS_SMALL, 'You do not have enough money.') end return true end local function onSell(cid, item, subType, amount, ignoreEquipped) if items[item].sellPrice then return player:removeItem(items[item].itemId, amount, -1, ignoreEquipped) and player:addMoney(items[item].sellPrice * amount) and player:sendTextMessage(MESSAGE_INFO_DESCR, 'You sold '..amount..'x '..items[item].realName..' for '..items[item].sellPrice * amount..' gold coins.') end return true end openShopWindow(cid, getTable(player), onBuy, onSell) npcHandler:say("Keep in mind you won't find better offers here. Just browse through my wares.", cid) end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
- ERRO em funçao customCallbackonbuy
-
CS Tibia
Que top Eratsu, show! Quando abre? Vou querer logar, adorei.
-
[City War Event] Luta pela sobrevivência
Falou e disse Mythusz meu querido, como está até no battlefield está descrito que tem "mãos" da otland no scripts, Demon disse das funções dele ok, sem contar que adaptei várias coisas e a cima de tude trouxe o conteúdo pro TK, mal deve saber o Demon que ele vende na lojinha dele, porém não discuto também o importante é trazer de graça ajudando a comunidade, foda é quem vem criticar porque quer ganhar dinheiro em cima. #vaitrabalhar
-
[PEDIDO] NPC Blessed
Sim é que deu a entender que copiei rs, mas sem crises brother, vamos tentar achar pra ajudar o jovem ai hehe. Tamo junto <3.
- É mais ou menos assim '-'
Informação Importante
Confirmação de Termo