Gamerium / Dindo-Bot

:robot: Farming bot for Dofus game
MIT License
113 stars 31 forks source link

Using bot for Dofus touch ? #2

Closed Gambl3r08 closed 4 years ago

Gambl3r08 commented 5 years ago

Hi, How it could be modified for Dofus touch ?

AXeL-dev commented 5 years ago

If you are running Dofus touch on linux then you only need to modify the bot thread(s) to fit dofus touch gameplay (@see threads folder), but in windows or mac case this may be more complicated because the bot is not yet compatible with them.

Gambl3r08 commented 5 years ago

yes am using Linux, but when i try running bot.py: `python bot.py Traceback (most recent call last): File "bot.py", line 9, in from gui.main import BotWindow File "/home/gambl3r/Descargas/Dindo-Bot-master/gui/main.py", line 8, in from threads.bot import BotThread File "/home/gambl3r/Descargas/Dindo-Bot-master/threads/bot.py", line 108 self.await() ^ SyntaxError: invalid syntax

`

AXeL-dev commented 5 years ago

hum, wich version of python do you have ? you can use python --version to get the version. You may also try with python3, as follow python3 bot.py

Gambl3r08 commented 5 years ago

[gambl3r@gambl3r Dindo-Bot-master]$ python --version Python 3.7.0 [gambl3r@gambl3r Dindo-Bot-master]$ python3 bot.py Traceback (most recent call last): File "bot.py", line 9, in <module> from gui.main import BotWindow File "/home/gambl3r/Descargas/Dindo-Bot-master/gui/main.py", line 8, in <module> from threads.bot import BotThread File "/home/gambl3r/Descargas/Dindo-Bot-master/threads/bot.py", line 108 self.await() ^ SyntaxError: invalid syntax

Gambl3r08 commented 5 years ago

i running in Manjaro and install python-xlib python-pil

AXeL-dev commented 5 years ago

i see, the problem could be the python version or maybe a missing python module on Manjaro ('cause it's working just fine on ubuntu 18.04), so i'm investigating but it could take time (i need to download the Manjaro iso first to test by myself).

Anyway, i will let you know if i got some news.

Gambl3r08 commented 5 years ago

thanks, i will wait

AXeL-dev commented 5 years ago

It should be fixed now x) 4bbfc878f53f8da7a8fad1ebf370f5882c64b0d2 a85283ff8ce5f10fe34fe86c175673a14f713b9f

Gambl3r08 commented 5 years ago

it working, look the lindo no emu project https://github.com/prixe/lindo I am new in the Python dev, but I want to learn to create Dofus touch bot in python like practice. I do not know where to start

AXeL-dev commented 5 years ago

I heard about lindo, but i'm not sure about how it works exactly, whatever, i guess Dindo bot is a good start/base for you, you may also check pyautogui module (Dindo-bot uses a custom version of it) & pygtk to know how the gui works.

Gambl3r08 commented 5 years ago

thanks, I started reading the documentation of pygtk and pyautogui, I'm understanding how it works