Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dofus 1.29 #7

Closed
YannickCardini opened this issue Sep 25, 2019 · 9 comments
Closed

Dofus 1.29 #7

YannickCardini opened this issue Sep 25, 2019 · 9 comments
Labels
good first issue Good for newcomers question Further information is requested

Comments

@YannickCardini
Copy link

Hello,

This bot seems amazing and it designed only for Linux :)
It's customizable for dofus 1.29 ?

@AXeL-dev
Copy link
Member

Hello,

Hey :)

This bot seems amazing and it designed only for Linux :)

Yes, unfortunately, i stopped using windows & because no volunteer developers shows their interest to help on developing the windows version i'm not really planning to make a support for windows or mac os.

This said, If you are searching for a windows compatible bot, you can try pixus bot but keep in mind that it's no longer maintained.

It's customizable for dofus 1.29 ?

I didn't really try it, but it should work on Dofus Retro/1.29 (you can also try the first version which may work fine too).

@AXeL-dev AXeL-dev added the question Further information is requested label Sep 25, 2019
@YannickCardini
Copy link
Author

Very well, thanks for your answer, I only use Linux between.
I didn't succeed to make it run on Dofus Retro but if you confident about it I will try again with the first version or accomodate it to make it work.

@AXeL-dev
Copy link
Member

Very well, thanks for your answer, I only use Linux between.
I didn't succeed to make it run on Dofus Retro but if you confident about it I will try again with the first version or accomodate it to make it work.

🤔 what didn't work exactly? if you just couldn't see the game window name in the choice list then it should be related to the game instance name of Dofus Retro (check the part of the code below)

https://github.com/AXeL-dev/Dindo-Bot/blob/2c20ddaef23d06909b743b824a5f13b14276a48f/lib/tools.py#L29

You could simply get the instance name of the opened game window from your system monitor (for example) & change the value in the line above.

@YannickCardini
Copy link
Author

YannickCardini commented Sep 28, 2019

You could simply get the instance name of the opened game window from your system monitor (for example) & change the value in the line above.

if instance_name == 'dofus'
Thanks he did work, the window is now focused and I can make some custom jobs :)
As excepted I can't automate the moving part (is not the same system to go from one cell map to another one in dofus retro). I don't really get how the job farming work , do you have the rgb color of each resource in an array (wheat color, wood color, coal color ect ...) ?

@AXeL-dev
Copy link
Member

AXeL-dev commented Sep 28, 2019

As excepted I can't automate the moving part (is not the same system to go from one cell map to another one in dofus retro).

Simply use the click action (the one with a mouse icon) & combine it with the Wait (Monitor game screen) action, this way you could easily simulate a move action in Dofus Retro.

I don't really get how the job farming work , do you have the rgb color of each resource in an array (wheat color, wood color, coal color ect ...) ?

Yes, i store the position (x & y pixel position) + the color (rgb) in an array, & then check if the pixel have the right color before clicking on it, however, you can disable the color check from the bot settings (only in v2 i guess) & then the bot will always click on all pixels even if the pixel color don't match.

AXeL-dev added a commit that referenced this issue Sep 28, 2019
Added the old instance name to support old versions
@AXeL-dev AXeL-dev added the good first issue Good for newcomers label Sep 28, 2019
@Adonist
Copy link

Adonist commented Oct 1, 2019

Does it need to be compiled?
Also, does it work with private servers as well or just original?

Thanks

@Baumanar
Copy link

Baumanar commented Oct 2, 2019

@YannickCardini How do you run retro on linux ? do you use wine ?

@AXeL-dev
Copy link
Member

AXeL-dev commented Oct 2, 2019

Does it need to be compiled?

No, python is an interpreted language so there is no need for a compiler. The compilation runs during the execution of the program => JIT (Just In Time).

Also, does it work with private servers as well or just original?

I didn't really try it, i stopped dofus since version 2.48 so i'm not really sure which versions of the game still work, so just test it by yourself 😉

@Adonist
Copy link

Adonist commented Oct 3, 2019

Sorry my bad,

I saw that on the mobile phone and I had a limited view from and didn't see the code or any of the instructions. It worked fine here on Linux anyway.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants