-
Posts
581 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by iMod
-
-
Here is the log
Quote[Spell] spellName=Mangle (Bear), Id found: 48564, Name found: Mangle (Bear), NameInGame found: Zerfleischen (Bär), know = False
The spell id is correct so why known = false?
-
I also have problems with a debuff as DK
Example: i'm trying to use icy touch only if the debuff "Frost Fever" does not exists.
public Spell FrostFever = new Spell("Frost Fever"); if(!this._target.HaveBuff(this.FrostFever.Id)) { // Use spell }
This does not work for me. If i replace the "this.FrostFever.Id" with the string "HaveBuff("Frost Fever")" it works.
This is the function i wrote for my spells but it wont work if the framework dont detect the debuff with id
private void UseSpell(Spell spell, bool canMove, List<uint> dependencies) { // Set current target this._target = ObjectManager.Me.TargetObject; // Valid? if (this._target.IsValid && spell.KnownSpell && spell.IsSpellUsable && spell.IsDistanceGood && !this._target.HaveBuff(dependencies)) { // Cast spell spell.Launch(canMove, true); } }
-
Horde would be awsome ^_-
-
Take a look in the plugin section there should be a plugin to clean your memory.
Maybe it helps
-
It also seems that the settings don't save if you are using the same value as the default
Example:
[Setting] [DefaultValue(80)] [Category("HealSettings")] [DisplayName("Rejuvenation")] [Description("Player health procent")] public int RejuvenationProcent { get; set; }
If i load the setting the first time the value is 0 and if i try to save the same value (80) it wont work but 81 or 79 is working.
-
Hm you could try to write a wrapper / loader where you can load the HB classes
-
As far i remember lazy raider was a bot base and WRotation should be equals to it
-
// Get player around us List<WoWPlayer> randomPlayer = new List<WoWPlayer>(); // Get specified player ObjectManager.GetNearestWoWPlayer(randomPlayer);
this code returns randomPlayer.Count == 0 even if there are player around me
Interact.InteractGameObject(ObjectManager.ObjectList.Single(o => o.Name == "CharName" && o.Type == WoWObjectType.Player).GetBaseAddress, false);
this code should target the player with the name "CharName" but in my test it doesnt target anything.
It seems that i'm doing something generally wrong. Hopefully someone can give me a hint.
-
var tank = getTanks(); WoWUnit target = ; Interact.InteractGameObject(target.GetBaseAddress); _wrath.Launch();
Thats why i said don't use var ^_-
// Get all available tanks List<WoWPlayer> tankList = getTanks(); // Get the first tank in the list WoWPlayer tank = tankList.First(); // Get the target of the tank WoWUnit target = tank.TargetObject; // Focus at target Interact.InteractGameObject(target.GetBaseAddress, true); // Use the skill _wrath.Launch();
It is way essiert to read ^_-
-
35 minutes ago, betterSister said:
otherwise good but now i can't get it to read the name from settings :/
Since when?
-
// Get tank WoWPlayer tank = // Get target WoWUnit target = tank.TargetObject; // Select target Interact.InteractGameObject(target.GetBaseAddress); // Do Spell
This is a quick and dirty example. Hope it helps.
-
Well i had no issues with it for one hour.
Druid Mangle (Bear) problem
in Fight Classes assistance
Posted
Well i will answer my self. Restart the game and the bot and you should be fine.
Thanks goes to betterSister for the tipp.