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

Plugin: using a DLL

turner850

New Member
Joined
Oct 11, 2011
Messages
41
Reaction score
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?)
 
No the Dev's don't allow DLL's to be used.
 
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
 
Back
Top