Forum > Coding >

isAPIAttached() won't return a value

apell0n

Apellon

Posts: 2

Threads: 1

Joined: Sep, 2021

Reputation: 0

Posted

        private void button8_Click(object sender, EventArgs e)
        {
            if (API.isAPIAttached() == false)
            {
                MessageBox.Show("Downloading latest DLL..", "ApellonWare");
                API.LaunchExploit();
            } else
            {
                MessageBox.Show("ApellonWare is already injected!", "ApellonWare");
                return;
            }
        }

Hey fellow developers, today I'm working on my exploit and <API>.isAPIAttached() doesn't seem to return a positive value, even if injected to the Roblox client. What would the issue be?

Here is my C# code on the check: 

  • 0

Posts: 395

Threads: 20

Joined: Apr, 2021

Reputation: 24

Replied

your code is correct its a wrd issue

anyways heres a better version of your code:

private void button8_Click(object sender, EventArgs e)
        {
            if (API.isAPIAttached() == false)
            {
                MessageBox.Show("Downloading latest DLL..", "ApellonWare");
                API.LaunchExploit();
            } //no else since wrd api handles this automatically
        }
  • 0

back lol

apell0n

Apellon

Posts: 2

Threads: 1

Joined: Sep, 2021

Reputation: 0

Replied

@Lxnnyy alright thanks

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@Lxnnyy This doesn't allow custom messages unless you go ahead and modify wrd api. Which is a waste of time since they already provide isAPIAttached. 

 

Also, this only attaches when isAPIAttached returns false. That means that if it's true, nothing will show up. WRD API doesn't handle anything cause you only call the LaunchExploit function when it isn't attached. If you want an example of WRD API "handling" it by providing error messages, just remove the if statement.

API.LaunchExploit(); // contains check if api is already attached and will display error messages
if (API.isAPIAttached() == false) // check before hand
{
API.LaunchExploit(); // isAPIAttached is now already confirmed to be false
}
  • 0

Added

Anyways, about your problem, have you tried attaching to roblox first and then printing out the returned value for isAPIAttached? If it's still false then probably an API issue.

  • 0

Posts: 1658

Threads: 10

Joined: Sep, 2020

Reputation: 59

Replied

@63568 ................................... Wtf

  • 0

Added

if(!API.isAPIAttached())
      API.LaunchExploit()
  • 0

Added

@Lxnnyy Bro you downloading air

  • 0

Discord : Doctor Doom#0550

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@0x777_ I forgot aaaa

  • 0

Users viewing this thread:

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