Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- REM The above stops all lines being read out during its process
- :CheckDirForFile
- REM We need to have the location of the runserver.py file
- ECHO Checking current directory for map files..
- IF EXIST "runserver.py" (
- ECHO runserver.py found!
- ECHO -------------------------------------------------------------------------------
- goto AccountTypeSelect
- ) ELSE (
- ECHO runserver.py was not found!
- ECHO -------------------------------------------------------------------------------
- goto MapDirSetting
- )
- :MapDirSetting
- ECHO [INFO] For better performance:
- ECHO - Close this CMD box and place the .bat file inside the map root directory...
- ECHO -------------------------------------------------------------------------------
- set /p MapDir="Please enter the maps directory: "
- CD %MapDir%
- goto CheckDirForFile
- :AccountTypeSelect
- REM Firstly we need to know what type of account will be used to login to do a GPS scan... Google or Pokemon Trainer Club
- set AccountType =
- set /p AccountType="Enter account type (ptc/google): "
- if '%AccountType%'=='ptc' goto PTCAccount
- if '%AccountType%'=='google' goto GoogleAccount
- CLS
- ECHO "%AccountType%" is not valid please try again
- goto AccountTypeSelect
- :PTCAccount
- REM We now need the PTC Account name
- set Username=
- set /p Username="Enter PTC Account Name: "
- goto GetPassword
- :GoogleAccount
- REM We now need the Google Account name
- set GoogleName=
- set /p GoogleName="Enter Google Account Name: "
- set Username=%GoogleName%@gmail.com
- goto GetPassword
- :GetPassword
- REM PTC or Google Password
- set /p Password="Enter Password For Account: "
- goto SetSteps
- :SetSteps
- REM How many steps around location to scan
- set /p Steps="Enter Steps: "
- goto RunServer
- :RunServer
- C:\Python27\Python.exe runserver.py -a %AccountType% -u %Username% -p %Password% -l "Westminster Bridge Rd, South Bank, London SE1 7PB" -st %Steps% -H 0.0.0.0 -L en
Add Comment
Please, Sign In to add comment