Anyone have a working 3.3.5 pve rogue profile? Assassination
Anyone have a working 3.3.5 pve rogue profile? Assassination
reup please??
Reuload please dropbox links don't work anymore, thanks.
I do not promise anything. I am researching and trying to get it to work properly the PQR 3.3.5 version for Warmane.
There are two offsets. It depends on whether it is a server or another.
Tested on Warmane (with Wow.exe patched. See download link). Works.
Tested on: Heroes WoW and PandaWoW. Works.Code:<?xml version="1.0" encoding="UTF-8"?> <Offsets> <CurrentWoWVersion>18414</CurrentWoWVersion> <WoWVersionOffset>0xC7B6EF</WoWVersionOffset> <PlayerName>0xEC4668</PlayerName> <PlayerClass>0xEC47F1</PlayerClass> <GetCurrentKeyBoardFocus>0xBB292C</GetCurrentKeyBoardFocus> <GameState>0xD65B16</GameState> <Lua_DoStringAddress>0x4FD12</Lua_DoStringAddress> <Lua_GetLocalizedTextAddress>0x414267</Lua_GetLocalizedTextAddress> <CVarBaseMgr>0xBA5DE8</CVarBaseMgr> <CVarArraySize>0x400</CVarArraySize> <ObjMgr>0xEC4628</ObjMgr> <CurMgr>0x462C</CurMgr> <ClntObjMgrGetActivePlayerObjAddress>0x4F84</ClntObjMgrGetActivePlayerObjAddress> <LocalGUID>0xE8</LocalGUID> <FirstObject>0xCC</FirstObject> <NextObject>0x34</NextObject> <Descriptors>0x4</Descriptors> <Obj_TypeOffset>0xC</Obj_TypeOffset> <Obj_X>0x838</Obj_X> <Obj_TargetGUID>0x16</Obj_TargetGUID> <ClickTerrain>0</ClickTerrain> </Offsets>
Code:<?xml version="1.0" encoding="UTF-8"?> <Offsets> <CurrentWoWVersion>18414</CurrentWoWVersion> <WoWVersionOffset>0xC7B20F</WoWVersionOffset> <PlayerName>0xEC4180</PlayerName> <PlayerClass>0xEC4309</PlayerClass> <GetCurrentKeyBoardFocus>0xBB244C</GetCurrentKeyBoardFocus> <GameState>0xD65626</GameState> <Lua_DoStringAddress>0x50236</Lua_DoStringAddress> <Lua_GetLocalizedTextAddress>0x414C74</Lua_GetLocalizedTextAddress> <CVarBaseMgr>0xBA5908</CVarBaseMgr> <CVarArraySize>0x400</CVarArraySize> <ObjMgr>0xEC4140</ObjMgr> <CurMgr>0x462C</CurMgr> <ClntObjMgrGetActivePlayerObjAddress>0x4FC6</ClntObjMgrGetActivePlayerObjAddress> <LocalGUID>0xE8</LocalGUID> <FirstObject>0xCC</FirstObject> <NextObject>0x34</NextObject> <Descriptors>0x4</Descriptors> <Obj_TypeOffset>0xC</Obj_TypeOffset> <Obj_X>0x838</Obj_X> <Obj_TargetGUID>0x16</Obj_TargetGUID> <ClickTerrain>0</ClickTerrain> </Offsets>
Last edited by saceralol; 09-01-2016 at 08:21 PM.
Are all the marksmen rotation for 3.3.5 bugged from this pack? cant get them to work
Guys could any of you help me? I'm desperately trying to get my PQR to heal Party targets.
I have PQR version 1.1.1 for WoW 3.3.5.
I can make it Heal myself with this code, i use Target: Player.
Now i try to make it heal other players, i use Target: Custom.local myHealth = 100 * UnitHealth("player") / UnitHealthMax("player")
if myHealth < 85 then
return true
end
end
I even tried:local target1 = group.tostring(1)
if 100 * UnitHealth("target1") / UnitHealthMax("target1") < 85 then
PQR_CustomTarget = target1
return true
end
end
or:PQR_CustomTarget = "player"
return true
end
or:PQR_CustomTarget = "Charactername"
return true
end
and none of those worked. so i assume i may have a misconception about how CustomTarget should work, or i made a scripting mistake.PQR_CustomTarget = mouseover
return true
end
Here is my full code: (i know i could do for loops but i thought maybe that was the error so i took it out...)
[Lua] local group = "party" local target1 = group.tostring(1) local target2 = gr - Pastebin.com
I would be so extremely glad if someone could help me. I tried everything. Please please and thanks :*
@Mindlag Hey bud, just a reminder that for wow 3.3.5, the API return values are different. As for PQR, you can just instead use the API CastSpellByName or CastSpellByID. For WotlK, keep in mind all spell ranks have their own spell ID. Fortunately, you can use CastSpellByName(GetSpellInfo(1234),"player") or CastSpellByName("spell name here","player") to cast the HIGHEST spell rank.
-The GetSpellInfo is an API, so in the "CastSpellByName(GetSpellInfo(1234),"player") " example, the API first return the name of the spellid inserted, then the API CastSpellByName takes that name from the API to cast the highest rank.
- If you want to cast lower spell ranks, specify with the spellID of that spell of it's rank OR use parenthesis around the rank (ex. CastSpellByName("Flash Heal(Rank 2)"),"player").
So... here's the list of everything I just talked about...
- CastSpellByID(1234,"player") cast spell id 1234 at player.
- CastSpellByName("spell name","player") cast spell name at player.
- CastSpellByName(GetSpellInfo(1234),"player") cast spell name of the spell ID 1234 obtained from GetSpellInfo at player.
Note: You can choose to omit "player" if you want to cast with no specific target or on yourself.
Here's an example of how you can use this instead of a custom target PQR spell execution:
Note: don't omit "return true", for the loop will move on to the next ability, causing PQR to simultaneously try to cast two abilities at once. Using "return false" essentially skips the ability.Code:local myHealth = 100 * UnitHealth("player") / UnitHealthMax("player") if myHealth < 85 then CastSpellByName("Greater Heal","player") return true end end
@saceralol, my PQR 3.3.5 is working fine and it's the same offset values as the one posted in your dropbox. Perhaps the profile has not been properly translated. API return values are different in wotlk.
Hello Numba1stunna1 and thank you very much for your answer.
Now this works great. I thought i had to return true for the spell to be executed, and return false for not executing the spell.
This code worked for me:
The problem i have now is how do i make it target my group members?local myHealth = 100 * UnitHealth("player") / UnitHealthMax("player")
if myHealth < 85 then
return true
end
end
Thanks again very much for helping me! I don't know where else to get help.. :/
The next step requires you to understand how to code in lua. Couple things to consider when making a heal bot. You need to check if you're in a group or raid, if the ally exists, if they are alive, and if they're in range of heal spells. You iterate a list of allies from 1 to the size of the party or raid. It is advised you sort the table of allies in a table from lowest HP to highest HP, that way the profile will prioritize to heal an ally in range with the lowest HP. Take a look at unit API functions: docs/api categories - World of Warcraft Programming: A Guide and Reference for Creating WoW Addons
That's what i did. I do not need to check for raid because i only will use it in 5 mans.
The only Problem i have is how to get the Bot to Target the party members.
See here:
Full code: [Lua] local group = "party" local target1 = group.tostring(1) local target2 = gr - Pastebin.com
Snippet:
local target1 = group.tostring(1)
if
UnitExists(target1)
and
UnitInRange(target1)
and
UnitIsCharmed(target1) == nil
and
UnitIsDeadOrGhost(target1) == nil
and
PQR_IsOutOfSight(target1) == false
then
if
target1hp < 80
and
target1hp < lowesthp
then
lowest = target1
lowesthp = target1hp
end
end
PQR_CustomTarget = lowest
end
@Numba1stunna1 I am currently translating some 3.3.5 profiles to English. But I will take time.
Can you reupload the last version of PQR for Cataclysm? I only have the 2.1.0, thank you.
@Mindlag
This is the one I use, works fine.
For your heals you need to use something like this:if UnitExists("target")
and UnitIsDead("target") == nil
and UnitIsFriend("player", "target")
and UnitCanCooperate("player","target")
then PQR_CustomTarget = "target"
PQR_CustomTargetHP = 100 * UnitHealth("target") / UnitHealthMax("target")
else
PQR_CustomTarget = "player"
PQR_CustomTargetHP = 100 * UnitHealth("player") / UnitHealthMax("player")
local group = "party"
local members = GetNumPartyMembers()
lowhpmembers = 0
local lowest = 100
if GetNumRaidMembers() > 0 then
group = "raid"
members = GetNumRaidMembers()
end
for i = 1, members, 1 do
local member = group..tostring(i)
local memberhp = 100 * UnitHealth(member) / UnitHealthMax(member)
if UnitInRange(member)
and UnitIsFriend("player", member)
and UnitIsDeadOrGhost(member) == nil then
if UnitGroupRolesAssigned(member) == "TANK" then memberhp = memberhp - 1 end
if UnitThreatSituation(member) == 3 then memberhp = memberhp - 3 end
if UnitBuffID(member, 53563) ~= nil then memberhp = memberhp + 7 end
if memberhp < 85 then lowhpmembers = lowhpmembers +1 end
if memberhp < lowest then
PQR_CustomTarget = member
lowest = memberhp
PQR_CustomTargetHP = 100 * UnitHealth(PQR_CustomTarget) / UnitHealthMax(PQR_CustomTarget)
end
end
end
end
Also you need to set the target to custom.if PQR_CustomTargetHP < 95 then
return true
end
Last edited by Beefkek; 09-13-2016 at 04:13 PM.