wowjones1234
New Member
- Joined
- Dec 7, 2012
- Messages
- 8
- Reaction score
- 0
Is this still working for everyone? I'm trying to set it up and I'm running into:
Compiler Error: d:\Wow\HB\Plugins\PartyInviter\PartyInviter.cs(4,20) : error CS0234: The type or namespace name 'PluginClass' does not exist in the namespace 'Styx.Plugins' (are you missing an assembly reference?)
and
Compiler Error: d:\Wow\HB\Plugins\PartyInviter\PartyInviter.cs(9,33) : error CS0246: The type or namespace name 'HBPlugin' could not be found (are you missing a using directive or an assembly reference?)
My PartyInviter.cs looks like this:
using System;
using Styx;
using Styx.Helpers;
using Styx.Plugins.PluginClass;
using Styx.WoWInternals;
namespace PartyInviter
{
public class PartyInviter : HBPlugin
{
public override string Name { get { return "Party Inviter"; } }
public override string Author { get { return "neoDite"; } }
public override Version Version { get { return new Version(0, 1, 0, 0);; } }
public override string ButtonText { get { return "Comming Soon"; } }
public override bool WantButton { get { return false; } }
public override void Pulse()
{
if (!StyxWoW.Me.IsInParty)
{
Logging.Write("PartyInviting : NAME");
Lua.DoString("InviteUnit(\"NAME\")");
}
}
}
}
EDIT: http://www.thebuddyforum.com/archives/31266-plugin-auto-party-inviter.html is where I found it.
Compiler Error: d:\Wow\HB\Plugins\PartyInviter\PartyInviter.cs(4,20) : error CS0234: The type or namespace name 'PluginClass' does not exist in the namespace 'Styx.Plugins' (are you missing an assembly reference?)
and
Compiler Error: d:\Wow\HB\Plugins\PartyInviter\PartyInviter.cs(9,33) : error CS0246: The type or namespace name 'HBPlugin' could not be found (are you missing a using directive or an assembly reference?)
My PartyInviter.cs looks like this:
using System;
using Styx;
using Styx.Helpers;
using Styx.Plugins.PluginClass;
using Styx.WoWInternals;
namespace PartyInviter
{
public class PartyInviter : HBPlugin
{
public override string Name { get { return "Party Inviter"; } }
public override string Author { get { return "neoDite"; } }
public override Version Version { get { return new Version(0, 1, 0, 0);; } }
public override string ButtonText { get { return "Comming Soon"; } }
public override bool WantButton { get { return false; } }
public override void Pulse()
{
if (!StyxWoW.Me.IsInParty)
{
Logging.Write("PartyInviting : NAME");
Lua.DoString("InviteUnit(\"NAME\")");
}
}
}
}
EDIT: http://www.thebuddyforum.com/archives/31266-plugin-auto-party-inviter.html is where I found it.