{"action":"created","issue":{"url":"https://api.github.com/repos/NoxxDev/NecroBot/issues/272","repository_url":"https://api.github.com/repos/NoxxDev/NecroBot","labels_url":"https://api.github.com/repos/NoxxDev/NecroBot/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/NoxxDev/NecroBot/issues/272/comments","events_url":"https://api.github.com/repos/NoxxDev/NecroBot/issues/272/events","html_url":"https://github.com/NoxxDev/NecroBot/issues/272","id":172173154,"number":272,"title":"0.9.3 Rocket API Errors","user":{"login":"Ev0luti0n2016","id":21089968,"avatar_url":"https://avatars.githubusercontent.com/u/21089968?v=3","gravatar_id":"","url":"https://api.github.com/users/Ev0luti0n2016","html_url":"https://github.com/Ev0luti0n2016","followers_url":"https://api.github.com/users/Ev0luti0n2016/followers","following_url":"https://api.github.com/users/Ev0luti0n2016/following{/other_user}","gists_url":"https://api.github.com/users/Ev0luti0n2016/gists{/gist_id}","starred_url":"https://api.github.com/users/Ev0luti0n2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ev0luti0n2016/subscriptions","organizations_url":"https://api.github.com/users/Ev0luti0n2016/orgs","repos_url":"https://api.github.com/users/Ev0luti0n2016/repos","events_url":"https://api.github.com/users/Ev0luti0n2016/events{/privacy}","received_events_url":"https://api.github.com/users/Ev0luti0n2016/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-19T16:47:03Z","updated_at":"2016-08-19T17:26:46Z","closed_at":null,"body":"What is ptr?\r\n\r\n\r\n[xxxxxx] Perfect! You already have the newest Version 0.9.3\r\n[xxxxxx] Logging in using Ptc\r\n[xxxxxx] System.ArgumentNullException: Value cannot be null.\r\nParameter name: ptr\r\n   at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t)\r\n   at PokemonGo.RocketAPI.Helpers.RequestBuilder.FunctionLoader.LoadFunction[T](String dllPath, String functionName) in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Helpers\\RequestBuilder.cs:line 169\r\n   at PokemonGo.RocketAPI.Helpers.RequestBuilder..ctor(String authToken, AuthType authType, Double latitude, Double longitude, Double altitude, ISettings settings, AuthTicket authTicket) in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Helpers\\RequestBuilder.cs:line 38\r\n   at PokemonGo.RocketAPI.Rpc.BaseRpc.get_RequestBuilder() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\BaseRpc.cs:line 14\r\n   at PokemonGo.RocketAPI.Rpc.Login.<SetServer>d__4.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\Login.cs:line 55\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at PokemonGo.RocketAPI.Rpc.Login.<DoLogin>d__3.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\Login.cs:line 41\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at PoGo.NecroBot.Logic.State.LoginState.<Execute>d__0.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\PoGo.NecroBot.Logic\\State\\LoginState.cs:line 35\r\n[11:31:47] Logging in using Ptc\r\n[11:31:47] System.ArgumentNullException: Value cannot be null.\r\nParameter name: ptr\r\n   at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t)\r\n   at PokemonGo.RocketAPI.Helpers.RequestBuilder.FunctionLoader.LoadFunction[T](String dllPath, String functionName) in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Helpers\\RequestBuilder.cs:line 169\r\n   at PokemonGo.RocketAPI.Helpers.RequestBuilder..ctor(String authToken, AuthType authType, Double latitude, Double longitude, Double altitude, ISettings settings, AuthTicket authTicket) in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Helpers\\RequestBuilder.cs:line 38\r\n   at PokemonGo.RocketAPI.Rpc.BaseRpc.get_RequestBuilder() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\BaseRpc.cs:line 14\r\n   at PokemonGo.RocketAPI.Rpc.Login.<SetServer>d__4.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\Login.cs:line 55\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at PokemonGo.RocketAPI.Rpc.Login.<DoLogin>d__3.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\Login.cs:line 41\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at PoGo.NecroBot.Logic.State.LoginState.<Execute>d__0.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\PoGo.NecroBot.Logic\\State\\LoginState.cs:line 35\r\n[11:32:07] Logging in using Ptc\r\n[11:32:07] System.ArgumentNullException: Value cannot be null.\r\nParameter name: ptr\r\n   at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t)\r\n   at PokemonGo.RocketAPI.Helpers.RequestBuilder.FunctionLoader.LoadFunction[T](String dllPath, String functionName) in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Helpers\\RequestBuilder.cs:line 169\r\n   at PokemonGo.RocketAPI.Helpers.RequestBuilder..ctor(String authToken, AuthType authType, Double latitude, Double longitude, Double altitude, ISettings settings, AuthTicket authTicket) in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Helpers\\RequestBuilder.cs:line 38\r\n   at PokemonGo.RocketAPI.Rpc.BaseRpc.get_RequestBuilder() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\BaseRpc.cs:line 14\r\n   at PokemonGo.RocketAPI.Rpc.Login.<SetServer>d__4.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\Login.cs:line 55\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at PokemonGo.RocketAPI.Rpc.Login.<DoLogin>d__3.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\FeroxRev\\PokemonGo.RocketAPI\\Rpc\\Login.cs:line 41\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at PoGo.NecroBot.Logic.State.LoginState.<Execute>d__0.MoveNext() in E:\\Projetos\\CSharp\\NecroBot\\PoGo.NecroBot.Logic\\State\\LoginState.cs:line 35\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/NoxxDev/NecroBot/issues/comments/241080803","html_url":"https://github.com/NoxxDev/NecroBot/issues/272#issuecomment-241080803","issue_url":"https://api.github.com/repos/NoxxDev/NecroBot/issues/272","id":241080803,"user":{"login":"Ev0luti0n2016","id":21089968,"avatar_url":"https://avatars.githubusercontent.com/u/21089968?v=3","gravatar_id":"","url":"https://api.github.com/users/Ev0luti0n2016","html_url":"https://github.com/Ev0luti0n2016","followers_url":"https://api.github.com/users/Ev0luti0n2016/followers","following_url":"https://api.github.com/users/Ev0luti0n2016/following{/other_user}","gists_url":"https://api.github.com/users/Ev0luti0n2016/gists{/gist_id}","starred_url":"https://api.github.com/users/Ev0luti0n2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ev0luti0n2016/subscriptions","organizations_url":"https://api.github.com/users/Ev0luti0n2016/orgs","repos_url":"https://api.github.com/users/Ev0luti0n2016/repos","events_url":"https://api.github.com/users/Ev0luti0n2016/events{/privacy}","received_events_url":"https://api.github.com/users/Ev0luti0n2016/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T17:26:46Z","updated_at":"2016-08-19T17:26:46Z","body":"@RavenHome1 :  If that suggestion was for me, that is not the issue. Works fine in 0.9.2. I have tried to configure setup using a fresh account and going through the NecroBot to start from fresh in 0.9.3 and created a new Google API and kept the config as it was and still get the same error.\r\n\r\n@blackfabs :  Did you create a Google API and open your config in notepad and edit the info there?\r\nLook For:\r\n     \"GoogleWalkConfig\": {\r\n    \"UseGoogleWalk\": true,\r\n    \"GoogleHeuristic\": \"walking\",\r\n    \"GoogleAPIKey\": \"**ENTER THE GOOGLE API KEY HERE AND KEEP THE QUOTATION MARKS**\",\r\n    \"Cache\": false\r\n  },\r\n\r\n\r\n...don't forget to save and start the bot. \r\n"}}
{"actor":{"display_login":"Ev0luti0n2016"}}