• 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
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Page 1 of 3 123 LastLast
    Results 1 to 10 of 26
    1. #1
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      brinkz's Avatar
      Join Date
      Sep 2012
      Posts
      213
      Thanks (-->)
      5
      Thanks (<--)
      74

      WorldToScreenMatrix Source Engine

      Silent VPN
      Hey guys,

      So I'm going to show you how to find the WorldToScreenMatrix for Source Engine Games. The example I'm giving is in CS:S
      Start off by getting the Pointer to VEngineClient by searching VEngineClient0 as a string in client.dll (depending on the game, you may have to search in the engine.dll).
      WorldToScreenMatrix Source Engine

      Now open Reclass and follow these steps:
      WorldToScreenMatrix Source Engine

      WorldToScreenMatrix Source Engine

      WorldToScreenMatrix Source Engine
      4 = Add 1024 Bytes to that vtable

      Now in CS:S Index 36 Is WorldToScreenMatrix and 37 WorldToViewMatrix. To find it in your game just look for functions that look exactly like this or use Mac bins + IDA.

      WorldToScreenMatrix Source Engine
      (Reclass doesn't detect the Function end)

      Now go to the function in olly:
      WorldToScreenMatrix Source Engine

      Use CE to determinate EDX, follow the function and by reversing it, we get to know:
      WorldToScreenMatrix Source Engine

      So what does this mean for us?
      Means:
      Code:
      DWORD dwRender = Read( ECX + 0xDC );
      VMatrix flMatrix = Read( dwRender + 0x2D4 );
      You just need to find a pointer for ECX then, but you can do that fast.
      Last edited by brinkz; 12-10-2013 at 09:05 AM.

    2. Thanks Arickyy, c5, NTvalk, cskimmo69, kaz, squeenie, Galhali, Syperus, mihas404, N/A, rN' thanked for this post
    3. #2
      Hacker
      ^.^
       
      Eating
       
      NTvalk's Avatar
      Join Date
      Jul 2013
      Location
      Your RAM
      Posts
      512
      Thanks (-->)
      176
      Thanks (<--)
      145
      good stuff Thanks for contributing.

    4. #3
      Hacker
      shell toes yes
       
      Lagging
       
      squeenie's Avatar
      Join Date
      Mar 2013
      Posts
      717
      Thanks (-->)
      599
      Thanks (<--)
      222
      Thanks a lot for posting this man. While I didn't get VEngineClient by following this tutorial something clicked while reading it and I got it now, which is probably better. Thanks again!

    5. #4
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      brinkz's Avatar
      Join Date
      Sep 2012
      Posts
      213
      Thanks (-->)
      5
      Thanks (<--)
      74
      No problem guys, i may post some more src engine specific stuff in the feature.

    6. Thanks cskimmo69, squeenie thanked for this post
    7. #5
      Newbie
      n00b
       
      Raging
       
      cskimmo69's Avatar
      Join Date
      Jul 2013
      Posts
      47
      Thanks (-->)
      13
      Thanks (<--)
      3
      When i go in function i get in here.. i noob reverser
      WorldToScreenMatrix Source Engine

    8. #6
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      brinkz's Avatar
      Join Date
      Sep 2012
      Posts
      213
      Thanks (-->)
      5
      Thanks (<--)
      74
      Your EDX is wrong.

    9. Thanks cskimmo69 thanked for this post
    10. #7
      Newbie
      n00b
       
      Raging
       
      cskimmo69's Avatar
      Join Date
      Jul 2013
      Posts
      47
      Thanks (-->)
      13
      Thanks (<--)
      3
      Quote Originally Posted by brinkz View Post
      Your EDX is wrong.
      In reclass? did i screw something in there?

    11. #8
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      brinkz's Avatar
      Join Date
      Sep 2012
      Posts
      213
      Thanks (-->)
      5
      Thanks (<--)
      74
      Quote Originally Posted by cskimmo69 View Post
      In reclass? did i screw something in there?
      You followed EDX wrong.
      WorldToScreenMatrix Source Engine

    12. Thanks cskimmo69 thanked for this post
    13. #9
      Newbie
      n00b
       
      Raging
       
      cskimmo69's Avatar
      Join Date
      Jul 2013
      Posts
      47
      Thanks (-->)
      13
      Thanks (<--)
      3
      Quote Originally Posted by brinkz View Post
      You followed EDX wrong.
      WorldToScreenMatrix Source Engine
      Thanks i got it! but how to get pointer for ECX?

    14. #10
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      brinkz's Avatar
      Join Date
      Sep 2012
      Posts
      213
      Thanks (-->)
      5
      Thanks (<--)
      74
      Silent VPN
      Using Cheat Engine Pointer Scan e.g. or you could simply directly find a pointer for CRender

    15. Thanks cskimmo69 thanked for this post
    Page 1 of 3 123 LastLast

    Similar Game Hacker Threads

    1. [Help] Introduction to source engine
      By Dretch in forum Hacking Help
      Replies: 2
      Last Post: 01-24-2016, 03:41 PM
    2. [Source Code] Simple Bunny Hop Using Source Engine Functions [CS:Source]
      By Simon-Benyo in forum Tutorials and Snippets
      Replies: 7
      Last Post: 10-11-2015, 01:18 PM
    3. [Help] Source engine Entity
      By DarkArlene in forum Hacking Help
      Replies: 7
      Last Post: 03-23-2015, 01:40 PM
    4. [Help] Ray tracing (source engine)
      By Liduen in forum Source Engine Hacks
      Replies: 32
      Last Post: 08-22-2014, 10:48 AM

    Tags for this Thread