Post: Tustin's NecroBot Fork
07-27-2016, 03:51 PM #1
Tustin
Balls of Steel
(adsbygoogle = window.adsbygoogle || []).push({}); Started working on this yesterday and I plan on adding more things. As of right now the main change is the sniper, but it's still a WIP.

Sniping:


  1. Start the program and it'll create a Config folder for you with all the files you need to edit to login and configure your bot.
  2. Inside the Config folder, make a file called snipe.txt
  3. The bot will parse this file line by line and try to snipe each pokemon in this file. The format for sniping is - latitude,longitude:PokemonId
  4. When you enter all the coordinates and Pokemon you want to snipe, save the snipe.txt file.
  5. If the bot isn't running, start it and at launch it'll check your snipe.txt file and try to snipe all the Pokemon in there. Otherwise, wait until your bot hits a Pokestop and it'll scan it then.


The bot will check snipe.txt when you load the program, and then it will automatically check it at each Pokestop while the bot is running. So if you find a new Pokemon you want to snipe, just save it in snipe.txt and wait a second for a Pokestop and it should snipe it.

Here's an example snipe.txt:
    -34.84077988462681,138.49191695451736:Snorlax
-33.85787788391025,151.20364189390804:Magmar
-37.8231663,144.9571827Happyragonair



Always Delete Pokemon:
If there are Pokemon that you don't want any of (maybe the bot doesn't always get rid of them in the normal transfer or they just suck), my version has an always delete pokemon list.


  1. Go inside the Config folder and open config.json
  2. Find the value "UsePokemonsToAlwaysDelete" and change it from false to true
  3. Search for "PokemonsToAlwaysDelete" and you should find a list of Pokemon, these are the Pokemon that will always be deleted
  4. Simply remove or add any you want or don't want. Make sure you include a comma at the end of each Pokemon name
  5. Save the file and reload the bot. It will now always delete EVERY Pokemon that you have of the specific Pokemon you entered in the list.



You must login or register to view this content. - You must login or register to view this content.

The following 18 users say thank you to Tustin for this useful post:

B_colo_pr, BadChoicesZ, Bloated, Cameron, Crunk, DeezShinyNutz, G-NeR, jjjjjrussell, Joren, JrModz, Kryptus, moekroeman, Pricey91, RTE, SavageRising, Dacoco, Jon Snow, Wild.
07-29-2016, 02:55 PM #29
DustyMods
Save Point
Can't get anything so save to the config or auth, it saves, then I run the bot and it says I haven't made any changes and exits out, then the config and auth is back to default.
07-29-2016, 03:00 PM #30
Originally posted by DustyMods View Post
Can't get anything so save to the config or auth, it saves, then I run the bot and it says I haven't made any changes and exits out, then the config and auth is back to default.


config - edit - save - the original gates - Overwrite
07-29-2016, 03:08 PM #31
DustyMods
Save Point
After I edit and save, where is the original gates? And where do I overwrite it?
07-29-2016, 03:12 PM #32
open file zip , ex ( pokemon.go.confing ) save in desktop , open on note pad , enter password and email in in the right row , save modified, delet original confing, save the new confing , open program (so should go) let me know
07-29-2016, 03:21 PM #33
DustyMods
Save Point
When I run the bot it still says this is the first time you are running the bot, and it exits the everything goes back to default.
07-29-2016, 03:26 PM #34
strange :( I do not know how to help you then, expect more answers
07-29-2016, 03:28 PM #35
As you can see I get several errors and I can't compile it myself. I've redownloaded the file at least 10 times. I never get this issue witth other bots. Someone please explain what am I doing wrong and how to fix this.
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.
07-29-2016, 04:55 PM #36
Crunk
Sir, I'm too 1337
Originally posted by Tustin View Post
Started working on this yesterday and I plan on adding more things. As of right now the main change is the sniper, but it's still a WIP.

Sniping:

  • Run the initial program to login and setup the bot
  • The bot will create a config folder. Inside this make a file called snipe.txt
  • The bot will parse this file line by line and try to snipe each pokemon in this file. The format for sniping is - latitude,longitude:PokemonId
  • When you enter all the snipe spots, save the file and relaunch the bot
  • When the bot starts, it'll scan through this file, jump to the coords for each pokemon and keep trying to capture it until it flees or catches successfully

As of right now, the bot only runs the snipe check at program launch. I'll be changing this so it scans it periodically (possibly every few pokestops or something).
Here's an example snipe.txt:
    -34.84077988462681,138.49191695451736:Snorlax
-33.85787788391025,151.20364189390804:Magmar
-37.8231663,144.9571827Happyragonair


Check it out here: You must login or register to view this content.

[url][noparse]https://lexicongta.com/ngu/dl/download?file=TustinFork[July28_23.04].zip[/noparse][/url]
Compiled version as of 23:04 (11:04 PM PST) on July 28th.


Crash Log:


    [noparse]Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: a. Path 'GooglePassword', line 7, position 21.
at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
at Newtonsoft.Json.JsonTextReader.ReadAsString()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
at Newtonsoft.Json.JsonSerializer.PopulateInternal(JsonReader reader, Object target)
at Newtonsoft.Json.JsonConvert.PopulateObject(String value, Object target, JsonSerializerSettings settings)
at PoGo.NecroBot.CLI.AuthSettings.Load(String path) in Sad Awesome\Dev\NecroBot\PoGo.NecroBot.Logic\Settings.cs:line 44
at PoGo.NecroBot.CLI.GlobalSettings.Load(String path) in Sad Awesome\Dev\NecroBot\PoGo.NecroBot.Logic\Settings.cs:line 318
at PoGo.NecroBot.CLI.Program.Main(String[] args) in Sad Awesome\Dev\NecroBot\PoGo.NecroBot.CLI\Program.cs:line 32[/noparse]



EDIT:

Fixed the issue, was just a problem with my phrasing. Human error for the win =D
Last edited by Crunk ; 07-29-2016 at 05:00 PM.
07-29-2016, 05:21 PM #37
DustyMods
Save Point
But then when I start the bot again it says its the first time starting again?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo