Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Monkey fork support (gym names/defenders/raids) #26

Closed
wants to merge 16 commits into from

Conversation

wateredstorm
Copy link

config/config.php

$fork = "monkey";

forks/monkey.php Outdated
$data = array();

foreach ($gym_defenders as $defender) {
$pid = $defender["pokemon_id"];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should unset unnecessary values from $defender

adapter.php Outdated
@@ -0,0 +1,10 @@
<?php

global $adapter;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably unnecessary 👆

forks/monkey.php Outdated
$gym["longitude"] = floatval($gym["longitude"]);
$gym["last_modified"] = $gym["last_modified"] * 1000;
$gym["raid_start"] = $gym["raid_start"] * 1000; // needs to be banged do that raid_start * 1000
$gym["raid_end"] = $gym["raid_end"] * 1000; // something has to be changed here so that raid_end is *1000

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove unnecessary comments.                    👆

@wateredstorm
Copy link
Author

wateredstorm commented Sep 3, 2017

Remember:

  • npm run build
  • set inside config.php into monkey on fork options

My repo:
https://github.com/wateredstorm/PMSF/tree/monkey?files=1

Also good idea to check:
https://github.com/MonkeyTedBaker/Monocle
Which is the monocle backend for This PR monkey's wiki is very clean.

wateredstorm and others added 5 commits September 4, 2017 12:24
@Glennmen
Copy link
Owner

Monkey support has been merged in PR #28

@Glennmen Glennmen closed this Sep 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants