RenderWorld vs EndScene menu

User Tag List

Results 1 to 11 of 11
  1. #1
    draco1219's Avatar Sergeant
    Reputation
    -6
    Join Date
    Jan 2011
    Posts
    45
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    RenderWorld vs EndScene

    Hi guys,

    Just a quick question.

    I am trying to just develop a small DLL which I can inject into WoW and detour a function (as a learning experience, I know this has been done before).

    I am going to use Microsoft Detours to do the detouring/injection.

    My question is this, If all I want to do is have the ability to call a few WoW functions (Such as setting movement bits, left and right clicking, etc) what are the differences or limitations of detouring RenderWorld versus EndScene?


    Thank you again!

    RenderWorld vs EndScene
  2. #2
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by draco1219 View Post
    Hi guys,

    Just a quick question.

    I am trying to just develop a small DLL which I can inject into WoW and detour a function (as a learning experience, I know this has been done before).

    I am going to use Microsoft Detours to do the detouring/injection.

    My question is this, If all I want to do is have the ability to call a few WoW functions (Such as setting movement bits, left and right clicking, etc) what are the differences or limitations of detouring RenderWorld versus EndScene?


    Thank you again!
    I have no idea what RenderWorld is, but it sounds like something that is called inside of EndScene. EndScene is what's called on the end of rendering a frame, which means EndScene is called every frame (duh). Depending on your computer you will have 10-60 EndScene calls a second, this should give you more than enough time to do your stuff. Also, what's the point of left and right clicking when you can just use the functions that are executed when clicking something?

  3. #3
    draco1219's Avatar Sergeant
    Reputation
    -6
    Join Date
    Jan 2011
    Posts
    45
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahh OK thanks. A lot of the code examples show getting the address of EndScene using ReadProcessMemory. If I'm already in process, I do not need to make this call. So it seems that it might be safer to detour EndScene (since this is common for many applications to do) versus detouring RenderWorld.

    Originally Posted by miceiken View Post
    Also, what's the point of left and right clicking when you can just use the functions that are executed when clicking something?
    Hmm, LeftClick I was basically going to use it to set targets since the LeftClick function takes a GUID.

    Right click I was going to use to loot, mine, gather etc, which takes a GUID as well.

    Is there a better way to do this?

    Thanks again

  4. #4
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by draco1219 View Post
    Is there a better way to do this?
    SelectObject and Interact VMTa

  5. #5
    draco1219's Avatar Sergeant
    Reputation
    -6
    Join Date
    Jan 2011
    Posts
    45
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by miceiken View Post
    SelectObject and Interact VMTa
    But RightClick and LeftClick should still work, right?

  6. #6
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think You're Doing It Wrong; you want to be injected in the process, but still write code as if you're out of process.

    The entire POINT of injecting is being able to do things like use the API to select the target and interact. If you're not going to use those API's, you really won't gain much from being injected.
    Don't believe everything you think.

  7. #7
    draco1219's Avatar Sergeant
    Reputation
    -6
    Join Date
    Jan 2011
    Posts
    45
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by miceiken View Post
    SelectObject and Interact VMTa
    Thank you again for your help. I have my in process application working and I am able to hook the EndScene. You mentioned SelectObject and Interact VMTs.. What exactly are they called? I looked at some offset dumps of functions for 4.0.6 and i do not see any functions for SelectObject/Interact.

    Do you know what the exact function names are? Thanks again for your help.

  8. #8
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sigh.
    Did you even search? I bet you can find 10 pages or more about this.

  9. #9
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  10. #10
    draco1219's Avatar Sergeant
    Reputation
    -6
    Join Date
    Jan 2011
    Posts
    45
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahh I didn't realize CTM allowed you to interact with objects.

    CTM is new to me, I used to send simulated keystrokes to do my movement and I'd like to eventually get CTM to work in my code.

    I'm assuming people are using CTM for their teleporting hack right?

    With that being said, is it even safe to use CTM for basic movement from point A to point B and to interact with objects?

  11. #11
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sigh.
    Did you even search? I bet you can find 10 pages or more about this.

Similar Threads

  1. [Test Theory] EndScene hook without Native Code (Kinda)
    By Apoc in forum WoW Memory Editing
    Replies: 7
    Last Post: 09-04-2009, 12:46 PM
  2. EndScene Hook not changing anything
    By lanman92 in forum WoW Memory Editing
    Replies: 32
    Last Post: 06-01-2009, 11:46 PM
  3. How I hooked EndScene
    By Sillyboy72 in forum WoW Memory Editing
    Replies: 3
    Last Post: 01-21-2009, 04:40 AM
  4. CEGui and EndScene
    By hypnodok in forum WoW Memory Editing
    Replies: 3
    Last Post: 01-08-2009, 04:51 PM
All times are GMT -5. The time now is 06:19 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search