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.
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.
Nicely done sir+Rep
This helped me a ton, finally opened the mailbox :P
-Duke
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
Thanks once more, +kudos![]()