File foe_snipe.py contains Python script that can be used to calculate if GB is profitable for sniping
- First Clone or download repository.
Script will check for pip, pychrome, tabulate and will try to install them if they are not found but if that fails you need to do steps 2, 3 manually.
- Install (if not already installed) pip for Python 2 with:
sudo apt install python-pip
- To install pychrome and tabulate and mttkinter, simply:
pip install pychrome
pip install tabulate
pip install mttkinter
- Setup Chrome with debugging (chrome version >= 59):
If on Linux or MacOS you can use:
python open_chrome.py
that will open new chrome session with debuggind mode and you will not have to close all chrome windows. (Tested only on MacOS but shopuld work on Linux too)
google-chrome --remote-debugging-port=9222
Or for OSX:
/Applications/Google\ Chrome\ 2.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
No other Chrome windows should be open before. Chrome window should be opened automatically after running this command.
- In another terminal run python script:
python foe_snipe.py
- open FOE in browser and if everythings ok then you should see something like this in terminal:
ARC bonus: 90 %
Open GB to use calculator
after you have opened some GB:
# Cost Difference
--- ------ ------------
1 0 0
2 73 5
3 0 0
4 0 0
5 0 0
Remaining FPs to level: 75
INVEST: 73
REWARD: 5
Its totally safe to use as only server request responses are read, theres no way for Inno to know that you are using this.
- download Python 2.7 installer https://www.python.org/downloads/windows/
- Install Python
- Open Command line: Start menu -> Run and type cmd.
- Install pip: for Python 2.7.9+ type:
C:\python27\python.exe py -3 -m ensurepip
- install pychrome and tabulate:
C:\Python27\Scripts\pip.exe install pychrome
and
C:\Python27\Scripts\pip.exe install tabulate
- Open Chrome with debugging:
start chrome --remote-debugging-port=9222
- Type this to run script:
C:\python27\python.exe C:\Users\YOUR-USER-NAME\Downloads\FOE-CLI-GB-COST-CALCULATOR-master\foe_snipe.py
change "YOUR-USER-NAME" to your actuall username or change path if you have downloaded it elsewhere