Giter Club home page Giter Club logo

fut_sniping_bot's Introduction

FUT Sniping BOT - FIFA 21 Autobuyer

How it works

Bot uses selenium framework to run fut web app. This is the best way to not get banned, because it is very similar to a normal user activity.

First step is logging in. You can do it manually or automatically. If automatically - Bot have access to your email inbox, so it can read the newest ea message with an access code. After running the web app, your filters are used to find a player (name and max price).

The min price is increased before every search to have the results refreshed every time. By default bot clicks + button of min price 20 times, and starts again from 0. You can change the number of increases using INCREASE_COUNT variable in the config.py file.

When the player is found, bot buys him, but sometimes it's too late. The result appears in the console:

  • Success: "Success! You bought player_name for X coins."
  • Failed: "Found something, but it was too late."

The bot stops working when you have no more money, or after 5 bought players (because you have to assign them, the feature is not done yet).

The current status is described in the console logs, so you have real-time access to information about the activities performed.

Installation

pip install -r requirements.txt

Configuration

Everything is configured using config.py file.

Enter the name of the player name and the maximum number of coins you want to spend for him. Example:

PLAYER = {
    "name": "Sterling",
    "cost": 100000,
}

Automatic login

If you want to automatically login to web app, change this variable to False:

LOGIN_MANUALLY = False

Provide your credentials:

USER = {
    "email": "[email protected]",
    "password": "your_password",
}

You have to also provide your email credentials. It's needed to check the access code sent to your email address. Remember to allow external tools in your mail configuration.

EMAIL_CREDENTIALS = {
    "email": "[email protected]",
    "password": "your_password",
}

Running

Linux/Mac systems

Run:

make run

Windows

Set the PYTHONPATH variable with the value of the code directory - check this link.

Run:

python src\main.py

Info

Currently it works on Linux, Mac and Windows systems with Chrome version >=86.

It's just first version of fut web app bot. The project will be further developed and new features will appear.

Good luck!

fut_sniping_bot's People

Contributors

mrgretwon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fut_sniping_bot's Issues

Windows compatibility

Hello man, fiddling around with openCV to make such sniping bot, I came across yours and it seems to be an awesome looking one here. Will you be adding windows compatibility or could you lead me on how can I run this in windows?

Superb work from what I've seen, would love to test it out!

ModuleNotFoundError: No module named 'src'

Hey! I have a Issue with ur bot..

When I run: python3 main.py

Traceback (most recent call last):
File "main.py", line 1, in
from src.bot import Bot
ModuleNotFoundError: No module named 'src'

How can I solve it?

Thanks in advance! Ur code is lit! :D

Failed to login after entering the security code

Hello, every time I enter the security code, the command prompt would show "login failed" and I'm quite confused as to why this is happening, even though I've correctly input the security code under 5 minutes.

Furthermore, I'm still quite confused about "how to enable external tools in mail configuration". I've searched how to do it but I can't seem to find a straightforward question like this.

Makefile code incorrect for MacOS

as the title says
the code for the Makefile file is incorrect for MacOS
it now is:
find -name '*.pyc' -delete find -name __pycache__ -delete python src/main.py

but should be:
find . -name '*.pyc' -delete find . -name __pycache__ -delete python src/main.py

Although even after doing this its not working for MacOS but that had to be said.

Too many requests

Hello!

I was banned while using a Nodejs snipping bot maded by myself, just searching the market every 1000ms.
And then the network response became too many requests. But i could still sell player, just could't search. And it only appeared on the web app.
First time or second time it lasted a few minutes but, this time i have waited for more than 3 hours.

My question is, will the punish time become longer and longer, till ea ban my web market?
And how many times should i set to send the request in a minute or an hour?

Just tell me if you now the answer please, thanks a lot.

I didn't understand what to do

First of all thank you very much for uploading such a project to github so other fifa players can snipe and trade easily but i didn't understand if i should extract the files and if now how can i start using it.

Found something, but it was too late.

First of all thank you for your great code. One issue is that I still never beat others in the bid with the current configuration. Everybody is still faster than me. Should removing the sleep functions help me ? I just want to click as quick as possible to buy now button to get the desired player. Which part should I change ? Thanks

Manually adding my user

Hello, first of all thank you for sharing your autobuyer.
I'd like to know if theres a way to use the autobuyer with entering my user details and email details. I think many people here
will agree that entering our credentials is not the safest thing to do, and I want to know if there's another option.
Just to be clear: I'm not saying your autobuyer is sort of phishing, just want to be safe.
Thanks again for sharing.

FileNotFoundError,WebDriverException

there are these errors that I cannot correct
i downloaded selenium, i put the cromeDriver path in the PATH environment variable but still it doesn't run
why?
**Traceback (most recent call last):
File "C:\Users\giuseppe\AppData\Roaming\Python\Python39\site-packages\selenium\webdriver\common\service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:\Users\giuseppe\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\giuseppe\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] Impossibile trovare il file specificato

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\giuseppe\Desktop\fut_sniping_bot\src\main.py", line 4, in
bot = Bot()
File "C:\Users\giuseppe\Desktop\fut_sniping_bot\src\bot.py", line 17, in init
self.driver = create_driver()
File "C:\Users\giuseppe\Desktop\fut_sniping_bot\src\config.py", line 18, in create_driver
driver = webdriver.Chrome(
File "C:\Users\giuseppe\AppData\Roaming\Python\Python39\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init
self.service.start()
File "C:\Users\giuseppe\AppData\Roaming\Python\Python39\site-packages\selenium\webdriver\common\service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home**

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.