Ir para conteúdo

Líderes

Conteúdo Popular

Exibindo conteúdo com a maior reputação em 05/03/20 em todas áreas

  1. 1 ponto
    O OT Server Ready (OSR) é um software básico que desenvolvi juntamente com o apoio da 4YouStart feito para auxiliar aqueles que tem mais dificuldade com a parte de infraestrutura. Veja funcionando: Avisos: O software está em BETA. Em caso de qualquer problema envie uma resposta nesse post. Quero lembrar que qualquer cópia dessa postagem sem a devida autorização não é permitida. O OSR instala e configura os seguintes softwares/bibliotecas (visão geral): - Apache2 - php5 - MySQL 5.5 - phpmyadmin - Todas bibliotecas para compilar/rodar um OT Server O sistema suporta os seguintes sistemas operacionais: Debian 7.x Ubuntu 12.x Ubuntu 14.x Para instalar o OT Server Ready, utilize as seguintes instruções: Lembrete: utilize-o apenas em um servidor novo, recém formatado. Para instalar no Debian: apt-get update apt-get install -y gcc wget http://scripts.4youstart.com/ot-server-ready-debian chmod 777 ot-server-ready-debian ./ot-server-ready-debian SENHA Para instalar no Ubuntu: apt-get update apt-get install -y gcc wget http://scripts.4youstart.com/ot-server-ready-ubuntu chmod 777 ot-server-ready-ubuntu ./ot-server-ready-ubuntu SENHA Substitua a palavra "SENHA" na última linha da instalação pela senha que deseja utilizar no phpmyadmin e MySQL. Recomenda-se que utilize a mesma senha do que a senha do servidor, mas pode utilizar qualquer uma. Versão atual do Software: v0.2 [23/11/2015] Lista de bibliotecas instaladas: v0.1: apache2 php5 libapache2-mod-php5 php5-mcrypt mysql-client-5.5 mysql-server-5.5 mysql-common libboost-all-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev zlib1g-dev zlib1g libcrypto++-dev libcrypto++ libcurl4-openssl-dev phpmyadmin v0.2: zip unzip build-essential libboost-dev libwww-perl ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev libssl-dev Façam bom proveito Foi anexado ao post o script para ubuntu ot-server-ready-ubuntu
  2. [TUTORIAL] Resolvendo qualquer erro na data base

    gutalo reagiu a Danihcv por uma resposta no tópico

    1 ponto
    Opa, galerinha do TK, pro meu primeiro tutorial resolvi fazer uma solução de um problema que desde que cheguei no TK, vejo que ocorre com uma certa frequência. Os erros da data base. Neste tutorial vou ensinar a resolver os erros do tipo No such table, Insert into, No such column, ... has no column named... etc. 1°) NO SUCH TABLE Bom, para o erro No such table, basta vc visualizar qual table está faltando. Para isso basta ler o erro na distro: No caso da imagem, está faltando a table: player_statements Para resolver este e qualquer outro problema deste tipo, caso sua data base seja sqlite, basta abrir sua data base pelo Sqlite Studio(download: http://sqlitestudio.pl/?act=download) e clicar em Open SQL query editor: Mas caso sua data base seja Mysql abra pelo phpMyadmin, ou por outro editor de sua preferencia. 1.1°) EXECUTANDO OS COMANDOS PARA RESOLVER O PROBLEMA Bom, dependendo da table que estiver faltando, vc irá colocar seu respectivo comando, segue abaixo TODOS os comandos básicos necessários para que sua data base fique Ok! : (VC VAI PEGAR O COMANDO REFERENTE À TABLE QUE VC QUER!!!) account_viplist Sqlite accounts Sqlite bans Sqlite environment_killers Sqlite global_storage Sqlite guild_invites Sqlite guild_kills Sqlite guild_ranks Sqlite guild_wars Sqlite guilds Sqlite house_auctions Sqlite house_data Sqlite house_lists Sqlite houses Sqlite killers Sqlite market_history Sqlite market_offers Sqlite player_deaths Sqlite player_depotitems Sqlite player_inboxitems Sqlite player_items Sqlite player_killers Sqlite player_namelocks Sqlite player_skills Sqlite player_spells Sqlite player_statements Sqlite player_storage Sqlite player_viplist Sqlite players Sqlite server_config Sqlite server_motd Sqlite server_record Sqlite server_reports Sqlite tile_items Sqlite tile_store Sqlite tiles Sqlite announcements Sqlite pagsegurotransacoes Sqlite player_advances Sqlite reports Sqlite thanks Sqlite z_bug_logs Sqlite z_featured_article Sqlite z_forum Sqlite z_helpdesk Sqlite z_monsters Sqlite z_network_box Sqlite z_news_tickers Sqlite z_ots_comunication Sqlite z_polls Sqlite z_polls_answers Sqlite z_poll_votes Sqlite z_shop_history_item Sqlite z_shop_history_pacc Sqlite z_shop_offer Sqlite z_spells Sqlite z_news_big Sqlite 2°) No such column / "NOME DA TABLE" has no column named "NOME DA COLUMN QUE FALTA" / Insert into Bom, para resolver esse problema vc deve identificar em qual TABLE está essa coluna que falta. Para isso, basta ler o erro como na imagem: No caso da imagem, está faltando a column WORLD_ID dentro da table MARKET_OFFERS. Para resolver, vc deve executar excluir a sua table MARKET_OFFERS existante em sua data base, e em seguida, executar o domando da da market_offers, encontrado acima, logicamente isso só se aplica ao caso da imagem, depende do seu caso, vc deve excutar o comando da table que estiver sendo referida no erro. Mas antes de executá-lo vc deve excluir a sua table EXISTENTE, para então executar o comando. ESTA FORMA DE RESOLUÇÃO SE APLICA AOS TRÊS CASOS: NO SUCH COLUMN, ...HAS NO COLUMN NAMED... e INSERT INTO. Bom galera, é isso. SE ENCONTRAREM, OU SE DEPARAREM COM ALGUM ERRO, BASTA ME PEDIR AJUDA QUE EU DAREI TOTAL SUPORTE PARA VOCÊS! SE ESTIVR FALTANDO MAIS ALGUMA TABLE QUE EU NÃO COLOQUEI AQUI, PF ME INFORMEM E EU ATUALIZAREI O TÓPICO!!! Lembrem-se, se eu te ajudei, por favor, deem REP++ pois foi meio trabolhoso fazer este tutorial todo... ESTOU A DISPOSIÇÃO DE TODOS! Tanto por PM quanto por SKYPE, e até mesmo por aqui, pois vou checar este tópico regularmente!! Espero ter ajudado!! Abraços.
  3. (Resolvido)getItemAttribute retornando null

    Balkalima reagiu a Storm por uma resposta no tópico

    1 ponto
    @Balkalima Tirei aquele print(type) e mudei algumas outras coisas, tenta ai: function onGetFormulaValues(cid, level, skill, attack, factor) local arma = getPlayerSlotItem(cid, CONST_SLOT_LEFT) if getItemWeaponType(arma.uid) ~= 4 then local danoArma = getItemInfo(arma.itemid).attack else local danoArma = getItemInfo(getPlayerSlotItem(cid, CONST_SLOT_RIGHT).itemid).attack end print(danoArma) -- print apenas para ver o que é retornado (null neste caso) min = -(((attack * 5) + (skill * 0.5) + (level * 0.04)) / factor) max = -(((attack * 5) + (skill * 0.8) + (level * 0.06)) / factor) return min, max end
  4. [TESTADO EM OTX 2.x.x SERIES] 8.60 Primeiramente vá em game.cpp e procure por: bool Game::broadcastMessage(const std::string& text, MessageClasses type) { std::clog << "> Broadcasted message: \"" << text << "\"." << std::endl; for(AutoList<Player>::iterator it = Player::autoList.begin(); it != Player::autoList.end(); ++it) it->second->sendTextMessage(type, text); return true; } Abaixo adicione: bool Game::globalSendChannelMessage(std::string author, std::string text, MessageClasses type, uint16_t channel) { std::clog << "> Channel message: \"" << text << "\"." << std::endl; for(AutoList<Player>::iterator it = Player::autoList.begin(); it != Player::autoList.end(); ++it) it->second->sendChannelMessage(author, text, type, channel); return true; } Depois vá em game.h e procure por: bool broadcastMessage(const std::string& text, MessageClasses type); Abaixo adicione: bool globalSendChannelMessage(std::string author, std::string text, MessageClasses type, uint16_t channel); Agora vá em raids.cpp e procure por: bool AnnounceEvent::configureRaidEvent(xmlNodePtr eventNode) { if(!RaidEvent::configureRaidEvent(eventNode)) return false; std::string strValue; if(!readXMLString(eventNode, "message", strValue)) { std::clog << "[Error - AnnounceEvent::configureRaidEvent] Message tag missing for announce event." << std::endl; return false; } m_message = strValue; if(readXMLString(eventNode, "type", strValue)) { std::string tmpStrValue = asLowerCaseString(strValue); if(tmpStrValue == "warning") m_messageType = MSG_STATUS_WARNING; else if(tmpStrValue == "event") m_messageType = MSG_EVENT_ADVANCE; else if(tmpStrValue == "default") m_messageType = MSG_EVENT_DEFAULT; else if(tmpStrValue == "description") m_messageType = MSG_INFO_DESCR; else if(tmpStrValue == "status") m_messageType = MSG_STATUS_SMALL; else if(tmpStrValue == "blue") m_messageType = MSG_STATUS_CONSOLE_BLUE; else if(tmpStrValue == "red") m_messageType = MSG_STATUS_CONSOLE_RED; else std::clog << "[Notice - AnnounceEvent::configureRaidEvent] Unknown type tag for announce event, using default: " << (int32_t)m_messageType << std::endl; } else std::clog << "[Notice - AnnounceEvent::configureRaidEvent] Missing type tag for announce event. Using default: " << (int32_t)m_messageType << std::endl; return true; } Altere para: bool AnnounceEvent::configureRaidEvent(xmlNodePtr eventNode) { if(!RaidEvent::configureRaidEvent(eventNode)) return false; std::string strName; if(!readXMLString(eventNode, "name", strName)) { std::clog << "[Error - AnnounceEvent::configureRaidEvent] Name tag missing for announce event." << std::endl; return false; } m_messageAuthor = strName; std::string strValue; if(!readXMLString(eventNode, "message", strValue)) { std::clog << "[Error - AnnounceEvent::configureRaidEvent] Message tag missing for announce event." << std::endl; return false; } m_message = strValue; if(readXMLString(eventNode, "type", strValue)) { std::string tmpStrValue = asLowerCaseString(strValue); if(tmpStrValue == "warning") m_messageType = MSG_STATUS_WARNING; else if(tmpStrValue == "event") m_messageType = MSG_EVENT_ADVANCE; else if(tmpStrValue == "default") m_messageType = MSG_EVENT_DEFAULT; else if(tmpStrValue == "description") m_messageType = MSG_INFO_DESCR; else if(tmpStrValue == "status") m_messageType = MSG_STATUS_SMALL; else if(tmpStrValue == "blue") m_messageType = MSG_STATUS_CONSOLE_BLUE; else if(tmpStrValue == "red") m_messageType = MSG_STATUS_CONSOLE_RED; else if(tmpStrValue == "channel") m_messageType = MSG_CHANNEL; else if(tmpStrValue == "channel-management") m_messageType = MSG_CHANNEL_MANAGEMENT; else if(tmpStrValue == "channel-highlight") m_messageType = MSG_CHANNEL_HIGHLIGHT; else if(tmpStrValue == "channel-gamemaster") m_messageType = MSG_GAMEMASTER_CHANNEL; else std::clog << "[Notice - AnnounceEvent::configureRaidEvent] Unknown type tag for announce event, using default: " << (int32_t)m_messageType << std::endl; } else std::clog << "[Notice - AnnounceEvent::configureRaidEvent] Missing type tag for announce event. Using default: " << (int32_t)m_messageType << std::endl; return true; } Logo abaixo você verá: bool AnnounceEvent::executeEvent(const std::string&) const { g_game.broadcastMessage(m_message, m_messageType); return true; } Substitua por: bool AnnounceEvent::executeEvent(const std::string&) const { if(m_messageType == MSG_CHANNEL_HIGHLIGHT || m_messageType == MSG_CHANNEL || m_messageType == MSG_CHANNEL_MANAGEMENT || m_messageType == MSG_GAMEMASTER_CHANNEL) g_game.globalSendChannelMessage(m_messageAuthor, m_message, (MessageClasses)m_messageType, 12); else g_game.broadcastMessage(m_message, m_messageType); return true; } Agora em raids.h procure por: class AnnounceEvent : public RaidEvent { public: AnnounceEvent(Raid* raid, bool ref): RaidEvent(raid, ref), m_messageType(MSG_EVENT_ADVANCE) {} virtual ~AnnounceEvent() {} virtual bool configureRaidEvent(xmlNodePtr eventNode); virtual bool executeEvent(const std::string& name) const; private: std::string m_message; MessageClasses m_messageType; }; Substitua por: class AnnounceEvent : public RaidEvent { public: AnnounceEvent(Raid* raid, bool ref): RaidEvent(raid, ref), m_messageType(MSG_EVENT_ADVANCE) {} virtual ~AnnounceEvent() {} virtual bool configureRaidEvent(xmlNodePtr eventNode); virtual bool executeEvent(const std::string& name) const; private: std::string m_messageAuthor; std::string m_message; MessageClasses m_messageType; }; Agora em data/XML/channels.xml crie um novo canal de ID 12 para seu Raids channel: <channel id="12" name="Raids" logged="yes" active="0" enable="0"/> Agora sempre que você for criar um raids de anuncio deve colocar as tags como mostrado abaixo: <announce delay="1000" name="Tower" type="channel" message="Mensagem" /> Você pode optar por 4 tipo de mensagens em channel: type="channel" <!-- cor padrão --> type="channel-highlight" <!-- cor laranja escuro --> type="channel-management" <!-- cor branca --> type="channel-gamemaster" <!-- cor vermelha --> Além de que pode optar por utilizar o broadcastMessage apenas definindo as cores padrão do mesmo: type="warning" <!-- msg aviso --> type="event" <!-- msg branca/advance --> type="default" type="description" <!-- msg verde --> type="status" <!-- msg small --> type="blue" <!-- msg azul --> type="red" <!-- msg red -->
  5. TFS 0.4 3777

    dbofurie reagiu a 9k22 por uma resposta no tópico

    1 ponto
    Olá @Magalhaes92, tudo bem? Primeiramente, verifique no seu config.lua o seu packetsPerSecond. O mesmo não pode ultrapassar 450. (recomendo 350 ou 400) Agora tente modificar a porta do SSH e instalar uma proteção para DDoS. Não vai ser as melhores opções, mas vai te ajudar muito. Não copie o $: $ nano /etc/ssh/sshd_config Procure por algo parecido como Port 22, modifique para um à sua escolha. Sempre que você for acessar sua máquina, você não irá usar a porta 22 e sim, a porta que você escolheu. Reinicie o SSH: $ service ssh restart Beleza, agora só você saberá o valor da porta SSH, ficará mais difícil atacarem esta porta. Instale agora um CSF dentro de uma Screen e configure: (caso não tenha screen, utilize o comando: apt get install screen -y) $ screen -S CSF $ cd /home $ rm -fv csf.tgz $ wget https://download.configserver.com/csf.tgz $ tar -xzf csf.tgz $ cd csf $ sh install.sh $ nano /etc/csf/csf.conf Use CTRL + W e procure por: TESTING = "1", mude para 0 Configure tudo: Lembre-se: Onde estiver XXXX, troque pela porta SSH. (Coloquei em XXXX pensando que você modificará a sua porta SSH) TCP_IN = "80,7171,7172,XXXX" TCP_OUT = "80,7171,7172" UDP_IN = "" UDP_OUT = "" TCP6_IN = "80,7171,7172,XXXX" TCP6_OUT = "80,7171,7172" UDP6_IN = "" UDP6_OUT = "" CT_LIMIT = "100" SYNFLOOD = "1" SYNFLOOD_RATE = "150/s" SYNFLOOD_BURST = "200" UDPFLOOD = "1" PORTFLOOD = "80;tcp;20;5,7171;tcp;20;5,7172;tcp;20;5,XXXX;tcp;5;60" PS_INTERVAL = "1500" PS_LIMIT = "20" Agora reinicie o CSF para aplicar as modificações: $ csf -r Caso seu CSF esteja desativado, utilize: $ csf -e AVISO: Caso cometa algum erro nas configurações acima, você perderá acesso à maquina. Não preciso comentar o que vai ocorrer né
  6. (Resolvido)Cast System

    dbofurie reagiu a 9k22 por uma resposta no tópico

    1 ponto
    Olá @bellatrikz, tudo bem? Você deverá ter uma conta com accountName = 10
  7. (Resolvido)Defend the Tower event

    bellatrikz reagiu a 9k22 por uma resposta no tópico

    1 ponto
    Exatamente! O TownID está circulado em vermelho, na imagem abaixo: Basta abrir seu RME e: CTRL + T
  8. Galera tópico atualizado, adicionei o banco de dados que eu estava utilizando. Acabei de reinstalar o servidor para um colega, utilizei um Ubuntu 14.04 e tudo está funcionando 100 % ( A única coisa que faltava era o banco de dados ) Eu gostaria de organizar, montar um tutorial step-by-step ensinando como colocar o servidor Online porém estou sem tempo, mas posso garantir que não há problemas com os arquivos o pack está completo agora com o banco de dados. Um Guia para você que não sabe por onde começar : Consiga uma VPS de preferência utilize o Sistema Operacional em que o server foi testado ( Ubuntu 14.04 ) Atualize as libs da sua VPS e Instale : Apache + Mysql + PhpMyAdmin ( Você pode encontrar Tutoriais aqui no Fórum ) Configure / Importe um banco de dados no PhpMyAdmin ( Agora tem banco de dados disponível ) Gerencie os arquivos, coloque o servidor no diretório /home e o site no diretório /var/www e não esqueça de editar os arquivos config.lua e config.php Com todos os arquivos configurados e posicionados no local correto, seu site já deve estar funcionando. Compile o servidor ( Caso esteja usando ubuntu 14.04 já tem uma distro compilada ) para compilar ( Você pode encontrar Tutoriais aqui no Fórum ) Agora com site funcionando e distro rodando, você apenas precisará configurar o Client do servidor para se conectar. O Client funcionará apenas após trocar o IP do executável, voce pode usar ip changer ou usar um hex editor para alterar definitivamente. Agora com client redirecionando para o IP da sua VPS você já pode se conectar no game. dbresetada.sql Estou pensando em fazer um vídeo tutorial no Youtube colocando Online o servidor em um Ubuntu,. Nesse vídeo eu passaria algumas dícas para quem está começando a usar Linux e realizaria um passo a passo do que é necessário para você conseguir deixar o servidor Online em qualquer VPS. Caso alguém se interesse, deixa um Rep + Aí que assim que surgir um tempo eu gravo o vídeo para vocês.
  9. (Resolvido)[AJUDA] Alterar Catch System

    Sabrina10 reagiu a MatteusDeli por uma resposta no tópico

    1 ponto
    @betofss Tenta assim, não sei se vai funcionar pq to sem nenhum server de poketibia para testar local pokes = { ["Rattata"] = {chance = 50, corpse = "Rattata", health = 350, maxhealth = 350, level = 1}, ["Flareon"] = {chance = 5000, corpse = "Flareon", health = 5300, maxhealth = 5300, level = 55}, ["Crystal Onix"] = {chance = 5000, corpse = "Crystal Onix", health = 5300, maxhealth = 5300, level = 70}, ["Porygon"] = {chance = 5000, corpse = "Porygon", health = 14000, maxhealth = 4000, level = 45}, ["porygon2"] = {chance = 5000, corpse = "porygon2", health = 14000, maxhealth = 4000, level = 45}, ["Ditto"] = {chance = 5000, corpse = "Ditto", health = 14000, maxhealth = 4000, level = 40}, ["Shiny Ditto"] = {chance = 5000, corpse = "Shiny Ditto", health = 14000, maxhealth = 4000, level = 60}, ["Magikarp"] = {chance = 20, corpse = "3999", health = 0, maxhealth = 120, level = 1}, ["Eevee"] = {chance = 4000, corpse = "Eevee", health = 1500, maxhealth = 1500, level = 20}, ["Abra"] = {chance = 900, corpse = "Abra", health = 620, maxhealth = 620, level = 10}, ["Kadabra"] = {chance = 5500, corpse = "Kadabra", health = 2500, maxhealth = 2500, level = 50}, ["Alakazam"] = {chance = 10705, corpse = "Alakazam", health = 4000, maxhealth = 4000, level = 80}, ["Shiny Alakazam"] = {chance = 10705, corpse = "Shiny Alakazam", health = 4000, maxhealth = 4000, level = 80}, ["Dark Alakazam"] = {chance = 10705, corpse = "Dark Alakazam", health = 4000, maxhealth = 4000, level = 90}, ["Raticate"] = {chance = 1300, corpse = "Raticate", health = 900, maxhealth = 900, level = 20}, ["Pidgey"] = {chance = 40.25, corpse = "Pidgey", health = 380, maxhealth = 380, level = 1}, ["Pidgeotto"] = {chance = 1407.5, corpse = "Pidgeotto", health = 1400, maxhealth = 1400, level = 20}, ["Pidgeot"] = {chance = 9000, corpse = "6020", health = 0, maxhealth = 0, level = 20}, ["Zubat"] = {chance = 75, corpse = "Zubat", health = 450, maxhealth = 450, level = 5}, ["Golbat"] = {chance = 1090, corpse = "Golbat", health = 1900, maxhealth = 1900, level = 35}, ["Bellsprout"] = {chance = 82.5, corpse = "Bellsprout", health = 420, maxhealth = 420, level = 5}, ["Weepinbell"] = {chance = 1550, corpse = "Weepinbell", health = 1100, maxhealth = 1100, level = 25}, ["Victreebel"] = {chance = 7012.5, corpse = "Victreebel", health = 4000, maxhealth = 4000, level = 55}, ["Shiny Victreebel"] = {chance = 7012.5, corpse = "Shiny Victreebel", health = 4000, maxhealth = 4000, level = 85}, ["Poliwag"] = {chance = 73.75, corpse = "Poliwag", health = 400, maxhealth = 400, level = 10}, ["Poliwhirl"] = {chance = 2012.5, corpse = "Poliwhirl", health = 1200, maxhealth = 1200, level = 25}, ["Poliwrath"] = {chance = 9000, corpse = "Poliwrath", health = 4400, maxhealth = 4400, level = 70}, ["Oddish"] = {chance = 90, corpse = "Oddish", health = 340, maxhealth = 340, level = 10}, ["Gloom"] = {chance = 1050, corpse = "Gloom", health = 1400, maxhealth = 1400, level = 25}, ["Vileplume"] = {chance = 7012.5, corpse = "Vileplume", health = 3300, maxhealth = 3300, level = 55}, ["Horsea"] = {chance = 105, corpse = "Horsea", health = 300, maxhealth = 300, level = 10}, ["Seadra"] = {chance = 4000, corpse = "Seadra", health = 2500, maxhealth = 2500, level = 55}, ["Grimer"] = {chance = 605, corpse = "Grimer", health = 600, maxhealth = 600, level = 18}, ["Weedle"] = {chance = 20, corpse = "Weedle", health = 325, maxhealth = 325, level = 5}, ["Kakuna"] = {chance = 201.25, corpse = "Kakuna", health = 900, maxhealth = 900, level = 15}, ["Beedrill"] = {chance = 2012.5, corpse = "Beedrill", health = 1900, maxhealth = 1900, level = 35}, ["Muk"] = {chance = 1075, corpse = "Muk", health = 2400, maxhealth = 2400, level = 40}, ["Doduo"] = {chance = 701.25, corpse = "Doduo", health = 600, maxhealth = 600, level = 15}, ["Dodrio"] = {chance = 3000, corpse = "Dodrio", health = 2650, maxhealth = 2650, level = 55}, ["Magnemite"] = {chance = 605, corpse = "Magnemite", health = 450, maxhealth = 450, level = 20}, ["Magneton"] = {chance = 3000, corpse = "Magneton", health = 1750, maxhealth = 1750, level = 45}, ["Voltorb"] = {chance = 406.25, corpse = "Voltorb", health = 620, maxhealth = 620, level = 20}, ["Electrode"] = {chance = 2075, corpse = "Electrode", health = 2000, maxhealth = 2000, level = 45}, ["Geodude"] = {chance = 302.5, corpse = "Geodude", health = 700, maxhealth = 700, level = 20}, ["Graveler"] = {chance = 2012.5, corpse = "Graveler", health = 3000, maxhealth = 3000, level = 45}, ["Golem"] = {chance = 9000, corpse = "Golem", health = 6500, maxhealth = 6500, level = 75}, ["Sandshrew"] = {chance = 906.25, corpse = "Sandshrew", health = 700, maxhealth = 700, level = 25}, ["Sandslash"] = {chance = 7075, corpse = "Sandslash", health = 3400, maxhealth = 3400, level = 60}, ["Charmander"] = {chance = 2075, corpse = "Charmander", health = 970, maxhealth = 970, level = 25}, ["Charmeleon"] = {chance = 5087.5, corpse = "Charmeleon", health = 2900, maxhealth = 2900, level = 45}, ["Charizard"] = {chance = 9687.5, corpse = "Charizard", health = 5200, maxhealth = 5200, level = 90}, ["Vulpix"] = {chance = 950, corpse = "Vulpix", health = 680, maxhealth = 680, level = 20}, ["Ninetales"] = {chance = 9062.5, corpse = "Ninetales", health = 2650, maxhealth = 2650, level = 70}, ["Bulbasaur"] = {chance = 2705, corpse = "Bulbasaur", health = 1200, maxhealth = 1200, level = 25}, ["Ivysaur"] = {chance = 5870.5, corpse = "Ivysaur", health = 2600, maxhealth = 2600, level = 45}, ["Venusaur"] = {chance = 14087.5, corpse = "Venusaur", health = 5200, maxhealth = 5200, level = 90}, ["Squirtle"] = {chance = 2705, corpse = "Squirtle", health = 1350, maxhealth = 1350, level = 25}, ["Wartortle"] = {chance = 5807.5, corpse = "Wartortle", health = 2800, maxhealth = 2800, level = 45}, ["Blastoise"] = {chance = 14087.5, corpse = "Blastoise", health = 5900, maxhealth = 5900, level = 90}, ["Growlithe"] = {chance = 3037.5, corpse = "Growlithe", health = 1000, maxhealth = 1000, level = 25}, ["Arcanine"] = {chance = 9250, corpse = "Arcanine", health = 6800, maxhealth = 6800, level = 70}, ["Psyduck"] = {chance = 925, corpse = "Psyduck", health = 950, maxhealth = 950, level = 25}, ["Golduck"] = {chance = 9000, corpse = "Golduck", health = 4000, maxhealth = 4000, level = 55}, ["Pikachu"] = {chance = 4000, corpse = "Pikachu", health = 900, maxhealth = 900, level = 20}, ["Raichu"] = {chance = 9000, corpse = "Raichu", health = 3500, maxhealth = 3500, level = 55}, ["Ekans"] = {chance = 406,25, corpse = "Ekans", health = 600, maxhealth = 600, level = 15}, ["Arbok"] = {chance = 2012.5, corpse = "Arbok", health = 2900, maxhealth = 2900, level = 35}, ["Cubone"] = {chance = 925, corpse = "Cubone", health = 1200, maxhealth = 1200, level = 20}, ["Marowak"] = {chance = 5025, corpse = "Marowak", health = 3900, maxhealth = 3900, level = 45}, ["Caterpie"] = {chance = 20, corpse = "Caterpie", health = 300, maxhealth = 300, level = 1}, ["Metapod"] = {chance = 201.25, corpse = "Metapod", health = 1100, maxhealth = 1100, level = 10}, ["Butterfree"] = {chance = 2102.5, corpse = "Butterfree", health = 2000, maxhealth = 2000, level = 30}, ["Goldeen"] = {chance = 72.5, corpse = "Goldeen", health = 950, maxhealth = 950, level = 10}, ["Seaking"] = {chance = 2075, corpse = "Seaking", health = 2000, maxhealth = 2000, level = 25}, ["Spearow"] = {chance = 88.75, corpse = "Spearow", health = 200, maxhealth = 200, level = 5}, ["Fearow"] = {chance = 6050, corpse = "Fearow", health = 3300, maxhealth = 3300, level = 50}, ["Drowzee"] = {chance = 937.5, corpse = "Drowzee", health = 1150, maxhealth = 1150, level = 22}, ["Hypno"] = {chance = 9000, corpse = "Hypno", health = 4600, maxhealth = 4600, level = 50}, ["Diglett"] = {chance = 400, corpse = "Diglett", health = 900, maxhealth = 900, level = 15}, ["Dugtrio"] = {chance = 4000, corpse = "Dugtrio", health = 3450, maxhealth = 3450, level = 35}, ["Krabby"] = {chance = 86.875, corpse = "Krabby", health = 850, maxhealth = 850, level = 5}, ["Kingler"] = {chance = 3000, corpse = "Kingler", health = 3250, maxhealth = 3250, level = 35}, ["Paras"] = {chance = 40.25, corpse = "Paras", health = 850, maxhealth = 850, level = 1}, ["Parasect"] = {chance = 2012.5, corpse = "Parasect", health = 3800, maxhealth = 3800, level = 50}, ["Dratini"] = {chance = 3037.5, corpse = "Dratini", health = 520, maxhealth = 520, level = 10}, ["Dragonair"] = {chance = 9425, corpse = "Dragonair", health = 3000, maxhealth = 3000, level = 70}, ["Shiny Dragonair"] = {chance = 9425, corpse = "Shiny Dragonair", health = 3000, maxhealth = 3000, level = 70}, ["Dragonite"] = {chance = 35000, corpse = "Dragonite", health = 17000, maxhealth = 17000, level = 100}, ["Shiny Dragonite"] = {chance = 35000, corpse = "Shiny Dragonite", health = 17000, maxhealth = 17000, level = 100}, ["Ponyta"] = {chance = 906.25, corpse = "Ponyta", health = 1400, maxhealth = 1400, level = 20}, ["Rapidash"] = {chance = 4602.5, corpse = "Rapidash", health = 5500, maxhealth = 5500, level = 60}, ["Pinsir"] = {chance = 4000, corpse = "Pinsir", health = 55, maxhealth = 55, level = 42}, ["Seel"] = {chance = 1500, corpse = "Seel", health = 1000, maxhealth = 1000, level = 20}, ["Dewgong"] = {chance = 900, corpse = "Dewgong", health = 5200, maxhealth = 5200, level = 65}, ["Exeggcute"] = {chance = 300, corpse = "Exeggcute", health = 800, maxhealth = 800, level = 8}, ["Exeggutor"] = {chance = 7075, corpse = "Exeggutor", health = 450, maxhealth = 4000, level = 48}, ["Koffing"] = {chance = 502.5, corpse = "Koffing", health = 900, maxhealth = 900, level = 15}, ["Weezing"] = {chance = 1605, corpse = "Weezing", health = 2800, maxhealth = 2800, level = 30}, ["Staryu"] = {chance = 405, corpse = "Staryu", health = 1050, maxhealth = 1050, level = 15}, ["Starmie"] = {chance = 3000, corpse = "Starmie", health = 3800, maxhealth = 3800, level = 45}, ["Rhyhorn"] = {chance = 1007.5, corpse = "Rhyhorn", health = 3800, maxhealth = 3800, level = 35}, ["Rhydon"] = {chance = 5500, corpse = "Rhydon", health = 7000, maxhealth = 7000, level = 65}, ["Shellder"] = {chance = 505, corpse = "Shellder", health = 800, maxhealth = 800, level = 5}, ["Snorlax"] = {chance = 33705, corpse = "Snorlax", health = 9000, maxhealth = 9000, level = 85}, ["Shiny Snorlax"] = {chance = 33705, corpse = "Shiny Snorlax", health = 9000, maxhealth = 9000, level = 100}, ["Gyarados"] = {chance = 30000, corpse = "Gyarados", health = 7800, maxhealth = 7800, level = 75}, ["Machop"] = {chance = 906.25, corpse = "Machop", health = 1100, maxhealth = 1100, level = 18}, ["Machoke"] = {chance = 5205, corpse = "Machoke", health = 2850, maxhealth = 3500, level = 40}, ["Machamp"] = {chance = 11500, corpse = "Machamp", health = 6100, maxhealth = 7500, level = 65}, ["Clefairy"] = {chance = 1075, corpse = "Clefairy", health = 600, maxhealth = 600, level = 10}, ["Clefable"] = {chance = 5050, corpse = "Clefable", health = 2400, maxhealth = 2400, level = 35}, ["Jigglypuff"] = {chance = 987.5, corpse = "Jigglypuff", health = 550, maxhealth = 550, level = 10}, ["Wigglytuff"] = {chance = 5025, corpse = "Wigglytuff", health = 2900, maxhealth = 2900, level = 42}, ["Venonat"] = {chance = 925, corpse = "Venonat", health = 1350, maxhealth = 1350, level = 18}, ["Venomoth"] = {chance = 4000, corpse = "Venomoth", health = 3850, maxhealth = 3850, level = 50}, ["Meowth"] = {chance = 900, corpse = "Meowth", health = 2000, maxhealth = 950, level = 12}, ["Persian"] = {chance = 4000, corpse = "Persian", health = 2250, maxhealth = 2250, level = 25}, ["Mankey"] = {chance = 605, corpse = "Mankey", health = 1050, maxhealth = 1050, level = 10}, ["Primeape"] = {chance = 5205, corpse = "Primeape", health = 4500, maxhealth = 4500, level = 45}, ["Tentacool"] = {chance = 303.75, corpse = "Tentacool", health = 1050, maxhealth = 1050, level = 12}, ["Tentacruel"] = {chance = 6500, corpse = "Tentacruel", health = 7050, maxhealth = 7050, level = 70}, ["Slowpoke"] = {chance = 906.25, corpse = "Slowpoke", health = 1200, maxhealth = 1200, level = 12}, ["Slowbro"] = {chance = 7102.5, corpse = "Slowbro", health = 4600, maxhealth = 4600, level = 45}, ["Cloyster"] = {chance = 5807.5, corpse = "Cloyster", health = 120, maxhealth = 5000, level = 65}, ["Gastly"] = {chance = 3307.5, corpse = "Gastly", health = 1000, maxhealth = 1000, level = 18}, ["Haunter"] = {chance = 7705, corpse = "Haunter", health = 3000, maxhealth = 3000, level = 45}, ["Gengar"] = {chance = 39075, corpse = "Gengar", health = 7000, maxhealth = 7000, level = 80}, ["Onix"] = {chance = 4000, corpse = "Onix", health = 5300, maxhealth = 5300, level = 50}, ["Hitmonlee"] = {chance = 6500, corpse = "Hitmonlee", health = 9250, maxhealth = 9250, level = 60}, ["Hitmonchan"] = {chance = 6500, corpse = "Hitmonchan", health = 10500, maxhealth = 10500, level = 60}, ["Lickitung"] = {chance = 9875, corpse = "Lickitung", health = 4800, maxhealth = 4800, level = 45}, ["Chansey"] = {chance = 40000, corpse = "Chansey", health = 7500, maxhealth = 7500, level = 60}, ["Tangela"] = {chance = 4000, corpse = "Tangela", health = 3500, maxhealth = 3500, level = 40}, ["Kangaskhan"] = {chance = 4000, corpse = "Kangaskhan", health = 7000, maxhealth = 7000, level = 60}, ["Scyther"] = {chance = 14075, corpse = "Scyther", health = 6500, maxhealth = 6500, level = 70}, ["Electabuzz"] = {chance = 14075, corpse = "Electabuzz", health = 6800, maxhealth = 6800, level = 70}, ["Magmar"] = {chance = 14075, corpse = "Magmar", health = 7200, maxhealth = 7200, level = 70}, ["Jynx"] = {chance = 10000, corpse = "Jynx", health = 7000, maxhealth = 7000, level = 65}, ["Nidoran Male"] = {chance = 500, corpse = "Nidoran Male", health = 650, maxhealth = 650, level = 10}, ["Nidoran Female"] = {chance = 500, corpse = "Nidoran Female", health = 600, maxhealth = 600, level = 10}, ["Nidoking"] = {chance = 5000, corpse = "Nidoking", health = 4800, maxhealth = 4800, level = 65}, ["Shiny Nidoking"] = {chance = 5000, corpse = "Shiny Nidoking", health = 4800, maxhealth = 4800, level = 80}, ["Nidoqueen"] = {chance = 5000, corpse = "Nidoqueen", health = 4200, maxhealth = 4200, level = 65}, ["Nidorina"] = {chance = 2500, corpse = "Nidorina", health = 2000, maxhealth = 2000, level = 25}, ["Nidorino"] = {chance = 2500, corpse = "Nidorino", health = 2500, maxhealth = 2500, level = 25}, ["Farfetchd"] = {chance = 5205, corpse = "Farfetchd", health = 2500, maxhealth = 2500, level = 40}, ["MrMime"] = {chance = 8307.5, corpse = "MrMime", health = 5500, maxhealth = 5500, level = 60}, ["Tauros"] = {chance = 2102.5, corpse = "Tauros", health = 4200, maxhealth = 4200, level = 40}, ["Lapras"] = {chance = 58075, corpse = "Lapras", health = 8000, maxhealth = 8000, level = 70}, ["Omanyte"] = {chance = 9025, corpse = "Omanyte", health = 1300, maxhealth = 1300, level = 20}, ["Omastar"] = {chance = 30125, corpse = "Omastar", health = 6000, maxhealth = 6000, level = 70}, ["Kabuto"] = {chance = 11025, corpse = "Kabuto", health = 1375, maxhealth = 1375, level = 20}, ["Kabutops"] = {chance = 31205, corpse = "Kabutops", health = 6920, maxhealth = 6920, level = 70}, ["Aerodactyl"] = {chance = 122050, corpse = "Aerodactyl", health = 7100, maxhealth = 7100, level = 100}, ["Shiny Aerodactyl"] = {chance = 122050, corpse = "Shiny Aerodactyl", health = 7100, maxhealth = 7100, level = 120}, ["Articuno"] = {chance = 5000, corpse = "Articuno", health = 12000, maxhealth = 12000, level = 120}, ["Zapdos"] = {chance = 5000, corpse = "Zapdos", health = 11000, maxhealth = 11000, level = 120}, ["Moltres"] = {chance = 5000, corpse = "Moltres", health = 11000, maxhealth = 11000, level = 120}, ["Mewtwo"] = {chance = 10000, corpse = "Mewtwo", health = 8500, maxhealth = 8500, level = 140}, ["Mew"] = {chance = 10000, corpse = "Mew", health = 7200, maxhealth = 7200, level = 140}, ------------------------Shiny----------------------- ["Shiny Charizard"] = {chance = 8000, corpse = 2954, health = 7200, maxhealth = 7200, level = 100}, ["Shiny Magikarp"] = {chance = 1000, corpse = 105, health = 920, maxhealth = 920, level = 100}, ["Shiny Rattata"] = {chance = 1000, corpse = 110, health = 900, maxhealth = 900, level = 100}, ["Shiny Paras"] = {chance = 1500, corpse = 116, health = 1400, maxhealth = 1400, level = 100}, ["Shiny Oddish"] = {chance = 1500, corpse = 115, health = 990, maxhealth = 990, level = 100}, ["Shiny Zubat"] = {chance = 1500, corpse = 114, level = 100}, ["Shiny Tentacool"] = {chance = 2000, corpse = 122, health = 0, maxhealth = 0, level = 100}, ["Shiny Tentacruel"] = {chance = 7500, corpse = 128, health = 0, maxhealth = 0, level = 100}, ["Shiny Raticate"] = {chance = 2000, corpse = 136, health = 0, maxhealth = 0, level = 100}, ["Shiny Krabby"] = {chance = 1800, corpse = 126, health = 0, maxhealth = 0, level = 100}, ["Shiny Kingler"] = {chance = 3000, corpse = 138, health = 0, maxhealth = 0, level = 100}, ["Shiny Horsea"] = {chance = 1800, corpse = 139, health = 4080, maxhealth = 4080, level = 100}, ["Shiny Seadra"] = {chance = 3000, corpse = 131, health = 0, maxhealth = 0, level = 100}, ["Shiny Gyarados"] = {chance = 9000, corpse = 144, health = 18000, maxhealth = 18000, level = 100}, ["Shiny Parasect"] = {chance = 4000, corpse = 127, health = 0, maxhealth = 0, level = 100}, ["Shiny Scyther"] = {chance = 9000, corpse = 142, health = 0, maxhealth = 0, level = 100}, ["Shiny Electabuzz"] = {chance = 9000, corpse = 143, health = 0, maxhealth = 0, level = 100}, ["Shiny Jynx"] = {chance = 9000, corpse = 129, health = 0, maxhealth = 0, level = 100}, ["Shiny Electrode"] = {chance = 5000, corpse = 124, health = 0, maxhealth = 0, level = 100}, ["Shiny Voltorb"] = {chance = 1800, corpse = 125, health = 0, maxhealth = 0, level = 100}, ["Shiny Raichu"] = {chance = 5000, corpse = 140, health = 0, maxhealth = 0, level = 100}, ["Shiny Venonat"] = {chance = 2000, corpse = 130, health = 0, maxhealth = 0, level = 100}, ["Shiny Venomoth"] = {chance = 4500, corpse = 132, health = 0, maxhealth = 0, level = 100}, ["Shiny Beedril"] = {chance = 3000, corpse = 137, health = 0, maxhealth = 0, level = 100}, ["Shiny Butterfree"] = {chance = 3000, corpse = 133, health = 0, maxhealth = 0, level = 100}, ["Shiny Venusaur"] = {chance = 9000, corpse = 135, health = 10200, maxhealth = 10200, level = 100}, ["Shiny Blastoise"] = {chance = 9000, corpse = 134, health = 0, maxhealth = 0, level = 100}, ["Shiny Farfetchd"] = {chance = 4000, corpse = 119, health = 0, maxhealth = 0, level = 100}, ["Shiny Grimer"] = {chance = 1800, corpse = 123, health = 0, maxhealth = 0, level = 100}, ["Shiny Muk"] = {chance = 4000, corpse = 121, health = 0, maxhealth = 0, level = 100}, ["Shiny Growlithe"] = {chance = 2500, corpse = 117, health = 0, maxhealth = 0, level = 100}, ["Shiny Arcanine"] = {chance = 9000, corpse = 120, health = 0, maxhealth = 17000, level = 100}, ["Shiny Dratini"] = {chance = 4000, corpse = 118, health = 0, maxhealth = 0, level = 100}, ["Shiny Abra"] = {chance = 5000, corpse = 141, health = 0, maxhealth = 3620, level = 100}, ["Shiny Golem"] = {chance = 5000, corpse = 2995, health = 0, maxhealth = 3620, level = 100}, -----------------------------------Johto------------------------------ ["Aipom"] = {chance = 910, corpse = 11391, health = 3000, maxhealth = 3000, level = 30}, ["Ampharos"] = {chance = 14100, corpse = 11393, health = 3000, maxhealth = 3000, level = 30}, ["Ariados"] = {chance = 2200, corpse = 11394, health = 3000, maxhealth = 3000, level = 30}, ["Azumarill"] = {chance = 3000, corpse = 11395, health = 3000, maxhealth = 3000, level = 30}, ["Bayleef"] = {chance = 5900, corpse = 11396, health = 3000, maxhealth = 3000, level = 30}, ["Bellossom"] = {chance = 7100, corpse = 11397, health = 3000, maxhealth = 3000, level = 30}, ["Blissey"] = {chance = 14100, corpse = 11398, health = 3000, maxhealth = 3000, level = 30}, ["Celebi"] = {chance = 10000, corpse = 11399, health = 3000, maxhealth = 3000, level = 30}, ["Chikorita"] = {chance = 2800, corpse = 11400, health = 3000, maxhealth = 3000, level = 30}, ["Chinchou"] = {chance = 3000, corpse = 11401, health = 3000, maxhealth = 3000, level = 30}, ["Cleffa"] = {chance = 2000, corpse = 11402, health = 3000, maxhealth = 3000, level = 30}, ["Corsola"] = {chance = 5900, corpse = 11403, health = 3000, maxhealth = 3000, level = 30}, ["Crobat"] = {chance = 9000, corpse = 11404, health = 5500, maxhealth = 5500, level = 30}, ["Croconaw"] = {chance = 5900, corpse = 11405, health = 3000, maxhealth = 3000, level = 30}, ["Cyndaquil"] = {chance = 2100, corpse = 11406, health = 3000, maxhealth = 3000, level = 30}, ["Delibird"] = {chance = 6000, corpse = 11407, health = 3000, maxhealth = 3000, level = 30}, ["Donphan"] = {chance = 4500, corpse = 11408, health = 3000, maxhealth = 3000, level = 30}, ["Dunsparce"] = {chance = 210, corpse = 11409, health = 3000, maxhealth = 3000, level = 30}, ["Elekid"] = {chance = 4000, corpse = 11410, health = 3000, maxhealth = 3000, level = 30}, ["Entei"] = {chance = 10000, corpse = 11411, health = 3000, maxhealth = 3000, level = 30}, ["Espeon"] = {chance = 5000, corpse = 11412, health = 3000, maxhealth = 3000, level = 30}, ["Feraligatr"] = {chance = 14100, corpse = 11413, health = 3000, maxhealth = 3000, level = 30}, ["Flaaffy"] = {chance = 5800, corpse = 11414, health = 3000, maxhealth = 3000, level = 30}, ["Forretress"] = {chance = 500, corpse = 11415, health = 3000, maxhealth = 3000, level = 30}, ["Furret"] = {chance = 5100, corpse = 11416, health = 3000, maxhealth = 3000, level = 30}, ["Gallade"] = {chance = 6000, corpse = 11630, health = 3000, maxhealth = 3000, level = 30}, ["Girafarig"] = {chance = 6000, corpse = 11417, health = 3000, maxhealth = 3000, level = 30}, ["Gligar"] = {chance = 1100, corpse = 11418, health = 3000, maxhealth = 3000, level = 30}, ["Granbull"] = {chance = 4000, corpse = 11419, health = 3000, maxhealth = 3000, level = 30}, ["Heracross"] = {chance = 4000, corpse = 11420, health = 3000, maxhealth = 3000, level = 30}, ["Hitmontop"] = {chance = 6500, corpse = 11421, health = 3000, maxhealth = 3000, level = 30}, ["Ho oh"] = {chance = 10000, corpse = 11422, health = 3000, maxhealth = 3000, level = 30}, ["Hoothoot"] = {chance = 1500, corpse = 11423, health = 3000, maxhealth = 3000, level = 30}, ["Hoppip"] = {chance = 200, corpse = 11424, health = 3000, maxhealth = 3000, level = 30}, ["Houndoom"] = {chance = 9200, corpse = 11425, health = 3000, maxhealth = 3000, level = 30}, ["Houndor"] = {chance = 3100, corpse = 11426, health = 3000, maxhealth = 3000, level = 30}, ["Igglybuff"] = {chance = 1800, corpse = 11427, health = 3000, maxhealth = 3000, level = 30}, ["Jumpluff"] = {chance = 7200, corpse = 11428, health = 3000, maxhealth = 3000, level = 30}, ["Kingdra"] = {chance = 8500, corpse = 11429, health = 3000, maxhealth = 3000, level = 30}, ["Lanturn"] = {chance = 4200, corpse = 11430, health = 3000, maxhealth = 3000, level = 30}, ["Larvitar"] = {chance = 4500, corpse = 11431, health = 3000, maxhealth = 3000, level = 30}, ["Ledian"] = {chance = 2200, corpse = 11432, health = 3000, maxhealth = 3000, level = 30}, ["Ledyba"] = {chance = 1000, corpse = 11433, health = 3000, maxhealth = 3000, level = 30}, ["Lugia"] = {chance = 10000, corpse = 11434, health = 3000, maxhealth = 3000, level = 30}, ["Magby"] = {chance = 4000, corpse = 11435, health = 3000, maxhealth = 3000, level = 30}, ["Magcarbo"] = {chance = 4500, corpse = 11436, health = 3000, maxhealth = 3000, level = 30}, ["Mantine"] = {chance = 4200, corpse = 11437, health = 3000, maxhealth = 3000, level = 30}, ["Mareep"] = {chance = 2100, corpse = 11438, health = 3000, maxhealth = 3000, level = 30}, ["Marill"] = {chance = 2100, corpse = 11439, health = 3000, maxhealth = 3000, level = 30}, ["Meganium"] = {chance = 14100, corpse = 11440, health = 3000, maxhealth = 3000, level = 30}, ["Miltank"] = {chance = 5000, corpse = 11441, health = 3000, maxhealth = 3000, level = 30}, ["Misdreavus"] = {chance = 7800, corpse = 11442, health = 3000, maxhealth = 3000, level = 30}, ["Murkrow"] = {chance = 5000, corpse = 11443, health = 3000, maxhealth = 3000, level = 30}, ["Natu"] = {chance = 3000, corpse = 11444, health = 3000, maxhealth = 3000, level = 30}, ["Noctowl"] = {chance = 6100, corpse = 11445, health = 3000, maxhealth = 3000, level = 30}, ["Octillery"] = {chance = 5000, corpse = 11446, health = 3000, maxhealth = 3000, level = 30}, ["Phanpy"] = {chance = 2100, corpse = 11447, health = 3000, maxhealth = 3000, level = 30}, ["Pichu"] = {chance = 4000, corpse = 11448, health = 3000, maxhealth = 3000, level = 30}, ["Piloswine"] = {chance = 5000, corpse = 11449, health = 3000, maxhealth = 3000, level = 30}, ["Pineco"] = {chance = 1800, corpse = 11450, health = 3000, maxhealth = 3000, level = 30}, ["Politoed"] = {chance = 5000, corpse = 11451, health = 3000, maxhealth = 3000, level = 30}, ["Porygon2"] = {chance = 9000, corpse = 11452, health = 3000, maxhealth = 3000, level = 30}, ["Pupitar"] = {chance = 7000, corpse = 11453, health = 3000, maxhealth = 3000, level = 30}, ["Quaqsire"] = {chance = 5000, corpse = 11454, health = 3000, maxhealth = 3000, level = 30}, ["Quilava"] = {chance = 5900, corpse = 11455, health = 3000, maxhealth = 3000, level = 30}, ["Qwilfish"] = {chance = 4000, corpse = 11456, health = 3000, maxhealth = 3000, level = 30}, ["Raikou"] = {chance = 10000, corpse = 11457, health = 3000, maxhealth = 3000, level = 30}, ["Remoraid"] = {chance = 3000, corpse = 11458, health = 3000, maxhealth = 3000, level = 30}, ["Scizor"] = {chance = 9500, corpse = 11459, health = 3000, maxhealth = 3000, level = 30}, ["Shuckle"] = {chance = 4500, corpse = 11460, health = 3000, maxhealth = 3000, level = 30}, ["Skarmory"] = {chance = 4500, corpse = 11462, health = 3000, maxhealth = 3000, level = 30}, ["Skiploom"] = {chance = 3400, corpse = 11463, health = 3000, maxhealth = 3000, level = 30}, ["Slowking"] = {chance = 4400, corpse = 11464, health = 3000, maxhealth = 3000, level = 30}, ["Slugma"] = {chance = 2100, corpse = 11465, health = 3000, maxhealth = 3000, level = 30}, ["Smeargle"] = {chance = 3200, corpse = 11466, health = 3000, maxhealth = 3000, level = 30}, ["Smoochum"] = {chance = 4000, corpse = 11467, health = 3000, maxhealth = 3000, level = 30}, ["Sneasel"] = {chance = 4600, corpse = 11468, health = 3000, maxhealth = 3000, level = 30}, ["Sentret"] = {chance = 1500, corpse = 11461, health = 3000, maxhealth = 3000, level = 30}, ["Snubbull"] = {chance = 1500, corpse = 11469, health = 3000, maxhealth = 3000, level = 30}, ["Spinarak"] = {chance = 800, corpse = 11470, health = 3000, maxhealth = 3000, level = 30}, ["Stantler"] = {chance = 3500, corpse = 11471, health = 3000, maxhealth = 3000, level = 30}, ["Steelix"] = {chance = 8500, corpse = 11472, health = 3000, maxhealth = 3000, level = 30}, ["Sudowoodo"] = {chance = 7500, corpse = 11473, health = 3000, maxhealth = 3000, level = 30}, ["Suicune"] = {chance = 10000, corpse = 11474, health = 3000, maxhealth = 3000, level = 30}, ["Sunflora"] = {chance = 4200, corpse = 11475, health = 3000, maxhealth = 3000, level = 30}, ["Sunkern"] = {chance = 1000, corpse = 11476, health = 3000, maxhealth = 3000, level = 30}, ["Swinub"] = {chance = 2100, corpse = 11477, health = 3000, maxhealth = 3000, level = 30}, ["Teddiursa"] = {chance = 2100, corpse = 11478, health = 3000, maxhealth = 3000, level = 30}, ["Togepi"] = {chance = 5500, corpse = 11479, health = 3000, maxhealth = 3000, level = 30}, ["Togetic"] = {chance = 9500, corpse = 11480, health = 3000, maxhealth = 3000, level = 30}, ["Totodile"] = {chance = 2100, corpse = 11481, health = 3000, maxhealth = 3000, level = 30}, ["Typhlosion"] = {chance = 14100, corpse = 11482, health = 3000, maxhealth = 3000, level = 30}, ["Tyranitar"] = {chance = 10000, corpse = 11483, health = 3000, maxhealth = 3000, level = 30}, ["Tyrogue"] = {chance = 4000, corpse = 11484, health = 3000, maxhealth = 3000, level = 30}, ["Umbreon"] = {chance = 5000, corpse = 11485, health = 3000, maxhealth = 3000, level = 30}, ["Unown a"] = {chance = 5000, corpse = 11486, health = 3000, maxhealth = 3000, level = 30}, ["Unown b"] = {chance = 5000, corpse = 11487, health = 3000, maxhealth = 3000, level = 30}, ["Unown c"] = {chance = 5000, corpse = 11488, health = 3000, maxhealth = 3000, level = 30}, ["Unown d"] = {chance = 5000, corpse = 11489, health = 3000, maxhealth = 3000, level = 30}, ["Unown e"] = {chance = 5000, corpse = 11490, health = 3000, maxhealth = 3000, level = 30}, ["Unown f"] = {chance = 5000, corpse = 11491, health = 3000, maxhealth = 3000, level = 30}, ["Unown g"] = {chance = 5000, corpse = 11492, health = 3000, maxhealth = 3000, level = 30}, ["Unown h"] = {chance = 5000, corpse = 11493, health = 3000, maxhealth = 3000, level = 30}, ["Unown i"] = {chance = 5000, corpse = 11494, health = 3000, maxhealth = 3000, level = 30}, ["Unown j"] = {chance = 5000, corpse = 11495, health = 3000, maxhealth = 3000, level = 30}, ["Unown k"] = {chance = 5000, corpse = 11496, health = 3000, maxhealth = 3000, level = 30}, ["Unown l"] = {chance = 5000, corpse = 11497, health = 3000, maxhealth = 3000, level = 30}, ["Unown m"] = {chance = 5000, corpse = 11498, health = 3000, maxhealth = 3000, level = 30}, ["Unown n"] = {chance = 5000, corpse = 11499, health = 3000, maxhealth = 3000, level = 30}, ["Unown o"] = {chance = 5000, corpse = 11500, health = 3000, maxhealth = 3000, level = 30}, ["Unown p"] = {chance = 5000, corpse = 11501, health = 3000, maxhealth = 3000, level = 30}, ["Unown q"] = {chance = 5000, corpse = 11502, health = 3000, maxhealth = 3000, level = 30}, ["Unown r"] = {chance = 5000, corpse = 11503, health = 3000, maxhealth = 3000, level = 30}, ["Unown s"] = {chance = 5000, corpse = 11504, health = 3000, maxhealth = 3000, level = 30}, ["Unown t"] = {chance = 5000, corpse = 11505, health = 3000, maxhealth = 3000, level = 30}, ["Unown u"] = {chance = 5000, corpse = 11506, health = 3000, maxhealth = 3000, level = 30}, ["Unown v"] = {chance = 5000, corpse = 11507, health = 3000, maxhealth = 3000, level = 30}, ["Unown w"] = {chance = 5000, corpse = 11508, health = 3000, maxhealth = 3000, level = 30}, ["Unown x"] = {chance = 5000, corpse = 11509, health = 3000, maxhealth = 3000, level = 30}, ["Unown y"] = {chance = 5000, corpse = 11510, health = 3000, maxhealth = 3000, level = 30}, ["Ursaring"] = {chance = 8000, corpse = 11512, health = 3000, maxhealth = 3000, level = 30}, ["Wobbuffet"] = {chance = 5000, corpse = 11513, health = 3000, maxhealth = 3000, level = 30}, ["Wooper"] = {chance = 2100, corpse = 11514, health = 3000, maxhealth = 3000, level = 30}, ["Xatu"] = {chance = 4000, corpse = 11515, health = 3000, maxhealth = 3000, level = 30}, ["Yanma"] = {chance = 5000, corpse = 11516, health = 3000, maxhealth = 3000, level = 30}, ["Giratina"] = {chance = 20000, corpse = 11633, health = 15000, maxhealth = 15000, level = 30}, ["Palkia"] = {chance = 20000, corpse = 11635, health = 15000, maxhealth = 15000, level = 30}, ["Rayquaza"] = {chance = 20000, corpse = 11637, health = 15000, maxhealth = 15000, level = 30}, ["Primal Dialga"] = {chance = 22000, corpse = 11638, health = 15000, maxhealth = 15000, level = 30}, ["Dialga"] = {chance = 20000, corpse = 11640, health = 15000, maxhealth = 15000, level = 30}, } local description = "Contém um %pokename." function onUse(cid, item, frompos, item2, topos) if not isCreature(item2.uid) then return doPlayerSendCancel(cid, "Voce so pode usar pokebolas em pokemons!") end if isPlayer(getCreatureMaster(item2.uid)) then return doPlayerSendCancel(cid, "Voce so pode usar em pokemon selvagem!") end local name = getCreatureName(item2.uid) if name == "Nidoran" then if getCreatureSkullType(item2.uid) == 4 then name = "Nidoran Male" else name = "Nidoran Female" end end if item.itemid == 2147 then -- POKEBALL catchrate = 50 oncatch = 24 onfail = 23 bolabola = 2222 elseif item.itemid == 2642 then -- GREATBALL catchrate = 100 oncatch = 198 onfail = 197 bolabola = 2651 elseif item.itemid == 2645 then -- SUPERBALL catchrate = 200 oncatch = 202 onfail = 201 bolabola = 2653 elseif item.itemid == 2146 then -- ULTRABALL catchrate = 800 oncatch = 200 onfail = 199 bolabola = 2220 elseif item.itemid == 0 then -- MasterBALL catchrate = 1600 oncatch = 0 onfail = 0 bolabola = 0 elseif item.itemid == 2644 then -- EXBALL(Saffari) catchrate = 3000 oncatch = 204 onfail = 203 bolabola = 2655 end local rate = (catchrate) local catch = oncatch local fail = onfail local newid = bolabola for i,x in pairs(pokes) do if table.find(x, name) then if name == pokes[i].corpse then doRemoveItem(item.uid, 1) local pegar = math.random(1, x.chance) local maxhp = getCreatureMaxHealth(item2.uid) local hp = getCreatureHealth(item2.uid) if maxhp == hp then pegar = pegar + 2000 else pegar = pegar+(hp/10) end corpse = getTopCorpse(topos).uid if pegar <= 1*(rate) then rando = getCreatureSkullType(item2.uid) doRemoveItem(corpse, 1) doSendMagicEffect(topos, catch) local nas = { ["%%pokename"] = i } for i,x in pairs(nas) do if description:find(i) then description = description:gsub(i, x) end end local function capturou(params) if not isCreature(params.cid) then return true end if getPlayerFreeCap(cid) <= 0.99 then doPlayerAddSoul(cid, 1) item = doCreateItemEx(newid-1) doItemSetAttribute(item, "poke", params.poke) doItemSetAttribute(item, "nome", params.nome) randomlv = math.random((x.level-5),(x.level+2)) if randomlv <= 0 then randomlv = 1 end nextlv = (100*(1.2^(randomlv)))+(100*(randomlv)) randomlvs = tostring(randomlv) nextlvs = tostring(nextlv) expss = 0 doItemSetAttribute(item, "description", params.description.." ["..randomlvs.."]") doItemSetAttribute(item, "level", randomlvs) doItemSetAttribute(item, "exp", expss) doItemSetAttribute(item, "nextlevelexp", nextlvs) doItemSetAttribute(item, "fome", "100") doItemSetAttribute(item, "feliz", "100") doItemSetAttribute(item, "sexo", rando) doPlayerSendMailByName(getCreatureName(params.cid), item, 1) doPlayerSendTextMessage(cid, 27, "Congratulations, you caught a "..i.."!") doPlayerSendTextMessage(cid, 27, "Since you are already holding six pokemons, this pokeball has been sent to your depot.") else item = doCreateItemEx(params.ball) doPlayerAddSoul(cid, 1) doItemSetAttribute(item, "poke", params.poke) doItemSetAttribute(item, "nome", params.nome) randomlv = math.random((x.level-5),(x.level+2)) if randomlv <= 0 then randomlv = 1 end nextlv = (100*(1.2^(randomlv)))+(100*(randomlv)) randomlvs = tostring(randomlv) nextlvs = tostring(nextlv) expss = 0 doItemSetAttribute(item, "description", params.description.." ["..randomlvs.."]") doItemSetAttribute(item, "level", randomlvs) doItemSetAttribute(item, "exp", expss) doItemSetAttribute(item, "nextlevelexp", nextlvs) doItemSetAttribute(item, "fome", "100") doItemSetAttribute(item, "feliz", "100") doItemSetAttribute(item, "sexo", rando) doPlayerAddItemEx(params.cid, item, true) doTransformItem(item, newid) doPlayerSendTextMessage(cid, 27, "Congratulations, you caught a "..i.."!") end if #getCreatureSummons(cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 178) else doSendMagicEffect(getThingPos(cid), 178) end end local description = "Contains a "..i.."." local poke1 = "This is "..i.."'s pokeball. HP = ["..x.health.."/"..x.maxhealth.."]" addEvent(capturou, 4000, {cid = cid, poke = poke1, nome = i, description = description, ball = 2219, letter = 2597}) return true else function ruim(params) if not isCreature(params.cid) then return true end doRemoveItem(corpse, 1) doPlayerSendTextMessage(params.cid, 27, "Sorry, you didn\'t catch that pokemon.") if #getCreatureSummons(params.cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(params.cid)[1]), 166) else doSendMagicEffect(getThingPos(params.cid), 166) end end addEvent(ruim, 4000, {cid = cid}) doSendMagicEffect(topos, fail) return true end end end end return TRUE end Altere na lista dos pokemons aonde esta ex: corpse = "Rattata" para corpse = id do corpse do rattata (sem as aspas). ["Rattata"] = {chance = 50, corpse = XXXX, health = 350, maxhealth = 350, level = 1},
  10. (Resolvido)[AJUDA] Alterar Catch System

    Sabrina10 reagiu a MatteusDeli por uma resposta no tópico

    1 ponto
    @betofss Boa Tarde, os pokemons shinys e johtos estão sendo capturados normalmente (do jeito que você quer)?
  11. Map Tracker 8.60 [Inglês]

    joaopedrodepaiva reagiu a Werner por uma resposta no tópico

    1 ponto
    Eae galera, trago um utilitário que já foi muito pedido aqui no TK. Sim se trata de um Map Tracker para 8.60. Encontrar um Map Tracker 8.6 funcional atualmente é muito complicado, pois o mesmo surgiu de um projeto que foi cancelado a tempos. Fucei muito aqui no tk, porém nunca encontrei um que realmente funcionasse, ou que não pedisse um cadastro (impossível de ser feito) levando em conta também que a grande maioria estão em idiomas muito complicados de entender (trudno nie). Desenterrei este Map Tracker do local mais profundo do meu computador e estou disponibilizando aqui na intenção de ajudar aqueles que não tem tempo, não conseguem ou não querem mappear rsrs. Sem mais delongas, vamos ao arquivo: Download Map Tracker Scan Map Tracker 8.60
  12. Sword batendo por level

    Balkalima reagiu a poko360 por uma resposta no tópico

    1 ponto
    po meu patrão, os cara so manda script dificil toma ai meu xuxu, facinho facinho *em distance é o skill que voce quer botar (distance significa as skills axe,club,sword e bow) (NAO USE PRA STAFF) *0.0023*2 <<< esse numero é um calculo que fiz, calculando skill vezes level vezes dano ( que é 0.0023*2) , vc pode mudar a seu gosto qualquer duvida so perguntar
  13. Retirando Bug Do Rme 8.60

    yamislayer reagiu a Wakon por uma resposta no tópico

    1 ponto
    @Dornellas, não lembro se baixei esse cliente no site do RME mas ele funciona perfeitamente aqui, testa ai: https://www.mediafire.com/?lvz8c12b8e0y09k
  14. [PEDIDO]Como dexar a spell balanceada

    klessioooo reagiu a DukeeH por uma resposta no tópico

    1 ponto
    Concordo que as funções padrão são bem ruins de entender/balancear. Usar callbacks fica bem mais simples... Um exemplo: function onGetFormulaValues(cid, level, maglevel) local levelTotal = level / 5 local min = levelTotal + (maglevel * 8) + 50 local max = levelTotal + (maglevel * 12) + 75 return -min, -max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") Você consegue saber exatamente o dano minimo e maximo, apenas fazendo a conta ali que está clara.
  15. <wand id="7410" level="3500" mana="15" type="holy" event="script" value="wand3.lua"> <!-- Vip Wand 3 --> <vocation id="2"/> <vocation id="1"/> </wand> local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 0) setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 0) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY) function onGetFormulaValues(cid, level, maglevel) min = -(maglevel*20) max = -(maglevel*20) return min, max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") function onUseWeapon(cid, var) local ret = doCombat(cid, combat, var) if(ret == LUA_ERROR) then return LUA_ERROR end return true end
Líderes está configurado para São Paulo/GMT-03:00

Informação Importante

Confirmação de Termo