can anyone share the new Skill Ids please ?
Select Target by ID (AHK):
_TargetNPC(ID,p)
{
Global
createMemoryPointers(p)
getNPCList(p)
Sleep, 500
Loop % NPCList.MaxIndex()
{
if NPCList[(A_index-1),"1"] = ID
{
Target := NPCList[(A_index-1),"0"]
selectTarget(Target, p)
Return
}
}
}
getNPCList(p)
{
Global
NPCList := Object()
i = 0
COUNT := ReadMemory(NPCBase_Pointer + NpcCounterOffset, p)
Count := Count +30
Loop %COUNT%
{
UNIT := ReadMemory(NPCList_Pointer + i*0x4, p)
NPCList[i, "0"] := ReadMemory(UNIT + NpcUIDOffset, p) ;Unique ID
NPCList[i, "1"] := ReadMemory(UNIT + NpcIDOffset, p) ;pwdatabase.com ID
NPCList[i, "3"] := ReadMemory(UNIT + NpcLVLOffset, p) ;Level
NPCList[i, "4"] := Round((IntToFloat(ReadMemory(UNIT + XposOffset, p))+4000) / 10 ,2) ;X Coord
NPCList[i, "5"] := Round((IntToFloat(ReadMemory(UNIT + YposOffset, p))+5500) / 10 ,2) ;Y Coord
NPCList[i, "6"] := Round((IntToFloat(ReadMemory(UNIT + ZposOffset, p))+0) / 10 ,2) ;Z Coord
NPCList[i, "7"] := ReadMemory(UNIT + NpcMoveModeOffse, p) ;Move Mode
NPCList[i, "8"] := Round(10*sqrt((getX(p) - NPCList[i, "4"])**2+(getY(p) - NPCList[i, "5"])**2+(getZ(p)-NPCList[i, "6"])**2) ,2)
NPCList[i, "9"] := ReadMemory(UNIT + NpcHPOffset, p) ;HP
NPCList[i, "10"] := ReadMemory(UNIT + NpcHPmaxOffset, p) ;Max HP
NPCList[i, "11"] := ReadMemory(UNIT + NpcTargetModeOffse, p) ;Target
NPCList[i, "13"] := ReadMemory(UNIT + XposOffset, p) ;X Coord
NPCList[i, "14"] := ReadMemory(UNIT + YposOffset, p) ;Y Coord
NPCList[i, "15"] := ReadMemory(UNIT + ZposOffset, p) ;Z Coord
tmpName :=
tmpNameNPC :=
tmpArray := NPCList[i, "1"]
tmpName := $MONSTER_DESC_%tmpArray%
tmpNameNPC := $NPC_DESC_%tmpArray%
if StrLen(tmpName) > 0
{
NPCList[i, "2"] := tmpName
NPCList[i, "12"] := "MOB"
}
if StrLen(tmpNameNPC) > 0
{
NPCList[i, "2"] := tmpNameNPC
NPCList[i, "12"] := "NPC"
}
if (StrLen(tmpNameNPC) = 0) AND (StrLen(tmpName) = 0)
{
NPCList[i, "2"] := "N/A"
NPCList[i, "12"] := "N/A"
}
i++
}
Return
}