Posted
Does it?
If it doesn't will it be added?
Replied
Hello, SealedKiller.
No, WRD_API does not support getrawmetatable().
And I don't know if it is going to be added.
Cancel
Post
Replied
Is there an alternative to it?
can we use debug.getmetatable() ?
Cancel
Post
Replied
You can check what does the API support and what it does not support here. (You have to scroll down a bit.)
Cancel
Post
Replied
I see getrawmetatable and setrawmetatable
so its supported.
Cancel
Post
Replied
Doesn't that mean that its not suitable in any of the categories above?
When i run the script it doesn't give any errors that the functions don't exist
Cancel
Post
Replied
@SealedKiller
Not sure if this works but:
if getrawmetatable() then
print("Your exploit supports it!)
else
print("Your exploit doesnt suport it!")
I think this only works with getfenv, getgc etc. but I don't know if it'd work like above.
If you can try it and it works as a script reply to me saying it works so that I can test API's with it.
Cancel
Post
Hyakki
Wanting to learn Lua ; _ ;
Hyakki#0711
Replied
Yeah thats what I ran in my injector it gave me getrawmetatable is supported.
Cancel
Post
Replied
Nevermind, I guess I was wrong.
Cancel
Post
Replied
You wanna use this
if getrawmetatable then print("Supported!") endBecause what you gave us will try to run getrawmetatable on nothing which won't work.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post