| View previous topic :: View next topic |
| Author |
Message |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
|
| Back to top |
|
 |
Omega-Assassin Newbie cheater
Reputation: 0
Joined: 11 Apr 2008 Posts: 16
|
Posted: Sun Apr 13, 2008 6:21 pm Post subject: |
|
|
why C++ arent they basicly the same with the exception of the way code is placed? (posted this b4 i saw the last post >_< )
EDIT: yea thats what im trying to do... only with my own applications.... so C++ would be best to use for doing then then? |
|
| Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Sun Apr 13, 2008 11:26 pm Post subject: |
|
|
| Omega-Assassin wrote: | why C++ arent they basicly the same with the exception of the way code is placed? (posted this b4 i saw the last post >_< )
EDIT: yea thats what im trying to do... only with my own applications.... so C++ would be best to use for doing then then? |
Yes. |
|
| Back to top |
|
 |
Omega-Assassin Newbie cheater
Reputation: 0
Joined: 11 Apr 2008 Posts: 16
|
Posted: Mon Apr 14, 2008 12:29 am Post subject: |
|
|
| ok... just so im on track... i need to learn C++ then make a .dll inject it into the game to input my application into the games GUI by messing with the DxOverlay... am i pretty accurate? |
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Mon Apr 14, 2008 12:34 am Post subject: |
|
|
| Omega-Assassin wrote: | why C++ arent they basicly the same with the exception of the way code is placed? (posted this b4 i saw the last post >_< )
EDIT: yea thats what im trying to do... only with my own applications.... so C++ would be best to use for doing then then? |
No, it's a lot different. _________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
Omega-Assassin Newbie cheater
Reputation: 0
Joined: 11 Apr 2008 Posts: 16
|
Posted: Mon Apr 14, 2008 3:40 am Post subject: |
|
|
Okay... C++ it is then... ill uninstall C# and download C++ and get started on learning the way things work on there...can anyone give me a site to get started on... i don't want snippets or tuts... i just need to learn the basic functions before i get into the other things  _________________
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Mon Apr 14, 2008 5:33 am Post subject: |
|
|
He meant like, to make a Form and make the game show inside it.
something like DXWnd. |
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Mon Apr 14, 2008 5:39 am Post subject: |
|
|
| Rot1 wrote: | He meant like, to make a Form and make the game show inside it.
something like DXWnd. |
No, he didn't. _________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Mon Apr 14, 2008 7:12 am Post subject: |
|
|
it is possible with vb.net and C#.net and even vb6 xD im talking about
hwnd = FindWindow('game');
then u access GDI32 api it lets you draw text on top of any program all u need is a handle
bitblt(hwnd, some stuff here i forgot ,x , y's , etc);
run bitblt in a timer to refresh every 100 it will redraw nicely
i dont think u could draw interfaces and pictures but its good enough to make a little text menu Underground Hack : ON/OFF
yes it supports colors too. |
|
| Back to top |
|
 |
Omega-Assassin Newbie cheater
Reputation: 0
Joined: 11 Apr 2008 Posts: 16
|
Posted: Mon Apr 14, 2008 2:26 pm Post subject: |
|
|
| Rot1 wrote: | He meant like, to make a Form and make the game show inside it.
something like DXWnd. |
no you have it backwards lol... i want to make a form and make the form show inside the game
and to pkedpker by using a timer it runs the cpu up quite a bit and can cause a lot of lag... or at least lag spikes if not done properly _________________
|
|
| Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Mon Apr 14, 2008 11:27 pm Post subject: |
|
|
This is a very basic code/tutorial for putting the form inside a WINDOWED application.
| Raiko on Extalia.com wrote: | Tips for creating your trainer window inside a windowed game
There is only one way I know, but it's very simple .
First you have to deal with getting the window inside. So you do this
Form1.FormCreate:
var
Gamehwnd: HWND;
pstyle: DWORD;
begin
Gamehwnd := FindWindow(Nil, 'Kingdom of Drakkar (4.1r1)');
pstyle := GetWindowLong(Gamehwnd, GWL_STYLE);
pstyle := pstyle or WS_CLIPCHILDREN;
SetWindowLong(Gamehwnd, GWL_STYLE, pstyle);
Windows.SetParent(Form1.Handle, Gamehwnd);
SetWindowPos(Form1.Handle, HWND_TOP, 100, 100, 500, 100, SWP_NOSIZE or SWP_NOMOVE);
This will get it inside the game, but it will also leave the trainer's button in the taskbar.
To remove it:
The portion of code where the application forms are created and the program is started.
SetWindowLong(Application.Handle, GWL_EXSTYLE, WS_EX_TOOLWINDOW);
right before Application.Run
Remember: Fullscreen games won't work. They have to be in a window. |
Main topic |
|
| Back to top |
|
 |
Omega-Assassin Newbie cheater
Reputation: 0
Joined: 11 Apr 2008 Posts: 16
|
Posted: Tue Apr 15, 2008 2:44 am Post subject: |
|
|
thats actually kinda useful 0_o... i might be able to make the work in full screen games if I can figure out a little more about what I'm doing _________________
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Tue Apr 15, 2008 2:47 am Post subject: |
|
|
| Moller wrote: | This is a very basic code/tutorial for putting the form inside a WINDOWED application.
| Raiko on Extalia.com wrote: | Tips for creating your trainer window inside a windowed game
There is only one way I know, but it's very simple .
First you have to deal with getting the window inside. So you do this
Form1.FormCreate:
var
Gamehwnd: HWND;
pstyle: DWORD;
begin
Gamehwnd := FindWindow(Nil, 'Kingdom of Drakkar (4.1r1)');
pstyle := GetWindowLong(Gamehwnd, GWL_STYLE);
pstyle := pstyle or WS_CLIPCHILDREN;
SetWindowLong(Gamehwnd, GWL_STYLE, pstyle);
Windows.SetParent(Form1.Handle, Gamehwnd);
SetWindowPos(Form1.Handle, HWND_TOP, 100, 100, 500, 100, SWP_NOSIZE or SWP_NOMOVE);
This will get it inside the game, but it will also leave the trainer's button in the taskbar.
To remove it:
The portion of code where the application forms are created and the program is started.
SetWindowLong(Application.Handle, GWL_EXSTYLE, WS_EX_TOOLWINDOW);
right before Application.Run
Remember: Fullscreen games won't work. They have to be in a window. |
Main topic |
He's not using Delphi. _________________
| haxory' wrote: | can't VB do anything??
windows is programmed using VB right? correct me if im wrong.
so all things in windows you have like the start menu is a windows form too. |
|
|
| Back to top |
|
 |
Omega-Assassin Newbie cheater
Reputation: 0
Joined: 11 Apr 2008 Posts: 16
|
Posted: Tue Apr 15, 2008 2:50 am Post subject: |
|
|
thats delphi? wow... I feel like a noob now lmao... then again I have never seen delphi scripts before... so I don't feel to bad :-/ _________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
|
| Back to top |
|
 |
|