• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sipping
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 7 of 7
    1. #1
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      guru's Avatar
      Join Date
      Jun 2012
      Posts
      117
      Thanks (-->)
      7
      Thanks (<--)
      21

      Methods not found!

      How to Manual Map DLL
      Hi,

      I am trying to get a window working in C#. Just I set style for the forms which is saying as
      "System.Windows.Forms.Form.SetStyle is not found".

      Even though it might be a warning and don't see a noticeable difference in output! I need to know the reason for method not found. Would it affect any other property in my form applications? These are the code that generate this warning. Would be glad to know the reason !
      Code:
                  this.SetStyle(System.Windows.Forms.ControlStyles.AllPaintingInWmPaint, true);
                  this.SetStyle(System.Windows.Forms.ControlStyles.OptimizedDoubleBuffer, true);
                  this.SetStyle(System.Windows.Forms.ControlStyles.UserPaint, true);
                  this.SetStyle(System.Windows.Forms.ControlStyles.Opaque, true);

    2. #2
      Coder
      Learning to hack games!
       
      Coding
       
      Helios's Avatar
      Join Date
      May 2012
      Location
      Denmark
      Posts
      208
      Thanks (-->)
      24
      Thanks (<--)
      34
      I don't quite understand what you're trying to do?
      I added the code to the form load and I got no errors, so what is the expected result?

    3. #3
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      guru's Avatar
      Join Date
      Jun 2012
      Posts
      117
      Thanks (-->)
      7
      Thanks (<--)
      21
      Actually, they are not errors! They are just warnings! Why didn't you understand that code? I using it in form designer to get the required style.

    4. #4
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      guru's Avatar
      Join Date
      Jun 2012
      Posts
      117
      Thanks (-->)
      7
      Thanks (<--)
      21
      And one more problem!

      I got the rect of the target window using GetClienRect(hwnd,out r) where r is the rect defined by me in the program. Which function should I use to set the form size to that rect of my target window?
      1. setBounds
      2. setDesktopBounds
      3. setBoundsCore
      4. setClientSizeCore

      or any other function? I am trying to create an overlay with forms.

    5. #5
      Coder
      Learning to hack games!
       
      Coding
       
      Helios's Avatar
      Join Date
      May 2012
      Location
      Denmark
      Posts
      208
      Thanks (-->)
      24
      Thanks (<--)
      34
      Quote Originally Posted by guru View Post
      Actually, they are not errors! They are just warnings! Why didn't you understand that code? I using it in form designer to get the required style.
      Well, I didn't get any warnings either. What I didn't understand was what you were saying.

      Quote Originally Posted by guru View Post
      And one more problem!

      I got the rect of the target window using GetClienRect(hwnd,out r) where r is the rect defined by me in the program. Which function should I use to set the form size to that rect of my target window?
      1. setBounds
      2. setDesktopBounds
      3. setBoundsCore
      4. setClientSizeCore

      or any other function? I am trying to create an overlay with forms.
      I haven't worked with this stuff or researched it, so I wouldn't know, but why don't you have a look at Fleeps crosshair tutorial?

    6. #6
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      guru's Avatar
      Join Date
      Jun 2012
      Posts
      117
      Thanks (-->)
      7
      Thanks (<--)
      21
      Actually I got it almost working? There are two problems yet to be solved.

      1. Getting a form exactly as the target window
      2. positioning the form correctly over the window

      And I will have a look at the tutorial.

    7. #7
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      guru's Avatar
      Join Date
      Jun 2012
      Posts
      117
      Thanks (-->)
      7
      Thanks (<--)
      21
      Cheat Engine Tutorials
      I got it! The functions GetWindowPos and setbound from user32.dll and forms property respectively solved the problem.

    Similar Game Hacker Threads

    1. [Discuss] Look What I Found
      By PwndDepot in forum General Hacking Discussion
      Replies: 1
      Last Post: 01-14-2016, 12:06 AM
    2. [Help] Found value+pointer, but value won't change... (CE)
      By oharra in forum Hacking Help
      Replies: 31
      Last Post: 03-23-2015, 01:11 PM
    3. [Help] Pls have a look on what i found out so far EntityList related
      By Icew0lf in forum Hacking Help
      Replies: 2
      Last Post: 09-20-2014, 07:34 AM
    4. [Help] D3Dx9.h Not found
      By bigtimer in forum GH Tutorials Help
      Replies: 11
      Last Post: 06-12-2013, 09:55 AM