POGOserver icon indicating copy to clipboard operation
POGOserver copied to clipboard

WepApi generated pokestops give no items

Open Deathtrio99 opened this issue 9 years ago • 7 comments

is there any way I can edit the pokestop data on mysql to get it to give me pokeballs or greatballs?

Deathtrio99 avatar Oct 09 '16 18:10 Deathtrio99

http://pastebin.com/XtnvQbX7

Badley187 avatar Oct 09 '16 18:10 Badley187

Thank you!

Deathtrio99 avatar Oct 09 '16 18:10 Deathtrio99

@Badley187 Is it for pokestops randomly given as in "max 5" or is it always 5?

Otherwise we just need to change the default value in the pokestop table for rewards

DracoMilesX avatar Oct 09 '16 20:10 DracoMilesX

It gives the exact value from rewards. So is it {"1":5,"701":2}, then you will get 5 pokeballs and 2 razzbarrys every time.

Cronick avatar Oct 09 '16 20:10 Cronick

Ah oke that's a shame.

DracoMilesX avatar Oct 09 '16 20:10 DracoMilesX

@DracoMilesX Would be possible to make, so it takes the rewards value and then random between 0 and max from rewards, but yet again. It's a minor detail right now :P

Cronick avatar Oct 09 '16 20:10 Cronick

I've made it, you found Here: https://github.com/maierfelix/POGOserver/compare/master...devilkkw:patch-1

devilkkw avatar Oct 11 '16 17:10 devilkkw