Has anyone gotten PQR to run under Wine on Ubuntu? Just wondering if this is possible.
Has anyone gotten PQR to run under Wine on Ubuntu? Just wondering if this is possible.
i have something similar in my Interrupt profile so it can be used with both PQI and without. granted i dont have a fancy function do it for me but here is what i have. hopefully it helps you out some.
then at the top of my variables abilityPHP Code:
if IsAddOnLoaded("PQInterface") == 1 then
PQInterfaceLoaded = true
PQInterfaceVersion = tonumber(GetAddOnMetadata("PQInterface", "Version"))
if PQInterfaceVersion >= 2.22 then
PQInterfaceUpdated = true
else
PQInterfaceUpdated = false
end
else
PQInterfaceLoaded = false
PQInterfaceUpdated = false
end
if PQR_LoadLua("PQR_PQI.lua") == true then
PQInterfaceDataLoaded = true
else
PQInterfaceDataLoaded = false
end
another thing we could with this info is give out a generic PQI error. for examplePHP Code:
if not PQInterfaceLoaded or not PQInterfaceUpdated or not PQInterfaceDataLoaded then
--They dont have PQI or its not up-to-date use default values
--set all the variables to their defaults
elseif PQInterfaceLoaded and PQInterfaceUpdated and PQInterfaceDataLoaded then
--They have PQI and its up-to-date use PQI
--set all the variables to their PQI equivalent
end
Alpha Utilities - which requires PQI:
Alpha Interrupt - Does not require PQI:PHP Code:
--Let the know that they dont have PQI!
if not PQInterfaceLoaded and not PQI_AlphaUtilities_UpdateError_sent then
print("|cff00ffff<|cff00aaffAlpha Utilities Error|cff00ffff> |cffb048f8 PQInterface was not detected, please install both the Addon and the PQR Data File to use this profile!")
print("|cffb048f8Download the latest version and follow the installation instructions at the bottom of this page: |cffffffffhttp://PQRotation.wikia.com/wiki/PQInterface")
print("|cffDC143CAlpha Utilities has been halted!")
PQI_AlphaUtilities_UpdateError_sent = true
end
--Let them know that they have an old version of PQI and need to update!
if PQInterfaceLoaded and not PQInterfaceUpdated and not PQI_AlphaUtilities_UpdateError2_sent then
print("|cff00ffff<|cff00aaffAlpha Utilities Error|cff00ffff> |cffb048f8 PQInterface was detected but not up to date, please update both the Addon and the PQR Data File to use this profile!")
print("|cffb048f8You can download the latest version from: |cffffffffhttp://PQRotation.wikia.com/wiki/PQInterface")
print("|cffDC143CAlpha Utilities has been halted!")
PQI_AlphaUtilities_UpdateError2_sent = true
end
--Let them know that they dont have PQR_PQI_Data.lua and where to get it!
if not PQInterfaceDataLoaded and PQInterfaceLoaded and PQInterfaceUpdated and not PQI_AlphaUtilities_UpdateError3_sent then
print("|cff00ffff<|cff00aaffAlpha Utilities Error|cff00ffff> |cffb048f8 PQInterface was detected and is up to date but you are missing the PQR Data File. This is required to use this profile!")
print("|cffb048f8Download the latest version and follow the installation instructions at the bottom of this page: |cffffffffhttp://PQRotation.wikia.com/wiki/PQInterface")
print("|cffDC143CAlpha Utilities has been halted!")
PQI_AlphaUtilities_UpdateError3_sent = true
end
PHP Code:
--Let them know that they have an old version of PQI and should update to use the rotation configure, profile will still work if they dont though!
if PQInterfaceLoaded and not PQInterfaceUpdated and not PQI_AlphaInterrupt_UpdateError_sent then
print("|cff00ffff<|cff00aaffAlpha Interrupt Error|cff00ffff> |cffb048f8 PQInterface was detected but not up to date, please update both the Addon and the PQR Data File to use the in-game options")
print("|cffb048f8You can download the latest version from: |cffffffffhttp://PQRotation.wikia.com/wiki/PQInterface")
PQI_AlphaInterrupt_UpdateError_sent = true
end
--Let them know that they dont have PQR_PQI_Data.lua and where to get it to use the rotation configure, profile will still work if they dont though!
if not PQInterfaceDataLoaded and PQInterfaceLoaded and PQInterfaceUpdated and not PQI_AlphaInterrupt_UpdateError2_sent then
print("|cff00ffff<|cff00aaffError|cff00ffff> |cffb048f8 PQInterface was detected and is up to date but you are missing the PQR Data File. This is required to use the in-game options")
print("|cffb048f8Download the latest version and follow the installation instructions at the bottom of this page: |cffffffffhttp://PQRotation.wikia.com/wiki/PQInterface")
PQI_AlphaInterrupt_UpdateError2_sent = true
end
Alpha Profiles: - All profiles with PQInterface support!
Alpha Interrupt: https://goo.gl/OLhGi - Ignore List, Random Percentage, Time Delays, & much More!
Alpha Utilities: https://goo.gl/rt7WA - Farming, Prospecting, Disenchanting, Milling, & Questing
Alpha Moonkin: https://goo.gl/gjxw0 - Optimized DPS Rotation for PvE, Mashup of 3 Profiles
Avery's Ret: https://goo.gl/GhurM - My take on Avery's outstanding Ret profile with PQI
Bump
Has anyone gotten PQR to run under Wine on Ubuntu? Just wondering if this is possible.
Bump
In your oppinion whats the best way to cancel own auras?
- - RunMacroText("/cancelaura xxxxxxxxxxx")
- - CancelUnitBuff(xxxx) (does it even work?)
or ist there another way?
anybody have the PTR offset for the new build 17331?
Need someone who will find them, i've found others, but without these mine wow keeps crashing after trying to start rotation.<CurMgr>0x462C</CurMgr>
<LocalGUID>0xF0</LocalGUID>
<FirstObject>0xCC</FirstObject>
<NextObject>0x34</NextObject>
<Descriptors>0x4</Descriptors>
<Obj_TypeOffset>0xC</Obj_TypeOffset>
<Obj_X>0x830</Obj_X>
<Obj_TargetGUID>0x28</Obj_TargetGUID>
<ClickTerrain>0</ClickTerrain>
Or i found something wrong,
Found these, but they are not working. :-D ,<CurrentWoWVersion>17331</CurrentWoWVersion>
<WoWVersionOffset>0xC6652F</WoWVersionOffset>
<PlayerName>0xEABE58</PlayerName>
<PlayerClass>0xEABFD5</PlayerClass>
<GetCurrentKeyBoardFocus>0xB9DC5C</GetCurrentKeyBoardFocus>
<GameState>0xD4D3FE</GameState>
<Lua_DoStringAddress>0x501BF</Lua_DoStringAddress>
<Lua_GetLocalizedTextAddress>0x40CD10</Lua_GetLocalizedTextAddress>
<CVarBaseMgr>0xB7E7A0</CVarBaseMgr>
<CVarArraySize>0x400</CVarArraySize>
<ObjMgr>0xC9F364 or 0xEABE18 ?</ObjMgr>
Last edited by leetspeaker; 08-27-2013 at 04:48 AM.
** Update on Function Progress **
Alright after thinking and working it all out... here's an update on the progress.... Might rename the Hotkey Variable in a little bit to make the Key Variable shorter (remove the _Key tail) but Hotkey support is working, as well as an updated way to check if the Variable is loaded or not
remember we need to rerun this function each pass through to catch all of the updates to the valuesPHP Code:
function PQI_Setup_Variables(tableName, Prefix) -- Name of the PQI Table, [Prefix you want to affix to Variable (Nova is default if left blank)]
local tableName = tableName
local Prefix = Prefix or "Nova"
if type(Prefix) ~= "string" then
Prefix = "Nova"
end
local PQI_String = string.format("%s_%s%s", "PQI", gsub(tableName.author, "%s", ""), gsub(tableName.name, "%s", ""))
if type(tableName.abilities) == "table" then
for i=1, #tableName.abilities do
local AbilitiesName = gsub(tableName.abilities[i].name, '%s', '')
local Variable = string.format('%s_%s', Prefix, AbilitiesName)
local PQI_String_Enable = string.format("%s_%s_%s", PQI_String, AbilitiesName, "enable")
local PQI_String_Value = string.format("%s_%s_%s", PQI_String, AbilitiesName, "value")
if _G[PQI_String_Enable] then -- This is to verify that PQI is fully loaded before trying to make the Variables
_G[Variable..'_Check'] = _G[tostring(PQI_String_Enable)] -- Output = Prefix_AbilityName_Check
_G[Variable] = _G[tostring(PQI_String_Value)] -- Output = Prefix_AbilityName
else
return false
end
end
end
if type(tableName.hotkeys) == "table" then
for h=1, #tableName.hotkeys do
local HotkeyName = gsub(tableName.hotkeys[h].name, '%s', '')
local Variable = string.format('%s_%s%s', Prefix, "Mod", HotkeyName)
local PQI_String_Enable = string.format("%s_%s_%s", PQI_String, HotkeyName, "enable")
local PQI_String_Key = string.format('%s_%s_%s', PQI_String, HotkeyName, "key")
if _G[PQI_String_Enable] then
_G[Variable..'_Check'] = _G[tostring(PQI_String_Enable)] -- Output = Prefix_ModAbilityName_Check
_G[Variable..'_Key'] = PQI:IsHotkeys(_G[PQI_String_Key]) -- Output = Prefix_ModAbilityName_Key
else
return false
end
end
end
return true
end
if not PQI_Setup_Variables(PQI_Healing_Druid, "Nova") then
return true
end
, but this thing is quick and i haven't had any issues with my internal testing so far
Next step is the Addon check... if i don't see any slow downs in operating speed, i'll add it in
This should be workable by most every dev out there.... remember to keep naming simple.... i haven't added any gsub patterns for removing anything other than spaces![]()
bu_ba_911: i am going to try this out asap. The addon check should not slow down anything because you do it only once when the profile starts and it is only sets up the values to a default value.
if (IsAddOnLoaded("PQInterface")) == nil then ...
What i want to avoid here is to type in manually the long variable names and set a value for them.
Edit: I have just read paintpauller's post he does the same.
P.S. does anyone have an idea how to collect these code snippets?
Last edited by Maxitor; 08-27-2013 at 07:35 AM.
Anyone have working offsets for 17331?
Anyone have the ptr offsets, been working on warrior/pally profiles on there, would really appreciate them.
Pally is pulling 220k on dummies, warrior 230k.
really excited for this patch, the cleave trinket is ridiculous, on some bosses I was pulling 600k+ at the end.
edit:
Pretty pleaseI will give you my profiles or make one for your class.
Last edited by averykey; 08-27-2013 at 11:41 AM.
My Svn - https://subversion.assembla.com/svn/averykeys-svn/