brainAbuddy
Active Member
- Joined
- Aug 12, 2010
- Messages
- 2,180
- Reaction score
- 11
hey
i want to make an plugin that use the spell (ghostwolf) for shaman when he is in an instance made for extra speed but i have no idea why it want work
this is the error
yes i have used the guide from CnG :3
i want to make an plugin that use the spell (ghostwolf) for shaman when he is in an instance made for extra speed but i have no idea why it want work
this is the error
Code:
File: Mr.PluginTemplate.cs Line: 64 Error: Definition of type or namespace or the end of the file is expected
PHP:
//Mr.PuginTemplate - Created by CodenameGamma - 4-12-11 - For WoW Version 4.0.3+
//www.honorbuddy.de
//this is a free plugin, and should not be sold, or repackaged.
//Donations Accepted.
//Version 1.0
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace MrPluginTemplate
{
using Styx.Logic;
using System;
using Styx.Helpers;
using Styx.Logic.Pathing;
using System.Threading;
using System.Diagnostics;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.IO;
using System.Runtime.InteropServices;
using System.Xml.Linq;
using System.Net;
using Styx.Plugins.PluginClass;
using Styx;
public class MrPluginTemplate : HBPlugin
{
//Normal Stuff.
public override string Name { get { return "Mr.PluginTemplate"; } }
public override string Author { get { return "CnG"; } }
public override Version Version { get { return new Version(1, 0); } }
public override bool WantButton { get { return true; } }
public override string ButtonText { get { return "Mr.PluginTemplate"; } }
//Logging Class for your conviance
public static void slog(string format, params object[] args)
{ Logging.Write(Color.Red, "[Mr.PluginTemplate]:" + format, args); }
private static readonly LocalPlayer Me = ObjectManager.Me;
//Uncomment if adding a UI for the plugin
/*public override void OnButtonPress()
{
}*/
public override void Pulse()
{
if (Instance.IsInsideInstance && Me.IsOutdoors && !Me.Combat && !Me.Dead && Me.Casting && Me.IsSwimming && !Me.HasAura(Ghost Wolf)){SpellManager.Cast("Ghost Wolf");}
}
}
}
}