POGOserver icon indicating copy to clipboard operation
POGOserver copied to clipboard

Invalid provider! Kicking..

Open dgofman opened this issue 9 years ago • 27 comments

Cannot login tried with different versions:

com.nianticlabs.pokemongo_0.33.0-2016080700_minAPI19(armeabi-v7a)(nodpi)_APKdot.com.apk com.nianticlabs.pokemongo_0.35.0-2016082200_minAPI19(armeabi-v7a)(nodpi)_apkmirror.com.apk

Certificates: de.robv.android.xposed.installer_v33_36570c.apk de.rastapasta.android.xposed.pokemongo_v6_c5e8bb.apk

image

dgofman avatar Sep 23 '16 04:09 dgofman

are you using ptc? I had the same problems. try a dummy google account (change the provider in the cfg.js first!)

nliakm avatar Sep 23 '16 08:09 nliakm

Thanks nliakam. I tried too. By using version 33 I can login but POGO asking to upgrade to newest version. in 35 after login asking to accept policy but its failing. Any other version 37, 39 41 are not connecting to the server. What version are you using of com.nianticlabs.pokemongo and de.rastapasta.android.xposed? Thanks, David

image

dgofman avatar Sep 23 '16 17:09 dgofman

Do the tutorial manually by connecting to niantic on same email and pass. Than cmafter capturing ur first pokemon connect to ur server

dayanfernandez avatar Sep 23 '16 18:09 dayanfernandez

I did, but when switching server is asking to accept a certificate

dgofman avatar Sep 23 '16 18:09 dgofman

so v 0.33 is working? open your cfg.js with notepad++ and search for that line: MINIMUM_CLIENT_VERSION: "0.35.0", change the value to 0.33.0. save and start the server. now you should login with v0.33

nliakm avatar Sep 23 '16 20:09 nliakm

Still, the same issue here is all my steps:

  1. Uninstall Nox from local machine
  2. Installed nox_setup_v3.7.2.0_full_En.exe
  3. Changed in settings "Interface" -> "Virtual buttons at the bottom" -> "on" and "General" -> "Root" -> on (restarted)
  4. Installed de.robv.android.xposed.installer_v33_36570c.apk
  5. Updated Framework (version 2.7) and Rebooted
  6. Downloaded Pokemon Go Trust Certificate (version 2.2)
  7. Enabled Module Pokemon Xposed 2.2 (checkbox)
  8. Enabled custom endpoint and set ip address with server port 3000
  9. Change cfg.js min version 0.33.0
  10. Started PoGo server v0.5.9
  11. Installed com.nianticlabs.pokemongo_0.33.0-2016080700_minAPI19(armeabi-v7a)(nodpi)_APKdot.com.apk
  12. Started Pokemon Go and changed date to 1910 / Submit
  13. Login with Google Account

and now got the same issue with Accept Terms of Service certificate Unknown request: MARK_TUTORIAL_COMPLETE

What did I miss in my steps? and by the way, do you know how to hide navigation controls (A,W,D,Q,S,E)?

dgofman avatar Sep 23 '16 21:09 dgofman

image

dgofman avatar Sep 23 '16 21:09 dgofman

image

dgofman avatar Sep 23 '16 21:09 dgofman

image

dgofman avatar Sep 23 '16 21:09 dgofman

Ah I didn't saw your last issue. You have to add yourself to your database before you join the first time on your server: Check my last answer here #213

nliakm avatar Sep 23 '16 22:09 nliakm

Thanks, I dropped all tables:

$mysql mysql> use pogosql;

mysql> show tables;

mysql> drop table gym; Query OK, 0 rows affected (0.02 sec)

mysql> drop table owned_pkmn; Query OK, 0 rows affected (0.02 sec)

mysql> drop table pokestop; Query OK, 0 rows affected (0.01 sec)

mysql> drop table spawn_points; Query OK, 0 rows affected (0.01 sec)

mysql> drop table users; Query OK, 0 rows affected (0.01 sec)

mysql> show tables; Empty set (0.00 sec)

mysql> exit

And when started can see new tables was created

[Console] https://github.com/maierfelix/POGOServer [Console] Booting Server v0.5.9 [Console] Downloaded assets are valid! Proceeding.. [Console] Creating table gym [Console] Creating table users [Console] Creating table spawn_points [Console] Creating table pokestop [Console] Creating table owned_pkmn [Console] MySQL connection established [Console] Server listening at 172.17.0.2:3000

but still cannot continue on click Accept button

dgofman avatar Sep 23 '16 22:09 dgofman

And by the way I added my account

$mysql

mysql> use pogosql; Database changed

INSERT INTO users VALUES (1, 'Administrator', '{MY_GOOGLE_ACCOUNT}@gmail.com', 20000000, 40, 10000, 1000, 1, 50, 143, 0, 0, 0, '{}', '{}', '{}', '{}', '{"0":1,"1":1,"3":1,"4":1,"7":1}'); Query OK, 1 row affected (0.00 sec)

