maierfelix / POGOserver

Pokemon GO server emulator
GNU General Public License v3.0
460 stars 198 forks source link

WepApi generated pokestops give no items #271

Open Deathtrio99 opened 7 years ago

Deathtrio99 commented 7 years ago

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

Badley187 commented 7 years ago

http://pastebin.com/XtnvQbX7

Deathtrio99 commented 7 years ago

Thank you!

DracoMilesX commented 7 years ago

@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

Cronick commented 7 years ago

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.

DracoMilesX commented 7 years ago

Ah oke that's a shame.

Cronick commented 7 years ago

@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

devilkkw commented 7 years ago

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