So nun wenn ich das Cooking+Fishing 1-525 machen m?chte kommt folgender Fehler
Object reference not set to an instance of an object.
Bot Stopped! Reason: User pressed the Stop button!
PB 1.509: Adding TradeSkill Bergbau
PB 1.509: Done Loading Tradeskills.
PB 1.509: Loading profile [PB - N] 1-525 Cooking-Fishing [Cicrocoft].xml
Bot Stopped! Reason: None Given
Err: Declaration

void Fish()
{
if (!PulseSW.IsRunning)
PulseSW.Start();
using (new FrameLock())
{
if (PulseSW.ElapsedMilliseconds >= 1000)
{
MyErr("Warning: It took {0} milliseconds to pulse.\nThis can cause missed bites. To fix try disabling all plugins",
PulseSW.ElapsedMilliseconds);
}
PulseSW.Reset(); PulseSW.Start();
try
{
var bobber = ObjectManager.GetObjectsOfType<WoWGameObject>().
FirstOrDefault(u => u.SubType == WoWGameObjectType.FishingBobber && u.CreatedByGuid == Me.Guid);
if (bobber != null && bobber.IsValid && ((WoWFishingBobber)bobber.SubObj).IsBobbing)
{
bobber.Interact();
}
else if (bobber == null && !Me.IsCasting && DateTime.Now - CastTimeStamp >= TimeSpan.FromSeconds(1))
{
TreeRoot.StatusText= string.Format("Fishing level: {0}",Fishing.Level);
SpellManager.Cast("Fishing");
CastTimeStamp = DateTime.Now;
}
}
catch(Exception ex){MyErr(ex.ToString());}
}
})
Compile Error : The type or namespace name 'FrameLock' could not be found (are you missing a using directive or an assembly reference?)
?ndere aktuelles Profil zu level 0 - 2147483647
PB 1.509: Loading profile [PB - N] 1-525 Cooking-Fishing [Cicrocoft].xml
Bot wird gestartet!
Bot Stopped! Reason: None Given