Hello everyone,
haven't been on for a long time due to real life stuff.
I just updated my offsets some with
Starks offsetlist and others with
Kruger and my own
searching. Thx everyone :)
However to add my Tribute.
Here is the Partyinv Offset etc.:
PARTYINV_ADDRESS=0xE5C0C8
UnfreezeOffset=0x508
PlayerParty_Offset=0x820
QuestList_Offset=0x15CC ; before 0x1554
PlayerCurrentSkill=0x83C ;skill used or not atm
The new Glyph system has different cooldowns which can be found the following way:
Code:
Func CheckCooldown($SKILL_ID, $GAME_PROCESS, $type)
;~ Type
;~ 0 = None
;~ 1 = Glyphs
$ADDRESS_BASE = IniRead(@ScriptDir & "\IniLogs\Offsets.ini", "Offsets", "ADDRESS_BASE", "")
$PlayerOffSet = IniRead(@ScriptDir & "\IniLogs\Offsets.ini", "Offsets", "PlayerOffSet", "")
$PlayerSkill_Offset = IniRead(@ScriptDir & "\IniLogs\Offsets.ini", "Offsets", "PlayerSkill_Offset", "")
$SkillID_Offset = IniRead(@ScriptDir & "\IniLogs\Offsets.ini", "Offsets", "SkillID_Offset", "")
$SkillCurCooldown_Offset = IniRead(@ScriptDir & "\IniLogs\Offsets.ini", "Offsets", "SkillCurCooldown_Offset", "")
$PlayerSkill_Offset_Glyphs = IniRead(@ScriptDir & "\IniLogs\Offsets.ini", "Offsets", "PlayerSkill_Offset_Glyphs", "")
$Player = _MemoryRead(_MemoryRead(_MemoryRead($ADDRESS_BASE, $GAME_PROCESS) + 0x1C, $GAME_PROCESS) + $PlayerOffSet, $GAME_PROCESS)
If $type = 0 Then
$skillOffset = $PlayerSkill_Offset
ElseIf $type = 1 Then
$skillOffset = $$PlayerSkill_Offset_Glyphs
EndIf
$SkillBase = _MemoryRead($Player + $skillOffset, $GAME_PROCESS)
$skillCount = _MemoryRead($Player + $skillOffset + 0x4, $GAME_PROCESS)
For $i = 0 To $skillCount - 1
$skill = _MemoryRead($SkillBase + 4 * $i, $GAME_PROCESS)
$ID = _MemoryRead($skill + $SkillID_Offset, $GAME_PROCESS)
If $ID == $SKILL_ID Then ExitLoop
Next
$cooldown = _MemoryRead($skill + $SkillCurCooldown_Offset, $GAME_PROCESS)
If $cooldown > 0 Then Return 1
Sleep(100)
Return 0
EndFunc ;==>CheckCooldown
Here are the Offsets for the Function:
ADDRESS_BASE=0xE4BAB0
PlayerOffSet=0x34
PlayerSkill_Offset=0x15F0
PlayerSkill_Offset_Glyphs=0x1668
SkillID_Offset=8
SkillCurCooldown_Offset=16
The function was once from
jasty, if i remember right. Just tweaked it. The way to use it is simple, cooldown check for normal skills(with no glyph) as following:
CheckCooldown($SKILL_ID, $GAME_PROCESS,
0)
With Glyphs change the 0 to 1:
CheckCooldown($SKILL_ID, $GAME_PROCESS,
1)
The Structure of the glyph skillcooldown, id etc is the same as with the normal ones. They start at 1668+0 and go up to 1668+8 as we currently only have 3 Glyph spots free. Just take a look at it with ReClass. Should be easy, else i can provide screens.
Hope that helps :)