Categories > Exploiting > Complaints >

[REPOST] C# API is broken

Hectique

Hectique

Posts: 1307

Threads: 186

Joined: Nov, 2019

Reputation: 14

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

  • 0

a former active and known member of the WRD community, but im kinda just a meme now

Posts: 36

Threads: 9

Joined: Jun, 2018

Reputation: 0

Replied

api.SendLuaCScript(richTextBox1.Text)

try this

  • 0

I like children

Hectique

Hectique

Posts: 1307

Threads: 186

Joined: Nov, 2019

Reputation: 14

Replied

@TuranYmn12 Thanks for the help! I think its working

  • 0

a former active and known member of the WRD community, but im kinda just a meme now

davidTube

not inactive

noticed

Posts: 1849

Threads: 88

Joined: Dec, 2018

Reputation: 56

Replied

@Hectique

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

  • 0

jex

yes

Posts: 1985

Threads: 128

Joined: Nov, 2019

Reputation: 13

Replied

@davidTube lol                          

  • 0

yes

Hectique

Hectique

Posts: 1307

Threads: 186

Joined: Nov, 2019

Reputation: 14

Replied

@davidTube nvm because it still not working

I thought it was

  • 0

a former active and known member of the WRD community, but im kinda just a meme now

PoopMaster

SoundInfinity

noticed

Posts: 120

Threads: 23

Joined: Jul, 2019

Reputation: 9

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]

  • 0

Proud creator of: WRD+

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )