-
Posts
581 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by iMod
-
-
Yeah would be nice if we had a list with all changes and not just the "big" one. Like the change that there are now 10 objects in the quest profile and not 5 anymore. I'm working at some tools and it is like try and error if we have no full change list.
- Runaro, Drwolftech and BetterSister
- 3
-
-
Quote
CastSpellByID(spellID, "focus");
CastSpellByID(spellID, "PlayerName");
At the end take a look at the wowapi there is alot you can do.
-
23 minutes ago, xerian said:
I did that:
In the chat i paste /script SetRaidDifficulty(1); and nothing. Tied numbers 1-4
You tried it in a raid (not dungeon) group as leader?
-
Just now, xerian said:
I think yes :D
try it out and if yes it also should be possible to use lua(wowapi).
-
1 hour ago, xerian said:
Private 6.2.3
Are addons working at that server?
-
if i'm not wrong it is impossible if you are not able to use the wowapi. Are you playing at the offical or private server?
-
17 hours ago, xerian said:
I can't reset instance by plugin resetinstances. The option "reset instances" don't work on this server. Only work if i swap 25/10.
@Dreamful I'm very green, could you send me a screenshot how to do it? or explain me?
If you want to swap, you can use the wow api
http://wowwiki.wikia.com/wiki/API_SetRaidDifficulty -
1 hour ago, xerian said:
Hi,
Can someone make a plugin which will be swaping between mode 25/10 ppl, when the char will left instance?
Do you really need to swap or is it enough to reset the instance?
You could use the chat plugin to reset it via lua " ResetInstances()" -
I see, i really have no clue about that xml stuff and its abilities. If you are able to use c# you can realize everything you want.
-
You should maybe add some more validations like "is target in range" or "is target visible" this is kinda just the basic
-
WoWPlayer resutarget = Party.GetParty().FirstOrDefault(p => !p.IsAlive && p.IsValid); if(resutarget != null) { // Target player Interact.InteractGameObject(resutarget.GetBaseAddress); // Use spell new Spell("SpellName").Launch(true); }
This should work but not tested.
-
This will be my first try ;) if someone has another idea just let me know
GetUnits(int range) is a method that returns a list of all mobs around you.
The goal is to check those mobs if we own 100% threat and if not we will interact with them if we still don't have them in the target./// <summary> /// Switch to the target with the lowest threat /// </summary> /// <param name="range">The range we want to search for</param> public static void SwitchTargetByThread(int range) { Dictionary<WoWUnit, int> targets = GetUnits(range).ToDictionary(t => t, t => GetThreat(t)); targets.OrderBy(t => t.Value); // Skip? if (targets.All(t => t.Value == 100)) { return; } // Get target with the lowest threat KeyValuePair<WoWUnit, int> target = targets.FirstOrDefault(); // Any target and is not our current target? if (target.Key != null && !target.Key.IsMyTarget) { Logging.WriteDebug($"Switching target: {target.Value}% threat."); // Target the mob Interact.InteractGameObject(target.Key.GetBaseAddress, !ObjectManager.Me.GetMove); } } /// <summary> /// Switch to the target with the lowest threat /// </summary> /// <param name="range">The range we want to search for</param> public static void SwitchTargetByThread(int range) { Dictionary<WoWUnit, int> targets = GetUnits(range).ToDictionary(t => t, t => GetThreat(t)); targets.OrderBy(t => t.Value); // Skip? if (targets.All(t => t.Value == 100)) { return; } // Get target with the lowest threat KeyValuePair<WoWUnit, int> target = targets.FirstOrDefault(); // Any target and is not our current target? if (target.Key != null && !target.Key.IsMyTarget) { Logging.WriteDebug($"Switching target: {target.Value}% threat."); // Validate target if (target.Key.IsValid && !target.Key.IsDead) { // Target the mob Interact.InteractGameObject(target.Key.GetBaseAddress, !ObjectManager.Me.GetMove); } } }
-
Thanks i will try it later.
-
I'm trying to get the UnitID from my UnitObject to get the threat
public static int GetThreat(WoWUnit target) { return Lua.LuaDoString<int>($"local _, _, threatpct, _, _ = UnitDetailedThreatSituation(\"player\", \"{target.Guid}\"); return threatpct;"); }
Hope someone can give me a clue what Guid means and BaseAddress.
-
Well in the theory you could create a plugin that checks the durability of each equiped item in a specified interval
Lua:current, maximum = GetContainerItemDurability(bag, slot);
Pseudo:
foreach item
if the item is under durability % use hearthstone -
1 hour ago, dgnlcr said:
Hello all i have some questions
1-is it work 64 bit
2-is the combat routines good
3-is it make fps down ?
thanks for answers
1-is it work 64 bit -> No (Edit. Thought you mean the host system)
2-is the combat routines good -> If you have special needs you need to create your own one.
3-is it make fps down ? Sometimes but not verry often
-
-
24 minutes ago, LunaAlfie said:
Just trying to figure of, if there is a way to auto spot off mobs from healers and dd`s but not from tanks :)
Just in C# or LUA if i'm not wrong.
-
1 hour ago, Bimmel said:
there is here a horde death knight with unholy ? need help with fightclass. sry my english ist not the best.
can someone explain how it works with the magic and attacking.
German: Könnte mir das jemand kurz erklären ?Was genau möchtest du wissen?
-
9 minutes ago, LunaAlfie said:
Thank you very much. That helped me making a 30k dps frost dk rotation, but then again i`m only low geared, so i could even be better.. Maybe you have the time and willingness to look over it? :)
Oh and the last thing: WRotation is still not working -> At least not when i attack Training Dummies.. Is there any information anywhere about that?Just post it and let the community check it ;) i'm just interessted at 3.3.5a stuff.
-
Just setup the spell condition o.O
"Target Buff Casted By Me" checks if the target has a defined buff/debuff.
"Buff Stack Target" does what you where looking for.
-
-
On 29.6.2016 at 10:01 PM, kobo said:
Well the problem is when I as a melee support a lets say hunter.
Can you release the source code so we can take a look at it and test it for ourself?
ThanksIf i'm at home in around a week i can give you the source, sure.
Use Item with AoE
in Quester assistance
Posted
i'm not sure if i understood the question right but if you want to use such items or spells here is an example in c#
ClickOnTerrain.Spell(SpellID, this.Me.TargetObject.Position); ClickOnTerrain.Item(ItemID, this.Me.TargetObject.Position);
I think it is not possible to auto detec if the item needs a cursor or not but i never took a look at such scenario.