Page 35 of 35 FirstFirst ... 253132333435
Results 511 to 518 of 518
  1. #511
    Contributor CoreCoins User culino2's Avatar
    Reputation
    271
    Join Date
    Feb 2013
    Posts
    128
    Thanks G/R
    89/51
    CoreCoins
    5689
    Trade Feedback
    0 (0%)
    Quote Originally Posted by thebad.cb View Post
    Attachment 56686

    I'm trying to make a hook on sendpacket

    ...
    What you're trying may be good for learning purposes, but there's a great library for delphi:
    GitHub - MahdiSafsafi/delphi-detours-library: Delphi Detours Library

    Code:
    var
      o_NetClient__Send: procedure(__eax, __edx, __this: Pointer; DataStore: PDataStore);
    
    procedure hook_NetClient__Send(__eax, __edx, __this: Pointer; DataStore: PDataStore);
    var
      i: Integer;
      sBuffer: String;
    begin
      for i := 0 to DataStore^.Size -1 do
      begin
        sBuffer := sBuffer + IntToHex(DataStore^.Buffer[i], 2) + ' ';
      end;
    
      { do something with the log... }
    
      // call original function
      o_NetClient__Send(nil, nil, __this, DataStore);
    end;
    
    procedure InstallDetours();
    begin
      BeginHooks();
      @o_NetClient__Send := InterceptCreate(Pointer($005379A0), @hook_NetClient__Send);
      EndHooks();
    end;
    edit: Regarding to your edit in the post below, you don't need to use asm to call msfastcall, you could also abuse delphi's calling convention for this. Just use AnsiString/PAnsiChar ;)
    Last edited by culino2; 2 Weeks Ago at 03:44 AM.

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

    thebad.cb
  3. #512
    Member thebad.cb's Avatar
    Reputation
    1
    Join Date
    Sep 2017
    Posts
    4
    Thanks G/R
    2/0
    CoreCoins
    7
    Trade Feedback
    0 (0%)
    Quote Originally Posted by culino2 View Post
    What you're trying may be good for learning purposes, but there's a great library for delphi:
    GitHub - MahdiSafsafi/delphi-detours-library: Delphi Detours Library

    Code:
    var
      o_NetClient__Send: procedure(__eax, __edx, __this: Pointer; DataStore: PDataStore);
    
    procedure hook_NetClient__Send(__eax, __edx, __this: Pointer; DataStore: PDataStore);
    var
      i: Integer;
      sBuffer: String;
    begin
      for i := 0 to DataStore^.Size -1 do
      begin
        sBuffer := sBuffer + IntToHex(DataStore^.Buffer[i], 2) + ' ';
      end;
    
      { do something with the log... }
    
      // call original function
      o_NetClient__Send(nil, nil, __this, DataStore);
    end;
    
    procedure InstallDetours();
    begin
      BeginHooks();
      @o_NetClient__Send := InterceptCreate(Pointer($005379A0), @hook_NetClient__Send);
      EndHooks();
    end;
    tanks

    https://i.imgur.com/NtLiupC.jpg


    now it made it much easier to capture the packages





    procedure ExecuteScript(CMD: String);
    Var
    Buffer: Array of byte;
    begin
    setLength(Buffer,Length(cmd));
    MOve(POINTER(TEncoding.UTF8.GetBytes(CMD))^ ,Buffer[0],Length(cmd));
    asm
    mov eax, 0
    mov ecx, buffer
    mov edx, buffer
    call FrameScript__Execute
    end; //CastSpellByName("Lesser Heal")
    //CastSpellByName("Faerie Fire (Feral)()");
    end;
    Last edited by thebad.cb; 3 Weeks Ago at 06:34 PM.

  4. #513
    Active Member Logon's Avatar
    Reputation
    21
    Join Date
    Oct 2007
    Posts
    55
    Thanks G/R
    0/0
    CoreCoins
    0
    Trade Feedback
    0 (0%)
    Does anyone have any memory addresses or information about the auction house?
    looked around in the PDB and in this thread but it seems most people don't care about the AH!

  5. #514
    Elite User
    CoreCoins User Authenticator enabled namreeb's Avatar
    Reputation
    484
    Join Date
    Sep 2008
    Posts
    896
    Thanks G/R
    5/117
    CoreCoins
    3851
    Trade Feedback
    0 (0%)
    Code:
    enum WorldEnables
    {
        TerrainDoodads                  = 0x1,
        Terrain                         = 0x2,
        TerrainLOD                      = 0x4,
        TerrainCulling                  = 0x20,
        TerrainShadows                  = 0x40,
        TerrainDoodadCollisionVisuals   = 0x80,
        MapObjects                      = 0x100,
        MapObjectLighting               = 0x200,
        FootPrints                      = 0x400,
        MapObjectTextures               = 0x800,
        PortalDisplay                   = 0x1000,
        PortalVisual                    = 0x2000,
        DisableDoodadFullAlpha          = 0x4000,
        DoodadAnimation                 = 0x8000,
        TriangleStrips                  = 0x10000,
        CrappyBatches                   = 0x20000,
        ZoneBoundaryVisuals             = 0x40000,
        BSPRender                       = 0x80000,
        DetailDoodads                   = 0x100000,
        ShowQuery                       = 0x200000,
        TerrainDoodadAABoxVisuals       = 0x400000,
        TrilinearFiltering              = 0x800000,
        Water                           = 0x1000000,
        WaterParticulates               = 0x2000000,
        TerrainLowDetail                = 0x4000000,
        Specular                        = 0x8000000,
        PixelShaders                    = 0x10000000,
        Unknown6737F9                   = 0x20000000,
        Unknown673820                   = 0x40000000,
        Anisotropic                     = 0x80000000,
    };
    
    static constexpr std::uint32_t CWorld__enables = 0xC7B2A4;

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

    tutrakan
  7. #515
    Contributor CoreCoins User Authenticator enabled danwins's Avatar
    Reputation
    147
    Join Date
    Mar 2013
    Posts
    111
    Thanks G/R
    4/35
    CoreCoins
    654
    Trade Feedback
    1 (100%)
    Quote Originally Posted by namreeb View Post
    Code:
    enum WorldEnables
    {
        TerrainDoodads                  = 0x1,
        Terrain                         = 0x2,
        TerrainLOD                      = 0x4,
        TerrainCulling                  = 0x20,
        TerrainShadows                  = 0x40,
        TerrainDoodadCollisionVisuals   = 0x80,
        MapObjects                      = 0x100,
        MapObjectLighting               = 0x200,
        FootPrints                      = 0x400,
        MapObjectTextures               = 0x800,
        PortalDisplay                   = 0x1000,
        PortalVisual                    = 0x2000,
        DisableDoodadFullAlpha          = 0x4000,
        DoodadAnimation                 = 0x8000,
        TriangleStrips                  = 0x10000,
        CrappyBatches                   = 0x20000,
        ZoneBoundaryVisuals             = 0x40000,
        BSPRender                       = 0x80000,
        DetailDoodads                   = 0x100000,
        ShowQuery                       = 0x200000,
        TerrainDoodadAABoxVisuals       = 0x400000,
        TrilinearFiltering              = 0x800000,
        Water                           = 0x1000000,
        WaterParticulates               = 0x2000000,
        TerrainLowDetail                = 0x4000000,
        Specular                        = 0x8000000,
        PixelShaders                    = 0x10000000,
        Unknown6737F9                   = 0x20000000,
        Unknown673820                   = 0x40000000,
        Anisotropic                     = 0x80000000,
    };
    
    static constexpr std::uint32_t CWorld__enables = 0xC7B2A4;
    last struct i had for this showed:

    Code:
    Unknown6737F9                   = 0x20000000,
    Unknown673820                   = 0x40000000,
    as Tris and Normals been awhile since i looked at this tho

  8. #516
    Active Member uzzy13u's Avatar
    Reputation
    15
    Join Date
    Oct 2008
    Posts
    61
    Thanks G/R
    14/9
    CoreCoins
    126
    Trade Feedback
    0 (0%)
    can anyone tell me please updateDisplayinfo address ?

  9. #517
    ★ Elder ★ CoreCoins User Authenticator enabled DarkLinux's Avatar
    Reputation
    1111
    Join Date
    May 2010
    Posts
    1,400
    Thanks G/R
    79/235
    CoreCoins
    16859
    Trade Feedback
    9 (100%)
    Quote Originally Posted by uzzy13u View Post
    can anyone tell me please updateDisplayinfo address ?
    really...

    [WoW] 1.12.1.5875 Info Dump Thread

  10. The Following 1 Members Gave Thanks To DarkLinux For This Useful Post:

    uzzy13u
  11. #518
    Elite User
    CoreCoins User Authenticator enabled namreeb's Avatar
    Reputation
    484
    Join Date
    Sep 2008
    Posts
    896
    Thanks G/R
    5/117
    CoreCoins
    3851
    Trade Feedback
    0 (0%)
    Quote Originally Posted by uzzy13u View Post
    can anyone tell me please updateDisplayinfo address ?
    Just going to leave this here: Memory Editing Section Rules

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

    uzzy13u
 

 
Page 35 of 35 FirstFirst ... 253132333435

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 12:03 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search