Get PositionOnScreen

This is a discussion on Get PositionOnScreen within the DotA 2 Hacks board part of the DotA 2 category; I'm currently coding my private bot which is running external to avoid VAC detection. I've been able to implement a ...

Results 1 to 4 of 4
  1. #1
    Wolfszorn's Avatar
    Wolfszorn is offline Advanced Hacker
    Array
    Join Date
    Sep 2007
    Posts
    318
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    12
    Reputation
    212

    Get PositionOnScreen

    I'm currently coding my private bot which is running external to avoid VAC detection.
    I've been able to implement a "Auto Bloodstone Suicide" function by locating the item place in the inventory, left click on it and left click on the avatar. Works great.



    Now I'm curious to find a way to cast spells or items on a position on the screen. I got the coordinates of my hero and the other hero. I would just need to convert it to the screen position. I've searched a bit but it seems like I have to inject code to get the 'GetVectorInScreenSpace' offset?

  2. #2
    ZeD's Avatar
    ZeD
    ZeD is offline RoR 0x266E


    Array
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    1,440
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    14
    Reputation
    698
    you dont need to inject code. you can read out the viewmatrix with cheatengine and use the relative offset ingame with your external bot.

    That's how external overlays in csgo work, the same goes for dota.

  3. #3
    Wolfszorn's Avatar
    Wolfszorn is offline Advanced Hacker
    Array
    Join Date
    Sep 2007
    Posts
    318
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    12
    Reputation
    212
    Do you have any idea how the view matrix is calculated/ stored in game memory? Is it inside the camera structure?

  4. #4
    fernmndez is offline Newbie
    Array
    Join Date
    Jan 2013
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Quote Originally Posted by Wolfszorn View Post
    Do you have any idea how the view matrix is calculated/ stored in game memory? Is it inside the camera structure?
    It's just a d3dmatrix struct

Posting Permissions

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