POGOserver icon indicating copy to clipboard operation
POGOserver copied to clipboard

api branch bugs / request(?)

Open DracoMilesX opened this issue 9 years ago • 6 comments

Pokestops:

When creating a pokestop it's image_url isn't saved. (Might be me doing it wrong? Local file instead of web url?)

Rewards despite having a default value are empty might need to make it so that the insert into the dbs does it instead of the default value?

Might be either a bug or otherwise perhaps a request.

Possibility to add gyms and pokestops from PokemonGoMap table? Dunno if it's because of the id or the latitude/longitude.

36577a55d8b74942b4820fb803cd381e.16 50.748649 5.777801 are those from PokemonGoMap the pokestop table has shorter ids, and longer lat/long.

edit: I noticed deleting a spawn point from the database directly doesn't result it to be removed from the web interface. Might be the reason the import for pokestops/gyms don't work as well?

DracoMilesX avatar Sep 13 '16 17:09 DracoMilesX

Thanks @Cronick I can't test it now but what would happen for the rewards part if you remove , rewards=? from line 132? Currently it tries to insert a value but nowhere the value get's stated. So it should automatically pick up the default value from the database on the insert.

DracoMilesX avatar Sep 14 '16 20:09 DracoMilesX

The value gets inserted just fine in the database as far as I have tested.

Cronick avatar Sep 15 '16 12:09 Cronick

Strange it doesn't for me even not on a clean install. Guess I will remove it manually on my local repo each time.

You closed it but there was 1 other issue/request with the gyms/pokestops import.

DracoMilesX avatar Sep 15 '16 16:09 DracoMilesX

My fault. Had not seen the other question.

Cronick avatar Sep 15 '16 16:09 Cronick

Do you have a file with pokestops compatible to the table of the server? i found a big data bump with +300k of pokestops, but they didnt had a cell id. So i manually have to add them to make it possible for the server to load them.

nliakm avatar Sep 20 '16 13:09 nliakm

@nliakm. Just make a script that gives you an sql file you can import.

Cronick avatar Sep 20 '16 17:09 Cronick