dwiza3962 / mff_auto

Game bot for Marvel Future Fight game.
Apache License 2.0
4 stars 1 forks source link

mff_auto

Game bot for Marvel Future Fight game. Compatible with 7.9.1 version.

FAQ

Q: What this bot can do?

A: mff_auto can play almost all game modes: World Bosses, Alliance Battle, Co-op missions, Dimension missions, Timeline battles, Legendary battles, World Boss Invasions, Epic Quests, Danger Room, Giant Boss Raid, Shadowland.

Also it can enable Autoplay++ feature anywhere and do your daily routines.

Q: Which Android emulators are supported?

A: NoxPlayer (up to 6.6.1.5) and BlueStacks.

A: NoxPlayer (up to 7.0.1.1) - Fails to Detect window handle.

Q: Why are you suggesting to use NoxPlayer?

A: NoxPlayer has shortcut to force close applications (requires to reset game's state). Shifter's biometric farming is available only using NoxPlayer!

Video example

Video footage of all game modes running by mff_auto: https://youtu.be/QcgZcAwBL-I

Installation

Usage

Setup window

On first start you will see Setup window. Follow the instructions in the window:

Main window

main_window

Development

At current state Marvel Future Fight bot is at beta stage.

Contribution

Feel free to contribute. Don't forget about license.

Running from source code

Highly recommend you use an IDE like PyCharm from Jetbrains. Check example.py for examples of running any modes.

In the terminal window - run ./app_gui.py for the same behavior as the start.bat from the install run ./_test_v7.9.1_fixes.py or any of the other test files run without the GUI. run ./_captureRectangle.py to load a screenshot to grab box coordinates for the game.

Capture video for debugging

from lib.emulators.nox_player import NoxPlayer
from lib.game.game import Game
from lib.video_capture import EmulatorCapture

nox = NoxPlayer("NoxPlayer")
game = Game(nox)
with EmulatorCapture(nox) as recorder:
    # video file is in `logs` folder
    # ... do your stuff here ...
    recorder.pause()
       # pause recording
    recorder.resume()

Building release package from source code