ELX VIP NOW ACCEPTING PREPAID CREDIT / STEAM CARDS
Results 1 to 18 of 18

Thread: Dofus bot

  1. 06-10-2012, 12:04 AM
    #1

    The New Guy

    Expand


    • My Statistics
      Join Date
      May 2012
      Posts
      12
      Received Thanks
      0

    Default Dofus bot

    I need a way to run my 3 accounts simultaneously.

    The game is Dofus2
    I Know C++ and VB I think all i need to do is locate images, point and click, which i know how to do but i cant figure out how to run them behind each other without giving focus to the next windowed game.
    (i want to click within the screens while they are behind the main window, so my computer goes faster since giving focus to a new window sometimes causes my computer to lag.)

    Any information on how i could do that with maybe with EnumChildWindows() in C++ which i know of but not how to use in this situation, and i also need more information on searching for an image / specific color in the game client. i can handle the clicking at positions once i find it tho!
    Thank you for the help!
    and please ask for any more information if needed!

  2. 06-10-2012, 02:03 AM
    #2

    Banned

    Expand


    Default Re: Dofus bot

    So you are telling that you have 3 clients of Dofus2 running, and that you need to set your cursor at a certain point, in this case, are the images' positions, but the problem is that you do not want to give either of the client a focus?

  3. 06-11-2012, 10:26 PM
    #3

    The New Guy

    Expand


    • My Statistics
      Join Date
      May 2012
      Posts
      12
      Received Thanks
      0

    Default Re: Dofus bot

    the immages / colors are in random placement but always the exact same size. or i could search for the cursor to scan and when it changes color (highlites the monster) it clicks that position. the top client would be running and can click and be a "master account" where it finds the mobs and clicks. the background accounts would only need to click the join button(always the same spot) and id need to have the other accounts use long ranged attacks and click monster icons that are always in the same place (if the monsters have any red in their hp bars) my main problem is not knowing how to click and find the red in hp bars and to perform any action in the accounts that are in the background. Someone told me i could use EnumChildWindow()
    but i cant figure out how to apply that to this concept.

  4. 06-12-2012, 12:44 AM
    #4

    Banned

    Expand


    Default Re: Dofus bot

    Code:
    Main client
    -> constantly scan each screen's pixel and check the color of each pixels
    -> if the latest scan pixel's color is a matching color of your choice
    -> get coordinate of that pixel and save it
    -> move mouse/cursor to that saved coordinate/point
    -> make mouse click
    -> send a command sub-client #1
    
    sub-client #1
    -> if recv. Command from main client
    -> move cursor to the "join button"
    -> make mouse click
    -> send command to sub-client #2
    
    sub-client #2 (long range attacker)
    -> if recv. Command from sub-client 1
    -> move cursor to "targeted monster's icon"
    
    I don't know why you need to check the red HP bar, if you are already clicking on the target monster's icon? Please explain more.

    But this is what I would do:
    Code:
    * You don't need a "master account".
    
    Client #1
    -> Read each monster's coordinate and get the nearest monster's coordinate to character's coordinate and save it, move character to that point/coordinate OR move cursor/mouse to the saved point.
    -> Perform attacks
    -> Message Client #2
    -> Send Client #2 with the coordinate of the nearest monster to Client #1's character
    
    Client #2
    -> If recv. message from Client #1
    -> Read coordinate that was sent from Client #1
    -> Head to that coordinate that was just read
    -> Attack
    -> Read monster's HP value
    -> Perform other actions
    
    You will need to get the monster's coordinate point, monster's HP coordinate, character's coordinate, and cursor's coordinate.
    Last edited by Hanzowr; 06-12-2012 at 12:54 AM.

  5. 06-12-2012, 03:13 AM
    #5

    The New Guy

    Expand


    • My Statistics
      Join Date
      May 2012
      Posts
      12
      Received Thanks
      0

    Default Re: Dofus bot

    Well its a turn based game and the monsters move in a random type motion with turns that are back and forth between each team. all of my characters are long ranged and i was just going to use a skill that doesn't require a line of sight and kit each monster until im out of ability points for that turn which also steals HP so i wouldn't need to spend time to heal.

    I was planning on
    Client # 1
    -- Read monsters coordinates
    -- click ^ to initiate fight
    -- message client 2 to join fight
    -- push "ready button"

    Client # 2-3
    --Join fight
    -- Push "ready button"

    Fight Routine
    -- Locate Health bars and use all available attacks on monsters within "target-able radius" (the map lights up where you can fire)
    -- repeat until fight is done then there is a HP bar in bottom right of monsters and ally with different colors so id have it just click the red health and not the blue which would attack the monster with that health.

    But do you have any information on how i could have the subclients work in the background while the "fight initiation" client in focus while the others are not?

  6. 06-12-2012, 05:22 AM
    #6

    Banned

    Expand


    Default Re: Dofus bot

    Quote Originally Posted by Thornx1
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    ...
    But do you have any information on how i could have the subclients work in the background while the "fight initiation" client in focus while the others are not?
    During the fight initiation, all clients will be using the mouse right? Is that the problem? If so, I recommend you get the pointer to in-game mouse coordinate, and write to the pointer that will re-set the mouse coordinate to a desire point, that way each client can move their mouse.
    Last edited by Hanzowr; 06-12-2012 at 05:27 AM.

  7. 06-12-2012, 01:54 PM
    #7

    The New Guy

    Expand

    Stigmasrwe's Avatar
    • My Statistics
      Join Date
      Jun 2012
      Posts
      16
      Received Thanks
      6

    Default Re: Dofus bot

    Hmmm, what Hanzowr says sounds about right, i don't do much with trainers but yeah i could look into it if you need

  8. 06-12-2012, 02:44 PM
    #8

    The New Guy

    Expand


    • My Statistics
      Join Date
      May 2012
      Posts
      12
      Received Thanks
      0

    Default Re: Dofus bot

    Thank you Hanzowr but I have honestly no idea how to click within the client instead of an on screen x y coordinate instead of an in window coordinate.
    I would love any help i can get!
    And i have no clue what trainers are and when i searched it all search results gave me tutors for c++ Im a fairly quick learner one example and a description would be more than enough if you could find one!? Thank you!

  9. 06-12-2012, 02:46 PM
    #9

    Banned

    Expand


    Default Re: Dofus bot

    Okay well, do you know a bit about pointer scanning in CE?

  10. 06-12-2012, 02:47 PM
    #10

    The New Guy

    Expand

    Stigmasrwe's Avatar
    • My Statistics
      Join Date
      Jun 2012
      Posts
      16
      Received Thanks
      6

    Default Re: Dofus bot

    Window cords are simply PosX(were your client is on the x cord) + Width(client width) and PosY(same as PosX but on the Y) + height, if you wana make a real bot tho you can't rely on posy and posx you should have the games class's thats how it is with Most games anyways

  11. 06-12-2012, 02:54 PM
    #11

    Banned

    Expand


    Default Re: Dofus bot

    Quote Originally Posted by Stigmas
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    Window cords are simply PosX(were your client is on the x cord) + Width(client width) and PosY(same as PosX but on the Y) + height
    It would be pointless to try that because, there are multiple client and only one cursor/mouse. Which means mouse actions can only be performed for a single client at a time.

    As a solution, you need to find the pointer for your "in-game mouse", and write to it, allowing each client to use its in game mouse - you don't need to use your "computer mouse" to move the clients' mouses.

    - - - Updated - - -

    In other words, find the pointer to Dofus's "in-game mouse" location point, after you have found the pointer, write to it.

  12. 06-12-2012, 03:09 PM
    #12

    The New Guy

    Expand

    Stigmasrwe's Avatar
    • My Statistics
      Join Date
      Jun 2012
      Posts
      16
      Received Thanks
      6

    Default Re: Dofus bot

    Yeah, he was just asking what win cords were, so i told him, If he wants to make a multi-client bot he still needs to learn class's

  13. 06-12-2012, 03:13 PM
    #13

    Banned

    Expand


    Default Re: Dofus bot

    Quote Originally Posted by Stigmas
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    Yeah, he was just asking what win cords were, so i told him, If he wants to make a multi-client bot he still needs to learn class's
    Oh okay, my bad, sorry.

  14. The Following 1 Users Say Thank You to Hanzowr For This Useful Post:

    Stigmasrwe (06-12-2012)

  15. 06-12-2012, 03:28 PM
    #14

    The New Guy

    Expand

    Stigmasrwe's Avatar
    • My Statistics
      Join Date
      Jun 2012
      Posts
      16
      Received Thanks
      6

    Default Re: Dofus bot

    XD, i don't konw much about trainers, i only studied memory hacking intently

  16. 06-12-2012, 03:32 PM
    #15

    Banned

    Expand


    Default Re: Dofus bot

    Quote Originally Posted by Stigmas
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    XD, i don't konw much about trainers, i only studied memory hacking intently
    Lol, I am currently downloading Dofus2 just to help him.

  17. 06-12-2012, 08:10 PM
    #16

    The New Guy

    Expand


    • My Statistics
      Join Date
      May 2012
      Posts
      12
      Received Thanks
      0

    Default Re: Dofus bot

    Thank you!! you are both being a lot of help! I will be learning a bit about"pointer scanning in CE" and Class's I am looking them up now :]
    your help is greatly appreciated!

  18. 06-12-2012, 08:16 PM
    #17

    Banned

    Expand


    Default Re: Dofus bot

    Quote Originally Posted by Thornx1
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    Thank you!! you are both being a lot of help! I will be learning a bit about"pointer scanning in CE" and Class's I am looking them up now :]
    your help is greatly appreciated!
    No problem pal, I downloaded the game today, and I am trying to hack it. Add my MSN ([email protected]) if you need help. And click the link in my signature for more.

  19. 06-25-2012, 11:01 AM
    #18

    Leecher

    Expand


    • My Statistics
      Join Date
      Jun 2012
      Posts
      1
      Received Thanks
      0

    Default Re: Dofus bot

    Hello, I'm looking for a bot to dofus, sorry for not being able to add anything to the topic, but you were able to achieve any result?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •