-
Active Member
How do we transfer duplicates instead of based on CP in the latest version 1.2.1?
aka. what do I replace "cp" with?
Code:
public string TransferType => GetSetting() != string.Empty ? GetSetting() : "cp";
.
bitcoin? or gold coin?
.
-
Member
Originally Posted by
Finrodi
@nonm
Put all information into the Settings.cs & App.config file but I'm getting
https://i.imgur.com/dFeba6J.png this error now.
Again, not sure if its because of the unstable servers.

https://go.jooas.com
-
Member
Originally Posted by
andyt315
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\AT\Downloads\Pokemon-Go-Rocket-API-master\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\AT\Downloads\Pokemon-Go-Rocket-API-master\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\AT\Downloads\Pokemon-Go-Rocket-API-master\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 . . .
How to fix this? using Ptc, already set proper setting.
That's exactly what i get
-
Member
Originally Posted by
shadowht
did you guys edited app.config too? in necro version
i think i got softbanned because i didnt changed
edit. yea, need to edit that too
edit to what?
-
Member
Anybody knows, who was that guy in this thread?
He posted here how to make bot remember last location,
so if it restarts he continues there. The last location coordinates were saved into a .txt file.
I can not remember his name. Somebody knows?
He edited his post later, saying "waiting for neer" or something
-
Member
Perhaps adding white/blacklist like transfer also for evolving pokemon
-
Member
Originally Posted by
daastaman
Anybody knows, who was that guy in this thread?
He posted here how to make bot remember last location,
so if it restarts he continues there. The last location coordinates were saved into a .txt file.
I can not remember his name. Somebody knows?
He edited his post later, saying "waiting for neer" or something
that was me
never heard back from Neer, problem is if people add it manually, it will always be lost whenever Neer adds a new version
-
Post Thanks / Like - 1 Thanks
daastaman (1 members gave Thanks to spikeone for this useful post)
-
Active Member
Please update the git. There are 2 app.config files, but you need to edit the one with the capital A.
" App.config "
not " app.config "
btw I love what you guys are doing. awesomesauce
.
bitcoin? or gold coin?
.
-
Member
Originally Posted by
ptmazkirut
edit to what?
your location
-
Corporal
SERVERS OFFLINE! Necro Bot dont work! Wait to up Servers.
PS: Good job Necronomicon, if you make remove % of items if too much you are my GOD ;-) example:
if 90% items in bag then remove 40%, or make variables Pokeballs,Greatballs,Ultraballs,fruits,revive,potions and other shits if it is greater than "value" then remove to get "value2".
You are my GOD!
-
Member
It says it will work 30 mins, does that mean i'll have to restart the bot each 30 mins?
-
Member
which one is curretnly best? necro or ferox?
-
Member
Anyway, if people want to use my code to keep last location (since we have to relog every 30minutes)
you will need to edit the files yourself...
execute function, edit beginning with, replace "client = new Client(Settings.DefaultLatitude, Settings.DefaultLongitude);" with this:
Client client;
if (File.Exists(Directory.GetCurrentDirectory() + "\\coords.txt"))
{
string latlngFromFile = File.ReadAllText(Directory.GetCurrentDirectory() + "\\coords.txt");
String[] latlng = latlngFromFile.Split(':');
client = new Client(Convert.ToDouble(latlng[0]), Convert.ToDouble(latlng[1]));
}
else
{
client = new Client(Settings.DefaultLatitude, Settings.DefaultLongitude);
}
add this new function
private static void SaveLatLng(double lat, double lng)
{
string latlng = lat.ToString() + ":" + lng.ToString();
File.WriteAllText(Directory.GetCurrentDirectory() + "\\coords.txt", latlng);
}
in ExecuteFarmingPokestopsAndPokemons, after the var update, add
SaveLatLng(pokeStop.Latitude, pokeStop.Longitude);
in ExecuteCatchAllNearbyPokemons, after the var update, add
SaveLatLng(pokemon.Latitude, pokemon.Longitude);
So what this does is save your coords in a file called coords.txt on evrey pokestop and pokemon catch so whenever you close, you should go back to last spot when you reopen
-
Post Thanks / Like - 1 Thanks
daastaman (1 members gave Thanks to spikeone for this useful post)
-
Member
Add
else
{
Console.WriteLine("Server down! Exiting!");
Console.ReadLine();
System.Environment.Exit(-1);
}
Under the continue; } in RetryHandler.cs to get rid of the error.
-
-
Post Thanks / Like - 1 Thanks
xoreyo (1 members gave Thanks to KefkaBot for this useful post)