Thanks to the devs who created this great script. This script has helped me immensely so I'll try and give back what I can.
First of all, if you notice your chrome keeps showing old maps and old pokemon, try this.
While you have chrome open, Ctrl+Shift+Delete, select "Cached Images and Files", clear browsing data.
Second, here is my method of running multiple instances. It's not pretty, and very likely not the best way... but here it is.
1. I create multiple folders of the scripts. Download it, copy it over so you have (lets use 3 for this guide) folders. Let's name those folders 5500, 5600, 5700. These are the random ports im assigning. These numbers don't really matter... but there are some values you shouldn't choose. I don't know enough about it to give advice.
2. In each folder, create a run.bat containing this. This starts the server cmd minimized, starts chrome, and starts the genius pokefinder script. Remember to edit username, password, and location. You will also notice that I used port 5500, you can use whatever, but make sure you use a different number for each instance. So if you have one location for home, and one location for your local community center. Your home instance port # should be different from the community center port #.
Code:
start /min cmd /k "C:\Python27\python.exe" -m SimpleHTTPServer 5500
start chrome http://127.0.0.1:5500
python main.py -u USERNAME -p PASSWORD -l "LOCATION"
pause
3. Now go back one folder, so you can see the folders of all 3 instances. Create a runall.bat file. Pretty tedious way of doing it but we need to run the server from within the folder... so yeah. I googled how to write batch code lol.
Code:
cd 5500
start run.bat
cd ..
cd 5600
start run.bat
cd ..
cd 5700
start run.bat
Alright, now the most awesome thing. You know how you see all those useless rattatas and pidgeys and drowsees and whatnot, here is how you can disable/hide them from the map.
1. Edit index.html (in each instance).
2. Scroll down till you see the following lines.
Code:
data = {};
map = null;
markers = [];
listeners = [];
hidden_layers = [];
layers = [];
updated = false;
3. After the last line, add
Code:
dontshow = ["Pidgey", "Rattata", "Zubat", "Golbat", "Drowzee", "Spearow", "Pidgeotto", "Hypno", "Pidgeotto", "Goldeen", "Shelder", "Jynx", "Krabby", "Fearow", "Caterpie", "Weedle", "Raticate"]
These are the pokemon I chose to not show on the map. Add/remove whichever pokemons you want. I think it is case sensitive but I haven't checked.
4. Scroll up till you see
Code:
if(hidden_layers.indexOf(p.name) == -1){
5. ABOVE that line, add the following line
Code:
if (dontshow.indexOf(p.name) < 0) {
6. Scroll down to
Code:
listeners.push(listenerPair);
markers.push(marker);
}
After this line, add a }
tada. no more crap on your map