Hi, thanks for this awesome tool!
About ounits, could you make it dump the units?
Thanks!
EDIT: Could you add MoveTo Also?
Hi, thanks for this awesome tool!
About ounits, could you make it dump the units?
Thanks!
EDIT: Could you add MoveTo Also?
Last edited by MrTheSoulz; 12-01-2014 at 12:52 AM.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
After selecting PID and pressing Attach - nothing happens and program quits
.net, vs.redist, admin rights, fresh wow install, x86 - all in place.
Any debug mode ?
All i would need in my case would be the unit guid.
We offten on PE use units around do to fancy stuff like automated dotting, heres an example using Firehack code:
Cache:
A function using the cache:Code:mts_unitCache = {} local function cache() wipe(mts_unitCache) if FireHack then -- Use FireHack objects manager for i=1, totalObjects do local totalObjects = ObjectCount() local object = ObjectWithIndex(i) if ObjectExists(object) then if ObjectIsType(object, ObjectTypes.Unit) and ProbablyEngine.condition["distance"](object) <= 40 and ProbablyEngine.condition["alive"](object) then table.insert(mts_unitCache, object) end end end else -- Cache Party/Raid Targets local groupType = IsInRaid() and "raid" or "party" for i = 1, GetNumGroupMembers() do local target = groupType..i.."target" if ProbablyEngine.condition["alive"](target) and UnitAffectingCombat(target) and not UnitIsPlayer(target) then if ProbablyEngine.condition["distance"](target) <= 40 then table.insert(mts_unitCache, target) end end end end end
If you could add that, we could include offspring support on this kind of stuffCode:SWD = function() for i=1,#mts_unitCache do if mtsLib.immuneEvents(mts_unitCache[i]) and ProbablyEngine.condition["health"](mts_unitCache[i]) <= 20 and UnitAffectingCombat(mts_unitCache[i]) and UnitCanAttack("player", mts_unitCache[i]) and not UnitIsPlayer(mts_unitCache[i]) then if ProbablyEngine.parser.can_cast(32379, mts_unitCache[i], false) then if mtsLib.infront(mts_unitCache[i]) and LineOfSight(mts_unitCache[i], "player") then ProbablyEngine.dsl.parsedTarget = mts_unitCache[i] return true end end end end return false end,
Last edited by MrTheSoulz; 12-01-2014 at 03:44 PM.
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
When using oclick, is there anyway you could clear the mouse after its done?
Like for example, a spell like Priest 'Angelic Feather' has 3 chargers so after using it once if the spell still has charges it will stay on the mouse and hang the rotation until the user manualy clears it.
Thanks once again!
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
anyway lua api needs a unitid for casting (e.g. 'target', 'focus', 'boss2' and etc), if i implement objectmanager its return guids and other info but not unitids
how you will cast then? thats why i ask
i think in the second example mts_unitCache contains a list of any possible enemy unitids, like a boss1-5, arena1-5, target, units targets, mouseover and etc. it easy doable using lua
about oclick - check SpellIsTargeting() and use SpellStopTargeting() after cast to clear cursor. if was trying to clear it automatically, but there some troubles with timing and throw crashes sometimes
In my cache, i store all units around me (40 yards) friendly or enemie.
Then with another function like i one i sent, SWD (Shadow word: death), i use the units from the cache to do futher "condicions" like if unit is enemie, health etc, etc and if the unit meets the "condicions" i target it and cast something.
Ive sent in PM a link containing details on how the FH functions work to see if it can explain better then me :P
Using your words: "Sorry for my "great" english." :P
Thanks!
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety.
I cant get this to even work. I got all the requirements. I click to run as admin. at first it just crashes the game after that, nothing happens. I even checked my anti virus bitdfender but it doesnt even detect it at all. So I have no clue what to do
game crashed after relogin :confused:
if you full logout but wow window still opened - it will, still trying to fix it
i click attached and nothing happens
what I need for a monk rotation work?
I downloaded many profiles and none of them run so far
where I see the errors?
Can someone explain this for complete noobs? Say I wanted to run
/run if not UnitBuff("player", "Enrage") and (GetSpellCooldown("Berserker Rage") == 0) then CastSpellByName("Berserker Rage") end
How would I do this with offspring?