Hmm, how exactly is the LuaUnlocker used to get PQR to work? Also is the 17331 and 17345 offset the same except the CurrentWoWVersion? If not, does anyone have a working offset for 17345?
Last edited by Cikapaja; 08-31-2013 at 04:10 AM.
i used a patterns, offsets is moved, but it found via pattern - thats why
exactly is no way to take in the target Direhorn Spirit or Humming Crystal or any other NPC except using localized name in macro?
RunMacroText("/command "..name) works for spells, group or raid, but with localized names have a problem.
When updating profile via SVN Cyrillic text turns into something horrible RunMacroText("/targetexact Дух дикорога")![]()
Last edited by WWF; 08-31-2013 at 06:58 AM.
this is the code i use for horridon heroic it works great
for heroic tortosCode:local horridon_locals = {"Terrorhorngeist","Direhorn Spirit","Espíritu de cuernoatroz","Esprit de navrecorne","[Direhorn Spirit]","??? ?????}???"} local unitLast = UnitName("target") if UnitDebuffID("player",140946) then if not UnitExists("focus") then for i=1,#horridon_locals do if UnitExists("target") then if UnitName("target") ~= horridon_locals[i] then unitLast = UnitName("target") TargetUnit(horridon_locals[i],true) else print("Target acquired!") RunMacroText("/focus target") if unitLast ~= UnitName("target") then TargetLastTarget() end end else TargetUnit(horridon_locals[i],true) end end end end if UnitExists("focus") then if CheckInteractDistance("focus", 4) then if PQR_SpellAvailable(GetSpellInfo(45524)) then CastSpellByName(GetSpellInfo(45524), "focus") return true end end end
local HP = UnitHealth("player") / UnitHealthMax("player") * 100
local val = 90
Code:if not UnitDebuffID("player",137633) and HP >= val then RunMacroText("/target Humming Crystal") if UnitPower("player") >= 40 then CastSpellByName(GetSpellInfo(47541), "target") TargetUnit("boss1") return true elseif PQR_SpellAvailable(45524) then CastSpellByName(GetSpellInfo(45524), "target") TargetUnit("boss1") return true end end
так не один профиль не работает вот в чём соль
so no one profile does not work here's the salt
Even in your code this problem.
TargetUnit(horridon_locals[i],true) or RunMacroText("/target Humming Crystal") it does not matter,
because in any case is used localized name "Terrorhorngeist","Direhorn Spirit","Espíritu de cuernoatroz","Esprit de navrecorne" or "Дух дикорога" from table or right in macro text.
I certainly can create a table with the names translated into all supported languages... but this is a bad solution and will not solve my problem.
may be SVN repository supporting Cyrillic can help me, while it is impossible to take in the target by ID or get localized name with function by ID. So sad.
artyom777 проверь личку!
Last edited by WWF; 08-31-2013 at 10:06 AM.
Is it possible to throw bombs onto General Pa'valak (challenge mode) through PQR?
I'm aware of it being able to interact with for example a battleground's flag, and if a similar thing was possible with the bombs then it'd be able to throw it at the mouse-over...
However, I'm not capable of coding this myself from scratch...
Any help would be appreciated.
I have no idea what you are talking about, I'm kinda green with stuff like that. LuaUnlocker pattern?
Allright, I have downloaded the LuaUnlocker you posted, I have the latest PQR. I know how to use PQR, but I have no clue how to make it work with the LuaUnlocker/pattern(where do I get the pattern?) on current 5.4 PTR.
If it's not too much asked any help on how to make it work would be great. (and preferably not in Russian)
LuaUnlocker doesn't enable PQR.. it's a different mechanism.
PQR has been down for 2 PTR builds now -- there's something that has changed, so that PQR is crashing even if the correct offsets are found and used.
Until Xelper has some time to publish a new PQR release, we're probably not going to be in good shape on the PTR...
He's been real good updating live, and hasn't been focusing a lot on PTR.
Just a Heads Up.... http://www.ownedcore.com/forums/worl...ml#post2829542 ([PQR] Nova Team Profiles)
I will not discuss any of my Mini Projects or Profiles in the main thread from now on... I may post Updates... but it shall forever be in the form as shown here.... (A link to my actual announcement) ENJOY EVERYONE!!!!