• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Plugin: using a DLL

    Discussion in 'Honorbuddy Support' started by turner850, Dec 30, 2011.

    1. turner850

      turner850 New Member

      Joined:
      Oct 11, 2011
      Messages:
      41
      Likes Received:
      0
      Trophy Points:
      0
      Can you use a DLL reference in plugins??

      It's my first time making a plugin but when I call to use a DLL reference I get a compiling error

      Code:
      using System;
      using AIMLbot;
      
      using Styx.Logic;
      using System;
      using Styx.Helpers;
      using Styx.Logic.Combat;
      using Styx.Logic.Pathing;
      using System.Threading;
      using System.Diagnostics;
      using Styx.WoWInternals;
      using Styx.WoWInternals.WoWObjects;
      using Styx.Plugins.PluginClass;
      using Styx;
      
      
      namespace ConsoleBot
      {
          public class Program : HBPlugin
          {
              public static void Main(string[] args)
              {
                  Bot myBot = new Bot();
      Code:
      Plugin from C:\Users\Cody\Desktop\Honorbuddy_2.0.0.5494\Plugins\AIMLBot could not be compiled! Compiler errors:
      File: ConsoleBot.cs Line: 2 Error: The type or namespace name 'AIMLbot' could not be found (are you missing a using directive or an assembly reference?)
       
    2. gimik

      gimik New Member

      Joined:
      Jul 18, 2010
      Messages:
      1,326
      Likes Received:
      5
      Trophy Points:
      0
      No the Dev's don't allow DLL's to be used.
       
    3. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      Did you add the references for Honorbuddy.EXE, and Tripper.Tools.dll? They will be in your HB folder. Then, I believe, you would need to be in logged into HB to test your plugin.

      Here is a plugin I was working on that died. It doesn't do anything useful, but you can reverse engineer it to get an idea of how plugins operate.

      http://disccc.googlecode.com/svn/trunk/Random/Pathfinder.cs
       

    Share This Page