maierfelix / POGOserver

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

How to add pokemon to my inventory #249

Open jack898 opened 8 years ago

jack898 commented 8 years ago

I can't figure out how to add pokestops or add pokemon to my inventory. Please help.

KitsuneDev commented 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.

jack898 commented 8 years ago

Sorry not the webapi, the sql database

devilkkw commented 8 years ago

for pokestop: INSERT INTOpokemon.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 INTOpokemon.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