Categories > Exploiting > Complaints >
[REPOST] C# API is broken
Posted
My Inject function is working just fine, but when I made my execute function, the button doesn't work, and it says no errors found in error output. Heres what I typed in the button...
[/code]
string text = richTextBox1.Text;
this.api.SendLuaCScript(text);
[/code]
I check if I put the ExploitAPI function in the wrong place, but it wasn't. Can someone help?
Note - I reposted this because literally no one replied to my last one
a former active and known member of the WRD community, but im kinda just a meme now
Replied
api.SendLuaCScript(richTextBox1.Text)
try this
Cancel
Post
I like children
a former active and known member of the WRD community, but im kinda just a meme now
Replied
if its actually working then that's weird
because
string text = richTextBox1.Text;
api.SendLuaCScript(text);
and
this.api.SendLuaCScript(richTextBox.Text);
they are approximately the same
Cancel
Post
yes
a former active and known member of the WRD community, but im kinda just a meme now
Replied
Perhaps you are using the wrong function for the wrong action. There are two functions in the API to execute scripts:
1. Lua-C scripts
2. Normal lua scripts
LuaC might look like this (Idk much LuaC):
[code]
getglobal game
getfield -1 Name
pushstring
[/code]
However, normal ones are these:
[code]
print(game.Name)
[/code]
Normal ones use:
[code]
API.SendLuaScript(<string> Source)
[/code]
Lua C:
[code]
API.SendLuaCScript(<string> Source)
[/code]
Cancel
Post
Proud creator of: WRD+
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post