-
Member
[question] BlackMagic lua_dostring EndScene hook
Dear experts. I missed a lot. Before doing voodoo, I want to know. is it worth it?
There used to be a wonderful way. [BlackMagic lua_dostring EndScene hook] thx RivaLfr
Why don't they even post offsets now? no new bots for rotation?
is the hook method still working? or lua can't be used at all now?
my crooked writing served from the lich to the end of the legion. from 100 accounts 0 bans. so I would like to rewrite it for x64. But my skills are not as good as I would like.
maybe it's impudence. but if anyone has an example for x64. please let us know.
Sorry for the bad English.
-
Originally Posted by
BersAcc
Dear experts. I missed a lot. Before doing voodoo, I want to know. is it worth it?
There used to be a wonderful way. [BlackMagic lua_dostring EndScene hook] thx RivaLfr
Why don't they even post offsets now? no new bots for rotation?
is the hook method still working? or lua can't be used at all now?
my crooked writing served from the lich to the end of the legion. from 100 accounts 0 bans. so I would like to rewrite it for x64. But my skills are not as good as I would like.
maybe it's impudence. but if anyone has an example for x64. please let us know.
Sorry for the bad English.
XXX accounts is legend way to go. Unbanned is extraordinary.
I think BlackMagic was x86 during the legion obfuscation patch apocalypse. You can detour/hook the render for your point of entry. There are several standalones out there as repositories, and you can add in your calls. At this point you can speak internally to the client. You can spend a lot of time making something like this more elaborate, or you can get your foot in the door. You can also do something simpler like below and avoid endscene or the render pipeline unless you want to draw.
Here is a pseudo start:
Code:
unsigned int Lua::EnumVisibleObjCb(int64_t objectPtr, int64_t filter)
{
// iterate the game's object's and store the player
}
void Lua:: WriteTaint()
{
// prevent lua taint from being assigned
}
void Lua::SetAddon(const char* script)
{
WriteTaint();
// work your addon into the lua stack now so the game sees it
}
void Lua::Register()
{
GameMethods::FrameScriptRegister("MyLuaHandler", LuaCall); // lua can now call MyLuaHandler
SetAddon(ADDON_FILE);
}
void Lua::Init()
{
// defeat invalid pointer check here with changing min/max
GameMethods::EnumVisibleObjects(EnumVisibleObjCb, 0);
Register();
}
int Lua::LuaCall(int64_t L)
{
// ... take commands from lua addon here from the lua state
}
Last edited by GlittPrizes; 11-22-2020 at 06:46 PM.
Reason: lua
-
Post Thanks / Like - 1 Thanks
BersAcc (1 members gave Thanks to GlittPrizes for this useful post)