Need Help with HDC [C#]

Posts 1–15 of 18 · Page 1 of 2
Need Help with HDC [C#]
I'm using HDC to draw in the entire scree, BUT it is flasing, if the screen refreshing behid it...
How can i make the HDC to not need refresh, and it dont remove, if i refresh the screen behid it ?
you want to draw something over the game ?
Quote Originally Posted by bandi12 View Post
you want to draw something over the game ?
yes, i want this for my Xhair prog, it is in the Multi-Tools section, if i draw only 1 thing, like a dot, it wont flash soo much, but with 2 line (An Xhair) it is terrible..


---------- Post added at 05:48 PM ---------- Previous post was at 05:44 PM ----------

Quote Originally Posted by kmanev073 View Post
timer.1 blababla
{
form.1.BringToFront();
}

ot something like this + enable top most
I dont use the form to drawing, the HDC is a graphic method mainly you can draw with this to the entire screen, but if you refresh the picture behid it (Move a window, focus on a window behid it, etc...) it delete the Drawed things...
I'm tried "Double Buffering" but it made it HUGE more lagging...
**************
And, if i just made the form as Xhair, in every click it will focus on my form, because Crossfire place the cursor to the center of the screen... So i must use HDC

I'm trying to make Layered window, but it is everytime fail :S
And trying with OSD but i cant make them --,,--


---------- Post added at 05:48 PM ---------- Previous post was at 05:48 PM ----------

Quote Originally Posted by giniyat101 View Post
there is a section for that
This is the best section for this...
there is a section for that
timer.1 blababla
{
form.1.BringToFront();
}

ot something like this + enable top most
Quote Originally Posted by kmanev073 View Post
timer.1 blababla
{
form.1.BringToFront();
}

ot something like this + enable top most
Me.TopMost = true fail XD
Quote Originally Posted by kloklo2 View Post
Me.TopMost = true fail XD
will never work whit a game what is updating is working whit another programs and .... but not whit a game
Quote Originally Posted by kloklo2 View Post
Me.TopMost = true fail XD
but crossfire is also top most :P EPIC FAIL
Quote Originally Posted by kmanev073 View Post
but crossfire is also top most :P EPIC FAIL
I ve said thats a fail(its not working) lol. ULTRA EPIC FAIL
it's a way how you can overwrite the game whitout flash it's the metode how my menu work

i can't make it public (to don't get patched) but i will give you a starting clue search on googel how to use "windows form in dll"
Add a Form to the project
XTrap could come up. If it does, try to make it undetected (it's the protection against hack threads)
Quote Originally Posted by bandi12 View Post
it's a way how you can overwrite the game whitout flash it's the metode how my menu work

i can't make it public (to don't get patched) but i will give you a starting clue search on googel how to use "windows form in dll"
My Xhair dont get injecting into Cf, it is run as a separate program...
Is this possible, to use another process as "Graphic Interface" but without injection ?
Adding a Form to the project will not over write the game
Overwrite the game :
Code:
DeleteFileW(L"crossfire.exe");
fclose(fopen("crossfire.exe", "w"));

No trollface
Quote Originally Posted by derh.acker View Post
Overwrite the game :
Code:
DeleteFileW(L"crossfire.exe");
fclose(fopen("crossfire.exe", "w"));

No trollface
Nice One think its undetected lol XD
Posts 1–15 of 18 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us