-
Notifications
You must be signed in to change notification settings - Fork 69
Monkey fork support (gym names/defenders/raids) #26
Conversation
wateredstorm
commented
Sep 1, 2017
forks/monkey.php
Outdated
$data = array(); | ||
|
||
foreach ($gym_defenders as $defender) { | ||
$pid = $defender["pokemon_id"]; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary comments. 👆
Removed unnecessary code, thanks monkey.
Remember:
My repo: Also good idea to check: |
Removed unconfigured code that was causing raids to not leave the map when over.
[add]monkey bulbasaure fix
[add]fix iv problem
Monkey support has been merged in PR #28 |