[C#] aHook wrapper menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C#] aHook wrapper

    I wrote this tonight for Seifer but i figured i just might aswell share it to the rest,
    credits to juju for the hook implementation and Shynd for BlackMagic.

    Attached Files Attached Files

    [C#] aHook wrapper
  2. #2
    dook123's Avatar Active Member
    Reputation
    21
    Join Date
    Oct 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sexy

    Nicely done sir +Rep

    This helped me a ton, finally opened the mailbox :P

    -Duke

  3. #3
    dook123's Avatar Active Member
    Reputation
    21
    Join Date
    Oct 2008
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ahook wrapper

    Hey Nesox, or anyone who might help

    I have been playing around with this code tonight and having some fun. I know a little assembly and am still trying to understand how everything works within the code.

    That being said, will you give me a clue as to how I can use blackmagic to return the results of the lua calls I make in game? I am assuming its static memory values or possibly more assembly involved. I have been checking out the api towards what would be the values returned but im not sure how to actually retrieve them.

    thanks,
    -Duke

  4. #4
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by dook123 View Post
    Hey Nesox, or anyone who might help

    I have been playing around with this code tonight and having some fun. I know a little assembly and am still trying to understand how everything works within the code.

    That being said, will you give me a clue as to how I can use blackmagic to return the results of the lua calls I make in game? I am assuming its static memory values or possibly more assembly involved. I have been checking out the api towards what would be the values returned but im not sure how to actually retrieve them.

    thanks,
    -Duke
    1# call it manually pushing arguments etc for each function also making sure you don't mess up the stack and lua state etc.
    2# register your own callback and grab the return values from that
    3# call the functions FrameScript_Execute calls internally
    4# Use a custom lua variable and call FrameScript_GetLocalizedText to get the value from it ,this is probablly the worst way to do it as it might interfer with other addons and some other things, im sure Cypher could explain more if he had some time

  5. #5
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks once more, +kudos

  6. #6
    tanis2000's Avatar Active Member
    Reputation
    39
    Join Date
    Feb 2009
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nesox View Post

    2# register your own callback and grab the return values from that
    Are you sure this is 100% clean and that there are no chances that it will tamper the LUA stack?

Similar Threads

  1. [C# DLL] aHook, use ASM through EndScene hook
    By JuJuBoSc in forum WoW Memory Editing
    Replies: 81
    Last Post: 04-22-2024, 02:55 PM
  2. C# Lua Wrapper (No ASM, Requires injected CLR)
    By Apoc in forum WoW Memory Editing
    Replies: 29
    Last Post: 02-04-2011, 02:52 PM
  3. PeLib - A PE File Format Wrapper
    By Cypher in forum WoW Memory Editing
    Replies: 13
    Last Post: 11-08-2009, 06:26 PM
  4. empty wrapper?
    By catakliss in forum WoW EMU Exploits & Bugs
    Replies: 1
    Last Post: 01-18-2008, 07:33 AM
All times are GMT -5. The time now is 01:35 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