Page 25 of 33 FirstFirst ... 15212223242526272829 ... LastLast
Results 361 to 375 of 486
  1. #361
    Contributor CoreCoins User WiNiFiX's Avatar
    Reputation
    135
    Join Date
    Jun 2008
    Posts
    351
    Thanks G/R
    5/60
    CoreCoins
    764
    Trade Feedback
    0 (0%)
    Issue resolved in below post
    Last edited by WiNiFiX; 11-29-2016 at 01:44 AM.

  2. The Following 1 Members Gave Thanks To WiNiFiX For This Useful Post:

    Corthezz
  3. #362
    Contributor CoreCoins User WiNiFiX's Avatar
    Reputation
    135
    Join Date
    Jun 2008
    Posts
    351
    Thanks G/R
    5/60
    CoreCoins
    764
    Trade Feedback
    0 (0%)
    PHP Code:
    using System;
    using SlimDX;

    #pragma warning disable 649
    #pragma warning disable 169

    namespace VanillaMagic
    {
        public static class 
    Camera
        
    {
            
    internal static IntPtr BaseAddress
            
    {
                
    get
                
    {
                    var 
    ptr WoW.hook.Memory.Read<IntPtr>(Offsets.Camera.CameraPtrtrue);
                    return 
    WoW.hook.Memory.Read<IntPtr>(ptr Offsets.Camera.CameraPtrOffset);
                }
            }

            private static 
    Offsets.CGCamera cam => WoW.hook.Memory.Read<Offsets.CGCamera>(BaseAddress);
            
            public static 
    float X => cam.Position.X;
            public static 
    float Y => cam.Position.Y;
            public static 
    float Z => cam.Position.Z;
            public static 
    float FOV => cam.FieldOfView;
            public static 
    float NearClip => cam.NearClip;
            public static 
    float FarClip => cam.FarClip;
            public static 
    float Aspect => cam.Aspect;

            private static 
    Matrix Matrix
            
    {
                
    get
                
    {
                    var 
    bCamera WoW.hook.Memory.ReadBytes(BaseAddress Offsets.Camera.CameraMatrix36);
                    var 
    = new Matrix();
                    
    m[00] = BitConverter.ToSingle(bCamera0);
                    
    m[01] = BitConverter.ToSingle(bCamera4);
                    
    m[02] = BitConverter.ToSingle(bCamera8);
                    
    m[10] = BitConverter.ToSingle(bCamera12);
                    
    m[11] = BitConverter.ToSingle(bCamera16);
                    
    m[12] = BitConverter.ToSingle(bCamera20);
                    
    m[20] = BitConverter.ToSingle(bCamera24);
                    
    m[21] = BitConverter.ToSingle(bCamera28);
                    
    m[22] = BitConverter.ToSingle(bCamera32);

                    return 
    m;
                }
            }

            public static 
    Vector2 WorldToScreen(float xfloat yfloat z)
            {
                var 
    Projection Matrix.PerspectiveFovRH(FOV 0.5fAspectNearClipFarClip);

                var 
    eye = new Vector3(XYZ);
                var 
    lookAt = new Vector3(Matrix[00], Matrix[01], Matrix[02]);
                var 
    up = new Vector3(0f0f1f);

                var 
    View Matrix.LookAtRH(eyelookAtup);
                var 
    World Matrix.Identity;

                var 
    WorldPosition = new Vector3(xyz);

                var 
    ScreenPosition Vector3.Project(WorldPosition0f0fWindowHelper.WindowWidthWindowHelper.WindowHeightNearClipFarClipWorld*View*Projection);
                return new 
    Vector2(ScreenPosition.XScreenPosition.Y-20f);
            }
        }

    Last edited by WiNiFiX; 12-02-2016 at 06:13 AM.

  4. The Following 1 Members Gave Thanks To WiNiFiX For This Useful Post:

    Corthezz
  5. #363
    Contributor CoreCoins User WiNiFiX's Avatar
    Reputation
    135
    Join Date
    Jun 2008
    Posts
    351
    Thanks G/R
    5/60
    CoreCoins
    764
    Trade Feedback
    0 (0%)
    Hey does anyone have offset for Target Combo Points for Rogues in 1.12.1?

  6. #364
    Contributor CoreCoins User tutrakan's Avatar
    Reputation
    85
    Join Date
    Feb 2013
    Posts
    98
    Thanks G/R
    69/31
    CoreCoins
    236
    Trade Feedback
    0 (0%)
    Quote Originally Posted by WiNiFiX View Post
    Hey does anyone have offset for Target Combo Points for Rogues in 1.12.1?
    Looking at the lua function GetComboPoints() at 0x0051A190, I found it reads a byte from the descriptor PLAYER_FIELD_COMBAT_RATING_1[2] or *(*(player addr + 0xE68) + 0x1029);

    Edit: There is another one: PLAYER__FIELD_COMBO_TARGET = 0xB28, ([WoW] 1.12.1.5875 Info Dump Thread)
    Last edited by tutrakan; 11-18-2016 at 01:29 PM.

  7. #365
    Contributor CoreCoins User Corthezz's Avatar
    Reputation
    321
    Join Date
    Nov 2011
    Posts
    295
    Thanks G/R
    75/71
    CoreCoins
    512
    Trade Feedback
    0 (0%)
    Quote Originally Posted by WiNiFiX View Post
    Hey does anyone have offset for Target Combo Points for Rogues in 1.12.1?
    90% of all offsets you asked for where previously mentioned in this thread + the combo point offset is found in multiple 1.12.1 public tools.
    Last edited by Corthezz; 11-18-2016 at 06:25 PM.
    Check my blog: http://zzuks.blogspot.com

  8. #366
    Elite User CoreCoins User Authenticator enabled namreeb's Avatar
    Reputation
    470
    Join Date
    Sep 2008
    Posts
    876
    Thanks G/R
    4/104
    CoreCoins
    3751
    Trade Feedback
    0 (0%)
    Quote Originally Posted by Corthezz View Post
    90% of all offsets you asked for where previously mentioned in this thread + the combo point offset is found in multiple 1.12.1 public tools.
    Quite correct. I would also add that the purpose of this thread is to post information, not ask for it.

  9. #367
    Contributor CoreCoins User WiNiFiX's Avatar
    Reputation
    135
    Join Date
    Jun 2008
    Posts
    351
    Thanks G/R
    5/60
    CoreCoins
    764
    Trade Feedback
    0 (0%)
    Quote Originally Posted by namreeb View Post
    Quite correct. I would also add that the purpose of this thread is to post information, not ask for it.
    Please show me where I asked for an offset in this thread before the post about combo-points, I asked for assistance with CTM (no offsets) and for WorldToScreen (no offsets).
    Both valid queries as there was no information in this thread about either query. and I provided corrections to old users incorrect WorldToScreen functions - the last time i checked that was helping the community.
    Last edited by WiNiFiX; 11-19-2016 at 02:16 AM.

  10. #368
    ★ Elder ★ CoreCoins User DarkLinux's Avatar
    Reputation
    1065
    Join Date
    May 2010
    Posts
    1,336
    Thanks G/R
    68/213
    CoreCoins
    680
    Trade Feedback
    4 (100%)
    movementStruct = player + 0x9A8
    PlayerJump = 0x007C6230

    Code:
    __asm
    {
    
    mov ecx, movementStruct; push 1; call PlayerJump;
    };

  11. The Following 3 Members Gave Thanks To DarkLinux For This Useful Post:

    Vandra, culino2, tutrakan
  12. #369
    Elite User CoreCoins User Authenticator enabled namreeb's Avatar
    Reputation
    470
    Join Date
    Sep 2008
    Posts
    876
    Thanks G/R
    4/104
    CoreCoins
    3751
    Trade Feedback
    0 (0%)
    Quote Originally Posted by WiNiFiX View Post
    Please show me where I asked for an offset in this thread before the post about combo-points, I asked for assistance with CTM (no offsets) and for WorldToScreen (no offsets).
    Both valid queries as there was no information in this thread about either query. and I provided corrections to old users incorrect WorldToScreen functions - the last time i checked that was helping the community.
    I'm not sure why a second example is necessary. And my message was not directed solely at you. If you read through this thread, the vast majority of posts do not add any useful information. I just think this thread would be much cleaner and on-topic if people would ask their questions somewhere else.

  13. #370
    Member Natrist's Avatar
    Reputation
    11
    Join Date
    Mar 2013
    Posts
    146
    Thanks G/R
    9/3
    CoreCoins
    35
    Trade Feedback
    0 (0%)
    Has anyone had any luck registering console commands in this build?
    I can't for the love of God get it working for me. SStrHashHT fails because data being passed to ConsoleCommandRegister is all shit.

    Edit: It works fine on build 12340.

  14. #371
    Elite User CoreCoins User Authenticator enabled namreeb's Avatar
    Reputation
    470
    Join Date
    Sep 2008
    Posts
    876
    Thanks G/R
    4/104
    CoreCoins
    3751
    Trade Feedback
    0 (0%)
    Quote Originally Posted by Natrist View Post
    Has anyone had any luck registering console commands in this build?
    I can't for the love of God get it working for me. SStrHashHT fails because data being passed to ConsoleCommandRegister is all shit.

    Edit: It works fine on build 12340.
    This probably means you're calling ConsoleCommandRegister with the wrong prototype. Here is what I have for it's prototype in 1.12.1:

    Code:
    int __fastcall ConsoleCommandRegister(char *Str2, int a2, int a3, int a4)
    The function is located at 0x63F9E0.

    If you think you have the correct prototype, you should verify that ecx is set properly by putting a breakpoint on ConsoleCommandRegister with a debugger of your choice, making your call to it, and examining the value manually.

    Edit: Additionally, this function is not __fastcall in 3.3.5a (build 12340).
    Last edited by namreeb; 11-21-2016 at 03:13 PM.

  15. #372
    Member Natrist's Avatar
    Reputation
    11
    Join Date
    Mar 2013
    Posts
    146
    Thanks G/R
    9/3
    CoreCoins
    35
    Trade Feedback
    0 (0%)
    Quote Originally Posted by namreeb View Post
    This probably means you're calling ConsoleCommandRegister with the wrong prototype..
    I managed to pass the data properly now, but now there's an exception elsewhere in the code...
    Here's what it looks like in the IDA Debugger:



    Not every variable/function in that code is named unfortunately, but v8 (on the purple line) might not get the right value. Any idea what that would be?
    I feel like there's something I need to set prior to registering my command that I'm not doing properly.

  16. #373
    Elite User CoreCoins User Authenticator enabled namreeb's Avatar
    Reputation
    470
    Join Date
    Sep 2008
    Posts
    876
    Thanks G/R
    4/104
    CoreCoins
    3751
    Trade Feedback
    0 (0%)
    Quote Originally Posted by Natrist View Post
    I managed to pass the data properly now, but now there's an exception elsewhere in the code...
    Here's what it looks like in the IDA Debugger:



    Not every variable/function in that code is named unfortunately, but v8 (on the purple line) might not get the right value. Any idea what that would be?
    I feel like there's something I need to set prior to registering my command that I'm not doing properly.
    sub_64A6F0 is SStrLen(). I believe that what that while loop is doing is checking to see if the console command you're trying to register is already registered. 'v8' holds the name of the current console command it is comparing yours against.

  17. The Following 1 Members Gave Thanks To namreeb For This Useful Post:

    Natrist
  18. #374
    Member Natrist's Avatar
    Reputation
    11
    Join Date
    Mar 2013
    Posts
    146
    Thanks G/R
    9/3
    CoreCoins
    35
    Trade Feedback
    0 (0%)
    Quote Originally Posted by namreeb View Post
    sub_64A6F0 is SStrLen(). I believe that what that while loop is doing is checking to see if the console command you're trying to register is already registered. 'v8' holds the name of the current console command it is comparing yours against.
    Yeah, I figured about 0064A6F0 by glancing at its body, but I don't get why SStrChr fails after calling __strnicmp. All the data I pass to ConsoleCommandRegister seems OK from what I could tell. Is there anything I need to do before registering my own command?

    I call this, if it's of any help.
    Code:
    void FixInvalidPtrCheck()
    {
        *((int*)0x884800) = 0x1;
        *((int*)0x884C00) = 0x7FFFFFFF;
    }

  19. #375
    Member Natrist's Avatar
    Reputation
    11
    Join Date
    Mar 2013
    Posts
    146
    Thanks G/R
    9/3
    CoreCoins
    35
    Trade Feedback
    0 (0%)
    I finally figured it out!
    Thanks a lot for your help, nambreeb.

    Complimentary screen shot:

  20. The Following 1 Members Gave Thanks To Natrist For This Useful Post:

    Corthezz
 

 

Similar Threads

  1. [WoW][3.3.5.12340] Info Dump Thread
    By Nesox in forum WoW Memory Editing
    Replies: 82
    Last Post: 11-02-2014, 04:11 PM
  2. [WoW][4.0.3.13329] Info Dump Thread
    By TOM_RUS in forum WoW Memory Editing
    Replies: 73
    Last Post: 02-06-2011, 05:37 AM
  3. [WoW][4.0.1.13164] Info Dump Thread
    By Seifer in forum WoW Memory Editing
    Replies: 29
    Last Post: 01-18-2011, 08:14 AM
  4. [WoW][4.0.1.13205] Info Dump Thread
    By DrGonzo in forum WoW Memory Editing
    Replies: 12
    Last Post: 11-11-2010, 01:34 PM
  5. [WoW][3.3.3.11723] Info Dump Thread
    By miceiken in forum WoW Memory Editing
    Replies: 2
    Last Post: 03-27-2010, 03:42 PM
All times are GMT -5. The time now is 09:03 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search