i use the code below to get the lua return when my character not enter world,it's works fine before,but now i get nothing return since the new client build release.
i got the FrameScript_GetText offset from the latest info dump thread,it's 83C1A0,and deduct the image base on 40000,it's 0x43C1A0,is this correct?
Code:
public string GetApiText(string variable)
{
// Write variable in the allocated memory
uint codeCave = Memory.AllocateMemory(Encoding.UTF8.GetBytes(variable).Length + 1);
Memory.WriteBytes(codeCave, Encoding.UTF8.GetBytes(variable));
String[] asm = new String[]
{
"push 0",
"push -1",
"mov edx, " + codeCave + "",
"push edx",
"call " + FrameScript_GetText+wowbaseAddr,
"add esp, 0Ch",
"retn",
};
// get value
string varResult = Encoding.ASCII.GetString(InjectAndExecute(asm));
Memory.FreeMemory(codeCave);
return varResult;
}