Skip to content

.Net core binary to feed PokemonGo-Bot (any bot which can read json files) with sniping information It can on any system (Windows/Linux/MacOS)

Notifications You must be signed in to change notification settings

walaoaaa1234/PSSnipeFeeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSSnipeFeeder

.Net core binary to feed PokemonGo-Bot (any bot which can read json files) with sniping information It can on any system (Windows/Linux/MacOS) !

You can add pokemon data manually or grab them, automatically from Discord channels.

Additionaly, on Windows you can click on links on sniping website to feed your bot (read below)

Installation and update

  1. Install .net Core: https://www.microsoft.com/net/download/core#/current/sdk (SDK)
  2. Run commands:
git clone https://github.com/pogarek/PSSnipeFeeder
cd PSSnipeFeeder
dotnet restore

##Update

git pull
dotnet restore

Configuration

  1. Copy feeder\config.json.example to feeder\config.json and edit it. I recommend using a dedicated (with 1st pokemon caught etc) account for the tool.
  2. Update your bot configuration so it can call your url (http://127.0.0.1:5000/ by default) For example for PokemonGo-Bot add below to Sniper task
 				{
				  "enabled": true,
					"url": "http://127.0.0.1:5000/",
					"timeout": 3,
					"mappings": {
           			"iv": { "param": "IV" },
					"name": { "param": "PokemonName" },
					"latitude": { "param": "Latitude" },
					"longitude": { "param": "Longtitude" },
            		"spawnpoint": { "param": "SpawnpointId" },
					"encounter": { "param": "EncounterId" },
					"expiration": { "param": "expiration", "format": "milliseconds" }
					}
				}

####Note: above example should be used, when you have <"verifypokemon": true> set in your config file. In case that you have this option set to false, make sure that your Snipe task is configured like below:

 				{
				  "enabled": true,
					"url": "http://127.0.0.1:5000/",
					"timeout": 3,
					"mappings": {
					"name": { "param": "PokemonName" },
					"latitude": { "param": "Latitude" },
					"longitude": { "param": "Longtitude" },
					"expiration": { "param": "expiration", "format": "milliseconds" }
					}
				}

Also in such case, when you don't need to verify the Pokemon, then hashing key is not needed.

#Usage

cd feeder
dotnet run
```
To find out which pokemons are available in tool out, just open in browser the tool url , for example , in default configuration:
> http://127.0.0.1:5000/


### For instruction how to use Discord to feed the bot, check [DiscordCrawler](https://github.com/pogarek/PSSnipeFeeder/tree/master/DiscordCrawler) directory. 
### ~~For instruction how to use Msniper.com website to feed the bot, check [MSniperReader](https://github.com/pogarek/PSSnipeFeeder/tree/master/MSniperReader) directory.~~ 
(doesn't work right now - msniper.com is  behing CloudFlare)

## Adding pokemon data manually

Open a URL (in browser for example) with address:

### using msniper format

```
http://webserveraddress:webserverport/addpokemon/msniper://PokemonName/encounterid/spawnpointid/latitude,longitude/iv  
```

for example:
```
http://127.0.0.1:5000/addpokemon/msniper://Beedrill/13771894552293369407/3403ff2f5e7/22.330832561292816,114.10366351376578/59.64  
```

### using pokesniper2 format: 

```
http://webserveraddress:webserverport/addpokemon/pokesniper2://PokemonName/latitude,longitude
```

for example:
```
http://127.0.0.1:5000/addpokemon/pokesniper2://Beedrill/22.330832561292816,114.10366351376578
```

For Pokesnipers2 this software will connect to Pokemons server (sorry, hashkey required)  to gather EncounterId and SpawnLocationsID and to check, if pokemon is there. 

### Windows Only (unless you know how to register protocol handlers msniper:// or pokesniper2:// or another operating system - then let me know by creating an Issue on GitHub)

You can pass information directly to bot from sniping websites, like http://msniper.com or http://pokezzz.com. 
Just run Windows\runme.bat to register the functionality, then you can click on sniping websites on Msniper or PokeSniper2 buttons. 

Regardless if pokemon was added manually or by pressing the button : it will be added to the bot for period of 3 minutes. 

Enjoy!







About

.Net core binary to feed PokemonGo-Bot (any bot which can read json files) with sniping information It can on any system (Windows/Linux/MacOS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages