Repository: dphuang2/PoGoBag Branch: master Commit: 417a25ed9666 Files: 173 Total size: 474.8 KB Directory structure: gitextract_cd63jhfe/ ├── .gitignore ├── Capfile ├── Dockerfile ├── GET_INVENTORY ├── Gemfile ├── README.md ├── Rakefile ├── app/ │ ├── assets/ │ │ ├── config/ │ │ │ └── manifest.js │ │ ├── images/ │ │ │ └── .keep │ │ ├── javascripts/ │ │ │ ├── application.js │ │ │ ├── cable.js │ │ │ ├── channels/ │ │ │ │ └── .keep │ │ │ ├── copy_clipboard.coffee │ │ │ ├── level_calc.coffee │ │ │ └── users.coffee.erb │ │ ├── pokemon.en.json │ │ └── stylesheets/ │ │ ├── application.css.scss │ │ ├── pokemon.scss │ │ ├── sessions.scss │ │ ├── sidebar.scss │ │ ├── static_pages.scss │ │ ├── stats.scss │ │ └── users.scss │ ├── channels/ │ │ └── application_cable/ │ │ ├── channel.rb │ │ └── connection.rb │ ├── controllers/ │ │ ├── application_controller.rb │ │ ├── concerns/ │ │ │ └── .keep │ │ ├── sessions_controller.rb │ │ ├── static_pages_controller.rb │ │ ├── stats_controller.rb │ │ └── users_controller.rb │ ├── helpers/ │ │ ├── application_helper.rb │ │ ├── sessions_helper.rb │ │ ├── static_pages_helper.rb │ │ ├── stats_helper.rb │ │ └── users_helper.rb │ ├── jobs/ │ │ └── application_job.rb │ ├── mailers/ │ │ └── application_mailer.rb │ ├── models/ │ │ ├── application_record.rb │ │ ├── concerns/ │ │ │ └── .keep │ │ ├── item.rb │ │ ├── pokemon.rb │ │ └── user.rb │ └── views/ │ ├── items/ │ │ └── _item.html.erb │ ├── layouts/ │ │ ├── _header.html.erb │ │ ├── _sidebar.html.erb │ │ ├── application.html.erb │ │ ├── mailer.html.erb │ │ └── mailer.text.erb │ ├── pokemons/ │ │ └── _pokemon.html.erb │ ├── sessions/ │ │ └── _login.html.erb │ ├── static_pages/ │ │ ├── _donate.html.erb │ │ ├── _donate_small.html.erb │ │ ├── about.html.erb │ │ └── home.html.erb │ ├── stats/ │ │ ├── _pokemon_row.html.erb │ │ ├── _table.html.erb │ │ ├── show.html.erb │ │ └── show.js.erb │ └── users/ │ ├── _pokemon_list.html.erb │ ├── _user.html.erb │ ├── index.html.erb │ ├── show.html.erb │ └── show.js.erb ├── bin/ │ ├── bundle │ ├── bundler │ ├── byebug │ ├── cap │ ├── capify │ ├── erubis │ ├── geocode │ ├── httparty │ ├── httpclient │ ├── listen │ ├── nokogiri │ ├── puma │ ├── pumactl │ ├── rackup │ ├── rails │ ├── rake │ ├── restclient │ ├── sass │ ├── sass-convert │ ├── scss │ ├── setup │ ├── spring │ ├── sprockets │ ├── thor │ ├── tilt │ ├── update │ ├── whenever │ └── wheneverize ├── config/ │ ├── application.rb │ ├── boot.rb │ ├── cable.yml │ ├── database.yml │ ├── database.yml.example │ ├── deploy/ │ │ └── production.rb │ ├── deploy.rb │ ├── environment.rb │ ├── environments/ │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers/ │ │ ├── application_controller_renderer.rb │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── new_framework_defaults.rb │ │ ├── poke_api.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales/ │ │ └── en.yml │ ├── puma.rb │ ├── routes.rb │ ├── schedule.rb │ ├── secrets.yml │ ├── secrets.yml.example │ └── spring.rb ├── config.ru ├── db/ │ ├── migrate/ │ │ ├── 20160727233457_create_users.rb │ │ ├── 20160727234844_create_items.rb │ │ ├── 20160728032754_create_pokemons.rb │ │ ├── 20160802201113_add_oauth_to_users.rb │ │ ├── 20160803064943_add_poke_num_to_pokemons.rb │ │ ├── 20160803184514_change_column_name.rb │ │ ├── 20160804002306_remove_o_auth_columns_from_user.rb │ │ ├── 20160804042930_add_columns_to_pokemons.rb │ │ ├── 20160804104111_add_columns_to_users.rb │ │ ├── 20160804110925_rename_alias_to_screen_name_in_users.rb │ │ ├── 20160805025856_fix_intenger_migration_for_poke_num.rb │ │ ├── 20160805084720_add_recency_to_pokemons.rb │ │ ├── 20160805090935_change_column_name_in_pokemons.rb │ │ ├── 20160805091252_change_creation_time_to_float.rb │ │ ├── 20160805121536_add_refresh_token_to_users.rb │ │ ├── 20160805214848_add_refresh_token_expire_time_to_users.rb │ │ ├── 20160805224803_change_column_name_in_users.rb │ │ ├── 20160805235944_add_team_to_users.rb │ │ ├── 20160806000738_add_more_info_to_users.rb │ │ └── 20160807213852_add_last_data_update_column_to_users.rb │ ├── schema.rb │ └── seeds.rb ├── google_auth.rb.example ├── lib/ │ ├── assets/ │ │ └── .keep │ └── tasks/ │ ├── .keep │ └── refresh_data.rake ├── public/ │ ├── 404.html │ ├── 422.html │ ├── 500.html │ └── robots.txt ├── test/ │ ├── controllers/ │ │ ├── .keep │ │ ├── sessions_controller_test.rb │ │ ├── static_pages_controller_test.rb │ │ ├── stats_controller_test.rb │ │ └── users_controller_test.rb │ ├── fixtures/ │ │ ├── .keep │ │ ├── files/ │ │ │ └── .keep │ │ ├── items.yml │ │ ├── pokemons.yml │ │ └── users.yml │ ├── helpers/ │ │ └── .keep │ ├── integration/ │ │ ├── .keep │ │ └── users_login_test.rb │ ├── mailers/ │ │ └── .keep │ ├── models/ │ │ ├── .keep │ │ ├── item_test.rb │ │ ├── pokemon_test.rb │ │ └── user_test.rb │ └── test_helper.rb └── vendor/ └── assets/ ├── javascripts/ │ └── .keep └── stylesheets/ └── .keep ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # See https://help.github.com/articles/ignoring-files for more about ignoring files. # # If you find yourself ignoring temporary files generated by your text editor # or operating system, you probably want to add a global ignore instead: # git config --global core.excludesfile '~/.gitignore_global' # Ignore bundler config. /.bundle /vendor/bundle # these should all be checked in to normalize the environment: #Gemfile.lock .ruby-version .ruby-gemset # unless supporting rvm < 1.11.0 or doing something fancy, ignore this: .rvmrc # if using bower-rails ignore default bower_components path bower.json files /vendor/assets/bower_components *.bowerrc bower.json # Ignore pow environment settings .powenv # Ignore the default SQLite database. /db/*.sqlite3 /db/*.sqlite3-journal ### Rails ### *.rbc capybara-*.html .rspec /log /tmp /db/*.sqlite3 /db/*.sqlite3-journal /public/system /coverage/ /spec/tmp **.orig rerun.txt pickle-email-*.html # Ignore Byebug command history file. .byebug_history # For development in vim *.swp # No secrets on the repo config/initializers/secret_token.rb google_auth.rb # Ignore ngrok file if downloaded ngrok ================================================ FILE: Capfile ================================================ # Load DSL and Setup Up Stages require 'capistrano/setup' # Includes default deployment tasks require 'capistrano/deploy' # Includes tasks from other gems included in your Gemfile require 'capistrano/rails/collection' # # For documentation on these, see for example: # # https://github.com/capistrano/rvm # https://github.com/capistrano/rbenv # https://github.com/capistrano/chruby # https://github.com/capistrano/bundler # https://github.com/capistrano/rails # If you are using rvm add these lines: require 'capistrano/rvm' set :rvm_type, :user set :rvm_ruby_version, '2.3.1' require 'capistrano/bundler' require 'capistrano/rails' require 'capistrano/passenger' require 'whenever/capistrano' # require 'capistrano/rvm' # require 'capistrano/rbenv' # require 'capistrano/chruby' # require 'capistrano/bundler' # require 'capistrano/rails/assets' # require 'capistrano/rails/migrations' # Loads custom tasks from `lib/capistrano/tasks' if you have any defined. Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } ================================================ FILE: Dockerfile ================================================ FROM ruby:2.2 # Install apt based dependencies required to run Rails as # well as RubyGems. As the Ruby image itself is based on a # Debian image, we use apt-get to install those. RUN apt-get update && apt-get install -y \ build-essential \ nodejs # Configure the main working directory. This is the base # directory used in any further RUN, COPY, and ENTRYPOINT # commands. RUN mkdir -p /app WORKDIR /app # Copy the Gemfile as well as the Gemfile.lock and install # the RubyGems. This is a separate step so the dependencies # will be cached unless changes to one of those two files # are made. COPY Gemfile Gemfile.lock ./ RUN gem install bundler && bundle install --jobs 20 --retry 5 # Copy the main application. COPY . ./ RUN rake db:setup # Expose port 3000 to the Docker host, so we can access it # from the outside. EXPOSE 3000 # The main command to run when the container starts. Also # tell the Rails dev server to bind to all interfaces by # default. CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"] ================================================ FILE: GET_INVENTORY ================================================ {: GET_INVENTORY = > {: success = > true, : inventory_delta = > {: original_timestamp_ms = > 0, : new_timestamp_ms = > 1469643756660, : inventory_items = > [{: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 12033617390225908188, : pokemon_id = > : SPEAROW, : cp = > 167, : stamina = > 35, : stamina_max = > 35, : move_1 = > : PECK_FAST, : move_2 = > : AERIAL_ACE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.27725711464881897, : weight_kg = > 1.6675595045089722, : individual_attack = > 14, : individual_defense = > 13, : individual_stamina = > 10, : cp_multiplier = > 0.39956727623939514, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469492144563, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 17813629095143505663, : pokemon_id = > : MACHOP, : cp = > 44, : stamina = > 24, : stamina_max = > 24, : move_1 = > : KARATE_CHOP_FAST, : move_2 = > : BRICK_BREAK, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.6865803003311157, : weight_kg = > 12.940192222595215, : individual_attack = > 14, : individual_defense = > 8, : individual_stamina = > 5, : cp_multiplier = > 0.16639786958694458, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926768108050055168, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468564768629, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 1 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469593431908, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 13034983050951717490, : pokemon_id = > : NIDORAN_MALE, : cp = > 366, : stamina = > 53, : stamina_max = > 53, : move_1 = > : PECK_FAST, : move_2 = > : HORN_ATTACK, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.42116162180900574, : weight_kg = > 5.275308132171631, : individual_attack = > 11, : individual_defense = > 9, : individual_stamina = > 5, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469593431888, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611050181, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 10151383588260919467, : pokemon_id = > : GEODUDE, : cp = > 357, : stamina = > 51, : stamina_max = > 51, : move_1 = > : TACKLE_FAST, : move_2 = > : ROCK_SLIDE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3866965174674988, : weight_kg = > 17.570913314819336, : individual_attack = > 6, : individual_defense = > 1, : individual_stamina = > 13, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469611050165, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469565109959, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > {: egg_incubator = > [{: id = > "EggIncubatorProto-2755182174489610845", : item_id = > : ITEM_INCUBATOR_BASIC_UNLIMITED, : incubator_type = > : INCUBATOR_DISTANCE, : uses_remaining = > 0, : pokemon_id = > 0, : start_km_walked = > 0.0, : target_km_walked = > 0.0 }, {: id = > "EggIncubatorProto-1818946726960455614", : item_id = > : ITEM_INCUBATOR_BASIC, : incubator_type = > : INCUBATOR_DISTANCE, : uses_remaining = > 3, : pokemon_id = > 0, : start_km_walked = > 0.0, : target_km_walked = > 0.0 }, {: id = > "EggIncubatorProto-1286538891722973581", : item_id = > : ITEM_INCUBATOR_BASIC, : incubator_type = > : INCUBATOR_DISTANCE, : uses_remaining = > 3, : pokemon_id = > 0, : start_km_walked = > 0.0, : target_km_walked = > 0.0 }, {: id = > "EggIncubatorProto7465177442490164539", : item_id = > : ITEM_INCUBATOR_BASIC, : incubator_type = > : INCUBATOR_DISTANCE, : uses_remaining = > 3, : pokemon_id = > 0, : start_km_walked = > 0.0, : target_km_walked = > 0.0 }, {: id = > "EggIncubatorProto-1193523047342707133", : item_id = > : ITEM_INCUBATOR_BASIC, : incubator_type = > : INCUBATOR_DISTANCE, : uses_remaining = > 3, : pokemon_id = > 0, : start_km_walked = > 0.0, : target_km_walked = > 0.0 }, {: id = > "EggIncubatorProto-3724330920876957754", : item_id = > : ITEM_INCUBATOR_BASIC, : incubator_type = > : INCUBATOR_DISTANCE, : uses_remaining = > 3, : pokemon_id = > 0, : start_km_walked = > 0.0, : target_km_walked = > 0.0 }] }, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594439897, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 2938279870838674240, : pokemon_id = > : POLIWAG, : cp = > 300, : stamina = > 44, : stamina_max = > 44, : move_1 = > : MUD_SHOT_FAST, : move_2 = > : BUBBLE_BEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.6872700452804565, : weight_kg = > 17.44139862060547, : individual_attack = > 8, : individual_defense = > 0, : individual_stamina = > 4, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594439883, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 7653505505032540971, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 2.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9926594328982978560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469433659214, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613155169, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : EEVEE, : times_encountered = > 35, : times_captured = > 35, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 653151355797130078, : pokemon_id = > : EEVEE, : cp = > 14, : stamina = > 10, : stamina_max = > 10, : move_1 = > : TACKLE_FAST, : move_2 = > : BODY_SLAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.2962421774864197, : weight_kg = > 5.956576347351074, : individual_attack = > 15, : individual_defense = > 14, : individual_stamina = > 1, : cp_multiplier = > 0.09399999678134918, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468566931074, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 1 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 17131743060062600674, : pokemon_id = > : RATTATA, : cp = > 232, : stamina = > 36, : stamina_max = > 36, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : DIG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.2860827147960663, : weight_kg = > 3.163884162902832, : individual_attack = > 9, : individual_defense = > 0, : individual_stamina = > 7, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469495325477, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 2936504763233843048, : pokemon_id = > : RHYHORN, : cp = > 111, : stamina = > 41, : stamina_max = > 41, : move_1 = > : MUD_SLAP_FAST, : move_2 = > : BULLDOZE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.9559038281440735, : weight_kg = > 108.61248779296875, : individual_attack = > 13, : individual_defense = > 3, : individual_stamina = > 1, : cp_multiplier = > 0.2557200491428375, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468567234387, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 1 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 2277528171238570610, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 2.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9926594328962007040, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469432294831, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612542233, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 9809817766153283391, : pokemon_id = > : PONYTA, : cp = > 781, : stamina = > 66, : stamina_max = > 66, : move_1 = > : TACKLE_FAST, : move_2 = > : FLAME_WHEEL, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.2204527854919434, : weight_kg = > 43.521934509277344, : individual_attack = > 4, : individual_defense = > 8, : individual_stamina = > 11, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612542202, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612961869, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 7767262884158739950, : pokemon_id = > : OMANYTE, : cp = > 112, : stamina = > 20, : stamina_max = > 20, : move_1 = > : WATER_GUN_FAST, : move_2 = > : ROCK_TOMB, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.4067070782184601, : weight_kg = > 5.666068077087402, : individual_attack = > 15, : individual_defense = > 12, : individual_stamina = > 9, : cp_multiplier = > 0.2557200491428375, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612961852, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469570831353, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 14389863222244647812, : pokemon_id = > : PIDGEOTTO, : cp = > 494, : stamina = > 67, : stamina_max = > 67, : move_1 = > : WING_ATTACK_FAST, : move_2 = > : TWISTER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.1996558904647827, : weight_kg = > 28.70830535888672, : individual_attack = > 15, : individual_defense = > 9, : individual_stamina = > 5, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469570831328, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4033910463117250744, : pokemon_id = > : STARMIE, : cp = > 284, : stamina = > 37, : stamina_max = > 37, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : POWER_GEM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.9968891739845276, : weight_kg = > 62.788124084472656, : individual_attack = > 14, : individual_defense = > 14, : individual_stamina = > 8, : cp_multiplier = > 0.29024988412857056, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468566337528, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 1 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 16145762057195561819, : pokemon_id = > : PIDGEOT, : cp = > 869, : stamina = > 95, : stamina_max = > 95, : move_1 = > : STEEL_WING_FAST, : move_2 = > : HURRICANE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.9763948321342468, : weight_kg = > 20.340681076049805, : individual_attack = > 3, : individual_defense = > 8, : individual_stamina = > 12, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469487641568, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 8161951567515953816, : pokemon_id = > : PIKACHU, : cp = > 11, : stamina = > 10, : stamina_max = > 10, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : THUNDER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5040460228919983, : weight_kg = > 10.100167274475098, : individual_attack = > 10, : individual_defense = > 10, : individual_stamina = > 10, : cp_multiplier = > 0.09399999678134918, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 0, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468564340208, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 7052189630139160752, : pokemon_id = > : RATTATA, : cp = > 206, : stamina = > 35, : stamina_max = > 35, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : DIG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.36817437410354614, : weight_kg = > 5.248435974121094, : individual_attack = > 4, : individual_defense = > 8, : individual_stamina = > 9, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469492405980, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 3669112332700931403, : pokemon_id = > : PINSIR, : cp = > 27, : stamina = > 13, : stamina_max = > 13, : move_1 = > : FURY_CUTTER_FAST, : move_2 = > : SUBMISSION, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.7066969871520996, : weight_kg = > 72.23590850830078, : individual_attack = > 3, : individual_defense = > 12, : individual_stamina = > 15, : cp_multiplier = > 0.09399999678134918, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926768108050055168, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468564431572, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610692778, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 11705738518280217311, : pokemon_id = > : SANDSHREW, : cp = > 368, : stamina = > 60, : stamina_max = > 60, : move_1 = > : MUD_SHOT_FAST, : move_2 = > : DIG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.6420727968215942, : weight_kg = > 14.743542671203613, : individual_attack = > 3, : individual_defense = > 8, : individual_stamina = > 1, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469610692761, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, :item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 12723580553051521166, : pokemon_id = > : VENONAT, : cp = > 162, : stamina = > 43, : stamina_max = > 43, : move_1 = > : CONFUSION_FAST, : move_2 = > : SIGNAL_BEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.112320065498352, : weight_kg = > 32.03047180175781, : individual_attack = > 12, : individual_defense = > 11, : individual_stamina = > 14, : cp_multiplier = > 0.3210875988006592, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469436796227, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469567341340, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4008762993517896274, : pokemon_id = > : PIDGEY, : cp = > 243, : stamina = > 42, : stamina_max = > 42, : move_1 = > : TACKLE_FAST, : move_2 = > : AERIAL_ACE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3742581009864807, : weight_kg = > 2.8520164489746094, : individual_attack = > 7, : individual_defense = > 9, : individual_stamina = > 2, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469567341323, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 1089306746954436216, : pokemon_id = > : TENTACOOL, : cp = > 359, : stamina = > 48, : stamina_max = > 48, : move_1 = > : BUBBLE_FAST, : move_2 = > : WRAP, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.9422709941864014, : weight_kg = > 42.2681884765625, : individual_attack = > 5, : individual_defense = > 7, : individual_stamina = > 10, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469487708396, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 9861744093694824888, : pokemon_id = > : HORSEA, : cp = > 358, : stamina = > 40, : stamina_max = > 40, : move_1 = > : WATER_GUN_FAST, : move_2 = > : FLASH_CANNON, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3518131971359253, : weight_kg = > 6.286877632141113, : individual_attack = > 15, : individual_defense = > 2, : individual_stamina = > 13, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469511845469, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469569665983, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 12798339359391651511, : pokemon_id = > : FEAROW, : cp = > 484, : stamina = > 59, : stamina_max = > 59, : move_1 = > : PECK_FAST, : move_2 = > : DRILL_RUN, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.4029921293258667, : weight_kg = > 48.42170715332031, : individual_attack = > 12, : individual_defense = > 15, : individual_stamina = > 11, : cp_multiplier = > 0.42250001430511475, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469569665962, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612961869, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : OMANYTE, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469563544648, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 8506118392919470032, : pokemon_id = > : ODDISH, : cp = > 482, : stamina = > 54, : stamina_max = > 54, : move_1 = > : RAZOR_LEAF_FAST, : move_2 = > : SEED_BOMB, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.4931251108646393, : weight_kg = > 5.890007972717285, : individual_attack = > 7, : individual_defense = > 11, : individual_stamina = > 12, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469563544630, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594863504, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 15662198216213409679, : pokemon_id = > : STARMIE, : cp = > 94, : stamina = > 22, : stamina_max = > 22, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : PSYBEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.040140151977539, : weight_kg = > 108.20159912109375, : individual_attack = > 11, : individual_defense = > 15, : individual_stamina = > 14, : cp_multiplier = > 0.16639786958694458, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594863488, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610392582, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 1546595427000215306, : pokemon_id = > : SHELLDER, : cp = > 363, : stamina = > 35, : stamina_max = > 35, : move_1 = > : ICE_SHARD_FAST, : move_2 = > : ICY_WIND, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.24742130935192108, : weight_kg = > 2.3632822036743164, : individual_attack = > 8, : individual_defense = > 14, : individual_stamina = > 2, : cp_multiplier = > 0.5667545199394226, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469610392567, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612073856, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_RAZZ_BERRY, : count = > 109, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469593003601, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 16411706254639641377, : pokemon_id = > : EKANS, : cp = > 392, : stamina = > 46, : stamina_max = > 46, : move_1 = > : POISON_STING_FAST, : move_2 = > : GUNK_SHOT, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.827664852142334, : weight_kg = > 6.0399651527404785, : individual_attack = > 15, : individual_defense = > 1, : individual_stamina = > 12, : cp_multiplier = > 0.5667545199394226, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469593003583, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 13836191779693689102, : pokemon_id = > : SHELLDER, : cp = > 131, : stamina = > 23, : stamina_max = > 23, : move_1 = > : ICE_SHARD_FAST, : move_2 = > : ICY_WIND, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.31633079051971436, : weight_kg = > 4.838510990142822, : individual_attack = > 15, : individual_defense = > 12, : individual_stamina = > 12, : cp_multiplier = > 0.3210875988006592, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469485699385, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612970749, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : KABUTO, : times_encountered = > 4, : times_captured = > 4, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 6683394464227458526, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 5.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9926594329710690304, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469433032337, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469593600999, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_BULBASAUR, : candy = > 15 } } }, {: modified_timestamp_ms = > 1469579789330, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 9756979273708286724, : pokemon_id = > : POLIWAG, : cp = > 406, : stamina = > 55, : stamina_max = > 55, : move_1 = > : BUBBLE_FAST, : move_2 = > : BODY_SLAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.6247323155403137, : weight_kg = > 13.252718925476074, : individual_attack = > 5, : individual_defense = > 11, : individual_stamina = > 13, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469579789308, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_SQUIRTLE, : candy = > 4 } } }, {: modified_timestamp_ms = > 1469566834990, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 923381136366177570, : pokemon_id = > : DODUO, : cp = > 430, : stamina = > 46, : stamina_max = > 46, : move_1 = > : PECK_FAST, : move_2 = > : AERIAL_ACE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.5271233320236206, : weight_kg = > 39.8439826965332, : individual_attack = > 10, : individual_defense = > 13, : individual_stamina = > 10, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469566834972, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594491659, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_CATERPIE, : candy = > 110 } } }, {: modified_timestamp_ms = > 1469594747306, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 7438904258616011791, : pokemon_id = > : PINSIR, : cp = > 745, : stamina = > 68, : stamina_max = > 68, : move_1 = > : FURY_CUTTER_FAST, : move_2 = > : X_SCISSOR, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.2723307609558105, : weight_kg = > 30.161678314208984, : individual_attack = > 3, : individual_defense = > 0, : individual_stamina = > 7, : cp_multiplier = > 0.49985843896865845, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594747260, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610531022, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_WEEDLE, : candy = > 174 } } }, {: modified_timestamp_ms = > 1469613310585, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_PIDGEY, : candy = > 659 } } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4519236706785807944, : pokemon_id = > : PINSIR, : cp = > 1054, : stamina = > 84, : stamina_max = > 84, : move_1 = > : FURY_CUTTER_FAST, : move_2 = > : X_SCISSOR, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.6263655424118042, : weight_kg = > 73.1784439086914, : individual_attack = > 2, : individual_defense = > 7, : individual_stamina = > 15, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469511308827, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594158983, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_RATTATA, : candy = > 491 } } }, {: modified_timestamp_ms = > 1469594971937, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_SPEAROW, : candy = > 319 } } }, {: modified_timestamp_ms = > 1469610924482, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_EKANS, : candy = > 30 } } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_PIKACHU, : candy = > 3 } } }, {: modified_timestamp_ms = > 1469592633552, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 6814325198049015148, : pokemon_id = > : RATTATA, : cp = > 302, : stamina = > 41, : stamina_max = > 41, : move_1 = > : TACKLE_FAST, : move_2 = > : DIG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3171177804470062, : weight_kg = > 3.4212234020233154, : individual_attack = > 9, : individual_defense = > 8, : individual_stamina = > 8, : cp_multiplier = > 0.6121572852134705, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469592633534, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613126740, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_SANDSHREW, : candy = > 30 } } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 14889305404085371406, : pokemon_id = > : SPEAROW, : cp = > 29, : stamina = > 14, : stamina_max = > 14, : move_1 = > : PECK_FAST, : move_2 = > : TWISTER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.30828267335891724, : weight_kg = > 2.3011763095855713, : individual_attack = > 14, : individual_defense = > 15, : individual_stamina = > 10, : cp_multiplier = > 0.16639786958694458, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469499402290, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469592913338, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_NIDORAN_FEMALE, : candy = > 60 } } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4627787799153679607, : pokemon_id = > : PARAS, : cp = > 225, : stamina = > 32, : stamina_max = > 32, : move_1 = > : BUG_BITE_FAST, : move_2 = > : X_SCISSOR, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.2870540916919708, : weight_kg = > 5.368649005889893, : individual_attack = > 13, : individual_defense = > 14, : individual_stamina = > 12, : cp_multiplier = > 0.39956727623939514, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469497622817, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469593746400, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_NIDORAN_MALE, : candy = > 51 } } }, {: modified_timestamp_ms = > 1469612391196, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 6635443375779116356, : pokemon_id = > : ZUBAT, : cp = > 292, : stamina = > 49, : stamina_max = > 49, : move_1 = > : BITE_FAST, : move_2 = > : POISON_FANG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5564311742782593, : weight_kg = > 3.9769036769866943, : individual_attack = > 9, : individual_defense = > 11, : individual_stamina = > 7, : cp_multiplier = > 0.5667545199394226, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612391183, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594937504, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 7589263756342468827, : pokemon_id = > : PIDGEY, : cp = > 341, : stamina = > 50, : stamina_max = > 50, : move_1 = > : TACKLE_FAST, : move_2 = > : AIR_CUTTER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.30800649523735046, : weight_kg = > 1.7380058765411377, : individual_attack = > 7, : individual_defense = > 8, : individual_stamina = > 3, : cp_multiplier = > 0.6121572852134705, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594937489, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469593749762, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_CLEFAIRY, : candy = > 15 } } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_VULPIX, : candy = > 8 } } }, {: modified_timestamp_ms = > 1469612391196, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_ZUBAT, : candy = > 76 } } }, {: modified_timestamp_ms = > 1469593763408, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_ODDISH, : candy = > 62 } } }, {: modified_timestamp_ms = > 1469593774079, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_PARAS, : candy = > 70 } } }, {: modified_timestamp_ms = > 1469593812835, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_VENONAT, : candy = > 149 } } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 1916590275387265157, : pokemon_id = > : PONYTA, : cp = > 146, : stamina = > 26, : stamina_max = > 26, : move_1 = > : TACKLE_FAST, : move_2 = > : FLAME_WHEEL, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.9918020963668823, : weight_kg = > 28.990840911865234, : individual_attack = > 11, : individual_defense = > 11, : individual_stamina = > 5, : cp_multiplier = > 0.2557200491428375, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468567394230, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 1 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469576391678, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_MEOWTH, : candy = > 11 } } }, {: modified_timestamp_ms = > 1469613006942, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_PSYDUCK, : candy = > 12 } } }, {: modified_timestamp_ms = > 1469612364222, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_MANKEY, : candy = > 15 } } }, {: modified_timestamp_ms = > 1469612521972, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_GROWLITHE, : candy = > 16 } } }, {: modified_timestamp_ms = > 1469565725217, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 9250832301015277523, : pokemon_id = > : GOLDEEN, : cp = > 532, : stamina = > 62, : stamina_max = > 62, : move_1 = > : PECK_FAST, : move_2 = > : AQUA_TAIL, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.7168596982955933, : weight_kg = > 20.682601928710938, : individual_attack = > 12, : individual_defense = > 13, : individual_stamina = > 14, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469565725198, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610716701, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_POLIWAG, : candy = > 60 } } }, {: modified_timestamp_ms = > 1469612381612, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_ABRA, : candy = > 11 } } }, {: modified_timestamp_ms = > 1469613287840, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_POKE_BALL, : count = > 0, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613288342, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_MACHOP, : candy = > 11 } } }, {: modified_timestamp_ms = > 1469612542233, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_GREAT_BALL, : count = > 0, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613310585, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_ULTRA_BALL, : count = > 0, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469580607777, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 2706158241083196480, : pokemon_id = > : WEEDLE, : cp = > 200, : stamina = > 47, : stamina_max = > 47, : move_1 = > : POISON_STING_FAST, : move_2 = > : STRUGGLE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.2629370391368866, : weight_kg = > 2.5663063526153564, : individual_attack = > 14, : individual_defense = > 0, : individual_stamina = > 1, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469580607762, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594570033, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_BELLSPROUT, : candy = > 39 } } }, {: modified_timestamp_ms = > 1469564622279, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 16770979444023479383, : pokemon_id = > : EXEGGCUTE, : cp = > 431, : stamina = > 68, : stamina_max = > 68, : move_1 = > : CONFUSION_FAST, : move_2 = > : PSYCHIC, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3649931252002716, : weight_kg = > 1.5604559183120728, : individual_attack = > 7, : individual_defense = > 12, : individual_stamina = > 12, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469564622261, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612474457, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_TENTACOOL, : candy = > 12 } } }, {: modified_timestamp_ms = > 1469612586537, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_GEODUDE, : candy = > 35 } } }, {: modified_timestamp_ms = > 1469574519723, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 8542702180837277420, : pokemon_id = > : PINSIR, : cp = > 903, : stamina = > 71, : stamina_max = > 71, : move_1 = > : ROCK_SMASH_FAST, : move_2 = > : VICE_GRIP, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.4829695224761963, : weight_kg = > 55.203216552734375, : individual_attack = > 3, : individual_defense = > 9, : individual_stamina = > 0, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469574519674, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612542233, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_PONYTA, : candy = > 18 } } }, {: modified_timestamp_ms = > 1469593832450, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_SLOWPOKE, : candy = > 23 } } }, {: modified_timestamp_ms = > 1469594955503, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_DODUO, : candy = > 176 } } }, {: modified_timestamp_ms = > 1469610477502, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_SEEL, : candy = > 4 } } }, {: modified_timestamp_ms = > 1469610392582, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_SHELLDER, : candy = > 14 } } }, {: modified_timestamp_ms = > 1469593863523, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_GASTLY, : candy = > 11 } } }, {: modified_timestamp_ms = > 1469593866176, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_KRABBY, : candy = > 55 } } }, {: modified_timestamp_ms = > 1469594262072, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_EXEGGCUTE, : candy = > 50 } } }, {: modified_timestamp_ms = > 1469570619716, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4125093228401896784, : pokemon_id = > : VENOMOTH, : cp = > 780, : stamina = > 81, : stamina_max = > 81, : move_1 = > : CONFUSION_FAST, : move_2 = > : POISON_FANG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.6897015571594238, : weight_kg = > 13.213238716125488, : individual_attack = > 5, : individual_defense = > 2, : individual_stamina = > 13, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469570619701, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612567784, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_CUBONE, : candy = > 3 } } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_HITMONCHAN, : candy = > 3 } } }, {: modified_timestamp_ms = > 1469611113697, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_RHYHORN, : candy = > 10 } } }, {: modified_timestamp_ms = > 1469572062442, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_TANGELA, : candy = > 7 } } }, {: modified_timestamp_ms = > 1469594922762, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_HORSEA, : candy = > 42 } } }, {: modified_timestamp_ms = > 1469612490926, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_GOLDEEN, : candy = > 38 } } }, {: modified_timestamp_ms = > 1469610784500, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_STARYU, : candy = > 53 } } }, {: modified_timestamp_ms = > 1469611097416, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_SCYTHER, : candy = > 12 } } }, {: modified_timestamp_ms = > 1469594017308, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 10927067322043831380, : pokemon_id = > : POLIWAG, : cp = > 387, : stamina = > 54, : stamina_max = > 54, : move_1 = > : BUBBLE_FAST, : move_2 = > : MUD_BOMB, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5980697870254517, : weight_kg = > 12.638779640197754, : individual_attack = > 11, : individual_defense = > 1, : individual_stamina = > 13, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594017287, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594803463, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_PINSIR, : candy = > 896 } } }, {: modified_timestamp_ms = > 1469594201062, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 11556905718513259910, : pokemon_id = > : DODUO, : cp = > 109, : stamina = > 23, : stamina_max = > 23, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : SWIFT, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.3128982782363892, : weight_kg = > 36.61653518676758, : individual_attack = > 15, : individual_defense = > 11, : individual_stamina = > 10, : cp_multiplier = > 0.29024988412857056, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594201041, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610366758, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 10483844962842315563, : pokemon_id = > : EEVEE, : cp = > 452, : stamina = > 61, : stamina_max = > 61, : move_1 = > : TACKLE_FAST, : move_2 = > : BODY_SLAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3294050991535187, : weight_kg = > 8.12018871307373, : individual_attack = > 15, : individual_defense = > 2, : individual_stamina = > 6, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469610366738, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611951169, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_POTION, : count = > 0, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611286659, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_SUPER_POTION, : count = > 60, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469595317078, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_HYPER_POTION, : count = > 90, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594507612, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 1454648458983282613, : pokemon_id = > : PINSIR, : cp = > 835, : stamina = > 70, : stamina_max = > 70, : move_1 = > : ROCK_SMASH_FAST, : move_2 = > : X_SCISSOR, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.4173386096954346, : weight_kg = > 53.21129608154297, : individual_attack = > 0, : individual_defense = > 7, : individual_stamina = > 1, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594507596, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613310585, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 16541623506037807151, : pokemon_id = > : PIDGEY, : cp = > 327, : stamina = > 53, : stamina_max = > 53, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : TWISTER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3209701478481293, : weight_kg = > 2.0198378562927246, : individual_attack = > 1, : individual_defense = > 15, : individual_stamina = > 9, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469613310569, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469593555182, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_TAUROS, : candy = > 11 } } }, {: modified_timestamp_ms = > 1469612364222, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 11681782379834206401, : pokemon_id = > : MANKEY, : cp = > 376, : stamina = > 50, : stamina_max = > 50, : move_1 = > : SCRATCH_FAST, : move_2 = > : LOW_SWEEP, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5244783163070679, : weight_kg = > 26.625656127929688, : individual_attack = > 10, : individual_defense = > 0, : individual_stamina = > 12, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612364207, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 14609712793945313248, : pokemon_id = > : MEOWTH, : cp = > 31, : stamina = > 14, : stamina_max = > 14, : move_1 = > : BITE_FAST, : move_2 = > : DARK_PULSE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.32365676760673523, : weight_kg = > 3.1118693351745605, : individual_attack = > 14, : individual_defense = > 9, : individual_stamina = > 8, : cp_multiplier = > 0.16639786958694458, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926768108050055168, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468565118175, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 1 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469574238834, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 3163809775954645007, : pokemon_id = > : PINSIR, : cp = > 1101, : stamina = > 84, : stamina_max = > 84, : move_1 = > : ROCK_SMASH_FAST, : move_2 = > : SUBMISSION, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.4716548919677734, : weight_kg = > 56.12202453613281, : individual_attack = > 3, : individual_defense = > 6, : individual_stamina = > 12, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469574238806, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594971937, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 10490458576852921395, : pokemon_id = > : SPEAROW, : cp = > 255, : stamina = > 46, : stamina_max = > 46, : move_1 = > : PECK_FAST, : move_2 = > : TWISTER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.2996236979961395, : weight_kg = > 1.9129472970962524, : individual_attack = > 9, : individual_defense = > 4, : individual_stamina = > 10, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594971923, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469563559849, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 16186479426483039087, : pokemon_id = > : GLOOM, : cp = > 740, : stamina = > 70, : stamina_max = > 70, : move_1 = > : RAZOR_LEAF_FAST, : move_2 = > : PETAL_BLIZZARD, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.7771961688995361, : weight_kg = > 7.766791820526123, : individual_attack = > 10, : individual_defense = > 14, : individual_stamina = > 12, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469563559830, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594124383, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 13741922081729333017, : pokemon_id = > : GOLDEEN, : cp = > 487, : stamina = > 62, : stamina_max = > 62, : move_1 = > : MUD_SHOT_FAST, : move_2 = > : WATER_PULSE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.6750790476799011, : weight_kg = > 16.894004821777344, : individual_attack = > 5, : individual_defense = > 5, : individual_stamina = > 14, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594124366, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594262072, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 8464480029261323014, : pokemon_id = > : EXEGGCUTE, : cp = > 549, : stamina = > 74, : stamina_max = > 74, : move_1 = > : CONFUSION_FAST, : move_2 = > : ANCIENT_POWER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3959581255912781, : weight_kg = > 3.0685155391693115, : individual_attack = > 14, : individual_defense = > 12, : individual_stamina = > 12, : cp_multiplier = > 0.5667545199394226, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594262058, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610924482, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4495473064583498661, : pokemon_id = > : EKANS, : cp = > 386, : stamina = > 48, : stamina_max = > 48, : move_1 = > : POISON_STING_FAST, : move_2 = > : WRAP, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.8038809299468994, : weight_kg = > 4.98239803314209, : individual_attack = > 2, : individual_defense = > 7, : individual_stamina = > 14, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469610924460, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611008428, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_MAGIKARP, : candy = > 51 } } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 5370275578596206662, : pokemon_id = > : RATICATE, : cp = > 355, : stamina = > 47, : stamina_max = > 47, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : HYPER_FANG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5520833134651184, : weight_kg = > 9.685041427612305, : individual_attack = > 14, : individual_defense = > 13, : individual_stamina = > 9, : cp_multiplier = > 0.39956727623939514, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469485289440, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 3793975275022049471, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 5.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9926594335857442816, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469432937148, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610716701, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 6835816060346598317, : pokemon_id = > : POLIWAG, : cp = > 432, : stamina = > 56, : stamina_max = > 56, : move_1 = > : BUBBLE_FAST, : move_2 = > : BUBBLE_BEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5963006615638733, : weight_kg = > 12.986034393310547, : individual_attack = > 6, : individual_defense = > 12, : individual_stamina = > 13, : cp_multiplier = > 0.6121572852134705, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469610716683, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469578986245, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 11919685908902318370, : pokemon_id = > : PIDGEY, : cp = > 320, : stamina = > 48, : stamina_max = > 48, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : TWISTER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.33055809140205383, : weight_kg = > 2.109055995941162, : individual_attack = > 10, : individual_defense = > 1, : individual_stamina = > 2, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469578986118, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_INCUBATOR_BASIC_UNLIMITED, : count = > 1, : unseen = > true }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 10019888852942530360, : pokemon_id = > : GOLBAT, : cp = > 79, : stamina = > 25, : stamina_max = > 25, : move_1 = > : BITE_FAST, : move_2 = > : POISON_FANG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.7182151079177856, : weight_kg = > 69.26636505126953, : individual_attack = > 13, : individual_defense = > 10, : individual_stamina = > 1, : cp_multiplier = > 0.16639786958694458, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926768108050055168, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468564687462, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 1 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612474457, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 10603848899995452135, : pokemon_id = > : TENTACOOL, : cp = > 374, : stamina = > 49, : stamina_max = > 49, : move_1 = > : BUBBLE_FAST, : move_2 = > : WRAP, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.0598448514938354, : weight_kg = > 68.21902465820312, : individual_attack = > 4, : individual_defense = > 4, : individual_stamina = > 10, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612474438, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 15628969499282389878, : pokemon_id = > : KRABBY, : cp = > 321, : stamina = > 38, : stamina_max = > 38, : move_1 = > : BUBBLE_FAST, : move_2 = > : WATER_PULSE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3447832763195038, : weight_kg = > 6.833083629608154, : individual_attack = > 11, : individual_defense = > 11, : individual_stamina = > 14, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469499005115, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612567784, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 13919449660183005152, : pokemon_id = > : CUBONE, : cp = > 377, : stamina = > 54, : stamina_max = > 54, : move_1 = > : ROCK_SMASH_FAST, : move_2 = > : DIG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.412319153547287, : weight_kg = > 6.326006889343262, : individual_attack = > 14, : individual_defense = > 6, : individual_stamina = > 9, : cp_multiplier = > 0.49985843896865845, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612567458, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : BULBASAUR, : times_encountered = > 4, : times_captured = > 4, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612209353, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 3158686414966454905, : pokemon_id = > : SANDSHREW, : cp = > 316, : stamina = > 59, : stamina_max = > 59, : move_1 = > : SCRATCH_FAST, : move_2 = > : ROCK_SLIDE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5769261717796326, : weight_kg = > 8.604209899902344, : individual_attack = > 3, : individual_defense = > 14, : individual_stamina = > 11, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612209338, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469565109959, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_INCUBATOR_BASIC, : count = > 5, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610489525, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : SQUIRTLE, : times_encountered = > 2, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594491659, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : CATERPIE, : times_encountered = > 27, : times_captured = > 27, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : METAPOD, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610530517, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : WEEDLE, : times_encountered = > 49, : times_captured = > 43, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : BEEDRILL, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 16463836567791540864, : pokemon_id = > : RATTATA, : cp = > 227, : stamina = > 34, : stamina_max = > 34, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : HYPER_FANG, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3586999773979187, : weight_kg = > 4.771193027496338, : individual_attack = > 13, : individual_defense = > 12, : individual_stamina = > 7, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469492425236, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613321959, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PIDGEY, : times_encountered = > 167, : times_captured = > 156, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469584707529, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PIDGEOTTO, : times_encountered = > 17, : times_captured = > 13, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PIDGEOT, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 13836296293928648534, : pokemon_id = > : ABRA, : cp = > 237, : stamina = > 28, : stamina_max = > 28, : move_1 = > : ZEN_HEADBUTT_FAST, : move_2 = > : SIGNAL_BEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.0299923419952393, : weight_kg = > 27.773571014404297, : individual_attack = > 13, : individual_defense = > 2, : individual_stamina = > 2, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469512573004, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594158434, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : RATTATA, : times_encountered = > 126, : times_captured = > 120, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469577166875, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : RATICATE, : times_encountered = > 5, : times_captured = > 4, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594491659, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 17917206202237316046, : pokemon_id = > : CATERPIE, : cp = > 185, : stamina = > 48, : stamina_max = > 48, : move_1 = > : BUG_BITE_FAST, : move_2 = > : STRUGGLE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.30339962244033813, : weight_kg = > 3.112927198410034, : individual_attack = > 15, : individual_defense = > 13, : individual_stamina = > 0, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594491645, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594971937, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : SPEAROW, : times_encountered = > 79, : times_captured = > 78, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469592225534, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : FEAROW, : times_encountered = > 3, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610924482, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : EKANS, : times_encountered = > 11, : times_captured = > 8, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PIKACHU, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612073856, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_REVIVE, : count = > 43, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613126152, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : SANDSHREW, : times_encountered = > 9, : times_captured = > 8, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469592912713, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : NIDORAN_FEMALE, : times_encountered = > 15, : times_captured = > 14, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : NIDORINA, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469593431908, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : NIDORAN_MALE, : times_encountered = > 12, : times_captured = > 12, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613155693, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_EEVEE, : candy = > 137 } } }, {: modified_timestamp_ms = > 1469576353613, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : NIDORINO, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : CLEFAIRY, : times_encountered = > 4, : times_captured = > 4, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : VULPIX, : times_encountered = > 2, : times_captured = > 2, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612391196, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : ZUBAT, : times_encountered = > 19, : times_captured = > 18, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : GOLBAT, : times_encountered = > 2, : times_captured = > 2, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469576960797, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : ODDISH, : times_encountered = > 14, : times_captured = > 14, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 8193767166223962436, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 5.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9926594328962007040, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469432771162, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469563559849, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : GLOOM, : times_encountered = > 2, : times_captured = > 2, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469580464740, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PARAS, : times_encountered = > 18, : times_captured = > 17, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PARASECT, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469580889701, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : VENONAT, : times_encountered = > 39, : times_captured = > 37, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469570619716, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : VENOMOTH, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469574478362, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 10515961026203943720, : pokemon_id = > : SLOWPOKE, : cp = > 499, : stamina = > 98, : stamina_max = > 98, : move_1 = > : CONFUSION_FAST, : move_2 = > : PSYSHOCK, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.0917197465896606, : weight_kg = > 33.1213264465332, : individual_attack = > 5, : individual_defense = > 15, : individual_stamina = > 5, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469574478259, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469576391036, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : MEOWTH, : times_encountered = > 4, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613006354, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PSYDUCK, : times_encountered = > 4, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612364222, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : MANKEY, : times_encountered = > 4, : times_captured = > 4, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612521462, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : GROWLITHE, : times_encountered = > 4, : times_captured = > 4, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610716701, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : POLIWAG, : times_encountered = > 17, : times_captured = > 15, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : POLIWHIRL, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612381097, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : ABRA, : times_encountered = > 2, : times_captured = > 2, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : KADABRA, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469613287840, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : MACHOP, : times_encountered = > 3, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612222829, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 5750777597796887652, : pokemon_id = > : ZUBAT, : cp = > 253, : stamina = > 46, : stamina_max = > 46, : move_1 = > : BITE_FAST, : move_2 = > : SLUDGE_BOMB, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.7088386416435242, : weight_kg = > 5.864340305328369, : individual_attack = > 5, : individual_defense = > 15, : individual_stamina = > 7, : cp_multiplier = > 0.5343543291091919, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612222815, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594569537, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : BELLSPROUT, : times_encountered = > 11, : times_captured = > 9, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : VICTREEBEL, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612474457, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : TENTACOOL, : times_encountered = > 5, : times_captured = > 4, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612585962, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : GEODUDE, : times_encountered = > 8, : times_captured = > 8, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : GRAVELER, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612542233, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PONYTA, : times_encountered = > 5, : times_captured = > 5, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469576406813, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : SLOWPOKE, : times_encountered = > 6, : times_captured = > 6, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4469177793112414160, : pokemon_id = > : HITMONCHAN, : cp = > 153, : stamina = > 28, : stamina_max = > 28, : move_1 = > : ROCK_SMASH_FAST, : move_2 = > : FIRE_PUNCH, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.7162479162216187, : weight_kg = > 73.63561248779297, : individual_attack = > 11, : individual_defense = > 15, : individual_stamina = > 13, : cp_multiplier = > 0.2557200491428375, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469483580119, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469582134717, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : MAGNEMITE, : times_encountered = > 1, : times_captured = > 0, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611032243, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 3480948103910882127, : pokemon_id = > : TENTACOOL, : cp = > 466, : stamina = > 54, : stamina_max = > 54, : move_1 = > : POISON_STING_FAST, : move_2 = > : BUBBLE_BEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.8698435425758362, : weight_kg = > 45.85624694824219, : individual_attack = > 6, : individual_defense = > 3, : individual_stamina = > 9, : cp_multiplier = > 0.6121572852134705, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469611032226, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594955503, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : DODUO, : times_encountered = > 44, : times_captured = > 42, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594587321, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : DODRIO, : times_encountered = > 4, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610477005, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : SEEL, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610392582, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : SHELLDER, : times_encountered = > 5, : times_captured = > 4, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469571866225, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : GASTLY, : times_encountered = > 3, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 2613636142211559012, : pokemon_id = > : GASTLY, : cp = > 335, : stamina = > 39, : stamina_max = > 39, : move_1 = > : LICK_FAST, : move_2 = > : DARK_PULSE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.2047713994979858, : weight_kg = > 0.09057753533124924, : individual_attack = > 6, : individual_defense = > 2, : individual_stamina = > 12, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469492948090, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594955503, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 14202346582350437944, : pokemon_id = > : DODUO, : cp = > 323, : stamina = > 39, : stamina_max = > 39, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : DRILL_PECK, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.251415729522705, : weight_kg = > 27.959596633911133, : individual_attack = > 15, : individual_defense = > 11, : individual_stamina = > 9, : cp_multiplier = > 0.49985843896865845, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594955489, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469586191357, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : KRABBY, : times_encountered = > 16, : times_captured = > 14, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594262072, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : EXEGGCUTE, : times_encountered = > 13, : times_captured = > 13, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612567784, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : CUBONE, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : HITMONCHAN, : times_encountered = > 1, : times_captured = > 1, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611113697, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : RHYHORN, : times_encountered = > 3, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469580818665, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 13663340479458340847, : pokemon_id = > : SPEAROW, : cp = > 350, : stamina = > 53, : stamina_max = > 53, : move_1 = > : QUICK_ATTACK_FAST, : move_2 = > : DRILL_PECK, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.27183449268341064, : weight_kg = > 1.6688969135284424, : individual_attack = > 15, : individual_defense = > 1, : individual_stamina = > 9, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469580818647, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469572062441, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : TANGELA, : times_encountered = > 2, : times_captured = > 2, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594922153, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : HORSEA, : times_encountered = > 11, : times_captured = > 11, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612490416, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : GOLDEEN, : times_encountered = > 10, : times_captured = > 10, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610783610, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : STARYU, : times_encountered = > 12, : times_captured = > 12, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594863504, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : STARMIE, : times_encountered = > 2, : times_captured = > 2, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469575679219, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 12580399318176540635, : pokemon_id = > : CATERPIE, : cp = > 200, : stamina = > 53, : stamina_max = > 53, : move_1 = > : BUG_BITE_FAST, : move_2 = > : STRUGGLE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.29614362120628357, : weight_kg = > 3.215764045715332, : individual_attack = > 11, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469575679063, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611096918, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : SCYTHER, : times_encountered = > 3, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469595003583, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : PINSIR, : times_encountered = > 246, : times_captured = > 226, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 14507605866561697786, : pokemon_id = > : CLEFAIRY, : cp = > 47, : stamina = > 24, : stamina_max = > 24, : move_1 = > : POUND_FAST, : move_2 = > : DISARMING_VOICE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.570200502872467, : weight_kg = > 5.951809883117676, : individual_attack = > 4, : individual_defense = > 12, : individual_stamina = > 8, : cp_multiplier = > 0.16639786958694458, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926768108050055168, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1468564995003, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 1 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469572062441, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4742267705770833577, : pokemon_id = > : TANGELA, : cp = > 726, : stamina = > 74, : stamina_max = > 74, : move_1 = > : VINE_WHIP_FAST, : move_2 = > : SOLAR_BEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.9941824078559875, : weight_kg = > 37.61530685424805, : individual_attack = > 12, : individual_defense = > 13, : individual_stamina = > 14, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469572062427, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 17592542093351157912, : pokemon_id = > : STARYU, : cp = > 409, : stamina = > 40, : stamina_max = > 40, : move_1 = > : WATER_GUN_FAST, : move_2 = > : BUBBLE_BEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.8153171539306641, : weight_kg = > 41.77201843261719, : individual_attack = > 7, : individual_defense = > 3, : individual_stamina = > 14, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469493348474, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 16439352048067385754, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 2.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9926594328962007040, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469433634637, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469565109959, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_LUCKY_EGG, : count = > 4, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612961869, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_OMANYTE, : candy = > 3 } } }, {: modified_timestamp_ms = > 1469594429713, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 7207764260469561231, : pokemon_id = > : PINSIR, : cp = > 981, : stamina = > 79, : stamina_max = > 79, : move_1 = > : FURY_CUTTER_FAST, : move_2 = > : VICE_GRIP, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.5940213203430176, : weight_kg = > 67.22589874267578, : individual_attack = > 12, : individual_defense = > 2, : individual_stamina = > 15, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594429694, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469579087819, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 11730738791089550336, : pokemon_id = > : EEVEE, : cp = > 536, : stamina = > 74, : stamina_max = > 74, : move_1 = > : TACKLE_FAST, : move_2 = > : SWIFT, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.31284084916114807, : weight_kg = > 7.515275001525879, : individual_attack = > 4, : individual_defense = > 2, : individual_stamina = > 15, : cp_multiplier = > 0.5974000096321106, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469579087804, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594241549, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 15979218352022875430, : pokemon_id = > : WEEDLE, : cp = > 184, : stamina = > 47, : stamina_max = > 47, : move_1 = > : POISON_STING_FAST, : move_2 = > : STRUGGLE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.2974519729614258, : weight_kg = > 3.0197834968566895, : individual_attack = > 5, : individual_defense = > 4, : individual_stamina = > 2, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594241532, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594587321, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 5938863176691779223, : pokemon_id = > : DODRIO, : cp = > 770, : stamina = > 67, : stamina_max = > 67, : move_1 = > : FEINT_ATTACK_FAST, : move_2 = > : DRILL_PECK, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 2.0002217292785645, : weight_kg = > 93.39051055908203, : individual_attack = > 15, : individual_defense = > 13, : individual_stamina = > 11, : cp_multiplier = > 0.517393946647644, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594587304, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 12979860036842746569, : pokemon_id = > : KABUTO, : cp = > 388, : stamina = > 36, : stamina_max = > 36, : move_1 = > : MUD_SHOT_FAST, : move_2 = > : AQUA_JET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5005674958229065, : weight_kg = > 12.425260543823242, : individual_attack = > 12, : individual_defense = > 4, : individual_stamina = > 15, : cp_multiplier = > 0.48168495297431946, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469485741031, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 4214839585629603501, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 5.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9926594332600565760, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469431811528, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611113697, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 16823160298224107515, : pokemon_id = > : RHYHORN, : cp = > 626, : stamina = > 101, : stamina_max = > 101, : move_1 = > : ROCK_SMASH_FAST, : move_2 = > : STOMP, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.2605830430984497, : weight_kg = > 183.986572265625, : individual_attack = > 14, : individual_defense = > 11, : individual_stamina = > 15, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_ULTRA_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469611113589, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > {: item = > [{: item_id = > : ITEM_LUCKY_EGG, : item_type = > : ITEM_TYPE_XP_BOOST, : expire_ms = > 1469500726973, : applied_ms = > 1469498926973 }] }, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 5872814925393826260, : pokemon_id = > : PINSIR, : cp = > 881, : stamina = > 72, : stamina_max = > 72, : move_1 = > : FURY_CUTTER_FAST, : move_2 = > : X_SCISSOR, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.4525721073150635, : weight_kg = > 54.28315353393555, : individual_attack = > 0, : individual_defense = > 3, : individual_stamina = > 2, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469492330439, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 13447341117205270782, : pokemon_id = > : TAUROS, : cp = > 886, : stamina = > 90, : stamina_max = > 90, : move_1 = > : ZEN_HEADBUTT_FAST, : move_2 = > : EARTHQUAKE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.401257038116455, : weight_kg = > 82.9126205444336, : individual_attack = > 15, : individual_defense = > 11, : individual_stamina = > 15, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469511126804, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612971542, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > {: family_id = > : FAMILY_KABUTO, : candy = > 14 } } }, {: modified_timestamp_ms = > 1469613321959, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > nil, : player_stats = > {: level = > 21, : experience = > 288925, : prev_level_xp = > 210000, : next_level_xp = > 335000, : km_walked = > 90.0035629272461, : pokemons_encountered = > 1147, : unique_pokedex_entries = > 68, : pokemons_captured = > 1071, : evolutions = > 1, : poke_stop_visits = > 439, : pokeballs_thrown = > 1211, : eggs_hatched = > 0, : big_magikarp_caught = > 5, : battle_attack_won = > 0, : battle_attack_total = > 0, : battle_defended_won = > 0, : battle_training_won = > 0, : battle_training_total = > 0, : prestige_raised_total = > 0, : prestige_dropped_total = > 0, : pokemon_deployed = > 0, : pokemon_caught_by_type = > "\x00\xCD\x03\b\xBF\x02\xAF\x01\x15\x11\xE5\x02\x03\x00\vf?\x00\x18\x00\x00\x00\x04", : small_rattata_caught = > 12 }, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 8865689644524795321, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 5.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9263827943183876096, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469354750936, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 5441307319817809929, : pokemon_id = > : MISSINGNO, : cp = > 0, : stamina = > 0, : stamina_max = > 0, : move_1 = > : MOVE_UNSET, : move_2 = > : MOVE_UNSET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > true, : egg_km_walked_target = > 5.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.0, : weight_kg = > 0.0, : individual_attack = > 0, : individual_defense = > 0, : individual_stamina = > 0, : cp_multiplier = > 0.0, : pokeball = > : ITEM_UNKNOWN, : captured_cell_id = > 9926594326617391104, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469431565630, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469594830691, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 15829814738448653846, : pokemon_id = > : HORSEA, : cp = > 356, : stamina = > 40, : stamina_max = > 40, : move_1 = > : BUBBLE_FAST, : move_2 = > : FLASH_CANNON, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.3458196222782135, : weight_kg = > 5.476642608642578, : individual_attack = > 11, : individual_defense = > 7, : individual_stamina = > 13, : cp_multiplier = > 0.5507926940917969, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469594830584, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469612426513, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 11410443841798111170, : pokemon_id = > : KABUTO, : cp = > 313, : stamina = > 31, : stamina_max = > 31, : move_1 = > : MUD_SHOT_FAST, : move_2 = > : AQUA_JET, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.4974691867828369, : weight_kg = > 10.59300708770752, : individual_attack = > 15, : individual_defense = > 13, : individual_stamina = > 15, : cp_multiplier = > 0.42250001430511475, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469612426497, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469575041841, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 3264527721631504385, : pokemon_id = > : BELLSPROUT, : cp = > 506, : stamina = > 64, : stamina_max = > 64, : move_1 = > : VINE_WHIP_FAST, : move_2 = > : SLUDGE_BOMB, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5935359597206116, : weight_kg = > 2.3068087100982666, : individual_attack = > 6, : individual_defense = > 3, : individual_stamina = > 14, : cp_multiplier = > 0.5667545199394226, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469575041729, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469593320283, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 3134191922305934012, : pokemon_id = > : ZUBAT, : cp = > 285, : stamina = > 48, : stamina_max = > 48, : move_1 = > : BITE_FAST, : move_2 = > : AIR_CUTTER, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.849702775478363, : weight_kg = > 8.289292335510254, : individual_attack = > 12, : individual_defense = > 2, : individual_stamina = > 6, : cp_multiplier = > 0.5667545199394226, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469593320261, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 17031495036181643285, : pokemon_id = > : MAGIKARP, : cp = > 79, : stamina = > 24, : stamina_max = > 24, : move_1 = > : SPLASH_FAST, : move_2 = > : STRUGGLE, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.8307059407234192, : weight_kg = > 9.323119163513184, : individual_attack = > 15, : individual_defense = > 8, : individual_stamina = > 15, : cp_multiplier = > 0.443107545375824, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469481688962, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 6361969809752076429, : pokemon_id = > : BULBASAUR, : cp = > 472, : stamina = > 51, : stamina_max = > 51, : move_1 = > : TACKLE_FAST, : move_2 = > : SLUDGE_BOMB, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.7665541768074036, : weight_kg = > 8.745694160461426, : individual_attack = > 6, : individual_defense = > 12, : individual_stamina = > 0, : cp_multiplier = > 0.5667545199394226, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469511075834, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : TAUROS, : times_encountered = > 3, : times_captured = > 3, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469565109959, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_INCENSE_ORDINARY, : count = > 8, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 0, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 18326280009382142174, : pokemon_id = > : VENONAT, : cp = > 520, : stamina = > 77, : stamina_max = > 77, : move_1 = > : CONFUSION_FAST, : move_2 = > : SIGNAL_BEAM, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.5988808870315552, : weight_kg = > 12.57804012298584, : individual_attack = > 12, : individual_defense = > 5, : individual_stamina = > 13, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_GREAT_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469557142289, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469575783066, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 3313172685269327484, : pokemon_id = > : PARAS, : cp = > 454, : stamina = > 47, : stamina_max = > 47, : move_1 = > : SCRATCH_FAST, : move_2 = > : CROSS_POISON, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 0.2657431960105896, : weight_kg = > 4.843122482299805, : individual_attack = > 11, : individual_defense = > 4, : individual_stamina = > 12, : cp_multiplier = > 0.5822789072990417, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9926594385212866560, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469575782960, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469611125491, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > nil, : pokedex_entry = > {: pokemon_id = > : MAGIKARP, : times_encountered = > 16, : times_captured = > 13, : evolution_stone_pieces = > 0, : evolution_stones = > 0 }, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469610509743, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > {: id = > 11604784764748117219, : pokemon_id = > : TENTACOOL, : cp = > 12, : stamina = > 10, : stamina_max = > 10, : move_1 = > : POISON_STING_FAST, : move_2 = > : WRAP, : deployed_fort_id = > "", : owner_name = > "", : is_egg = > false, : egg_km_walked_target = > 0.0, : egg_km_walked_start = > 0.0, : origin = > 0, : height_m = > 1.0772191286087036, : weight_kg = > 59.83564376831055, : individual_attack = > 14, : individual_defense = > 12, : individual_stamina = > 10, : cp_multiplier = > 0.09399999678134918, : pokeball = > : ITEM_POKE_BALL, : captured_cell_id = > 9285299830266003456, : battles_attacked = > 0, : battles_defended = > 0, : egg_incubator_id = > "", : creation_time_ms = > 1469610509723, : num_upgrades = > 0, : additional_cp_multiplier = > 0.0, : favorite = > 0, : nickname = > "", : from_fort = > 0 }, : item = > nil, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }, {: modified_timestamp_ms = > 1469565109959, : deleted_item_key = > 0, : inventory_item_data = > {: pokemon_data = > nil, : item = > {: item_id = > : ITEM_TROY_DISK, : count = > 5, : unseen = > false }, : pokedex_entry = > nil, : player_stats = > nil, : player_currency = > nil, : player_camera = > nil, : inventory_upgrades = > nil, : applied_items = > nil, : egg_incubators = > nil, : pokemon_family = > nil } }] } }, : api_url = > "pgorelease.nianticlabs.com/plfe/210" } ================================================ FILE: Gemfile ================================================ source 'https://rubygems.org' gem 'angularjs-rails', '~> 1.5', '>= 1.5.6' gem 'will_paginate', '3.1.0' gem 'bootstrap-will_paginate', '0.0.10' gem 'zeroclipboard-rails', '~> 0.1.2' gem 'jquery-tablesorter', '~> 1.22', '>= 1.22.1' # Scheduler gem 'whenever', :require => false # For awesome developer fonts gem "font-awesome-rails" # For awesome bootstrap social buttons gem 'bootstrap-social-rails' # For token scraping for google login gem 'httpclient' # bootstrap gem 'bootstrap-sass' # poke-api gem 'poke-go-api', git: "https://github.com/nabeelamjad/poke-api.git", tag: '0.2.1' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 5.0.0' # Use Puma as the app server gem 'puma', '~> 3.0' # Use SCSS for stylesheets gem 'sass-rails', '~> 5.0' # Use Uglifier as compressor for JavaScript assets gem 'uglifier', '>= 1.3.0' # Use CoffeeScript for .coffee assets and views gem 'coffee-rails', '~> 4.2' # See https://github.com/rails/execjs#readme for more supported runtimes # gem 'therubyracer', platforms: :ruby # Use jquery as the JavaScript library gem 'jquery-rails' # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks gem 'turbolinks', '~> 5' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 2.5' # Use Redis adapter to run Action Cable in production # gem 'redis', '~> 3.0' # Use ActiveModel has_secure_password # gem 'bcrypt', '~> 3.1.7' group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug', platform: :mri end group :development do # Access an IRB console on exception pages or by using <%= console %> anywhere in the code. gem 'web-console' gem 'listen', '~> 3.0.5' # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' gem 'spring-watcher-listen', '~> 2.0.0' gem 'sqlite3' # for GCE deploy gem 'capistrano', '~> 3.6' gem 'capistrano-rails', '~> 1.1', '>= 1.1.7' gem 'capistrano-rvm', '~> 0.1.2' gem 'capistrano-passenger' gem 'capistrano-rails-collection' end group :production do # Use postgres the database for Active Record gem 'pg' end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] ================================================ FILE: README.md ================================================ # PoGoBag **Analyze** and **Share** your PokemonGo Inventory online! Feel free to contribute and make pull request. Use this at your own risk. PoGoBag is most likely against Niantic ToS. The owner is not responsible for the ramifications of using this project in any way ## To Setup: #### Requirements * Ruby * Git * Node.js * Gems: rails, bundler ##### Windows: 1) Install Ruby 2.2.5 http://rubyinstaller.org/downloads/
x64 for 64-bit system and regular install for 32-bit system
2) Install Ruby DevKit http://rubyinstaller.org/downloads/
Same link but at the bottom. Follow same logic for x64 as the above step
2a) Create a new directory to extract the Ruby DevKit into 2b) Run these commands: ``` cd ruby dk.rb init ruby dk.rb install ``` 3) Install Node.js 4.4.7 https://nodejs.org/en/
4) Install Git https://git-scm.com/downloads
5) Run these two commands in terminal:
``` gem install rails gem install bundler ``` ##### Mac: 1) Install Ruby with RVM
``` ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew -v brew doctor \curl -L https://get.rvm.io | bash -s stable rvm install 2.3.1 rvm use 2.3.1 --default ruby -v ``` 2) Install Node.js: "brew install node"
3) Install Git: "brew install git"
4) Run these two commands:
``` gem install rails gem install bundler ``` ##### Ubuntu Server (16.04): 1) Install Ruby and Ruby dev
``` sudo apt-get install ruby ruby-dev -y ``` 2) Install Node.js
``` sudo apt-get install nodejs -y ``` 3) Install git
``` sudo apt-get install git -y ``` 4) Run these two commands:
``` gem install rails gem install bundler ``` #### Steps 1) Open terminal and change direcotry into whichever directory you want to place the project in: "cd ~" (for home directory)
2) In that directory, clone the project
``` git clone https://github.com/dphuang2/PoGoBag.git ``` 3) change directory into the project: "cd PoGoBag"
4) Install all dependencies:
``` bundle install --without production ``` 5) Run database setup and start the server
``` rake db:setup rails s ``` 6) Open your browser and navigate to http://localhost:3000
7) Login and browse your Pokemon! ![Imgur](http://i.imgur.com/Yzz5ouC.png) #### How to setup auto refresh: 1) Run "whenever -w" inside of the project directory #### How to access remotely (with ngrok): 1) Download ngrok from https://ngrok.com/download
2) Unzip and put ngrok inside of the same directory as PoGoBag
3) Run "rails s" as usual inside of the project directory
4) Open a new terminal or tab and cd into the project directory
5) Run "./ngrok http 3000"
6) Use the link under "Forwarding" to connect remotely
![Imgur](http://i.imgur.com/7k6Kii3.png) ## Screenshots: ![Imgur](http://i.imgur.com/SdEIGjF.png) ![Imgur](http://i.imgur.com/lPvCpYa.png) ## Credits: [nabeelamjad](https://github.com/nabeelamjad/poke-api) - For the API ================================================ FILE: Rakefile ================================================ # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require_relative 'config/application' Rails.application.load_tasks ================================================ FILE: app/assets/config/manifest.js ================================================ //= link_tree ../images //= link_directory ../javascripts .js //= link_directory ../stylesheets .css ================================================ FILE: app/assets/images/.keep ================================================ ================================================ FILE: app/assets/javascripts/application.js ================================================ // This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. JavaScript code in this file should be added after the last require_* statement. // // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details // about supported directives. // //= require angular //= require angular-resource //= require jquery //= require jquery-tablesorter //= require jquery_ujs //= require turbolinks //= require users //= require zeroclipboard //= require copy_clipboard //= require level_calc ================================================ FILE: app/assets/javascripts/cable.js ================================================ // Action Cable provides the framework to deal with WebSockets in Rails. // You can generate new channels where WebSocket features live using the rails generate channel command. // //= require action_cable //= require_self //= require_tree ./channels (function() { this.App || (this.App = {}); App.cable = ActionCable.createConsumer(); }).call(this); ================================================ FILE: app/assets/javascripts/channels/.keep ================================================ ================================================ FILE: app/assets/javascripts/copy_clipboard.coffee ================================================ $(document).on 'turbolinks:load', -> elem = $("#copy-clipboard-button") if elem new ZeroClipboard elem $(document).on "turbolinks:before-render", -> ZeroClipboard.destroy() ================================================ FILE: app/assets/javascripts/level_calc.coffee ================================================ pokeDataAll = '[{},{"BaseAttack":126,"BaseDefense":126,"BaseStamina":90,"Id":1},{"BaseAttack":156,"BaseDefense":158,"BaseStamina":120,"Id":2},{"BaseAttack":198,"BaseDefense":200,"BaseStamina":160,"Id":3},{"BaseAttack":128,"BaseDefense":108,"BaseStamina":78,"Id":4},{"BaseAttack":160,"BaseDefense":140,"BaseStamina":116,"Id":5},{"BaseAttack":212,"BaseDefense":182,"BaseStamina":156,"Id":6},{"BaseAttack":112,"BaseDefense":142,"BaseStamina":88,"Id":7},{"BaseAttack":144,"BaseDefense":176,"BaseStamina":118,"Id":8},{"BaseAttack":186,"BaseDefense":222,"BaseStamina":158,"Id":9},{"BaseAttack":62,"BaseDefense":66,"BaseStamina":90,"Id":10},{"BaseAttack":56,"BaseDefense":86,"BaseStamina":100,"Id":11},{"BaseAttack":144,"BaseDefense":144,"BaseStamina":120,"Id":12},{"BaseAttack":68,"BaseDefense":64,"BaseStamina":80,"Id":13},{"BaseAttack":62,"BaseDefense":82,"BaseStamina":90,"Id":14},{"BaseAttack":144,"BaseDefense":130,"BaseStamina":130,"Id":15},{"BaseAttack":94,"BaseDefense":90,"BaseStamina":80,"Id":16},{"BaseAttack":126,"BaseDefense":122,"BaseStamina":126,"Id":17},{"BaseAttack":170,"BaseDefense":166,"BaseStamina":166,"Id":18},{"BaseAttack":92,"BaseDefense":86,"BaseStamina":60,"Id":19},{"BaseAttack":146,"BaseDefense":150,"BaseStamina":110,"Id":20},{"BaseAttack":102,"BaseDefense":78,"BaseStamina":80,"Id":21},{"BaseAttack":168,"BaseDefense":146,"BaseStamina":130,"Id":22},{"BaseAttack":112,"BaseDefense":112,"BaseStamina":70,"Id":23},{"BaseAttack":166,"BaseDefense":166,"BaseStamina":120,"Id":24},{"BaseAttack":124,"BaseDefense":108,"BaseStamina":70,"Id":25},{"BaseAttack":200,"BaseDefense":154,"BaseStamina":120,"Id":26},{"BaseAttack":90,"BaseDefense":114,"BaseStamina":100,"Id":27},{"BaseAttack":150,"BaseDefense":172,"BaseStamina":150,"Id":28},{"BaseAttack":100,"BaseDefense":104,"BaseStamina":110,"Id":29},{"BaseAttack":132,"BaseDefense":136,"BaseStamina":140,"Id":30},{"BaseAttack":184,"BaseDefense":190,"BaseStamina":180,"Id":31},{"BaseAttack":110,"BaseDefense":94,"BaseStamina":92,"Id":32},{"BaseAttack":142,"BaseDefense":128,"BaseStamina":122,"Id":33},{"BaseAttack":204,"BaseDefense":170,"BaseStamina":162,"Id":34},{"BaseAttack":116,"BaseDefense":124,"BaseStamina":140,"Id":35},{"BaseAttack":178,"BaseDefense":178,"BaseStamina":190,"Id":36},{"BaseAttack":106,"BaseDefense":118,"BaseStamina":76,"Id":37},{"BaseAttack":176,"BaseDefense":194,"BaseStamina":146,"Id":38},{"BaseAttack":98,"BaseDefense":54,"BaseStamina":230,"Id":39},{"BaseAttack":168,"BaseDefense":108,"BaseStamina":280,"Id":40},{"BaseAttack":88,"BaseDefense":90,"BaseStamina":80,"Id":41},{"BaseAttack":164,"BaseDefense":164,"BaseStamina":150,"Id":42},{"BaseAttack":134,"BaseDefense":130,"BaseStamina":90,"Id":43},{"BaseAttack":162,"BaseDefense":158,"BaseStamina":120,"Id":44},{"BaseAttack":202,"BaseDefense":190,"BaseStamina":150,"Id":45},{"BaseAttack":122,"BaseDefense":120,"BaseStamina":70,"Id":46},{"BaseAttack":162,"BaseDefense":170,"BaseStamina":120,"Id":47},{"BaseAttack":108,"BaseDefense":118,"BaseStamina":120,"Id":48},{"BaseAttack":172,"BaseDefense":154,"BaseStamina":140,"Id":49},{"BaseAttack":108,"BaseDefense":86,"BaseStamina":20,"Id":50},{"BaseAttack":148,"BaseDefense":140,"BaseStamina":70,"Id":51},{"BaseAttack":104,"BaseDefense":94,"BaseStamina":80,"Id":52},{"BaseAttack":156,"BaseDefense":146,"BaseStamina":130,"Id":53},{"BaseAttack":132,"BaseDefense":112,"BaseStamina":100,"Id":54},{"BaseAttack":194,"BaseDefense":176,"BaseStamina":160,"Id":55},{"BaseAttack":122,"BaseDefense":96,"BaseStamina":80,"Id":56},{"BaseAttack":178,"BaseDefense":150,"BaseStamina":130,"Id":57},{"BaseAttack":156,"BaseDefense":110,"BaseStamina":110,"Id":58},{"BaseAttack":230,"BaseDefense":180,"BaseStamina":180,"Id":59},{"BaseAttack":108,"BaseDefense":98,"BaseStamina":80,"Id":60},{"BaseAttack":132,"BaseDefense":132,"BaseStamina":130,"Id":61},{"BaseAttack":180,"BaseDefense":202,"BaseStamina":180,"Id":62},{"BaseAttack":110,"BaseDefense":76,"BaseStamina":50,"Id":63},{"BaseAttack":150,"BaseDefense":112,"BaseStamina":80,"Id":64},{"BaseAttack":186,"BaseDefense":152,"BaseStamina":110,"Id":65},{"BaseAttack":118,"BaseDefense":96,"BaseStamina":140,"Id":66},{"BaseAttack":154,"BaseDefense":144,"BaseStamina":160,"Id":67},{"BaseAttack":198,"BaseDefense":180,"BaseStamina":180,"Id":68},{"BaseAttack":158,"BaseDefense":78,"BaseStamina":100,"Id":69},{"BaseAttack":190,"BaseDefense":110,"BaseStamina":130,"Id":70},{"BaseAttack":222,"BaseDefense":152,"BaseStamina":160,"Id":71},{"BaseAttack":106,"BaseDefense":136,"BaseStamina":80,"Id":72},{"BaseAttack":170,"BaseDefense":196,"BaseStamina":160,"Id":73},{"BaseAttack":106,"BaseDefense":118,"BaseStamina":80,"Id":74},{"BaseAttack":142,"BaseDefense":156,"BaseStamina":110,"Id":75},{"BaseAttack":176,"BaseDefense":198,"BaseStamina":160,"Id":76},{"BaseAttack":168,"BaseDefense":138,"BaseStamina":100,"Id":77},{"BaseAttack":200,"BaseDefense":170,"BaseStamina":130,"Id":78},{"BaseAttack":110,"BaseDefense":110,"BaseStamina":180,"Id":79},{"BaseAttack":184,"BaseDefense":198,"BaseStamina":190,"Id":80},{"BaseAttack":128,"BaseDefense":138,"BaseStamina":50,"Id":81},{"BaseAttack":186,"BaseDefense":180,"BaseStamina":100,"Id":82},{"BaseAttack":138,"BaseDefense":132,"BaseStamina":104,"Id":83},{"BaseAttack":126,"BaseDefense":96,"BaseStamina":70,"Id":84},{"BaseAttack":182,"BaseDefense":150,"BaseStamina":120,"Id":85},{"BaseAttack":104,"BaseDefense":138,"BaseStamina":130,"Id":86},{"BaseAttack":156,"BaseDefense":192,"BaseStamina":180,"Id":87},{"BaseAttack":124,"BaseDefense":110,"BaseStamina":160,"Id":88},{"BaseAttack":180,"BaseDefense":188,"BaseStamina":210,"Id":89},{"BaseAttack":120,"BaseDefense":112,"BaseStamina":60,"Id":90},{"BaseAttack":196,"BaseDefense":196,"BaseStamina":100,"Id":91},{"BaseAttack":136,"BaseDefense":82,"BaseStamina":60,"Id":92},{"BaseAttack":172,"BaseDefense":118,"BaseStamina":90,"Id":93},{"BaseAttack":204,"BaseDefense":156,"BaseStamina":120,"Id":94},{"BaseAttack":90,"BaseDefense":186,"BaseStamina":70,"Id":95},{"BaseAttack":104,"BaseDefense":140,"BaseStamina":120,"Id":96},{"BaseAttack":162,"BaseDefense":196,"BaseStamina":170,"Id":97},{"BaseAttack":116,"BaseDefense":110,"BaseStamina":60,"Id":98},{"BaseAttack":178,"BaseDefense":168,"BaseStamina":110,"Id":99},{"BaseAttack":102,"BaseDefense":124,"BaseStamina":80,"Id":100},{"BaseAttack":150,"BaseDefense":174,"BaseStamina":120,"Id":101},{"BaseAttack":110,"BaseDefense":132,"BaseStamina":120,"Id":102},{"BaseAttack":232,"BaseDefense":164,"BaseStamina":190,"Id":103},{"BaseAttack":102,"BaseDefense":150,"BaseStamina":100,"Id":104},{"BaseAttack":140,"BaseDefense":202,"BaseStamina":120,"Id":105},{"BaseAttack":148,"BaseDefense":172,"BaseStamina":100,"Id":106},{"BaseAttack":138,"BaseDefense":204,"BaseStamina":100,"Id":107},{"BaseAttack":126,"BaseDefense":160,"BaseStamina":180,"Id":108},{"BaseAttack":136,"BaseDefense":142,"BaseStamina":80,"Id":109},{"BaseAttack":190,"BaseDefense":198,"BaseStamina":130,"Id":110},{"BaseAttack":110,"BaseDefense":116,"BaseStamina":160,"Id":111},{"BaseAttack":166,"BaseDefense":160,"BaseStamina":210,"Id":112},{"BaseAttack":40,"BaseDefense":60,"BaseStamina":500,"Id":113},{"BaseAttack":164,"BaseDefense":152,"BaseStamina":130,"Id":114},{"BaseAttack":142,"BaseDefense":178,"BaseStamina":210,"Id":115},{"BaseAttack":122,"BaseDefense":100,"BaseStamina":60,"Id":116},{"BaseAttack":176,"BaseDefense":150,"BaseStamina":110,"Id":117},{"BaseAttack":112,"BaseDefense":126,"BaseStamina":90,"Id":118},{"BaseAttack":172,"BaseDefense":160,"BaseStamina":160,"Id":119},{"BaseAttack":130,"BaseDefense":128,"BaseStamina":60,"Id":120},{"BaseAttack":194,"BaseDefense":192,"BaseStamina":120,"Id":121},{"BaseAttack":154,"BaseDefense":196,"BaseStamina":80,"Id":122},{"BaseAttack":176,"BaseDefense":180,"BaseStamina":140,"Id":123},{"BaseAttack":172,"BaseDefense":134,"BaseStamina":130,"Id":124},{"BaseAttack":198,"BaseDefense":160,"BaseStamina":130,"Id":125},{"BaseAttack":214,"BaseDefense":158,"BaseStamina":130,"Id":126},{"BaseAttack":184,"BaseDefense":186,"BaseStamina":130,"Id":127},{"BaseAttack":148,"BaseDefense":184,"BaseStamina":150,"Id":128},{"BaseAttack":42,"BaseDefense":84,"BaseStamina":40,"Id":129},{"BaseAttack":192,"BaseDefense":196,"BaseStamina":190,"Id":130},{"BaseAttack":186,"BaseDefense":190,"BaseStamina":260,"Id":131},{"BaseAttack":110,"BaseDefense":110,"BaseStamina":96,"Id":132},{"BaseAttack":114,"BaseDefense":128,"BaseStamina":110,"Id":133},{"BaseAttack":186,"BaseDefense":168,"BaseStamina":260,"Id":134},{"BaseAttack":192,"BaseDefense":174,"BaseStamina":130,"Id":135},{"BaseAttack":238,"BaseDefense":178,"BaseStamina":130,"Id":136},{"BaseAttack":156,"BaseDefense":158,"BaseStamina":130,"Id":137},{"BaseAttack":132,"BaseDefense":160,"BaseStamina":70,"Id":138},{"BaseAttack":180,"BaseDefense":202,"BaseStamina":140,"Id":139},{"BaseAttack":148,"BaseDefense":142,"BaseStamina":60,"Id":140},{"BaseAttack":190,"BaseDefense":190,"BaseStamina":120,"Id":141},{"BaseAttack":182,"BaseDefense":162,"BaseStamina":160,"Id":142},{"BaseAttack":180,"BaseDefense":180,"BaseStamina":320,"Id":143},{"BaseAttack":198,"BaseDefense":242,"BaseStamina":180,"Id":144},{"BaseAttack":232,"BaseDefense":194,"BaseStamina":180,"Id":145},{"BaseAttack":242,"BaseDefense":194,"BaseStamina":180,"Id":146},{"BaseAttack":128,"BaseDefense":110,"BaseStamina":82,"Id":147},{"BaseAttack":170,"BaseDefense":152,"BaseStamina":122,"Id":148},{"BaseAttack":250,"BaseDefense":212,"BaseStamina":182,"Id":149},{"BaseAttack":284,"BaseDefense":202,"BaseStamina":212,"Id":150},{"BaseAttack":220,"BaseDefense":220,"BaseStamina":200,"Id":151}]' tcpms = [ 0.094 0.1351374 0.1663979 0.1926509 0.2157325 0.2365727 0.2557201 0.2735304 0.2902499 0.3060574 0.3210876 0.335445 0.3492127 0.3624578 0.3752356 0.3875924 0.3995673 0.4111936 0.4225 0.4335117 0.4431076 0.45306 0.4627984 0.4723361 0.481685 0.4908558 0.4998584 0.5087018 0.517394 0.5259425 0.5343543 0.5426358 0.5507927 0.5588306 0.5667545 0.5745692 0.5822789 0.5898879 0.5974 0.6048188 0.6121573 0.6194041 0.6265671 0.6336492 0.640653 0.647581 0.6544356 0.6612193 0.667934 0.6745819 0.6811649 0.6876849 0.6941437 0.7005429 0.7068842 0.7131691 0.7193991 0.7255756 0.7317 0.734741 0.7377695 0.7407856 0.7437894 0.7467812 0.749761 0.7527291 0.7556855 0.7586304 0.7615638 0.7644861 0.7673972 0.7702973 0.7731865 0.776065 0.7789328 0.7817901 0.784637 0.7874736 0.7903 0.7931164 ] pokeDataJson = JSON.parse(pokeDataAll) pokeCardContainer = undefined mutationObserver = undefined observerConfig = undefined usingMutations = true aMutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver if !aMutationObserver usingMutations = false if usingMutations #if not, probably IE10 or below mutationObserver = new MutationObserver((mut) -> startCalc() return ) observerConfig = attributes: true childList: true characterData: true startCalc = -> pokemonNodes = document.getElementsByClassName('pokemon-card') iii = 0 while iii < pokemonNodes.length currCard = pokemonNodes[iii] currPokeData = currCard.getElementsByClassName('hidden')[0].innerHTML.split(' ') currLevel = '??' try currID = parseInt(currPokeData[0]) currCP = parseInt(currPokeData[1]) currATK = parseInt(currPokeData[2]) currDEF = parseInt(currPokeData[3]) currSTA = parseInt(currPokeData[4]) currLevel = getLevel(currID, currCP, currATK, currDEF, currSTA) catch err console.err 'error calculating level for node: ' + iii finally currCard.getElementsByClassName('level')[0].innerHTML = 'Lv ' + currLevel iii++ return getLevel = (id, cp, atk, def, sta) -> currPokemon = pokeDataJson[id] baseAtk = currPokemon['BaseAttack'] baseDef = currPokemon['BaseDefense'] baseSta = currPokemon['BaseStamina'] rhs = (baseAtk + atk) * Math.sqrt(baseDef + def) * Math.sqrt(baseSta + sta) * 0.1 currCpM = Math.sqrt((cp + 0.5) / rhs) #actual formula has floor(), doing the intermediate one nearestCpM = tcpms.reduce((last, curr) -> if Math.abs(curr - currCpM) < Math.abs(last - currCpM) then curr else last ) index = tcpms.indexOf(nearestCpM) (index + 2) / 2.0 $(document).on 'turbolinks:load', (event) -> startCalc() pokeCardContainer = document.getElementsByClassName('show-pokemon-container')[0] if usingMutations mutationObserver.observe pokeCardContainer, observerConfig else pokeCardContainer.addEventListener "DOMSubtreeModified", (ev)-> startCalc(); return return ================================================ FILE: app/assets/javascripts/users.coffee.erb ================================================ app = angular.module("Pogobag",["ngResource"]) app.directive("repeatFinish", -> return (scope, element, attr) -> element = angular.element(element)[0].children[0].children[8].children[0] num = pad scope.pokemon.poke_num, 3 element.setAttribute('src', image_path num+'.png') ) app.controller "UserCtrl", ["$scope", "$resource", ($scope, $resource) -> Entry = $resource "/:id/:stat", {stat: 'cp'} user = $('data').attr("user") $scope.pokemon = Entry.query(id:user) $scope.getOrder = (attribute) -> if ['poke_num','poke_id'].includes(attribute) $scope.pokemon.sort(compare(attribute, 'asc')) else $scope.pokemon.sort(compare(attribute,'desc')) return $(document).ajaxStop(-> $scope.pokemon = Entry.query(id:user) return ) ] $(document).on 'turbolinks:load', -> $('.loading').hide() return $(document).ajaxStart(-> $('.loading').show() return ) $(document).ajaxStop(-> $('.loading').hide() return ) compare = (attr, order) -> if order == 'asc' return (a,b) -> if ['weight_kg','height_m'].includes(attr) a_attr = parseFloat(a[attr]) b_attr = parseFloat(b[attr]) else a_attr = a[attr] b_attr = b[attr] if a_attr < b_attr return -1 if a_attr > b_attr return 1 if a['cp'] > b['cp'] then -1 else 1 else if order == 'desc' return (a,b) -> if ['weight_kg','height_m'].includes(attr) a_attr = parseFloat(a[attr]) b_attr = parseFloat(b[attr]) else a_attr = a[attr] b_attr = b[attr] if a_attr > b_attr return -1 if a_attr < b_attr return 1 if a['cp'] > b['cp'] then -1 else 1 pad = (str, max) -> str = str.toString() if str.length < max then pad('0' + str, max) else str <% imgs = {} Dir.chdir("#{Rails.root}/app/assets/images") do imgs = Dir["**"].inject({}) {|h,f| h.merge! f => image_path(f)} end %> window.image_path = (name) -> <%= imgs.to_json %>[name] ================================================ FILE: app/assets/pokemon.en.json ================================================ {"1":"Bulbasaur","2":"Ivysaur","3":"Venusaur","4":"Charmander","5":"Charmeleon","6":"Charizard","7":"Squirtle","8":"Wartortle","9":"Blastoise","10":"Caterpie","11":"Metapod","12":"Butterfree","13":"Weedle","14":"Kakuna","15":"Beedrill","16":"Pidgey","17":"Pidgeotto","18":"Pidgeot","19":"Rattata","20":"Raticate","21":"Spearow","22":"Fearow","23":"Ekans","24":"Arbok","25":"Pikachu","26":"Raichu","27":"Sandshrew","28":"Sandslash","29":"Nidoran♀","30":"Nidorina","31":"Nidoqueen","32":"Nidoran♂","33":"Nidorino","34":"Nidoking","35":"Clefairy","36":"Clefable","37":"Vulpix","38":"Ninetales","39":"Jigglypuff","40":"Wigglytuff","41":"Zubat","42":"Golbat","43":"Oddish","44":"Gloom","45":"Vileplume","46":"Paras","47":"Parasect","48":"Venonat","49":"Venomoth","50":"Diglett","51":"Dugtrio","52":"Meowth","53":"Persian","54":"Psyduck","55":"Golduck","56":"Mankey","57":"Primeape","58":"Growlithe","59":"Arcanine","60":"Poliwag","61":"Poliwhirl","62":"Poliwrath","63":"Abra","64":"Kadabra","65":"Alakazam","66":"Machop","67":"Machoke","68":"Machamp","69":"Bellsprout","70":"Weepinbell","71":"Victreebel","72":"Tentacool","73":"Tentacruel","74":"Geodude","75":"Graveler","76":"Golem","77":"Ponyta","78":"Rapidash","79":"Slowpoke","80":"Slowbro","81":"Magnemite","82":"Magneton","83":"Farfetch'd","84":"Doduo","85":"Dodrio","86":"Seel","87":"Dewgong","88":"Grimer","89":"Muk","90":"Shellder","91":"Cloyster","92":"Gastly","93":"Haunter","94":"Gengar","95":"Onix","96":"Drowzee","97":"Hypno","98":"Krabby","99":"Kingler","100":"Voltorb","101":"Electrode","102":"Exeggcute","103":"Exeggutor","104":"Cubone","105":"Marowak","106":"Hitmonlee","107":"Hitmonchan","108":"Lickitung","109":"Koffing","110":"Weezing","111":"Rhyhorn","112":"Rhydon","113":"Chansey","114":"Tangela","115":"Kangaskhan","116":"Horsea","117":"Seadra","118":"Goldeen","119":"Seaking","120":"Staryu","121":"Starmie","122":"Mr. Mime","123":"Scyther","124":"Jynx","125":"Electabuzz","126":"Magmar","127":"Pinsir","128":"Tauros","129":"Magikarp","130":"Gyarados","131":"Lapras","132":"Ditto","133":"Eevee","134":"Vaporeon","135":"Jolteon","136":"Flareon","137":"Porygon","138":"Omanyte","139":"Omastar","140":"Kabuto","141":"Kabutops","142":"Aerodactyl","143":"Snorlax","144":"Articuno","145":"Zapdos","146":"Moltres","147":"Dratini","148":"Dragonair","149":"Dragonite","150":"Mewtwo","151":"Mew","152":"Chikorita","153":"Bayleef","154":"Meganium","155":"Cyndaquil","156":"Quilava","157":"Typhlosion","158":"Totodile","159":"Croconaw","160":"Feraligatr","161":"Sentret","162":"Furret","163":"Hoothoot","164":"Noctowl","165":"Ledyba","166":"Ledian","167":"Spinarak","168":"Ariados","169":"Crobat","170":"Chinchou","171":"Lanturn","172":"Pichu","173":"Cleffa","174":"Igglybuff","175":"Togepi","176":"Togetic","177":"Natu","178":"Xatu","179":"Mareep","180":"Flaaffy","181":"Ampharos","182":"Bellossom","183":"Marill","184":"Azumarill","185":"Sudowoodo","186":"Politoed","187":"Hoppip","188":"Skiploom","189":"Jumpluff","190":"Aipom","191":"Sunkern","192":"Sunflora","193":"Yanma","194":"Wooper","195":"Quagsire","196":"Espeon","197":"Umbreon","198":"Murkrow","199":"Slowking","200":"Misdreavus","201":"Unown","202":"Wobbuffet","203":"Girafarig","204":"Pineco","205":"Forretress","206":"Dunsparce","207":"Gligar","208":"Steelix","209":"Snubbull","210":"Granbull","211":"Qwilfish","212":"Scizor","213":"Shuckle","214":"Heracross","215":"Sneasel","216":"Teddiursa","217":"Ursaring","218":"Slugma","219":"Magcargo","220":"Swinub","221":"Piloswine","222":"Corsola","223":"Remoraid","224":"Octillery","225":"Delibird","226":"Mantine","227":"Skarmory","228":"Houndour","229":"Houndoom","230":"Kingdra","231":"Phanpy","232":"Donphan","233":"Porygon2","234":"Stantler","235":"Smeargle","236":"Tyrogue","237":"Hitmontop","238":"Smoochum","239":"Elekid","240":"Magby","241":"Miltank","242":"Blissey","243":"Raikou","244":"Entei","245":"Suicune","246":"Larvitar","247":"Pupitar","248":"Tyranitar","249":"Lugia","250":"Ho-Oh","251":"Celebi","252":"Treecko","253":"Grovyle","254":"Sceptile","255":"Torchic","256":"Combusken","257":"Blaziken","258":"Mudkip","259":"Marshtomp","260":"Swampert","261":"Poochyena","262":"Mightyena","263":"Zigzagoon","264":"Linoone","265":"Wurmple","266":"Silcoon","267":"Beautifly","268":"Cascoon","269":"Dustox","270":"Lotad","271":"Lombre","272":"Ludicolo","273":"Seedot","274":"Nuzleaf","275":"Shiftry","276":"Taillow","277":"Swellow","278":"Wingull","279":"Pelipper","280":"Ralts","281":"Kirlia","282":"Gardevoir","283":"Surskit","284":"Masquerain","285":"Shroomish","286":"Breloom","287":"Slakoth","288":"Vigoroth","289":"Slaking","290":"Nincada","291":"Ninjask","292":"Shedinja","293":"Whismur","294":"Loudred","295":"Exploud","296":"Makuhita","297":"Hariyama","298":"Azurill","299":"Nosepass","300":"Skitty","301":"Delcatty","302":"Sableye","303":"Mawile","304":"Aron","305":"Lairon","306":"Aggron","307":"Meditite","308":"Medicham","309":"Electrike","310":"Manectric","311":"Plusle","312":"Minun","313":"Volbeat","314":"Illumise","315":"Roselia","316":"Gulpin","317":"Swalot","318":"Carvanha","319":"Sharpedo","320":"Wailmer","321":"Wailord","322":"Numel","323":"Camerupt","324":"Torkoal","325":"Spoink","326":"Grumpig","327":"Spinda","328":"Trapinch","329":"Vibrava","330":"Flygon","331":"Cacnea","332":"Cacturne","333":"Swablu","334":"Altaria","335":"Zangoose","336":"Seviper","337":"Lunatone","338":"Solrock","339":"Barboach","340":"Whiscash","341":"Corphish","342":"Crawdaunt","343":"Baltoy","344":"Claydol","345":"Lileep","346":"Cradily","347":"Anorith","348":"Armaldo","349":"Feebas","350":"Milotic","351":"Castform","352":"Kecleon","353":"Shuppet","354":"Banette","355":"Duskull","356":"Dusclops","357":"Tropius","358":"Chimecho","359":"Absol","360":"Wynaut","361":"Snorunt","362":"Glalie","363":"Spheal","364":"Sealeo","365":"Walrein","366":"Clamperl","367":"Huntail","368":"Gorebyss","369":"Relicanth","370":"Luvdisc","371":"Bagon","372":"Shelgon","373":"Salamence","374":"Beldum","375":"Metang","376":"Metagross","377":"Regirock","378":"Regice","379":"Registeel","380":"Latias","381":"Latios","382":"Kyogre","383":"Groudon","384":"Rayquaza","385":"Jirachi","386":"Deoxys","387":"Turtwig","388":"Grotle","389":"Torterra","390":"Chimchar","391":"Monferno","392":"Infernape","393":"Piplup","394":"Prinplup","395":"Empoleon","396":"Starly","397":"Staravia","398":"Staraptor","399":"Bidoof","400":"Bibarel","401":"Kricketot","402":"Kricketune","403":"Shinx","404":"Luxio","405":"Luxray","406":"Budew","407":"Roserade","408":"Cranidos","409":"Rampardos","410":"Shieldon","411":"Bastiodon","412":"Burmy","413":"Wormadam","414":"Mothim","415":"Combee","416":"Vespiquen","417":"Pachirisu","418":"Buizel","419":"Floatzel","420":"Cherubi","421":"Cherrim","422":"Shellos","423":"Gastrodon","424":"Ambipom","425":"Drifloon","426":"Drifblim","427":"Buneary","428":"Lopunny","429":"Mismagius","430":"Honchkrow","431":"Glameow","432":"Purugly","433":"Chingling","434":"Stunky","435":"Skuntank","436":"Bronzor","437":"Bronzong","438":"Bonsly","439":"Mime Jr.","440":"Happiny","441":"Chatot","442":"Spiritomb","443":"Gible","444":"Gabite","445":"Garchomp","446":"Munchlax","447":"Riolu","448":"Lucario","449":"Hippopotas","450":"Hippowdon","451":"Skorupi","452":"Drapion","453":"Croagunk","454":"Toxicroak","455":"Carnivine","456":"Finneon","457":"Lumineon","458":"Mantyke","459":"Snover","460":"Abomasnow","461":"Weavile","462":"Magnezone","463":"Lickilicky","464":"Rhyperior","465":"Tangrowth","466":"Electivire","467":"Magmortar","468":"Togekiss","469":"Yanmega","470":"Leafeon","471":"Glaceon","472":"Gliscor","473":"Mamoswine","474":"Porygon-Z","475":"Gallade","476":"Probopass","477":"Dusknoir","478":"Froslass","479":"Rotom","480":"Uxie","481":"Mesprit","482":"Azelf","483":"Dialga","484":"Palkia","485":"Heatran","486":"Regigigas","487":"Giratina","488":"Cresselia","489":"Phione","490":"Manaphy","491":"Darkrai","492":"Shaymin","493":"Arceus","494":"Victini","495":"Snivy","496":"Servine","497":"Serperior","498":"Tepig","499":"Pignite","500":"Emboar","501":"Oshawott","502":"Dewott","503":"Samurott","504":"Patrat","505":"Watchog","506":"Lillipup","507":"Herdier","508":"Stoutland","509":"Purrloin","510":"Liepard","511":"Pansage","512":"Simisage","513":"Pansear","514":"Simisear","515":"Panpour","516":"Simipour","517":"Munna","518":"Musharna","519":"Pidove","520":"Tranquill","521":"Unfezant","522":"Blitzle","523":"Zebstrika","524":"Roggenrola","525":"Boldore","526":"Gigalith","527":"Woobat","528":"Swoobat","529":"Drilbur","530":"Excadrill","531":"Audino","532":"Timburr","533":"Gurdurr","534":"Conkeldurr","535":"Tympole","536":"Palpitoad","537":"Seismitoad","538":"Throh","539":"Sawk","540":"Sewaddle","541":"Swadloon","542":"Leavanny","543":"Venipede","544":"Whirlipede","545":"Scolipede","546":"Cottonee","547":"Whimsicott","548":"Petilil","549":"Lilligant","550":"Basculin","551":"Sandile","552":"Krokorok","553":"Krookodile","554":"Darumaka","555":"Darmanitan","556":"Maractus","557":"Dwebble","558":"Crustle","559":"Scraggy","560":"Scrafty","561":"Sigilyph","562":"Yamask","563":"Cofagrigus","564":"Tirtouga","565":"Carracosta","566":"Archen","567":"Archeops","568":"Trubbish","569":"Garbodor","570":"Zorua","571":"Zoroark","572":"Minccino","573":"Cinccino","574":"Gothita","575":"Gothorita","576":"Gothitelle","577":"Solosis","578":"Duosion","579":"Reuniclus","580":"Ducklett","581":"Swanna","582":"Vanillite","583":"Vanillish","584":"Vanilluxe","585":"Deerling","586":"Sawsbuck","587":"Emolga","588":"Karrablast","589":"Escavalier","590":"Foongus","591":"Amoonguss","592":"Frillish","593":"Jellicent","594":"Alomomola","595":"Joltik","596":"Galvantula","597":"Ferroseed","598":"Ferrothorn","599":"Klink","600":"Klang","601":"Klinklang","602":"Tynamo","603":"Eelektrik","604":"Eelektross","605":"Elgyem","606":"Beheeyem","607":"Litwick","608":"Lampent","609":"Chandelure","610":"Axew","611":"Fraxure","612":"Haxorus","613":"Cubchoo","614":"Beartic","615":"Cryogonal","616":"Shelmet","617":"Accelgor","618":"Stunfisk","619":"Mienfoo","620":"Mienshao","621":"Druddigon","622":"Golett","623":"Golurk","624":"Pawniard","625":"Bisharp","626":"Bouffalant","627":"Rufflet","628":"Braviary","629":"Vullaby","630":"Mandibuzz","631":"Heatmor","632":"Durant","633":"Deino","634":"Zweilous","635":"Hydreigon","636":"Larvesta","637":"Volcarona","638":"Cobalion","639":"Terrakion","640":"Virizion","641":"Tornadus","642":"Thundurus","643":"Reshiram","644":"Zekrom","645":"Landorus","646":"Kyurem","647":"Keldeo","648":"Meloetta","649":"Genesect","650":"Chespin","651":"Quilladin","652":"Chesnaught","653":"Fennekin","654":"Braixen","655":"Delphox","656":"Froakie","657":"Frogadier","658":"Greninja","659":"Bunnelby","660":"Diggersby","661":"Fletchling","662":"Fletchinder","663":"Talonflame","664":"Scatterbug","665":"Spewpa","666":"Vivillon","667":"Litleo","668":"Pyroar","669":"Flabébé","670":"Floette","671":"Florges","672":"Skiddo","673":"Gogoat","674":"Pancham","675":"Pangoro","676":"Furfrou","677":"Espurr","678":"Meowstic","679":"Honedge","680":"Doublade","681":"Aegislash","682":"Spritzee","683":"Aromatisse","684":"Swirlix","685":"Slurpuff","686":"Inkay","687":"Malamar","688":"Binacle","689":"Barbaracle","690":"Skrelp","691":"Dragalge","692":"Clauncher","693":"Clawitzer","694":"Helioptile","695":"Heliolisk","696":"Tyrunt","697":"Tyrantrum","698":"Amaura","699":"Aurorus","700":"Sylveon","701":"Hawlucha","702":"Dedenne","703":"Carbink","704":"Goomy","705":"Sliggoo","706":"Goodra","707":"Klefki","708":"Phantump","709":"Trevenant","710":"Pumpkaboo","711":"Gourgeist","712":"Bergmite","713":"Avalugg","714":"Noibat","715":"Noivern","716":"Xerneas","717":"Yveltal","718":"Zygarde","719":"Diancie","720":"Hoopa","721":"Volcanion"} ================================================ FILE: app/assets/stylesheets/application.css.scss ================================================ /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. * * You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS * files in this directory. Styles in this file should be added after the last require_* statement. * It is generally better to create a new file per style scope. * *= require_tree . *= require_self */ @import 'bootstrap-sprockets'; @import 'bootstrap'; @import 'font-awesome'; @import 'bootstrap-social'; @mixin box_sizing { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /* header */ .navbar { margin-bottom: 0px; } .button_to{ display: inline; } .refresh-button{ font-size: 10px; padding: 5px; margin-bottom: 4px; } #logo { float: left; margin-right: 10px; margin-left: 10px; font-size: 1.7em; color: black; text-transform: uppercase; letter-spacing: -1px; padding-top: 10px; font-weight: bold; } #logo:hover { color: gray; text-decoration: none; } body { //padding-top: 70px; // This is to allow for fixed navbar at top. } .alert { text-align: center; } .debug_dump { padding-left: 8rem; clear: both; float: left; width: 100%; margin-top: 45px; @include box_sizing; } .form-group .copy-field { width: 155px; } .navbar-left{ .donate-small{ padding-top: 12px; } } ul .header-name { position: relative; font-weight: bold; font-size: 21px; top: 11px; .last-data-update{ font-size: 12px; } } @media (max-width: 768px){ .navbar-left{ margin: 0px -15px; margin-bottom: -10px; .donate-small{ padding-top: 10px; text-align: right; } } ul .header-name{ right: 10px; } .copy-form{ text-align: right; input { text-align: right; } display: none; } .alert { //margin-left: 6rem; } header { ul{ text-align: right; input[type="submit"] { margin-right: 8px; margin-top: 5px; } li { display: inline; a { display: block; text-align: right; } } } .form-control { width: 80%; margin-left: auto; margin-right: 8px } /* webkit */ ::-webkit-input-placeholder { text-align:right; } /* mozilla */ input:-moz-placeholder { text-align:right; } } } // 20px gutter .gutter-20.row { margin-right: -10px; margin-left: -10px; } .gutter-20 > [class^="col-"], .gutter-20 > [class^=" col-"] { padding-right: 10px; padding-left: 10px; } // 10px gutter .gutter-10.row { margin-right: -.5rem; margin-left: -.5rem; } .gutter-10 > [class^="col-"], .gutter-10 > [class^=" col-"] { padding-right: .5rem; padding-left: .5rem; } // 0px gutter .gutter-0.row { margin-right: 0; margin-left: 0; } .gutter-0 > [class^="col-"], .gutter-0 > [class^=" col-"]{ padding-right: 0; padding-left: 0; } // To override style to 'display: inline-block;' from font-awesome rails gem .pagination { margin-top: 5px; margin-bottom: 0px; } .fa { display: table-cell; } .thumbnail { .data { padding: 0px; } margin-bottom: .8rem; } :root { font-size: 10px; } @media (max-width: 1262px){ :root { font-size: 8px; } } @media (max-width: 515px){ :root { font-size: 5px; } } ================================================ FILE: app/assets/stylesheets/pokemon.scss ================================================ @mixin center-absolute{ left: 50%; right: 50%; transform: translate(-50%,0%); } @mixin metadata{ position: absolute; z-index: 1; font-size: 1.2rem; color: rgba(0,0,0,.46); } .pokemon-card { height: 25rem; position: relative; table { width: 100%; } .number{ @include metadata; top: 5px; left: 7px; } .level{ @include metadata; top: 2rem; left: 7px; font-weight: bolder; } .max_cp{ @include metadata; right: 7px; top: 5px; } .stardust_to_max_cp{ @include metadata; right: 7px; top: 2rem; } .candy_to_max_cp{ @include metadata; right: 7px; top: 3.5rem; } .hidden{ display: none; } .weight{ @include metadata; right: 7px; top: 2rem; } .height{ @include metadata; right: 7px; top: 5px; } .attacked{ @include metadata; width: 10%; top: 5.3rem; left: 7px; span { font-size: 1.8rem; } .fa-2x{ font-size: 1.4rem; } } .defended{ @include metadata; width: 10%; left: 7px; top: 7.3rem; span { font-size: 1.8rem; } .fa-2x{ font-size: 1.4rem; } } .name { margin-top: 0px; margin-bottom: 0px; font-size: 1.9rem; font-weight: bold; position: relative; } .CP{ font-size:1.9rem; text-align: right; } .image-box{ overflow: hidden; background-color: #eeeeee; position: relative; width: 100%; height: 9.7rem; img{ z-index: 0; position: absolute; @include center-absolute; max-height: 100%; max-width: 100%; } } .data{ .big-bars{ margin-bottom: .6rem; .progress{ height: 2.2rem; margin-bottom: .3rem; .progress-bar{ font-size: 1.3rem; line-height: 2.3rem; } } } .small-bars{ .progress{ height: 1.6rem; margin-bottom: .3rem; .progress-bar{ font-size:1.1rem; line-height:1.6rem; } } .IV { font-size: 1.2rem; } .IV-bar{ width: 86%; } } } } ================================================ FILE: app/assets/stylesheets/sessions.scss ================================================ // Place all the styles related to the Sessions controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ .ptc-login{ margin-top: 5px; } ================================================ FILE: app/assets/stylesheets/sidebar.scss ================================================ @import url(//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css); .fa-2x { font-size: 2em; } .fa { position: relative; display: table-cell; width: 6.0rem; height: 3.6rem; text-align: center; vertical-align: middle; font-size:2.0rem; } .main-menu:hover,nav.main-menu.expanded { width:25.0rem; overflow:visible; } .main-menu { background:#fbfbfb; border-right:.1rem solid #e5e5e5; position: fixed; top:0; bottom:0; height:100%; left:0; width:6.0rem; overflow:hidden; -webkit-transition:width .05s linear; transition:width .05s linear; -webkit-transform:translateZ(0) scale(1,1); z-index:1000; } .main-menu>ul { margin: 0; height: 100vh; } .main-menu li { position:relative; height: 7.6923077vh; display:block; width:25.0rem; } .main-menu li>a { height: 100%; position:relative; display:table; border-collapse:collapse; border-spacing:0; color:#999; font-family: arial; font-size: 2rem; text-decoration:none; -webkit-transform:translateZ(0) scale(1,1); -webkit-transition:all .1s linear; transition:all .1s linear; } .main-menu .nav-icon { position:relative; display:table-cell; width:6.0rem; height:3.6rem; text-align:center; vertical-align:middle; font-size:1.8rem; } .main-menu .nav-text { position:relative; display:table-cell; vertical-align:middle; width:19.0rem; } .no-touch .scrollable.hover { overflow-y:hidden; } .no-touch .scrollable.hover:hover { overflow-y:auto; overflow:visible; } a:hover,a:focus { text-decoration:none; } nav { -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; -o-user-select:none; user-select:none; } nav ul,nav li { outline:0; margin:0; padding:0; } .main-menu li:hover>a,nav.main-menu li.active>a,.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus,.no-touch .dashboard-page nav.dashboard-menu ul li:hover a,.dashboard-page nav.dashboard-menu ul li.active a { color:#fff; background-color:#5fa2db; } @font-face { font-style: normal; font-weight: 300; } ================================================ FILE: app/assets/stylesheets/static_pages.scss ================================================ // Place all the styles related to the static_pages controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ .home-page-wrap{ height: 100vh; //background-image: url('/assets/background-home.png'); background-size: cover; } .disclaimer{ position:absolute; bottom:0px; font-size: 1.2rem; font-style:italic; } .home-page { position: relative; margin-top: 3%; background-color: rgba(255,255,255,.75); border-radius: 1.5rem; box-shadow: 1rem 1rem 0.5rem #888888; padding: 2vh; .landing-title{ display: block; width: 100%; text-align: center; margin: 0 auto; img { width: 50px; } h3{ margin-top: 0px; } } h1 { a { font-size: 17px; font-weight: 250; letter-spacing: 5px; } } li { font-size: 20px; text-decoration: none; } .features-list{ display: block; width: 80%; margin: 0 auto; li { .glyphicon { margin-right: 5px; } list-style-type: none; margin-top: 14px; } } } .about-page{ margin-bottom: 30px; display: block; width: 75%; margin: 0 auto; p { font-size: 20px; } } h1 { text-align: center; } .login-box{ display: block; height: 100%; background-color: rgba(0,0,0,0.3); border-radius: 5px; width: 300px; margin: 0 auto; padding-top: 10px; padding-bottom: 10px; margin-bottom: 20px; h1 { line-height: 1; font-size: 3em; letter-spacing: -2px; margin-bottom: 30px; text-align: center; } .code-field{ margin-top: 10px; } #login-btn{ width: 100%; margin-top: 10px; } } .form-container{ width: 95%; height: 85%; margin: 0 auto; } @media (max-width: 320px){ .login-box{ width: 265px; } } @media (max-width: 768px){ .home-page .features-list{ display: none; } } ================================================ FILE: app/assets/stylesheets/stats.scss ================================================ // Place all the styles related to the stats controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ ul { padding-left: 0px; li { list-style-type: none; } } .value-header { text-align: center; font-size: 5rem; } th.header { background-image: url(../img/small.gif); cursor: pointer; font-weight: bold; background-repeat: no-repeat; background-position: center left; padding-left: 20px; border-right: 1px solid #dad9c7; margin-left: -1px; } th.headerSortDown { background-image: url(../img/small_desc.gif); background-color: #3399FF; } th.headerSortUp { background-image: url(../img/small_asc.gif); background-color: #3399FF; } ================================================ FILE: app/assets/stylesheets/users.scss ================================================ // Place all the styles related to the users controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ @mixin border-right{ padding-right: 2rem; border-right: 1px solid lightgray; } .show-pokemon-container{ padding-left: 6rem; padding-top: 1rem; } #poke_iv, #poke_recent, #poke_health, #poke_atk, #poke_def, #poke_sta, #poke_name, #poke_num, #poke_attack, #poke_defend, #poke_height, #poke_weight{ display: none; } .user-list{ margin: 0 auto; width: 100%; margin-top: 5px; ul { font-size: 6rem; text-align: center; a { text-decoration: none; } li { border: 1px solid lightgray; img { max-height: 6rem; } table{ width: 100%; .level { width: 20%; @include border-right; } .name { width: 60%; @include border-right; } .team { width: 20%; } td { font-size: 2.4rem; } } } } } data { display: none; } .loading{ position: fixed; top: 50%; left: 50%; } .line { display: inline-block; width: 15px; height: 15px; border-radius: 15px; background-color: #4b9cdb; } .loading .line:nth-last-child(1) {animation: loadingA 1.5s 1s infinite;} .loading .line:nth-last-child(2) {animation: loadingA 1.5s .5s infinite;} .loading .line:nth-last-child(3) {animation: loadingA 1.5s 0s infinite;} @keyframes loadingA { 0% {height: 15px;} 50% {height: 35px;} 100% {height: 15px;} } ================================================ FILE: app/channels/application_cable/channel.rb ================================================ module ApplicationCable class Channel < ActionCable::Channel::Base end end ================================================ FILE: app/channels/application_cable/connection.rb ================================================ module ApplicationCable class Connection < ActionCable::Connection::Base end end ================================================ FILE: app/controllers/application_controller.rb ================================================ class ApplicationController < ActionController::Base protect_from_forgery with: :exception, prepend: true require 'poke-api' include SessionsHelper include UsersHelper end ================================================ FILE: app/controllers/concerns/.keep ================================================ ================================================ FILE: app/controllers/sessions_controller.rb ================================================ class SessionsController < ApplicationController Poke::API::Logging.log_level = :DEBUG if Rails.env.development? Poke::API::Logging.log_level = :WARN if Rails.env.production? rescue_from Poke::API::Errors::LoginFailure, :with => :login_error_ptc rescue_from ActionController::InvalidAuthenticityToken, :with => :logout_error rescue_from Poke::API::Errors::UnknownProtoFault, :with => :login_error_google def create # Authorize auth_objects = setup_user client = auth_objects[:client] @user = auth_objects[:user] # Store all data if store_data(client, @user) #SUCCESS # set session variable to log in session[:pogo_alias] = @user.name # Redirect redirect_to user_link else #FAIL flash[:danger] = "There was an error when requesting your data (This could be because your account is banned or Niantic's servers are busy). Please try again." @user.delete redirect_to '/home' end end def destroy log_out if logged_in? redirect_to root_url end protected def login_error_ptc flash.now[:danger] = 'Invalid user/password combination' render 'static_pages/home' end def logout_error redirect_to 'static_pages/home' end def login_error_google flash.now[:danger] = 'Authorization code was empty' #flash.now[:danger] = 'Niantic is blocking requests from the server. Please stand by.' render 'static_pages/home' end end ================================================ FILE: app/controllers/static_pages_controller.rb ================================================ class StaticPagesController < ApplicationController def home end def about end end ================================================ FILE: app/controllers/stats_controller.rb ================================================ class StatsController < ApplicationController def show if params[:stat] @pokemon = Pokemon.order("#{params[:stat]} DESC, cp DESC, iv DESC").limit(100).includes(:user) else @pokemon = Pokemon.order("cp DESC, iv DESC").limit(100).includes(:user) end end end ================================================ FILE: app/controllers/users_controller.rb ================================================ class UsersController < ApplicationController rescue_from ActiveRecord::RecordNotFound, with: :not_found rescue_from ActiveRecord::StatementInvalid, with: :direct_to_default def index @users = User.trainer_search(params[:search]). order(created_at: :desc). paginate(page: params[:page]) end def show @user = User.find_by(name: params[:id]) || User.find(params[:id]) if params[:refresh] if @user.refresh_token != nil if @user.access_token_expire_time > Time.now.to_i refresh_data(@user) else flash.now[:danger] = "#{@user.screen_name}'s token expired. #{@user.screen_name} must login to refresh his token." end else flash.now[:danger] = "#{@user.screen_name} is a PTC account. #{@user.screen_name} must login to refresh his Pokémon." end end end def get_pokemon @user = User.find_by(name: params[:id]) || User.find(params[:id]) if params[:stat] if %w(level max_cp candy_to_max_cp stardust_to_max_cp).include?(params[:stat]) @pokemon = @user.pokemon.sort_by {|p| p.send(params[:stat].to_s)}.reverse else direction = %w(poke_num poke_id).include?(params[:stat]) ? 'ASC' : 'DESC' @pokemon = @user.pokemon.order("#{params[:stat]} #{direction}, cp DESC, iv DESC") end else @pokemon = @user.pokemon.order("cp DESC") end render json: @pokemon end private def not_found if logged_in? redirect_to user_link else redirect_to root_path end flash[:danger] = 'The player you are looking for does not exist (Trainers have to log into PoGoBag to be seen)' end def direct_to_default redirect_to '/'+params[:id] end end ================================================ FILE: app/helpers/application_helper.rb ================================================ module ApplicationHelper end ================================================ FILE: app/helpers/sessions_helper.rb ================================================ module SessionsHelper require 'poke-api' require 'pp' file = File.read('app/assets/pokemon.en.json') @@pokemon_hash = JSON.parse(file) def current_user if (name = session[:pogo_alias]) @current_user ||= User.find_by(name: name) end end def logged_in? !current_user.nil? end def log_out session.delete(:pogo_alias) session.delete(:user) @user = nil end # Reset database def destroy_user_data(user) user.pokemon.where(user_id: user.id).delete_all user.items.where(user_id: user.id).delete_all end # Parse through all data and store into database def store_data(client, user) destroy_user_data(user) call = get_call(client, :get_inventory) trycount = 0 while call.response[:status_code] != 1 if trycount > 1 return false else call = get_call(client, :get_inventory) trycount += 1 end end response = call.response #begin response[:GET_INVENTORY][:inventory_delta][:inventory_items].each do |item| item[:inventory_item_data].each do |type, i| if i != nil case type when :player_stats user.level = i[:level] user.experience = i[:experience] user.prev_level_xp = i[:prev_level_xp] user.next_level_xp = i[:next_level_xp] user.pokemons_encountered = i[:pokemons_encountered] user.km_walked = i[:km_walked] user.pokemons_captured = i[:pokemons_captured] user.poke_stop_visits = i[:poke_stop_visits] user.pokeballs_thrown = i[:pokeballs_thrown] user.battle_attack_won = i[:battle_attack_won] user.battle_attack_total = i[:battle_attack_total] user.battle_defended_won = i[:battle_defended_won] user.prestige_rasied_total = i[:prestige_rasied_total] user.prestige_dropped_total = i[:prestige_dropped_total] user.eggs_hatched = i[:eggs_hatched] user.unique_pokedex_entries = i[:unique_pokedex_entries] user.evolutions = i[:evolutions] user.save when :item item_id = i[:item_id] count = i[:count] user.items.create(item_id: item_id, count: count) when :pokemon_data # Set poke_id poke_id = i[:pokemon_id].capitalize.to_s # To deal with Nidoran and Mr. Mime naming poke_id = 'Nidoran♀' if poke_id.match('Nidoran_female') poke_id = 'Nidoran♂' if poke_id.match('Nidoran_male') poke_id = 'Mr. Mime' if poke_id.match('Mr_mime') poke_id = "Farfetch'd" if poke_id.match('Farfetchd') # To deal with MISSINGNO Pokemon if @@pokemon_hash.key(poke_id) != nil poke_num = @@pokemon_hash.key(poke_id) else poke_num = "0" end # Instantiate pokemon pokemon = user.pokemon.new # Set data pokemon.poke_id = poke_id pokemon.poke_num = poke_num pokemon.creation_time_ms = i[:creation_time_ms] pokemon.move_1 = i[:move_1] pokemon.move_2 = i[:move_2] pokemon.health = i[:stamina] pokemon.max_health = i[:stamina_max] pokemon.attack = i[:individual_attack] pokemon.defense = i[:individual_defense] pokemon.stamina = i[:individual_stamina] pokemon.cp = i[:cp] pokemon.iv = ((pokemon.attack + pokemon.defense + pokemon.stamina) / 45.0).round(3) pokemon.nickname = i[:nickname] pokemon.favorite = i[:favorite] pokemon.num_upgrades = i[:num_upgrades] pokemon.battles_attacked = i[:battles_attacked] pokemon.battles_defended = i[:battles_defended] pokemon.pokeball = i[:pokeball] pokemon.height_m = i[:height_m] pokemon.weight_kg = i[:weight_kg] # Save record pokemon.save #when :pokemon_family #poke_id = i[:family_id].to_s #poke_id.slice! 'FAMILY_' #poke_id = poke_id.capitalize.to_s #candy = i[:candy] ## Instantiate pokemon #pokemon = user.pokemon.where(:poke_id => poke_id).first_or_create! #pokemon.candy = candy #pokemon.save end end end end # Cleanup error pokemonn (Actually eggs) Pokemon.where(poke_id: "Missingno").delete_all return true end # get name from logged in client def get_player_info(client) call = get_call(client, :get_player) while call.response[:status_code] != 1 call = get_call(client, :get_player) end info = Hash.new response = call.response info[:name] = response[:GET_PLAYER][:player_data][:username] info[:team] = response[:GET_PLAYER][:player_data][:team] info[:max_pokemon_storage] = response[:GET_PLAYER][:player_data][:max_pokemon_storage] info[:max_item_storage] = response[:GET_PLAYER][:player_data][:max_item_storage] info[:POKECOIN] = response[:GET_PLAYER][:player_data][:currencies][0][:amount] info[:STARDUST] = response[:GET_PLAYER][:player_data][:currencies][1][:amount] return info end # Handle login logic def setup_user if params.has_key? :ptc # PTC LOGIN------------ client = Poke::API::Client.new # Grab all credentials from form username = params[:ptc][:username] pass = params[:ptc][:password] client.login(username, pass, 'ptc') end if params.has_key? :google # GOOGLE LOGIN--------- response = authorized_client params[:google][:code] client = response[:client] refresh_token = response[:refresh_token] end if defined? refresh_token @user = setup_client_user_pair(client, refresh_token) else @user = setup_client_user_pair(client) end return {:user => @user, :client => client} end def setup_client_user_pair(client, refresh_token = nil) info = get_player_info(client) screen_name = info[:name] name = screen_name.downcase @user = User.where(:name => name).first_or_create! @user.screen_name = screen_name @user.team = info[:team] @user.max_pokemon_storage = info[:max_pokemon_storage] @user.max_item_storage = info[:max_item_storage] @user.POKECOIN = info[:POKECOIN] @user.STARDUST = info[:STARDUST] @user.last_data_update = Time.now.to_s if !refresh_token.nil? time = Time.now + 3600 time = time.to_i @user.access_token_expire_time = time @user.refresh_token = refresh_token end @user.save return @user end def refresh_data(user) auth_objects = authorized_client(user.refresh_token, 'refresh_token') client = auth_objects[:client] user = setup_client_user_pair(client, user.refresh_token) while !store_data(client, user) store_data(client, user) end end def authorized_client(token, type = 'authorization_code') clnt = HTTPClient.new body = { grant_type: type, redirect_uri: 'urn:ietf:wg:oauth:2.0:oob', scope: 'openid email https://www.googleapis.com/auth/userinfo.email', client_secret: 'NCjF1TLi2CcY6t5mt0ZveuL7', client_id: '848232511240-73ri3t7plvk96pj4f85uj8otdat2alem.apps.googleusercontent.com', } if type == 'authorization_code' body[:code] = token end if type =='refresh_token' body[:refresh_token] = token end uri = 'https://accounts.google.com/o/oauth2/token' response = clnt.post(uri, body) body = response.body hash = JSON.parse body access_token = hash["id_token"] refresh_token = hash["refresh_token"] client = Poke::API::Client.new client.refresh_token = refresh_token client.login('', '', 'google') return {:client => client, :refresh_token => refresh_token} end # get response from call by providing client and request def get_call(client, req) client.send req call = client.call end end ================================================ FILE: app/helpers/static_pages_helper.rb ================================================ module StaticPagesHelper end ================================================ FILE: app/helpers/stats_helper.rb ================================================ module StatsHelper def rank_image(rank) case rank when 1 return image_path "etc/badge_lv3.png" when 2 return image_path "etc/badge_lv2.png" when 3 return image_path "etc/badge_lv1.png" end end def format_move(move) move.slice! '_FAST' move = move.split '_' move = move.map do |word| word.capitalize end move = move.join(" ") return move end end ================================================ FILE: app/helpers/users_helper.rb ================================================ module UsersHelper def user_link '/'+current_user.name end end ================================================ FILE: app/jobs/application_job.rb ================================================ class ApplicationJob < ActiveJob::Base end ================================================ FILE: app/mailers/application_mailer.rb ================================================ class ApplicationMailer < ActionMailer::Base default from: 'from@example.com' layout 'mailer' end ================================================ FILE: app/models/application_record.rb ================================================ class ApplicationRecord < ActiveRecord::Base self.abstract_class = true end ================================================ FILE: app/models/concerns/.keep ================================================ ================================================ FILE: app/models/item.rb ================================================ class Item < ApplicationRecord belongs_to :user, dependent: :destroy validates :item_id, presence: true validates :count, presence: true end ================================================ FILE: app/models/pokemon.rb ================================================ class Pokemon < ApplicationRecord belongs_to :user, dependent: :destroy validates :poke_id, presence: true validates :move_1, presence: true validates :move_2, presence: true validates :max_health, presence: true validates :attack, presence: true validates :defense, presence: true validates :stamina, presence: true validates :cp, presence: true validates :iv, presence: true validates :favorite, presence: true validates :num_upgrades, presence: true validates :battles_attacked, presence: true validates :battles_defended, presence: true validates :pokeball, presence: true validates :height_m, presence: true validates :weight_kg, presence: true validates :health, presence: true validates :poke_num, presence: true validates :creation_time_ms, presence: true def self.evaluate_type(type) puts type pokemon = Pokemon.where(poke_id: type).order(:cp) max_level = pokemon.length > 0 ? pokemon.first.user.level + 1.5 : 0 pokemon.map {|p| [p.cp, p.levels(max_level)]}.each {|ll| puts ll[0]; puts ll[1]} nil end def self.cheapest_to_cp(reach_cp = 2500) to_reach = Pokemon.all.select {|p| p.cost_to_cp(reach_cp)}.sort_by {|p| p.cost_to_cp(reach_cp)[2]} to_reach.each do |p| puts "#{p.poke_id} (#{p.cp}): #{p.cost_to_cp(reach_cp)}" end nil end def as_json(*) super.as_json.merge(level: level, max_cp: max_cp, candy_to_max_cp: candy_to_max_cp, stardust_to_max_cp: stardust_to_max_cp) end def powered_up return @powered_up if @powered_up test_level = user.level+1.5 candy_investment = Pokemon.power_up_cost[level][:cumulative_candy] stardust_investment = Pokemon.power_up_cost[level][:cumulative_stardust] cp = Pokemon.compute_cp(test_level, evolved[:stats][0], evolved[:stats][1], evolved[:stats][2]) candy_cost = evolved[:cost] + Pokemon.power_up_cost[test_level][:cumulative_candy] - candy_investment stardust_cost = Pokemon.power_up_cost[test_level][:cumulative_stardust] - stardust_investment @powered_up = {level: test_level, cp: cp, candy: candy_cost, stardust: stardust_cost} end def max_cp powered_up[:cp] end def stardust_to_max_cp powered_up[:stardust] end def candy_to_max_cp powered_up[:candy] end # calculates cost (in candies and stardust) to reach 2500 def cost_to_cp(reach_cp = 2500) level_above_cp = levels.find { |l| l[:cp] >= reach_cp } return nil unless level_above_cp return [level_above_cp[:level], level_above_cp[:candy], level_above_cp[:stardust]] end def evolved return @evolved if @evolved cost = 0 evolved_poke_num = poke_num while evolve_cost = Pokemon.base_stats[evolved_poke_num][3] do cost += evolve_cost evolved_poke_num += 1 end total_stats = Pokemon.base_stats[evolved_poke_num][0..2] total_stats[0] += attack total_stats[1] += defense total_stats[2] += stamina @evolved = { stats: total_stats, cost: cost } end def level return @level if @level rhs = (Pokemon.base_stats[poke_num][0] + attack) * (Pokemon.base_stats[poke_num][1] + defense) ** 0.5 * (Pokemon.base_stats[poke_num][2] + stamina) ** 0.5 * 0.1 cpm = ((cp + 0.5) / rhs) ** 0.5 # actual formula has floor(), doing the intermediate one closest_cpm = Pokemon.cp_multiplier.values.min_by { |x| (x - cpm).abs } @level = Pokemon.cp_multiplier.key(closest_cpm) end # calculates outcomes of evolving and leveling def levels(max_level = 40.0) candy_investment = Pokemon.power_up_cost[level][:cumulative_candy] stardust_investment = Pokemon.power_up_cost[level][:cumulative_stardust] max_num_power_ups = (max_level - level) * 2.0 (0..max_num_power_ups).map do |power_ups| test_level = level + power_ups / 2.0 cp = Pokemon.compute_cp(test_level, evolved[:stats][0], evolved[:stats][1], evolved[:stats][2]) candy_cost = evolved[:cost] + Pokemon.power_up_cost[test_level][:cumulative_candy] - candy_investment stardust_cost = Pokemon.power_up_cost[test_level][:cumulative_stardust] - stardust_investment {level: test_level, cp: cp, candy: candy_cost, stardust: stardust_cost} end.compact end def self.compute_cp(level, attack, defense, stamina) ((attack * defense ** 0.5 * stamina ** 0.5 * cp_multiplier[level]**2)/10).floor end def self.power_up_cost @@memoized_power_up_cost ||= [ [1.0, {:candy=>1, :stardust=>200, :cumulative_candy=>0, :cumulative_stardust=>0}], [1.5, {:candy=>1, :stardust=>200, :cumulative_candy=>1, :cumulative_stardust=>200}], [2.0, {:candy=>1, :stardust=>200, :cumulative_candy=>2, :cumulative_stardust=>400}], [2.5, {:candy=>1, :stardust=>200, :cumulative_candy=>3, :cumulative_stardust=>600}], [3.0, {:candy=>1, :stardust=>400, :cumulative_candy=>4, :cumulative_stardust=>800}], [3.5, {:candy=>1, :stardust=>400, :cumulative_candy=>5, :cumulative_stardust=>1200}], [4.0, {:candy=>1, :stardust=>400, :cumulative_candy=>6, :cumulative_stardust=>1600}], [4.5, {:candy=>1, :stardust=>400, :cumulative_candy=>7, :cumulative_stardust=>2000}], [5.0, {:candy=>1, :stardust=>600, :cumulative_candy=>8, :cumulative_stardust=>2400}], [5.5, {:candy=>1, :stardust=>600, :cumulative_candy=>9, :cumulative_stardust=>3000}], [6.0, {:candy=>1, :stardust=>600, :cumulative_candy=>10, :cumulative_stardust=>3600}], [6.5, {:candy=>1, :stardust=>600, :cumulative_candy=>11, :cumulative_stardust=>4200}], [7.0, {:candy=>1, :stardust=>800, :cumulative_candy=>12, :cumulative_stardust=>4800}], [7.5, {:candy=>1, :stardust=>800, :cumulative_candy=>13, :cumulative_stardust=>5600}], [8.0, {:candy=>1, :stardust=>800, :cumulative_candy=>14, :cumulative_stardust=>6400}], [8.5, {:candy=>1, :stardust=>800, :cumulative_candy=>15, :cumulative_stardust=>7200}], [9.0, {:candy=>1, :stardust=>1000, :cumulative_candy=>16, :cumulative_stardust=>8000}], [9.5, {:candy=>1, :stardust=>1000, :cumulative_candy=>17, :cumulative_stardust=>9000}], [10.0, {:candy=>1, :stardust=>1000, :cumulative_candy=>18, :cumulative_stardust=>10000}], [10.5, {:candy=>1, :stardust=>1000, :cumulative_candy=>19, :cumulative_stardust=>11000}], [11.0, {:candy=>2, :stardust=>1300, :cumulative_candy=>20, :cumulative_stardust=>12000}], [11.5, {:candy=>2, :stardust=>1300, :cumulative_candy=>22, :cumulative_stardust=>13300}], [12.0, {:candy=>2, :stardust=>1300, :cumulative_candy=>24, :cumulative_stardust=>14600}], [12.5, {:candy=>2, :stardust=>1300, :cumulative_candy=>26, :cumulative_stardust=>15900}], [13.0, {:candy=>2, :stardust=>1600, :cumulative_candy=>28, :cumulative_stardust=>17200}], [13.5, {:candy=>2, :stardust=>1600, :cumulative_candy=>30, :cumulative_stardust=>18800}], [14.0, {:candy=>2, :stardust=>1600, :cumulative_candy=>32, :cumulative_stardust=>20400}], [14.5, {:candy=>2, :stardust=>1600, :cumulative_candy=>34, :cumulative_stardust=>22000}], [15.0, {:candy=>2, :stardust=>1900, :cumulative_candy=>36, :cumulative_stardust=>23600}], [15.5, {:candy=>2, :stardust=>1900, :cumulative_candy=>38, :cumulative_stardust=>25500}], [16.0, {:candy=>2, :stardust=>1900, :cumulative_candy=>40, :cumulative_stardust=>27400}], [16.5, {:candy=>2, :stardust=>1900, :cumulative_candy=>42, :cumulative_stardust=>29300}], [17.0, {:candy=>2, :stardust=>2200, :cumulative_candy=>44, :cumulative_stardust=>31200}], [17.5, {:candy=>2, :stardust=>2200, :cumulative_candy=>46, :cumulative_stardust=>33400}], [18.0, {:candy=>2, :stardust=>2200, :cumulative_candy=>48, :cumulative_stardust=>35600}], [18.5, {:candy=>2, :stardust=>2200, :cumulative_candy=>50, :cumulative_stardust=>37800}], [19.0, {:candy=>2, :stardust=>2500, :cumulative_candy=>52, :cumulative_stardust=>40000}], [19.5, {:candy=>2, :stardust=>2500, :cumulative_candy=>54, :cumulative_stardust=>42500}], [20.0, {:candy=>2, :stardust=>2500, :cumulative_candy=>56, :cumulative_stardust=>45000}], [20.5, {:candy=>2, :stardust=>2500, :cumulative_candy=>58, :cumulative_stardust=>47500}], [21.0, {:candy=>3, :stardust=>3000, :cumulative_candy=>60, :cumulative_stardust=>50000}], [21.5, {:candy=>3, :stardust=>3000, :cumulative_candy=>63, :cumulative_stardust=>53000}], [22.0, {:candy=>3, :stardust=>3000, :cumulative_candy=>66, :cumulative_stardust=>56000}], [22.5, {:candy=>3, :stardust=>3000, :cumulative_candy=>69, :cumulative_stardust=>59000}], [23.0, {:candy=>3, :stardust=>3500, :cumulative_candy=>72, :cumulative_stardust=>62000}], [23.5, {:candy=>3, :stardust=>3500, :cumulative_candy=>75, :cumulative_stardust=>65500}], [24.0, {:candy=>3, :stardust=>3500, :cumulative_candy=>78, :cumulative_stardust=>69000}], [24.5, {:candy=>3, :stardust=>3500, :cumulative_candy=>81, :cumulative_stardust=>72500}], [25.0, {:candy=>3, :stardust=>4000, :cumulative_candy=>84, :cumulative_stardust=>76000}], [25.5, {:candy=>3, :stardust=>4000, :cumulative_candy=>87, :cumulative_stardust=>80000}], [26.0, {:candy=>4, :stardust=>4000, :cumulative_candy=>90, :cumulative_stardust=>84000}], [26.5, {:candy=>4, :stardust=>4000, :cumulative_candy=>94, :cumulative_stardust=>88000}], [27.0, {:candy=>4, :stardust=>4500, :cumulative_candy=>98, :cumulative_stardust=>92000}], [27.5, {:candy=>4, :stardust=>4500, :cumulative_candy=>102, :cumulative_stardust=>96500}], [28.0, {:candy=>4, :stardust=>4500, :cumulative_candy=>106, :cumulative_stardust=>101000}], [28.5, {:candy=>4, :stardust=>4500, :cumulative_candy=>110, :cumulative_stardust=>105500}], [29.0, {:candy=>4, :stardust=>5000, :cumulative_candy=>114, :cumulative_stardust=>110000}], [29.5, {:candy=>4, :stardust=>5000, :cumulative_candy=>118, :cumulative_stardust=>115000}], [30.0, {:candy=>4, :stardust=>5000, :cumulative_candy=>122, :cumulative_stardust=>120000}], [30.5, {:candy=>4, :stardust=>5000, :cumulative_candy=>126, :cumulative_stardust=>125000}], [31.0, {:candy=>6, :stardust=>6000, :cumulative_candy=>130, :cumulative_stardust=>130000}], [31.5, {:candy=>6, :stardust=>6000, :cumulative_candy=>136, :cumulative_stardust=>136000}], [32.0, {:candy=>6, :stardust=>6000, :cumulative_candy=>142, :cumulative_stardust=>142000}], [32.5, {:candy=>6, :stardust=>6000, :cumulative_candy=>148, :cumulative_stardust=>148000}], [33.0, {:candy=>8, :stardust=>7000, :cumulative_candy=>154, :cumulative_stardust=>154000}], [33.5, {:candy=>8, :stardust=>7000, :cumulative_candy=>162, :cumulative_stardust=>161000}], [34.0, {:candy=>8, :stardust=>7000, :cumulative_candy=>170, :cumulative_stardust=>168000}], [34.5, {:candy=>8, :stardust=>7000, :cumulative_candy=>178, :cumulative_stardust=>175000}], [35.0, {:candy=>10, :stardust=>8000, :cumulative_candy=>186, :cumulative_stardust=>182000}], [35.5, {:candy=>10, :stardust=>8000, :cumulative_candy=>196, :cumulative_stardust=>190000}], [36.0, {:candy=>10, :stardust=>8000, :cumulative_candy=>206, :cumulative_stardust=>198000}], [36.5, {:candy=>10, :stardust=>8000, :cumulative_candy=>216, :cumulative_stardust=>206000}], [37.0, {:candy=>12, :stardust=>9000, :cumulative_candy=>226, :cumulative_stardust=>214000}], [37.5, {:candy=>12, :stardust=>9000, :cumulative_candy=>238, :cumulative_stardust=>223000}], [38.0, {:candy=>12, :stardust=>9000, :cumulative_candy=>250, :cumulative_stardust=>232000}], [38.5, {:candy=>12, :stardust=>9000, :cumulative_candy=>262, :cumulative_stardust=>241000}], [39.0, {:candy=>15, :stardust=>10000, :cumulative_candy=>274, :cumulative_stardust=>250000}], [39.5, {:candy=>15, :stardust=>10000, :cumulative_candy=>289, :cumulative_stardust=>260000}], [40.0, {:candy=>15, :stardust=>10000, :cumulative_candy=>304, :cumulative_stardust=>270000}], [40.5, {:candy=>15, :stardust=>10000, :cumulative_candy=>319, :cumulative_stardust=>280000}] ].to_h end def self.base_stats @@memoized_base_stats ||= [ [1, [118, 118, 90, 25]], [2, [151, 151, 120, 100]], [3, [198, 198, 160, nil]], [4, [116, 96, 78, 25]], [5, [158, 129, 116, 100]], [6, [223, 176, 156, nil]], [7, [94, 122, 88, 25]], [8, [126, 155, 118, 100]], [9, [171, 210, 158, nil]], [10, [55, 62, 90, 12]], [11, [45, 94, 100, 50]], [12, [167, 151, 120, nil]], [13, [63, 55, 80, 12]], [14, [46, 86, 90, 50]], [15, [169, 150, 130, nil]], [16, [85, 76, 80, 12]], [17, [117, 108, 126, 50]], [18, [166, 157, 166, nil]], [19, [103, 70, 60, 25]], [20, [161, 144, 110, nil]], [21, [112, 61, 80, 50]], [22, [182, 135, 130, nil]], [23, [110, 102, 70, 50]], [24, [167, 158, 120, nil]], [25, [112, 101, 70, 50]], [26, [193, 165, 120, nil]], [27, [126, 145, 100, 50]], [28, [182, 202, 150, nil]], [29, [86, 94, 110, 25]], [30, [117, 126, 140, 100]], [31, [180, 174, 180, nil]], [32, [105, 76, 92, 25]], [33, [137, 112, 122, 100]], [34, [204, 157, 162, nil]], [35, [107, 116, 140, 50]], [36, [178, 171, 190, nil]], [37, [96, 122, 76, 50]], [38, [169, 204, 146, nil]], [39, [80, 44, 230, 50]], [40, [156, 93, 280, nil]], [41, [83, 76, 80, 50]], [42, [161, 153, 150, nil]], [43, [131, 116, 90, 25]], [44, [153, 139, 120, 100]], [45, [202, 170, 150, nil]], [46, [121, 99, 70, 50]], [47, [165, 146, 120, nil]], [48, [100, 102, 120, 50]], [49, [179, 150, 140, nil]], [50, [109, 88, 20, 50]], [51, [167, 147, 70, nil]], [52, [92, 81, 80, 50]], [53, [150, 139, 130, nil]], [54, [122, 96, 100, 50]], [55, [191, 163, 160, nil]], [56, [148, 87, 80, 50]], [57, [207, 144, 130, nil]], [58, [136, 96, 110, 50]], [59, [227, 166, 180, nil]], [60, [101, 82, 80, 25]], [61, [130, 130, 130, 100]], [62, [182, 187, 180, nil]], [63, [195, 103, 50, 25]], [64, [232, 138, 80, 100]], [65, [271, 194, 110, nil]], [66, [137, 88, 140, 25]], [67, [177, 130, 160, 100]], [68, [234, 162, 180, nil]], [69, [139, 64, 100, 25]], [70, [172, 95, 130, 100]], [71, [207, 138, 160, nil]], [72, [97, 182, 80, 50]], [73, [166, 237, 160, nil]], [74, [132, 163, 80, 25]], [75, [164, 196, 110, 100]], [76, [211, 229, 160, nil]], [77, [170, 132, 100, 50]], [78, [207, 167, 130, nil]], [79, [109, 109, 180, 50]], [80, [177, 194, 190, nil]], [81, [165, 128, 50, 50]], [82, [223, 182, 100, nil]], [83, [124, 118, 104, nil]], [84, [158, 88, 70, 50]], [85, [218, 145, 120, nil]], [86, [85, 128, 130, 50]], [87, [139, 184, 180, nil]], [88, [135, 90, 160, 50]], [89, [190, 184, 210, nil]], [90, [116, 168, 60, 50]], [91, [186, 323, 100, nil]], [92, [186, 70, 60, 25]], [93, [223, 112, 90, 100]], [94, [261, 156, 120, nil]], [95, [85, 288, 70, nil]], [96, [89, 158, 120, 50]], [97, [144, 215, 170, nil]], [98, [181, 156, 60, 50]], [99, [240, 214, 110, nil]], [100, [109, 114, 80, 50]], [101, [173, 179, 120, nil]], [102, [107, 140, 120, 50]], [103, [233, 158, 190, nil]], [104, [90, 165, 100, 50]], [105, [144, 200, 120, nil]], [106, [224, 211, 100, nil]], [107, [193, 212, 100, nil]], [108, [108, 137, 180, nil]], [109, [119, 164, 80, 50]], [110, [174, 221, 130, nil]], [111, [140, 157, 160, 50]], [112, [222, 206, 210, nil]], [113, [60, 176, 500, nil]], [114, [183, 205, 130, nil]], [115, [181, 165, 210, nil]], [116, [129, 125, 60, 50]], [117, [187, 182, 110, nil]], [118, [123, 115, 90, 50]], [119, [175, 154, 160, nil]], [120, [137, 112, 60, 50]], [121, [210, 184, 120, nil]], [122, [192, 233, 80, nil]], [123, [218, 170, 140, nil]], [124, [223, 182, 130, nil]], [125, [198, 173, 130, nil]], [126, [206, 169, 130, nil]], [127, [238, 197, 130, nil]], [128, [198, 197, 150, nil]], [129, [29, 102, 40, 400]], [130, [237, 197, 190, nil]], [131, [186, 190, 260, nil]], [132, [91, 91, 96, nil]], [133, [104, 121, 110, 25]], [134, [205, 177, 260, nil]], [135, [232, 201, 130, nil]], [136, [246, 204, 130, nil]], [137, [153, 139, 130, nil]], [138, [155, 174, 70, 50]], [139, [207, 227, 140, nil]], [140, [148, 162, 60, 50]], [141, [220, 203, 120, nil]], [142, [221, 164, 160, nil]], [143, [190, 190, 320, nil]], [144, [192, 249, 180, nil]], [145, [253, 188, 180, nil]], [146, [251, 184, 180, nil]], [147, [119, 94, 82, 25]], [148, [163, 138, 122, 100]], [149, [263, 201, 182, nil]], [150, [330, 200, 212, nil]], [151, [210, 210, 200, nil]], ].to_h end def self.cp_multiplier @@memoized_cp_multiplier ||= [ [1.0, 0.094], [1.5, 0.135137432], [2.0, 0.16639787], [2.5, 0.192650919], [3.0, 0.21573247], [3.5, 0.236572661], [4.0, 0.25572005], [4.5, 0.273530381], [5.0, 0.29024988], [5.5, 0.306057377], [6.0, 0.3210876], [6.5, 0.335445036], [7.0, 0.34921268], [7.5, 0.362457751], [8.0, 0.37523559], [8.5, 0.387592406], [9.0, 0.39956728], [9.5, 0.411193551], [10.0, 0.42250001], [10.5, 0.432926419], [11.0, 0.44310755], [11.5, 0.4530599578], [12.0, 0.46279839], [12.5, 0.472336083], [13.0, 0.48168495], [13.5, 0.4908558], [14.0, 0.49985844], [14.5, 0.508701765], [15.0, 0.51739395], [15.5, 0.525942511], [16.0, 0.53435433], [16.5, 0.542635767], [17.0, 0.55079269], [17.5, 0.558830576], [18.0, 0.56675452], [18.5, 0.574569153], [19.0, 0.58227891], [19.5, 0.589887917], [20.0, 0.59740001], [20.5, 0.604818814], [21.0, 0.61215729], [21.5, 0.619399365], [22.0, 0.62656713], [22.5, 0.633644533], [23.0, 0.64065295], [23.5, 0.647576426], [24.0, 0.65443563], [24.5, 0.661214806], [25.0, 0.667934], [25.5, 0.674577537], [26.0, 0.68116492], [26.5, 0.687680648], [27.0, 0.69414365], [27.5, 0.700538673], [28.0, 0.70688421], [28.5, 0.713164996], [29.0, 0.71939909], [29.5, 0.725571552], [30.0, 0.7317], [30.5, 0.734741009], [31.0, 0.73776948], [31.5, 0.740785574], [32.0, 0.74378943], [32.5, 0.746781211], [33.0, 0.74976104], [33.5, 0.752729087], [34.0, 0.75568551], [34.5, 0.758630378], [35.0, 0.76156384], [35.5, 0.764486065], [36.0, 0.76739717], [36.5, 0.770297266], [37.0, 0.7731865], [37.5, 0.776064962], [38.0, 0.77893275], [38.5, 0.781790055], [39.0, 0.78463697], [39.5, 0.787473578], [40.0, 0.79030001], ].to_h end end ================================================ FILE: app/models/user.rb ================================================ class User < ApplicationRecord before_create :name_downcase has_many :items has_many :pokemon scope :trainer_search, -> (name) { name.present? ? where('screen_name LIKE ?', "%#{name}%") : all } private def name_downcase self.name = name.downcase end end ================================================ FILE: app/views/items/_item.html.erb ================================================
  • <%= item[:item_id] %> <%= item[:count] %>
  • ================================================ FILE: app/views/layouts/_header.html.erb ================================================ ================================================ FILE: app/views/layouts/_sidebar.html.erb ================================================ ================================================ FILE: app/views/layouts/application.html.erb ================================================ PoGoBag <%= csrf_meta_tags %> <%= favicon_link_tag 'itemstorageupgrade.1.ico' %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> <%= render 'layouts/header' %> <% flash.each do |message_type, message| %> <%= content_tag(:div, message, class: "alert alert-#{message_type}") %> <%end%> <%= yield %> ================================================ FILE: app/views/layouts/mailer.html.erb ================================================ <%= yield %> ================================================ FILE: app/views/layouts/mailer.text.erb ================================================ <%= yield %> ================================================ FILE: app/views/pokemons/_pokemon.html.erb ================================================
    #<%=pokemon[:poke_num]%> <%=pokemon[:weight_kg].round(2)%>kg <%=pokemon[:height_m].round(2)%>m
    <%=pokemon[:battles_attacked]%>
    <%=pokemon[:battles_defended]%>
    <%= image_tag format("%03d",pokemon[:poke_num])+".png" %>
    <%=pokemon[:poke_id]%> <%=pokemon[:cp]%>
    <%=pokemon[:health].to_s+' / '+pokemon[:max_health].to_s%>
    <%=(pokemon[:iv]*100).round(1)%>%
    ATK
    <%=pokemon[:attack]%>
    DEF
    <%=pokemon[:defense]%>
    STA
    <%=pokemon[:stamina]%>
    ================================================ FILE: app/views/sessions/_login.html.erb ================================================ ================================================ FILE: app/views/static_pages/_donate.html.erb ================================================
    ================================================ FILE: app/views/static_pages/_donate_small.html.erb ================================================
    ================================================ FILE: app/views/static_pages/about.html.erb ================================================

    About

    PoGoBag is an open source application that was inspired by a need for an easy and web-accessible application to view and share your Pokémon Go Pokemon. Trainer and Pokémon data is updated whenever a user logs in, which means you can only see the pokemon of those who have logged in. For Google users, data is refreshed every 5 minutes (meaning only one login required to see your updated bag)

    PoGoBag is built with Ruby on Rails. Github

    Donations

    As of right now, the owner is paying out of pocket to run this website. Any donation is highly appreciated and will go towards making the server better!

    <%= render 'static_pages/donate' %>
    ================================================ FILE: app/views/static_pages/home.html.erb ================================================
    By logging into pogobag.me you agree to acknowledge that the use of pogobag.me is against Niantic's Terms of Service and the owner is not responsible for the ramifications of using pogobag.me in any way.

    <%= image_tag 'itemstorageupgrade.1.png' %>PoGoBag

    A seriously powerful Pokémon Go analytical tool!

    <%= render 'sessions/login'%>
    • See the top Pokémon in the world
    • Receive a persistent and constantly updating bag link on login (Feature only for Google accounts)
    • All data is refreshed every 5 minutes!
    • Only one login required!
    • Share your Pokémon using your own unique link
    • Search for other trainers
    • See your Pokémon's IV values
    • Order by IV Perfection, CP, Recent, Health, Attack, Defense, Stamina, Name, Battles Attacked, Battles Defended, Height, and Weight
    ================================================ FILE: app/views/stats/_pokemon_row.html.erb ================================================ <%=rank%> <%= pokemon.poke_id %> <%= pokemon.cp %> <%= pokemon.iv %> <%= pokemon.max_health %> <%= format_move(pokemon.move_1) %> <%= format_move(pokemon.move_2) %> <%= pokemon.attack %> <%= pokemon.defense %> <%= pokemon.stamina %> <%= pokemon.battles_attacked %> <%= pokemon.battles_defended %> <%= pokemon.num_upgrades %> <%= pokemon.height_m.round(2) %> <%= pokemon.weight_kg.round(2) %> <%= pokemon.poke_num %> <% ball = pokemon.pokeball %> <% ball.slice! 'ITEM_' %> <% ball.slice! '_BALL' %> <%= ball.capitalize %> <%= pokemon.nickname %> <%= link_to pokemon.user.screen_name, pokemon.user.name, 'data-turbolinks' => "false" %> ================================================ FILE: app/views/stats/_table.html.erb ================================================
    <% rank = 1 %> <% pokemon_list.each do |p| %> <%= render partial: 'stats/pokemon_row', locals: {:pokemon => p, :rank => rank} %> <% rank += 1 %> <% end %>
    Rank Pokemon CP IV Health Move 1 Move 2 ATK DEF STA Attacked Defended Upgrades Height (m) Weight (kg) # Ball Nickname Owner
    ================================================ FILE: app/views/stats/show.html.erb ================================================
    <%= render partial: 'stats/table', locals: {:pokemon_list => @pokemon} %>
    ================================================ FILE: app/views/stats/show.js.erb ================================================ $(".stats-table-wrap").html('<%= j render partial: 'stats/table', locals: {:pokemon_list => @pokemon} %>') ================================================ FILE: app/views/users/_pokemon_list.html.erb ================================================
    <%= render pokemon_list %>
    ================================================ FILE: app/views/users/_user.html.erb ================================================
  • <%=user.level%> <%=user.screen_name%>
  • ================================================ FILE: app/views/users/index.html.erb ================================================
    <%= will_paginate %>
      <%= render @users %>
    <%= will_paginate %>
    ================================================ FILE: app/views/users/show.html.erb ================================================
    <%= render 'layouts/sidebar' %>
    #{{pokemon.poke_num}} {{pokemon.level}} {{pokemon.max_cp}} {{pokemon.stardust_to_max_cp}} {{pokemon.candy_to_max_cp}}
    {{pokemon.battles_attacked}}
    {{pokemon.battles_defended}}
    {{pokemon.poke_id}} {{pokemon.cp}}
    {{pokemon.health}}/{{pokemon.max_health}}
    {{pokemon.iv * 100 | number: 1}}%
    ATK
    {{pokemon.attack}}
    DEF
    {{pokemon.defense}}
    STA
    {{pokemon.stamina}}
    ================================================ FILE: app/views/users/show.js.erb ================================================ <% if false %> $(".show-pokemon-container").html('<%= j render partial: 'users/pokemon_list', locals: {:pokemon_list => @pokemon} %>') <% end %> $(".last-data-update").html('<%=time_ago_in_words(@user.last_data_update.to_datetime) + " ago"%>') ================================================ FILE: bin/bundle ================================================ #!/usr/bin/env ruby ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) load Gem.bin_path('bundler', 'bundle') ================================================ FILE: bin/bundler ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'bundler' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("bundler", "bundler") ================================================ FILE: bin/byebug ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'byebug' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("byebug", "byebug") ================================================ FILE: bin/cap ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'cap' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("capistrano", "cap") ================================================ FILE: bin/capify ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'capify' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("capistrano", "capify") ================================================ FILE: bin/erubis ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'erubis' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("erubis", "erubis") ================================================ FILE: bin/geocode ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'geocode' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("geocoder", "geocode") ================================================ FILE: bin/httparty ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'httparty' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("httparty", "httparty") ================================================ FILE: bin/httpclient ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'httpclient' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("httpclient", "httpclient") ================================================ FILE: bin/listen ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'listen' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("listen", "listen") ================================================ FILE: bin/nokogiri ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'nokogiri' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("nokogiri", "nokogiri") ================================================ FILE: bin/puma ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'puma' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("puma", "puma") ================================================ FILE: bin/pumactl ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'pumactl' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("puma", "pumactl") ================================================ FILE: bin/rackup ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'rackup' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("rack", "rackup") ================================================ FILE: bin/rails ================================================ #!/usr/bin/env ruby APP_PATH = File.expand_path('../config/application', __dir__) require_relative '../config/boot' require 'rails/commands' ================================================ FILE: bin/rake ================================================ #!/usr/bin/env ruby require_relative '../config/boot' require 'rake' Rake.application.run ================================================ FILE: bin/restclient ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'restclient' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("rest-client", "restclient") ================================================ FILE: bin/sass ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'sass' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("sass", "sass") ================================================ FILE: bin/sass-convert ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'sass-convert' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("sass", "sass-convert") ================================================ FILE: bin/scss ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'scss' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("sass", "scss") ================================================ FILE: bin/setup ================================================ #!/usr/bin/env ruby require 'pathname' require 'fileutils' include FileUtils # path to your application root. APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) def system!(*args) system(*args) || abort("\n== Command #{args} failed ==") end chdir APP_ROOT do # This script is a starting point to setup your application. # Add necessary setup steps to this file. puts '== Installing dependencies ==' system! 'gem install bundler --conservative' system('bundle check') || system!('bundle install') # puts "\n== Copying sample files ==" # unless File.exist?('config/database.yml') # cp 'config/database.yml.sample', 'config/database.yml' # end puts "\n== Preparing database ==" system! 'bin/rails db:setup' puts "\n== Removing old logs and tempfiles ==" system! 'bin/rails log:clear tmp:clear' puts "\n== Restarting application server ==" system! 'bin/rails restart' end ================================================ FILE: bin/spring ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'spring' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("spring", "spring") ================================================ FILE: bin/sprockets ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'sprockets' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("sprockets", "sprockets") ================================================ FILE: bin/thor ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'thor' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("thor", "thor") ================================================ FILE: bin/tilt ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'tilt' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("tilt", "tilt") ================================================ FILE: bin/update ================================================ #!/usr/bin/env ruby require 'pathname' require 'fileutils' include FileUtils # path to your application root. APP_ROOT = Pathname.new File.expand_path('../../', __FILE__) def system!(*args) system(*args) || abort("\n== Command #{args} failed ==") end chdir APP_ROOT do # This script is a way to update your development environment automatically. # Add necessary update steps to this file. puts '== Installing dependencies ==' system! 'gem install bundler --conservative' system('bundle check') || system!('bundle install') puts "\n== Updating database ==" system! 'bin/rails db:migrate' puts "\n== Removing old logs and tempfiles ==" system! 'bin/rails log:clear tmp:clear' puts "\n== Restarting application server ==" system! 'bin/rails restart' end ================================================ FILE: bin/whenever ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'whenever' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("whenever", "whenever") ================================================ FILE: bin/wheneverize ================================================ #!/usr/bin/env ruby # frozen_string_literal: true # # This file was generated by Bundler. # # The application 'wheneverize' is installed as part of a gem, and # this file is here to facilitate running it. # require "pathname" ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath) require "rubygems" require "bundler/setup" load Gem.bin_path("whenever", "wheneverize") ================================================ FILE: config/application.rb ================================================ require_relative 'boot' require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module PoGoBag class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. end end ================================================ FILE: config/boot.rb ================================================ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) require 'bundler/setup' # Set up gems listed in the Gemfile. ================================================ FILE: config/cable.yml ================================================ development: adapter: async test: adapter: async production: adapter: redis url: redis://localhost:6379/1 ================================================ FILE: config/database.yml ================================================ # PostgreSQL. Versions 8.2 and up are supported. # # Install the pg driver: # gem install pg # On OS X with Homebrew: # gem install pg -- --with-pg-config=/usr/local/bin/pg_config # On OS X with MacPorts: # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config # On Windows: # gem install pg # Choose the win32 build. # Install PostgreSQL and put its /bin directory on your path. # # Configure Using Gemfile # gem 'pg' # development: adapter: sqlite3 database: db/development.sqlite3 pool: 5 test: adapter: sqlite3 database: db/test.sqlite3 pool: 5 timeout: 5000 production: adapter: postgresql database: pogobag username: postgres password: postgres encoding: unicode # For details on connection pooling, see rails configuration guide # http://guides.rubyonrails.org/configuring.html#database-pooling pool: 5 host: localhost ================================================ FILE: config/database.yml.example ================================================ # PostgreSQL. Versions 8.2 and up are supported. # # Install the pg driver: # gem install pg # On OS X with Homebrew: # gem install pg -- --with-pg-config=/usr/local/bin/pg_config # On OS X with MacPorts: # gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config # On Windows: # gem install pg # Choose the win32 build. # Install PostgreSQL and put its /bin directory on your path. # # Configure Using Gemfile # gem 'pg' # development: adapter: sqlite3 database: db/development.sqlite3 pool: 5 test: adapter: sqlite3 database: db/test.sqlite3 pool: 5 timeout: 5000 production: adapter: postgresql username: postgres password: postgres encoding: unicode # For details on connection pooling, see rails configuration guide # http://guides.rubyonrails.org/configuring.html#database-pooling pool: 5 host: localhost ================================================ FILE: config/deploy/production.rb ================================================ set :stage, :production server '97.107.142.163', user: 'deploy', roles: %w{web app db} ================================================ FILE: config/deploy.rb ================================================ # config valid only for Capistrano 3.1 lock '3.6.0' # Default branch is :master # ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp } # Default deploy_to directory is /var/www/my_app # set :deploy_to, '/var/www/my_app' # Default value for :scm is :git # set :scm, :git # Default value for :format is :pretty # set :format, :pretty # Default value for :log_level is :debug # set :log_level, :debug # Default value for :pty is false # set :pty, true # Default value for :linked_files is [] # set :linked_files, %w{config/database.yml} # Default value for linked_dirs is [] # set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system} # Default value for default_env is {} # set :default_env, { path: "/opt/ruby/bin:$PATH" } # Default value for keep_releases is 5 # set :keep_releases, 5 set :application, 'PoGoBag' set :repo_url, 'https://github.com/dphuang2/PoGoBag.git' set :passenger_restart_with_touch, true set :deploy_to, '/home/deploy/PoGoBag' set :linked_files, %w{config/database.yml config/secrets.yml} set :linked_dirs, %w{log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system} namespace :deploy do desc 'Restart application' task :restart do on roles(:app), in: :sequence, wait: 5 do # Your restart mechanism here, for example: # execute :touch, release_path.join('tmp/restart.txt') end end after :publishing, :restart after :restart, :clear_cache do on roles(:web), in: :groups, limit: 3, wait: 10 do #within release_path do #execute :crontab, "-r" #execute :whenever, "-w" #end end end end ================================================ FILE: config/environment.rb ================================================ # Load the Rails application. require_relative 'application' # Initialize the Rails application. Rails.application.initialize! ================================================ FILE: config/environments/development.rb ================================================ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web server when you make code changes. config.cache_classes = false # Do not eager load code on boot. config.eager_load = false # Show full error reports. config.consider_all_requests_local = true # Enable/disable caching. By default caching is disabled. if Rails.root.join('tmp/caching-dev.txt').exist? config.action_controller.perform_caching = true config.cache_store = :memory_store config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=172800' } else config.action_controller.perform_caching = false config.cache_store = :null_store end # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false config.action_mailer.perform_caching = false # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log # Raise an error on page load if there are pending migrations. config.active_record.migration_error = :page_load # Debug mode disables concatenation and preprocessing of assets. # This option may cause significant delays in view rendering with a large # number of complex assets. config.assets.debug = true # Suppress logger output for asset requests. config.assets.quiet = true # Raises error for missing translations # config.action_view.raise_on_missing_translations = true # Use an evented file watcher to asynchronously detect changes in source code, # routes, locales, etc. This feature depends on the listen gem. config.file_watcher = ActiveSupport::EventedFileUpdateChecker end ================================================ FILE: config/environments/production.rb ================================================ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.cache_classes = true # Eager load code on boot. This eager loads most of Rails and # your application in memory, allowing both threaded web servers # and those relying on copy on write to perform better. # Rake tasks automatically ignore this option for performance. config.eager_load = true # Full error reports are disabled and caching is turned on. config.consider_all_requests_local = false config.action_controller.perform_caching = true # Disable serving static files from the `/public` folder by default since # Apache or NGINX already handles this. config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? # Compress JavaScripts and CSS. config.assets.js_compressor = :uglifier # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed. config.assets.compile = false # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb # Enable serving of images, stylesheets, and JavaScripts from an asset server. # config.action_controller.asset_host = 'http://assets.example.com' # Specifies the header that your server uses for sending files. # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX # Mount Action Cable outside main process or domain # config.action_cable.mount_path = nil # config.action_cable.url = 'wss://example.com/cable' # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ] # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. # config.force_ssl = true # Use the lowest log level to ensure availability of diagnostic information # when problems arise. config.log_level = :warn # Prepend all log lines with the following tags. config.log_tags = [ :request_id ] # Use a different cache store in production. # config.cache_store = :mem_cache_store # Use a real queuing backend for Active Job (and separate queues per environment) # config.active_job.queue_adapter = :resque # config.active_job.queue_name_prefix = "PoGoBag_#{Rails.env}" config.action_mailer.perform_caching = false # Ignore bad email addresses and do not raise email delivery errors. # Set this to true and configure the email server for immediate delivery to raise delivery errors. # config.action_mailer.raise_delivery_errors = false # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation cannot be found). config.i18n.fallbacks = true # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify # Use default logging formatter so that PID and timestamp are not suppressed. config.log_formatter = ::Logger::Formatter.new # Use a different logger for distributed setups. # require 'syslog/logger' # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') if ENV["RAILS_LOG_TO_STDOUT"].present? logger = ActiveSupport::Logger.new(STDOUT) logger.formatter = config.log_formatter config.logger = ActiveSupport::TaggedLogging.new(logger) end # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false end ================================================ FILE: config/environments/test.rb ================================================ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for the test suite and is wiped # and recreated between test runs. Don't rely on the data there! config.cache_classes = true # Do not eager load code on boot. This avoids loading your whole application # just for the purpose of running a single test. If you are using a tool that # preloads Rails for running tests, you may have to set it to true. config.eager_load = false # Configure public file server for tests with Cache-Control for performance. config.public_file_server.enabled = true config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' } # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = false # Raise exceptions instead of rendering exception templates. config.action_dispatch.show_exceptions = false # Disable request forgery protection in test environment. config.action_controller.allow_forgery_protection = false config.action_mailer.perform_caching = false # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr # Raises error for missing translations # config.action_view.raise_on_missing_translations = true end ================================================ FILE: config/initializers/application_controller_renderer.rb ================================================ # Be sure to restart your server when you modify this file. # ApplicationController.renderer.defaults.merge!( # http_host: 'example.org', # https: false # ) ================================================ FILE: config/initializers/assets.rb ================================================ # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' # Add additional assets to the asset load path # Rails.application.config.assets.paths << Emoji.images_path # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added. # Rails.application.config.assets.precompile += %w( search.js ) ================================================ FILE: config/initializers/backtrace_silencers.rb ================================================ # Be sure to restart your server when you modify this file. # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code. # Rails.backtrace_cleaner.remove_silencers! ================================================ FILE: config/initializers/cookies_serializer.rb ================================================ # Be sure to restart your server when you modify this file. # Specify a serializer for the signed and encrypted cookie jars. # Valid options are :json, :marshal, and :hybrid. Rails.application.config.action_dispatch.cookies_serializer = :json ================================================ FILE: config/initializers/filter_parameter_logging.rb ================================================ # Be sure to restart your server when you modify this file. # Configure sensitive parameters which will be filtered from the log file. Rails.application.config.filter_parameters += [:password] ================================================ FILE: config/initializers/inflections.rb ================================================ # Be sure to restart your server when you modify this file. # Add new inflection rules using the following format. Inflections # are locale specific, and you may define rules for as many different # locales as you wish. All of these examples are active by default: # ActiveSupport::Inflector.inflections(:en) do |inflect| # inflect.plural /^(ox)$/i, '\1en' # inflect.singular /^(ox)en/i, '\1' # inflect.irregular 'person', 'people' # inflect.uncountable %w( fish sheep ) # end # These inflection rules are supported but not enabled by default: # ActiveSupport::Inflector.inflections(:en) do |inflect| # inflect.acronym 'RESTful' # end ================================================ FILE: config/initializers/mime_types.rb ================================================ # Be sure to restart your server when you modify this file. # Add new mime types for use in respond_to blocks: # Mime::Type.register "text/richtext", :rtf ================================================ FILE: config/initializers/new_framework_defaults.rb ================================================ # Be sure to restart your server when you modify this file. # # This file contains migration options to ease your Rails 5.0 upgrade. # # Read the Rails 5.0 release notes for more info on each option. # Enable per-form CSRF tokens. Previous versions had false. Rails.application.config.action_controller.per_form_csrf_tokens = true # Enable origin-checking CSRF mitigation. Previous versions had false. Rails.application.config.action_controller.forgery_protection_origin_check = true # Make Ruby 2.4 preserve the timezone of the receiver when calling `to_time`. # Previous versions had false. ActiveSupport.to_time_preserves_timezone = true # Require `belongs_to` associations by default. Previous versions had false. Rails.application.config.active_record.belongs_to_required_by_default = true # Do not halt callback chains when a callback returns false. Previous versions had true. ActiveSupport.halt_callback_chains_on_return_false = false # Configure SSL options to enable HSTS with subdomains. Previous versions had false. Rails.application.config.ssl_options = { hsts: { subdomains: true } } ================================================ FILE: config/initializers/poke_api.rb ================================================ ================================================ FILE: config/initializers/session_store.rb ================================================ # Be sure to restart your server when you modify this file. Rails.application.config.session_store :cookie_store, key: '_PoGoBag_session' ================================================ FILE: config/initializers/wrap_parameters.rb ================================================ # Be sure to restart your server when you modify this file. # This file contains settings for ActionController::ParamsWrapper which # is enabled by default. # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. ActiveSupport.on_load(:action_controller) do wrap_parameters format: [:json] end # To enable root element in JSON for ActiveRecord objects. # ActiveSupport.on_load(:active_record) do # self.include_root_in_json = true # end ================================================ FILE: config/locales/en.yml ================================================ # Files in the config/locales directory are used for internationalization # and are automatically loaded by Rails. If you want to use locales other # than English, add the necessary files in this directory. # # To use the locales, use `I18n.t`: # # I18n.t 'hello' # # In views, this is aliased to just `t`: # # <%= t('hello') %> # # To use a different locale, set it with `I18n.locale`: # # I18n.locale = :es # # This would use the information in config/locales/es.yml. # # To learn more, please read the Rails Internationalization guide # available at http://guides.rubyonrails.org/i18n.html. en: hello: "Hello world" ================================================ FILE: config/puma.rb ================================================ # Puma can serve each request in a thread from an internal thread pool. # The `threads` method setting takes two numbers a minimum and maximum. # Any libraries that use thread pools should be configured to match # the maximum value specified for Puma. Default is set to 5 threads for minimum # and maximum, this matches the default thread size of Active Record. # threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i threads threads_count, threads_count # Specifies the `port` that Puma will listen on to receive requests, default is 3000. # port ENV.fetch("PORT") { 3000 } # Specifies the `environment` that Puma will run in. # environment ENV.fetch("RAILS_ENV") { "development" } # Specifies the number of `workers` to boot in clustered mode. # Workers are forked webserver processes. If using threads and workers together # the concurrency of the application would be max `threads` * `workers`. # Workers do not work on JRuby or Windows (both of which do not support # processes). # # workers ENV.fetch("WEB_CONCURRENCY") { 2 } # Use the `preload_app!` method when specifying a `workers` number. # This directive tells Puma to first boot the application and load code # before forking the application. This takes advantage of Copy On Write # process behavior so workers use less memory. If you use this option # you need to make sure to reconnect any threads in the `on_worker_boot` # block. # # preload_app! # The code in the `on_worker_boot` will be called if you are using # clustered mode by specifying a number of `workers`. After each worker # process is booted this block will be run, if you are using `preload_app!` # option you will want to use this block to reconnect to any threads # or connections that may have been created at application boot, Ruby # cannot share connections between processes. # # on_worker_boot do # ActiveRecord::Base.establish_connection if defined?(ActiveRecord) # end # Allow puma to be restarted by `rails restart` command. plugin :tmp_restart ================================================ FILE: config/routes.rb ================================================ Rails.application.routes.draw do # Logging routes post '/login', to: 'sessions#create' delete '/logout', to: 'sessions#destroy' get '/logout', to: 'sessions#destroy' # Global content get '/home', to: 'static_pages#home' get '/testing', to: 'static_pages#testing' get '/about', to: 'static_pages#about' get '/stats', to: 'stats#show' get '/stats/:stat', to: 'stats#show' # User content get '/search', to: 'users#index' get '/:id', to: 'users#show' get '/:id/:stat', to: 'users#get_pokemon' root 'static_pages#home' end ================================================ FILE: config/schedule.rb ================================================ #set :output, "log/cron.log" #every 5.minutes do #rake 'refresh_data' #end ================================================ FILE: config/secrets.yml ================================================ # Be sure to restart your server when you modify this file. # Your secret key is used for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. # You can use `rails secret` to generate a secure secret key. # Make sure the secrets in this file are kept private # if you're sharing your code publicly. development: secret_key_base: 6bb9c3cd1eb111fc2c6667cb0486930acfc9aea94eb405e90c7c9b7a0112cd62c2c4dfc85aa124895d03a981c54d64428eb61dff81dd5ce109636342bd3d6ec8 test: secret_key_base: 2195cfdc6994a09908b88694617178f94b04da5bd2278812a787112a9456ed6c25661a52df50960c5811cc9b5aed70b85d363b87f84f6cb7a02525a52247cc6b # Do not keep production secrets in the repository, # instead read values from the environment. production: secret_key_base: c921b0314d6b758386d31286b58a05cd583850e0de0530e3d8ab5915783fbb189b03d8cbd0142e8db93efd08b6c01c661d90072747c8561f6ac16f6b61332e7f ================================================ FILE: config/secrets.yml.example ================================================ # Be sure to restart your server when you modify this file. # Your secret key is used for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. # You can use `rails secret` to generate a secure secret key. # Make sure the secrets in this file are kept private # if you're sharing your code publicly. development: secret_key_base: 6bb9c3cd1eb111fc2c6667cb0486930acfc9aea94eb405e90c7c9b7a0112cd62c2c4dfc85aa124895d03a981c54d64428eb61dff81dd5ce109636342bd3d6ec8 test: secret_key_base: 2195cfdc6994a09908b88694617178f94b04da5bd2278812a787112a9456ed6c25661a52df50960c5811cc9b5aed70b85d363b87f84f6cb7a02525a52247cc6b # Do not keep production secrets in the repository, # instead read values from the environment. production: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> ================================================ FILE: config/spring.rb ================================================ %w( .ruby-version .rbenv-vars tmp/restart.txt tmp/caching-dev.txt ).each { |path| Spring.watch(path) } ================================================ FILE: config.ru ================================================ # This file is used by Rack-based servers to start the application. require_relative 'config/environment' run Rails.application ================================================ FILE: db/migrate/20160727233457_create_users.rb ================================================ class CreateUsers < ActiveRecord::Migration[5.0] def change create_table :users do |t| t.string :name t.timestamps end end end ================================================ FILE: db/migrate/20160727234844_create_items.rb ================================================ class CreateItems < ActiveRecord::Migration[5.0] def change create_table :items do |t| t.string :item_id t.integer :count t.references :user, foreign_key: true t.timestamps end end end ================================================ FILE: db/migrate/20160728032754_create_pokemons.rb ================================================ class CreatePokemons < ActiveRecord::Migration[5.0] def change create_table :pokemons do |t| t.string :poke_id t.string :move_1 t.string :move_2 t.integer :health t.integer :attack t.integer :defense t.integer :stamina t.integer :cp t.references :user, foreign_key: true t.timestamps end add_column :pokemons, :iv, :decimal end end ================================================ FILE: db/migrate/20160802201113_add_oauth_to_users.rb ================================================ class AddOauthToUsers < ActiveRecord::Migration[5.0] def change add_column :users, :provider, :string add_column :users, :uid, :string add_column :users, :oauth_token, :string add_column :users, :oauth_expires_at, :datetime add_column :users, :access_token, :string end end ================================================ FILE: db/migrate/20160803064943_add_poke_num_to_pokemons.rb ================================================ class AddPokeNumToPokemons < ActiveRecord::Migration[5.0] def change add_column :pokemons, :poke_num, :string end end ================================================ FILE: db/migrate/20160803184514_change_column_name.rb ================================================ class ChangeColumnName < ActiveRecord::Migration[5.0] def change rename_column :users, :access_token, :id_token end end ================================================ FILE: db/migrate/20160804002306_remove_o_auth_columns_from_user.rb ================================================ class RemoveOAuthColumnsFromUser < ActiveRecord::Migration[5.0] def change remove_column :users, :provider, :string remove_column :users, :uid, :string remove_column :users, :oauth_token, :string remove_column :users, :oauth_expires_at, :datetime remove_column :users, :id_token, :string end end ================================================ FILE: db/migrate/20160804042930_add_columns_to_pokemons.rb ================================================ class AddColumnsToPokemons < ActiveRecord::Migration[5.0] def change add_column :pokemons, :nickname, :string add_column :pokemons, :favorite, :integer add_column :pokemons, :num_upgrades, :integer add_column :pokemons, :battles_attacked, :integer add_column :pokemons, :battles_defended, :integer add_column :pokemons, :pokeball, :string add_column :pokemons, :height_m, :decimal add_column :pokemons, :weight_kg, :decimal rename_column :pokemons, :health, :max_health add_column :pokemons, :health, :integer end end ================================================ FILE: db/migrate/20160804104111_add_columns_to_users.rb ================================================ class AddColumnsToUsers < ActiveRecord::Migration[5.0] def change add_column :users, :alias, :string add_column :users, :level, :integer add_column :users, :experience, :integer add_column :users, :prev_level_xp, :integer add_column :users, :next_level_xp, :integer add_column :users, :pokemons_encountered, :integer add_column :users, :km_walked, :decimal add_column :users, :pokemons_captured, :integer add_column :users, :poke_stop_visits, :integer add_column :users, :pokeballs_thrown, :integer add_column :users, :battle_attack_won, :integer add_column :users, :battle_attack_total, :integer add_column :users, :battle_defended_won, :integer add_column :users, :prestige_rasied_total, :integer end end ================================================ FILE: db/migrate/20160804110925_rename_alias_to_screen_name_in_users.rb ================================================ class RenameAliasToScreenNameInUsers < ActiveRecord::Migration[5.0] def change rename_column :users, :alias, :screen_name end end ================================================ FILE: db/migrate/20160805025856_fix_intenger_migration_for_poke_num.rb ================================================ class FixIntengerMigrationForPokeNum < ActiveRecord::Migration[5.0] def change remove_column :pokemons, :poke_num, :integer add_column :pokemons, :poke_num, :integer end end ================================================ FILE: db/migrate/20160805084720_add_recency_to_pokemons.rb ================================================ class AddRecencyToPokemons < ActiveRecord::Migration[5.0] def change add_column :pokemons, :creation_time_ms, :integer add_column :pokemons, :candies, :integer add_column :users, :pokemon_deployed, :integer add_column :users, :prestige_dropped_total, :integer add_column :users, :eggs_hatched, :integer add_column :users, :evolutions, :integer add_column :users, :unique_pokedex_entries, :integer end end ================================================ FILE: db/migrate/20160805090935_change_column_name_in_pokemons.rb ================================================ class ChangeColumnNameInPokemons < ActiveRecord::Migration[5.0] def change rename_column :pokemons, :candies, :candy end end ================================================ FILE: db/migrate/20160805091252_change_creation_time_to_float.rb ================================================ class ChangeCreationTimeToFloat < ActiveRecord::Migration[5.0] def change remove_column :pokemons, :creation_time_ms, :float add_column :pokemons, :creation_time_ms, :float end end ================================================ FILE: db/migrate/20160805121536_add_refresh_token_to_users.rb ================================================ class AddRefreshTokenToUsers < ActiveRecord::Migration[5.0] def change add_column :users, :refresh_token, :string end end ================================================ FILE: db/migrate/20160805214848_add_refresh_token_expire_time_to_users.rb ================================================ class AddRefreshTokenExpireTimeToUsers < ActiveRecord::Migration[5.0] def change add_column :users, :refresh_token_expire_time, :float end end ================================================ FILE: db/migrate/20160805224803_change_column_name_in_users.rb ================================================ class ChangeColumnNameInUsers < ActiveRecord::Migration[5.0] def change remove_column :users, :refresh_token_expire_time, :float add_column :users, :access_token_expire_time, :float end end ================================================ FILE: db/migrate/20160805235944_add_team_to_users.rb ================================================ class AddTeamToUsers < ActiveRecord::Migration[5.0] def change add_column :users, :team, :string end end ================================================ FILE: db/migrate/20160806000738_add_more_info_to_users.rb ================================================ class AddMoreInfoToUsers < ActiveRecord::Migration[5.0] def change add_column :users, :max_pokemon_storage, :string add_column :users, :max_item_storage, :string add_column :users, :POKECOIN, :float add_column :users, :STARDUST, :float end end ================================================ FILE: db/migrate/20160807213852_add_last_data_update_column_to_users.rb ================================================ class AddLastDataUpdateColumnToUsers < ActiveRecord::Migration[5.0] def change add_column :users, :last_data_update, :string end end ================================================ FILE: db/schema.rb ================================================ # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your # database schema. If you need to create the application database on another # system, you should be using db:schema:load, not running all the migrations # from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended that you check this file into your version control system. ActiveRecord::Schema.define(version: 20160807213852) do create_table "items", force: :cascade do |t| t.string "item_id" t.integer "count" t.integer "user_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.index ["user_id"], name: "index_items_on_user_id" end create_table "pokemons", force: :cascade do |t| t.string "poke_id" t.string "move_1" t.string "move_2" t.integer "max_health" t.integer "attack" t.integer "defense" t.integer "stamina" t.integer "cp" t.integer "user_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.decimal "iv" t.string "nickname" t.integer "favorite" t.integer "num_upgrades" t.integer "battles_attacked" t.integer "battles_defended" t.string "pokeball" t.decimal "height_m" t.decimal "weight_kg" t.integer "health" t.integer "poke_num" t.integer "candy" t.float "creation_time_ms" t.index ["user_id"], name: "index_pokemons_on_user_id" end create_table "users", force: :cascade do |t| t.string "name" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.string "screen_name" t.integer "level" t.integer "experience" t.integer "prev_level_xp" t.integer "next_level_xp" t.integer "pokemons_encountered" t.decimal "km_walked" t.integer "pokemons_captured" t.integer "poke_stop_visits" t.integer "pokeballs_thrown" t.integer "battle_attack_won" t.integer "battle_attack_total" t.integer "battle_defended_won" t.integer "prestige_rasied_total" t.integer "pokemon_deployed" t.integer "prestige_dropped_total" t.integer "eggs_hatched" t.integer "evolutions" t.integer "unique_pokedex_entries" t.string "refresh_token" t.float "access_token_expire_time" t.string "team" t.string "max_pokemon_storage" t.string "max_item_storage" t.float "POKECOIN" t.float "STARDUST" t.string "last_data_update" end end ================================================ FILE: db/seeds.rb ================================================ # This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). # # Examples: # # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Character.create(name: 'Luke', movie: movies.first) ================================================ FILE: google_auth.rb.example ================================================ require 'poke-api' require 'httpclient' clnt = HTTPClient.new body = { grant_type: 'authorization_code', redirect_uri: 'urn:ietf:wg:oauth:2.0:oob', scope: 'openid email https://www.googleapis.com/auth/userinfo.email', client_secret: 'NCjF1TLi2CcY6t5mt0ZveuL7', client_id: '848232511240-73ri3t7plvk96pj4f85uj8otdat2alem.apps.googleusercontent.com', code: "", # <--- Insert token from google here } uri = 'https://accounts.google.com/o/oauth2/token' response = clnt.post(uri, body) body = response.body hash = JSON.parse body token = hash["id_token"] client = Poke::API::Client.new google = Poke::API::Auth::GOOGLE.new("username", "password") google.instance_variable_set(:@access_token, token) client.instance_variable_set(:@auth, google) client.instance_eval { fetch_endpoint } ================================================ FILE: lib/assets/.keep ================================================ ================================================ FILE: lib/tasks/.keep ================================================ ================================================ FILE: lib/tasks/refresh_data.rake ================================================ desc 'Update all user data with Google accounts' task refresh_data: :environment do include SessionsHelper Poke::API::Logging.log_level = :WARN if Rails.env.production? Rails.logger.warn "Running rake task" @users = User.where.not('refresh_token' => nil) @users.each do |user| if user.access_token_expire_time > Time.now.to_i refresh_data(user) end end end ================================================ FILE: public/404.html ================================================ The page you were looking for doesn't exist (404)

    The page you were looking for doesn't exist.

    You may have mistyped the address or the page may have moved.

    If you are the application owner check the logs for more information.

    ================================================ FILE: public/422.html ================================================ The change you wanted was rejected (422)

    The change you wanted was rejected.

    Maybe you tried to change something you didn't have access to.

    If you are the application owner check the logs for more information.

    ================================================ FILE: public/500.html ================================================ We're sorry, but something went wrong (500)

    We're sorry, but something went wrong.

    If you are the application owner check the logs for more information.

    ================================================ FILE: public/robots.txt ================================================ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file # # To ban all spiders from the entire site uncomment the next two lines: # User-agent: * # Disallow: / ================================================ FILE: test/controllers/.keep ================================================ ================================================ FILE: test/controllers/sessions_controller_test.rb ================================================ require 'test_helper' class SessionsControllerTest < ActionDispatch::IntegrationTest test "should get new" do get sessions_new_url assert_response :success end test "should get create" do get sessions_create_url assert_response :success end end ================================================ FILE: test/controllers/static_pages_controller_test.rb ================================================ require 'test_helper' class StaticPagesControllerTest < ActionDispatch::IntegrationTest test "should get home" do get home_path assert_response :success end test "should get about" do get about_path assert_response :success end test "should get contact" do get contact_path assert_response :success end end ================================================ FILE: test/controllers/stats_controller_test.rb ================================================ require 'test_helper' class StatsControllerTest < ActionDispatch::IntegrationTest test "should get show" do get stats_show_url assert_response :success end end ================================================ FILE: test/controllers/users_controller_test.rb ================================================ require 'test_helper' class UsersControllerTest < ActionDispatch::IntegrationTest test "should get show" do get users_show_url assert_response :success end end ================================================ FILE: test/fixtures/.keep ================================================ ================================================ FILE: test/fixtures/files/.keep ================================================ ================================================ FILE: test/fixtures/items.yml ================================================ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html one: item_id: MyString count: 1 user: one two: item_id: MyString count: 1 user: two ================================================ FILE: test/fixtures/pokemons.yml ================================================ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html one: poke_id: MyString move_1: MyString move_2: MyString health: 1 attack: 1 defense: 1 stamina: 1 user: one two: poke_id: MyString move_1: MyString move_2: MyString health: 1 attack: 1 defense: 1 stamina: 1 user: two ================================================ FILE: test/fixtures/users.yml ================================================ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html one: name: MyString two: name: MyString ================================================ FILE: test/helpers/.keep ================================================ ================================================ FILE: test/integration/.keep ================================================ ================================================ FILE: test/integration/users_login_test.rb ================================================ require 'test_helper' class UsersLoginTest < ActionDispatch::IntegrationTest # test "the truth" do # assert true # end end ================================================ FILE: test/mailers/.keep ================================================ ================================================ FILE: test/models/.keep ================================================ ================================================ FILE: test/models/item_test.rb ================================================ require 'test_helper' class ItemTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end ================================================ FILE: test/models/pokemon_test.rb ================================================ require 'test_helper' class PokemonTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end ================================================ FILE: test/models/user_test.rb ================================================ require 'test_helper' class UserTest < ActiveSupport::TestCase # test "the truth" do # assert true # end end ================================================ FILE: test/test_helper.rb ================================================ ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) require 'rails/test_help' class ActiveSupport::TestCase # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. fixtures :all # Add more helper methods to be used by all tests here... end ================================================ FILE: vendor/assets/javascripts/.keep ================================================ ================================================ FILE: vendor/assets/stylesheets/.keep ================================================