-
Code:
Coded by Ferox - edited by NecronomiconCoding
Awesome! You have already got the newest version!
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at PokemonGo.RocketAPI.Login.PtcLogin.<GetAccessToken>d__0.MoveNext() in C:\Users\iBot2\Desktop\Pokemon2\PokemonGo\RocketAPI\Login\PtcLogin.cs:line
45
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at PokemonGo.RocketAPI.Client.<DoPtcLogin>d__11.MoveNext() in C:\Users\iBot2\Desktop\Pokemon2\PokemonGo\RocketAPI\Client.cs:line 96
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at PokemonGo.RocketAPI.Console.Program.<Execute>d__5.MoveNext() in C:\Users\iBot2\Desktop\Pokemon2\PokemonGo\RocketAPI\Console\Program.cs:line 128
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx
)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Press any key to continue . . .
got this with the new version
-
Member
Originally Posted by
nonm
Editing the wrong file, edit Settings.cs not ISettings.cs
ohhh sorry
lastly how do i make it stop evolving pokemon? or made exceptions?
*edit* and also just transfer low cp ones?
-
Member
The changes I made to the previous version is working with Ptc login. and so far only 1 retry request. I tried with my google account and it grinded my pokemon like I told it to then it got stuck on retry till I had to close it.
-
Elite User
I feel like Nccro should open a own Thread for his REPO
-
Post Thanks / Like - 2 Thanks
KefkaBot,
Jig666 (2 members gave Thanks to Ehnoah for this useful post)
-
Contributor
Originally Posted by
TheEnglishGuy
How to set PTC as authtype?
it's in AuthType.cs
namespace PokemonGo.RocketAPI.Enums
{
public enum AuthType
{
Google,
Ptc
}
}
so use Ptc as AuthType
-
Elite User
Originally Posted by
TheEnglishGuy
How to set PTC as authtype?
go to settings.cs and edit
public AuthType AuthType => AuthType.Google; // what authentication method you want
to
public AuthType AuthType => AuthType.Ptc; // what authentication method you want
-
Member
Originally Posted by
nonm
How transfert all pokemon excepted the first high CP, example I have magikarp 200 / 150 / 100 only save 200 and transfert 150 / 100
Thanks for all <3
-
Sergeant Major
i want to keep 2-3 pokemons with high cp instead of 1, is it possible? i mean for transfer
-
Member
getting unexpected stop how to fix this
-
Member
Can someone please message me I need help please
-
Master Sergeant
Originally Posted by
cedricdu94
How transfert all pokemon excepted the first high CP, example I have magikarp 200 / 150 / 100 only save 200 and transfert 150 / 100
Thanks for all <3
Maybe if you took a look a couple pages back?
-
Post Thanks / Like - 1 Thanks
Deedaa (1 members gave Thanks to Snuppert for this useful post)
-
Member
Awesome updates, thank you so much for the new commits! Looking forward to trying them out when the servers are more stable.
A small feature request (or suggestion): it may be better to use randomized delays between tasks. Some banning software looks for server request timing that is too consistent to be human (ex. the consistent Task.Delay(15000) between execution). How about something more randomized instead? Maybe like:
Code:
private static int HumanPause(int LowRange, int HighRange)
{
var rnd = new Random(); // By default, seed is system time
int rnd_pause = rnd.Next(LowRange, HighRange); // Random integer in range
return rnd_pause;
}
// Example Call
Task.Delay(HumanPause(8000, 19000));
// Will pick a random wait time between 8000 and 19000, or whatever you specify.
-
Member
Just want to confirm that the problem is with me not with the program... anyone got Ptc account working with necro fork? without modifying anything beside settings.cs
-
Originally Posted by
Ehnoah
I feel like Nccro should open a own Thread for his REPO
I think this is wise, it's going to get confusing in here...
-
Member
should i just change "false" to "true" if I want to activate a certain function?