maierfelix / POGOserver

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

Allow null? #268

Open Deathtrio99 opened 8 years ago

Deathtrio99 commented 8 years ago

https://cloud.githubusercontent.com/assets/1857535/18914817/e7616af0-858e-11e6-8167-bb65cf02e2e9.png How do I find the menus on the far left that this person found

Badley187 commented 8 years ago

change the table files in src/db/tables with this

tables.zip

and let the server create the tables

Deathtrio99 commented 8 years ago

Thanks! how do I have the pokestops give an item? They give nothing

Cronick commented 8 years ago

In MySQL for the pokestop tabel, you can set the rewards row to {"4": 5} as an example. {"4": 5} will give you 5 masterballs. The structure is the same as for user inventory. So ("Item_ID": How many to give) which results in {"4": 5}

Guide: http://pastebin.com/XtnvQbX7