Open jack898 opened 8 years ago
Double click the place on the map
Em 1 de out de 2016, às 18:08, WalrusOmega notifications@github.com escreveu:
I can't figure out how to add pokestops or add pokemon to my inventory with the webapi. Please help.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Sorry not the webapi, the sql database
for pokestop:
INSERT INTO
pokemon.
pokestop(
id,
cell_id,
latitude,
longitude,
name,
description,
image_url,
experience,
rewards) VALUES ('POKESTOPID', 'null', 'POKESTOPLAT', 'POKESTOPLONG', 'POKESTOPNAME', 'POKESTOPDESK', 'POKESTOPIMG', '300', '{\"4\":5,\"701\":2,\"301\":1}');
Just correct your dbName,and fill value i wrote in BIG char.
For Spawn:
INSERT INTO
pokemon.
spawn_points(
id,
cell_id,
latitude,
longitude,
encounters,
update_interval,
min_spawn_expire,
max_spawn_expire) VALUES ('SPAWNID', 'null', 'SPAWNLAT', 'SPAWNLONG', '[11,14]', '2000', '1', '2');
Sames as back example,but for this need more explication:
value [11,14]' are the number of pokemon in proto,there you choice what pokemon are spawned; value '2000' are the time of spawnpoints spwan pokemon, value '1' are the minimun time of pokemon are catchable vaòue '2' are the maximun time of pokemon are catchable
I can't figure out how to add pokestops or add pokemon to my inventory. Please help.