First of all i want to say that my eng kinda sucks and i'm not any coder or programmer. I just connected parts of the puzzle together.
Maybe few steps of installation were useless, but i'm just sharing what i've done.
Installation (Windows)
- Download Python 3.6.6
- When you open the Python installer, you need to check the "Add Python 3.6 to PATH."
- Download the Web-Interface files.
- We need to edit requirements.txt. Paste this:
Code: Alles auswählen
pandas>=0.23.0 plotly>=2.7.0 dash==0.21.1 dash_core_components==0.23.0 dash_html_components==0.11.0 dash_table_experiments==0.6.0 dash_renderer==0.13.0 pycurl==7.43.0.2 numpy>=1.14.4 dash_auth==1.0.2 flask==1.0.2 colorama==0.3.9 requests==2.26
- We need to install the required files. Open the web-interface folder. Hold SHIFT and right click into folder. Choose Open PowerShell. Now paste this code to PowerShell.
Code: Alles auswählen
pip install -r requirements.txt
- Now we have to edit the start.bat file. Right click on start.bat and select Edit
Code: Alles auswählen
@echo off py MainProgram.py -a http://127.0.0.1:8443/ --remoteU="User" --remoteP="Password" --webU="Web" --webP="1234" --debug=0 pause
- Now we have to open MFBot -> Global Settings -> Advanced View -> Network -> Remote access -> Enable remote access
Important: To be able to start the remote access interface, the bot might need to run as administrator!
You can see if that is the case as soon as you press "Test settings" and "Remote access" is highlighted red.
Now..- Update port to 8443
- Update the User management -> Administrator user, write User
- Update the User management -> Administrator password, write Password
- Now if you start start.bat it should be running.
- Now open the web what console says and login with Web and password 1234
- Open subfolder Utils and edit logUtil.py. We need to edit the
to
Code: Alles auswählen
open("log.txt","a").write(text + "\n")
After few hours and making few changes in program i highly recommend adding this "code" to the top of every .py file.Code: Alles auswählen
open("log.txt","a", encoding='utf-8').write(text + "\n")
Also i highly recommend making empty file called __init__.py and put it in every folder.Code: Alles auswählen
# This Python file uses the following encoding: utf-8
Code: Alles auswählen
__init__.py
1. Download and install Hamachi
2. Open Hamachi -> Network -> Create new network
2,1. Give it a name and password.
3. Open Hamachi again and copy your IPv4 address
4. Now you can open your web-interface via your IPv4 hamachi adress + port 8050 (for example 25.0.0.0:8050)
5. On different PC and network just simply join your Hamachi room and it will work.
If you've got any errors or any trouble, reply and i will try to help you.
Later i will edit the post and also add tutorial for Linux.