mysql> exit Bye

dgofman avatar Sep 23 '16 23:09 dgofman

$mysql

mysql> use pogosql; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A

Database changed mysql> select * from users; +----+---------------+-----------------------+----------+-------+----------+---- -------+------+----------+-----------+----------+-----------------------+------- ------------------+---------+-------+--------+---------+------------------------ ---------+ | id | username | email | exp | level | stardust | pok ecoins | team | latitude | longitude | altitude | send_marketing_emails | send_p ush_notifications | candies | items | avatar | pokedex | tutorial | +----+---------------+-----------------------+----------+-------+----------+---- -------+------+----------+-----------+----------+-----------------------+------- ------------------+---------+-------+--------+---------+------------------------ ---------+ | 1 | Administrator | [email protected] | 20000000 | 40 | 10000 | 1000 | 1 | 50 | 143 | 0 | 0 | 0 | {} | {} | {} | {} | {"0":1,"1":1,"3":1,"4": 1,"7":1} | +----+---------------+-----------------------+----------+-------+----------+---- -------+------+----------+-----------+----------+-----------------------+------- ------------------+---------+-------+--------+---------+------------------------ ---------+ 1 row in set (0.00 sec)

dgofman avatar Sep 23 '16 23:09 dgofman

Sorry, it's working I didn't realize Nox updated automatically to latest Pokemon Go version! Thanks for your help. Do you know how can I hide Nav icons?

dgofman avatar Sep 23 '16 23:09 dgofman

Same problem with Nox!! How do I hide this controls??? 😄 0.37.1 doesn't work, does it??

KitsuneDev avatar Sep 23 '16 23:09 KitsuneDev

By the way looks like we need to execute command "/dump" after cleaning all tables :) but still getting null pointer exception

[Console] Unhandled exception occurred: [Console] TypeError: this.spawnPkmnAtPlayer is not a function [Console] TypeError: this.spawnPkmnAtPlayer is not a function at GameServer.processCommand (/POGOserver/src/process.js:44:12) at GameServer.stdinInput (/POGOserver/src/process.js:62:8) at Interface. (/POGOserver/src/index.js:220:12) at emitOne (events.js:96:13) at Interface.emit (events.js:188:7) at Interface._onLine (readline.js:239:10) at Interface. (readline.js:376:12) at Array.forEach (native) at Interface._normalWrite (readline.js:375:11) at ReadStream.ondata (readline.js:107:10) at emitOne (events.js:96:13) at ReadStream.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:176:18) at ReadStream.Readable.push (_stream_readable.js:134:10) at TTY.onread (net.js:543:20) [Console] The server has crashed!

dgofman avatar Sep 23 '16 23:09 dgofman

the spawn command in this version is not working.

nliakm avatar Sep 23 '16 23:09 nliakm

What version?? 0.37.1 or 0.35?? (Sorry, this may be a dumb question)

KitsuneDev avatar Sep 23 '16 23:09 KitsuneDev

so, I cannot add pokemon stops and pokemons? What the point of this game?

dgofman avatar Sep 23 '16 23:09 dgofman

@dgofman I think they must be added through the api.

KitsuneDev avatar Sep 23 '16 23:09 KitsuneDev

I will try 0.35, but actually issue in the server code

https://github.com/maierfelix/POGOserver/blob/5caf7c0752c10c1f365977cd62611c0efd45793b/src/process.js#L44

looks like someone forget to add code :)

However API are available:

https://github.com/maierfelix/POGOserver/blob/79d0e284ffd7da3715e61499a1478356ea70ab79/src/models/World/forts.js

dgofman avatar Sep 23 '16 23:09 dgofman

@dgofman true. you can do it through the api.

nliakm avatar Sep 24 '16 09:09 nliakm

@nliakm Do you have an example?

dgofman avatar Sep 24 '16 16:09 dgofman

You can add spawnpoints thought the web-api or manual in the spawn_points table.

The /spawn command got removed a few updates ago, because POGOserver got a new database structure, so this has not been recoded to the new structure.

Cronick avatar Sep 24 '16 19:09 Cronick

I looked into code and don't see how can I pass json via web-api

https://github.com/maierfelix/POGOserver/blob/0eb318debc3131698bdb26489a4a01a2fbf62d50/src/api.js#L138

dgofman avatar Sep 24 '16 20:09 dgofman

through api, you can easily add pokestops, pokespawns and gyms with a few clicks. like cronick said, you can manually add them into your mysql db. but i recommend using the api. check the wiki for the tutorial

nliakm avatar Sep 24 '16 21:09 nliakm

@dgofman As I said. The /spawn command got removed a few update ago. This statement also include the spawn at specific player in the web-api. Only way to spawn pokemons at the moment, is to setup spawn points.

Cronick avatar Sep 25 '16 02:09 Cronick