What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to call an external plugin??

Status
Not open for further replies.

Voyager92

Member
Joined
Nov 3, 2014
Messages
287
Reaction score
1
here is the thing, AB doesn't support auto-start from paid plugin, so I was wondering, how can I call an external plugin from another one?
 
You can start a plugin with RunPlugin and with isPluginRun you can check if the plugin is already running.

Edit:
Yet i see that the external plugins werent saved in the plugin folder. So the posted functions arent a help at all. Sry
 
Last edited:
RunPlugin should support that:

Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using ArcheBuddy.Bot.Classes;

namespace DefaultNamespace
{
    public class DefaultClass : Core
    {
        public void PluginRun()
        {
            while (gameState != GameState.Ingame)
                Thread.Sleep(100);
            Thread.Sleep(15000);
            RunPlugin("ArcheQuester - Questing 1-33");
        }
    }
}
 
You can start a plugin with RunPlugin and with isPluginRun you can check if the plugin is already running.

Edit:
Yet i see that the external plugins werent saved in the plugin folder. So the posted functions arent a help at all. Sry

Yeah, that was my problem as well :(

RunPlugin should support that:

Code:
using System;
using System.Windows.Forms;
using System.Threading;
using System.Collections.Generic;
using ArcheBuddy.Bot.Classes;

namespace DefaultNamespace
{
    public class DefaultClass : Core
    {
        public void PluginRun()
        {
            while (gameState != GameState.Ingame)
                Thread.Sleep(100);
            Thread.Sleep(15000);
            RunPlugin("ArcheQuester - Questing 1-33");
        }
    }
}

Thanks man, when AB comes back online, I will be sure to test it out, didn't quite follow the code there, would it not it just sleep and then right after do the runplugin if you put it like that.

Also, can I use like that below instead?

Code:
if (isPluginRun("ArcheQuester - Questing 1-33") == false) RunPlugin("ArcheQuester - Questing 1-33");
 
Status
Not open for further replies.
Back
Top