DirectX Drawing
Hey, ( Excuse my Name on here )
So for the past 6 - 7 months I've been learning myself how to code the different kind of features for CSGO, and all of that is great, however I wanted to take it a step further and see the possibilities by using DirectX, now I have no experience with DirectX which also makes this a rather 'stupid' choice, but as with everything else I'm very eager to learn how it works exactly and how I can use it for CSGO.
I followed this tutorial: Viking911's tutorial ( I would post a link, but I'm not allowed )
and downloaded / adapated the Grab External Overlay to my solution, and every works almost, in the tutorial viking911 at one point uses ( DrawLine(GetSystemMetrics(SM_CXSCREEN) / 2, GetSystemMetrics(SM_CYSCREEN), W2SP[0], W2SP[1], blablabla your colors..); )
Which of course is pseudo code, however there was no DrawLine function with Grab's External Overlay, so I decided to start diggin around I chose just to write a box instead to see if I could draw at all, since for the time being drawing a line isn't my 'main objective'.
I've come to a point where I draw the box, but I also end up in a draw battle?, between CSGO and my Program.
I were going to post a GIF, but I'm not allowed to. Basically it flikers black and then csgo and black and then csgo, and of course my little tiny box.
Hopefully someone wouldn't mind giving me 'helping' or 'pointing' me in the right direction, and before you start posting "You shouldn't do this if you can't do basic blabla", I want to do this, and I am asking for a reason so just drop the negative or douche comments, there is no reason for them... lets me civil and friendly
So for the past 6 - 7 months I've been learning myself how to code the different kind of features for CSGO, and all of that is great, however I wanted to take it a step further and see the possibilities by using DirectX, now I have no experience with DirectX which also makes this a rather 'stupid' choice, but as with everything else I'm very eager to learn how it works exactly and how I can use it for CSGO.
I followed this tutorial: Viking911's tutorial ( I would post a link, but I'm not allowed )
and downloaded / adapated the Grab External Overlay to my solution, and every works almost, in the tutorial viking911 at one point uses ( DrawLine(GetSystemMetrics(SM_CXSCREEN) / 2, GetSystemMetrics(SM_CYSCREEN), W2SP[0], W2SP[1], blablabla your colors..); )
Which of course is pseudo code, however there was no DrawLine function with Grab's External Overlay, so I decided to start diggin around I chose just to write a box instead to see if I could draw at all, since for the time being drawing a line isn't my 'main objective'.
I've come to a point where I draw the box, but I also end up in a draw battle?, between CSGO and my Program.
I were going to post a GIF, but I'm not allowed to. Basically it flikers black and then csgo and black and then csgo, and of course my little tiny box.
Hopefully someone wouldn't mind giving me 'helping' or 'pointing' me in the right direction, and before you start posting "You shouldn't do this if you can't do basic blabla", I want to do this, and I am asking for a reason so just drop the negative or douche comments, there is no reason for them... lets me civil and friendly

