Jump to content

iMod

Elite user
  • Posts

    581
  • Joined

  • Last visited

Everything posted by iMod

  1. Take a look into the download section and you should be able to answer qour question by your self :) if you are looking for high performance fight classes you need to create one in c#.
  2. No one wants wrobot at the same level as hb. If you are a dev just go ahead and write your own profile editor. It is not that hard if you learn how to manipulate and work with xml in any language you prefer.
  3. Ich bin wie gesagt nicht so der Held in Sachen Editor ^_^ aber rein theoretisch einfach use item -> dazu brauchst du dann die item ID und dann condition wenn mana kleiner als 50. Kann auch sein das du das alles unter generell settings findest und es schon alles drin ist.
  4. Du denkst da glaube ich noch ein wenig falsch. Du musst dir das so vorstellen das essen ist auch nur ein "Skill" und die Liste wird einfach von oben nach unten durchgelaufen und schaut ob die Konditionen "true" ergeben oder nicht. Wenn true dann mach und wenn nicht geh zum nächsten in der skill liste. Was du also brauchst ist das benutzen von items(deinem essen / trinken) Du kannst das essen ect auch unter den Generell Settings einstellen und musst es nicht in deiner Routine machen. Dort musst du nur das herstellen abwickeln. Das er sich nicht heilt wird wahrscheinlich daran liegen das du in dem Heilskill nicht angegeben hast das er ihn auch benutzen soll wenn er nicht im Kampf ist(Siehe oben in SpellSettings)
  5. I see, I will give the modified wotlk exe a try that enables the use of more than 2gb memory. Hope that will help a bit.
  6. Dann gleich mal ein Tipp: Versuch am besten anhand der Tutorials eine eigenen Routine mit dem FightClass Editor zu erstellen, das bringt dir ein wenig Verständnis wie das ganze funktioniert. Fragen an sich versuche ich gerne zu beantworten, allerdings nur bedingt, weil ich selber den Editor nicht benutze, aber eine persönliche Erklärung bleibt leider aus. Dafuer haben wir hier in der Tutorial Sektion ganz tolle Video Tutorials, die das ganze beschreiben. Wenn ich mich nicht irre gibt es auch ein Plugin das sollch dinge löst. Ansonsten willkommen im forum ;)
  7. Interessant wäre wie du es momentan löst. Im grunde musst du nur die richtige condition haben. Ex: ItemCount(id) < 20 ... stelle was her. Ich gehe mal davon aus das du den FightClassEditor benutzt, da kenn ich mich leider nicht so gut aus aber in C# wäre das über den ItemManager zu realisieren.
  8. How comes that the bot needs that much lua memory? Sounds Like there is some stuff that dont get disposed o.o
  9. Du kannst droidz Mal nett fragen ob er dir einen Tag schenkt zum testen, er ist da sehr zuvorkommend. Ansonsten einfach erst mal die drei Tage nehmen.
  10. i'm using 4.5.2 and i also use the short strin.format or elvis and it works fine for me. You can place the cs into the FigthClass folder like the xml or ddl's
  11. Check the wow API if there is an event that does what you are looking for.
  12. For what do you need some source? Where are your problems?
  13. !TraceLine.TraceLineGo(target.Position) For some reasons if it is false you are able to see the object. Ask as much as you want because thats what the forum is for
  14. You are welcome. For the distance issue you could use something like (ObjectManager.Me.Position.DistanceTo(target.Position) <= spell.MaxRange)
  15. Well i'm using a bit different method. I'm searching the player object first, validate it and using its name, works fine for me without party. This is the way I use to cast a heal spell: /// <summary> /// Cast a heal /// </summary> /// <param name="spell">The heal you want to cast</param> /// <param name="target">The target you want to heal</param> /// <param name="healthProcent">The health procent we want to heal</param> /// <param name="canMove">Indicates if we are able to move</param> /// <param name="buffTimeLeft">Recast if buff is under the given time</param> /// <param name="stacks">How much stacks you want at the target</param> /// <param name="debuff">The debuff we are looking for</param> /// <param name="owner">Flag that determines if we need to be the owner</param> /// <returns>Returns true if we can cast the spell otherwise false</returns> public static bool CastHeal(Spell spell, WoWUnit target, int healthProcent = 100, bool canMove = true, double buffTimeLeft = 0, int stacks = 0, Spell debuff = null, bool owner = true) { // Check if the spell is known if (!IsSpellKnown(spell)) { // Skip return false; } // Need heal? if (target.HealthPercent > healthProcent) { // Skip return false; } // Are we allowed to move? if (ObjectManager.Me.GetMove == true && !canMove) { // Skip return false; } // Wait until global cooldown is done Thread.Sleep(SpellManager.GlobalCooldownTimeLeft()); // Check if buff exists bool hasDebuff; if (debuff != null) { hasDebuff = Functions.HasBuff(debuff, target, buffTimeLeft, stacks, owner); } else { hasDebuff = Functions.HasBuff(spell, target, buffTimeLeft, stacks, owner); } // Validate spell if (!ObjectManager.Me.IsStunned && !ObjectManager.Me.IsDead && !ObjectManager.Me.IsCast && !target.IsDead && spell.IsSpellUsable && spell.IsDistanceGood && !hasDebuff && !TraceLine.TraceLineGo(target.Position)) { if (target.Guid == ObjectManager.Me.Guid) { // Cast on self Lua.LuaDoString($"CastSpellByID({spell.Id}, \"player\")"); } else { // Cast on target Lua.LuaDoString($"CastSpellByID({spell.Id}, \"{target.Name}\")"); } // Log Logging.WriteDebug($"Cast: {spell.NameInGame}"); // Return return true; } // Return return false; } You need to find another way for spell.IsDistanceGood to validate the distance since we don't have a target. To get the party member I'm using Party.GetPartyHomeAndInstance().Where(p => p.Type == WoWObjectType.Player) May its a way that works for you.
  16. You don't need to be in a party the only thing you need is a valid WoWUnit/Player object. No clue about your other problem never had such issue.
  17. You dont need 2 Keys from the same IP. It Looks Like the bot had Problems to Connect to the auch Server.
  18. Yes it is possible if (target.Guid == ObjectManager.Me.Guid) { // Cast on self Lua.LuaDoString($"CastSpellByID({spell.Id}, \"player\")"); } else { // Cast on target Lua.LuaDoString($"CastSpellByID({spell.Id}, \"{target.Name}\")"); }
  19. If you want to check if more than one Quest is done Just use Quest.GetLogQuestIsComplete(11111) && Quest.GetLogQuestIsComplete(22222);
  20. Sometimes you have to Install older frameworks ,too. Like 4.5
  21. Those are hb functions that could be implemented into your figth class for example. Has nothing todo with this plugin. Alt+X would stop the whole routine plus plugin if you are looking for such stuff.
  22. Hope that works. RealmHop.dll RealmHopSource.zip
  23. well i would add a while ObjectManager.Me.IsCast. Not sure if that works since i'm not that good in making quests.
  24. I took a Look into the Plugin and we need to wait for @Droidz to implementiert 3 Events, everything Else is done. Solved: I was using the wrong dll version
  25. Cast time should give you the time you need to cast, but i never used it. Timer is just a .net class nothing special. you can use it to make sure that you dont cast a spell until the timer countdown is done for example.
×
×
  • Create New...