Hi all,
I would ask if is possible to "re-create" another Lua Ninja updated for 4.0.6a.
My purpose is to use protected macro in wow (for example in BG).
Thanks for help !
Hi all,
I would ask if is possible to "re-create" another Lua Ninja updated for 4.0.6a.
My purpose is to use protected macro in wow (for example in BG).
Thanks for help !
http://dl.dropbox.com/u/9764890/Aufzeichnen.JPG
That's my method, patching the switchtable-entry at 0x42C798 (Base: 0x1000).
Write 1, 2 or 3 to enable protected lua (was too lazy to look where's the difference between 'em) or 0 to disable it.
There are some commands like TargetUnit which seem to have a second protection, but I was too lazy to find out how they are protected cuz I have no use for protected lua
Not all Lua callbacks call the protection check function, some of them 'inline' the check and look whether the calling code is secure or not directly via the use of the same global variable used in the protection check func.
Note: I know this is horribly vague, but I wrote LuaNinja a long time ago, and whilst I remember running into the same problem the OP had when in the 'research' phase, I forget all the implementation details. Sorry.
Isn't it just a flag in the Lua state object? IOW, can't you just monkey with the state object?
Been a while since I looked at it (obviously).
Don't believe everything you think.
I posted a thread, you can find the pattern there for a hex editor. You change the bytes to 7
are any options out there that is free?
Hi all,
I would ask if is possible to disable Lua protection on 4.0.6a server.
My purpose is same as "IceFire32". I would like to use protected macro in wow for example: /run CastSpellByName("Judgement")
I've searched google all day, And only what I found about 4.0.6a patch is here. It should disable Lua protection. But it doesnt.
I've changed these 0x42C798 offsets in Cheat Engine - doesnt any change. So I put these offset to Lua protection Remover 1.0, pick custom adress. And again, it doesnt work.
so the question is: Does anybody knows, what's offsets working on 4.0.6a to disable Lua prot ?. Or have some links. Or if it's not only way to do this, then what should I do to disable protection Lua ? For Any help will be very grateful.
I did same, like IceFire32 on screenshot. In CE: add adress manually - > adress: wow.exe + 42C798 - > ok. And vaule is on 0 always. Changing beetween 0, 1, 2, 3. Nothing changes.
using while game is on, example macro: /run CastSpellByName("Judgement")
And still, write " a macro script has been blocked from an action... "
So any reasons ?
You have no idea what you're doing, do you?
That address is code, not data. You can't go around randomly changing it to whatever you want.
Examine the address in a disassembler and then figure out what to change it to.
I know this is an old reply, almost a year, but I thought I'd just fill in some more info.
There is a global flag/value (not part of the lua state though), but it has 378 references out of which 128 are writes. I haven't checked how many of them are needed to be patched to unprotect every code path.
I have tried doing a DR write trigger on it but depending on number of addons etc. it is potentially written to several thousand times per frame.
I also haven't examined what it's different values actually means, but forcing it to 0 unprotects everything.