@Atomix74
Das schauen wir uns an, ich hab Aktuell kein HB mehr drauf.
@hans2116
Nemesis verbraucht nur 1-2% cpu bei mir.
Das schauen wir uns an, ich hab Aktuell kein HB mehr drauf.
@hans2116
Nemesis verbraucht nur 1-2% cpu bei mir.
Das ja gut aber honorbuddy friest eigentlich auch sehr wenig aber bei mir lagg dann wow heftiger weise.Quote:
@Atomix74
Das schauen wir uns an, ich hab Aktuell kein HB mehr drauf.
@hans2116
Nemesis verbraucht nur 1-2% cpu bei mir.
namespace Styx.Bot.Quest_Behaviors {
[CustomBehaviorFileName(@"Misc\JumpForward")]
public class JumpForward : CustomForcedBehavior {
public JumpForward(Dictionary<string, string> args)
: base(args) { }
#region Variables
// Attributes provided by caller
// Private variables for internal state
private static bool _isBehaviorDone;
private bool _IsDisposed;
private Composite _Root;
public WoWPoint MyHotSpot = WoWPoint.Empty;
#endregion
#region Dispose
~JumpForward() { Dispose(false); }
public void Dispose(bool isExplicitlyInitiatedDispose) {
if (!_IsDisposed) {
// NOTE: we should call any Dispose() method for any managed or unmanaged
// resource, if that resource provides a Dispose() method.
// Clean up managed resources, if explicit disposal...
if (isExplicitlyInitiatedDispose) { } // empty, for now
// Clean up unmanaged resources (if any) here...
_isBehaviorDone = false;
// Call parent Dispose() (if it exists) here ...
base.Dispose();
}
_IsDisposed = true;
}
public override void Dispose() {
Dispose(true);
GC.SuppressFinalize(this);
}
public void BotEvents_OnBotStop(EventArgs args) { Dispose(); }
#endregion
#region Overrides of CustomForcedBehavior
protected override Composite CreateBehavior() {
return _Root ?? (_Root =
new PrioritySelector(
new Decorator(context => !StyxWoW.Me.IsMoving,
new Sequence(
new Action(context => Logging.Write("Moving Forward.")),
new Action(context => KeyboardManager.PressKey((char)KeyboardManager.eVirtualKeyMessages.VK_UP)),
new WaitContinue(TimeSpan.FromMilliseconds(50), context => false, new ActionAlwaysSucceed()),
new Action(context => Logging.Write("Jumping.")),
new Action(context => KeyboardManager.PressKey((char)KeyboardManager.eVirtualKeyMessages.VK_SPACE)),
new WaitContinue(TimeSpan.FromMilliseconds(200), context => false, new ActionAlwaysSucceed()),
new Action(context => KeyboardManager.ReleaseKey((char)KeyboardManager.eVirtualKeyMessages.VK_SPACE)),
new WaitContinue(TimeSpan.FromMilliseconds(50), context => false, new ActionAlwaysSucceed()),
new Action(context => KeyboardManager.ReleaseKey((char)KeyboardManager.eVirtualKeyMessages.VK_UP)),
new WaitContinue(TimeSpan.FromMilliseconds(50), context => false, new ActionAlwaysSucceed()),
new Action(context => _isBehaviorDone = true)
)
)
)
);
}
public override bool IsDone { get { return _isBehaviorDone; } }
public override void OnStart()
{
// This reports problems, and stops BT processing if there was a problem with attributes...
// We had to defer this action, as the 'profile line number' is not available during the element's
// constructor call.
OnStart_HandleAttributeProblem();
if (!IsDone) { }
}
#endregion
}
}
Das kann ich dir nicht genau sagen, aber bei mir braucht HB auf jedenfall mehr CPU. Ich weiß ja nicht was du für einen Pc hast.Einfach mal testen mit der Beta.Quote:
Das ja gut aber honorbuddy friest eigentlich auch sehr wenig aber bei mir lagg dann wow heftiger weise.
Lagg es bei dir auch mit dem NemesisBot?
Und kann man schon die beta testen?Quote:
Das kann ich dir nicht genau sagen, aber bei mir braucht HB auf jedenfall mehr CPU. Ich weiß ja nicht was du für einen Pc hast.Einfach mal testen mit der Beta.
Ahja und das wird Bots, welche ein statisches und sequentielles Profil nutzen, nicht passieren? Stimmt - sie würden einfach weiterlaufen und Zeug machen, welches überhaupt keinen Sinn macht. TOP!Quote:
Da sieht man aber wieder das bei HB 10 Umwege gehen muss, um sowas simples umzusetzen. Quest behavior kack schreiben etc als normaler leihe der keine lust und zeit hat sich damit zu befassen hat dort schon verloren.
Hier noch mal ein tolles bsp wie afk HB läuft :D 20 leute an einem spot.
[Only registered and activated users can see links. Click Here To Register...]
Anscheinend noch nicht...Quote:
Die Zeit von MoveForward(), Sleep(500) (aka AutoIt) sind vorbei
new Action(context => KeyboardManager.PressKey((char)KeyboardManager.eVirtualKeyMessages.VK_UP)), new WaitContinue(TimeSpan.FromMilliseconds(50), context => false, new ActionAlwaysSucceed()),
Pseudocode:Quote:
Anscheinend noch nicht...
Code:new Action(context => KeyboardManager.PressKey((char)KeyboardManager.eVirtualKeyMessages.VK_UP)), new WaitContinue(TimeSpan.FromMilliseconds(50), context => false, new ActionAlwaysSucceed()),
const float TOLERANCE = 1.0f;
var loc = Me.Location;
JumpForwardStart();
while(loc.Distance3DFrom(Me.Location) < TOLERANCE)
{
Thread.Sleep(1);
}
JumpForwardEnd();
jo und wenn er den Sprung nicht schafft hast ne schöne Endlosschleife.Quote:
Pseudocode:
So würde das ein schlauer Entwickler machen :rolleyes:Code:const float TOLERANCE = 1.0f; var loc = Me.Location; JumpForwardStart(); while(loc.Distance3DFrom(Me.Location) < TOLERANCE) { Thread.Sleep(1); } JumpForwardEnd();
:) :handsdown:Quote:
OK!!!!
Wir werden es jetzt so machen das wir die Rotations Funktion anbieten und zusätzlich CC!
So mit ist es möglich das ihr einfach selber entscheidet was ihr haben möchtet!
ob wir das noch vor den 28.12 schaffen weiß ich noch nicht, aber wir geben uns mühe!
:)
Liebe grüsse
Gringo
Gibt es eigentlich noch eine Antwort bzgl meiner angebotenen Profil-Hilfe vor dem BETA-Release?Quote:
@MaK-88
Da musst du dich an den Admin wenden. Email steht auf der HP!
if (Me.Discovered.Flightpoint.ID(xxxx)) {
mach mit dem normalen Profil weiter;
}else{
gehe zum Flugmeister und aktiviere den Flugpunkt;
mache mit dem normalen Profil weiter;
}