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

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

Closed
wateredstorm wants to merge 16 commits into
Glennmen:masterfrom
wateredstorm:monkey
Closed

Monkey fork support (gym names/defenders/raids)#26
wateredstorm wants to merge 16 commits into
Glennmen:masterfrom
wateredstorm:monkey

Conversation

@wateredstorm

Copy link
Copy Markdown

config/config.php

$fork = "monkey";

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

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

Copy link
Copy Markdown

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

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

global $adapter;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is probably unnecessary 👆

Comment thread 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Remove unnecessary comments.                    👆

@wateredstorm

wateredstorm commented Sep 3, 2017

Copy link
Copy Markdown
Author

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
Copy Markdown
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