EDIT: updated offsets to v938.. was v936
#include-once
Global $ADDRESS_BASE = 0xe5b2e4
Global $ADDRESS_SENDPACKET = 0x81f610
Global $ADDRESS_AUTOPATH = 0x4596e0
Global $ADDRESS_ACTION1 = 0x4c87e0
Global $ADDRESS_ACTION2 = 0x4cecd0
Global $ADDRESS_ACTION3 = 0x4c8dd0
Global $ADDRESS_GATHER = 0x4be060
Global $ADDRESS_CASTSKILL = 0x4b60d0
Global $ADDRESS_REGATTACK = 0x4bdf20
Global $PARTYINV_ADDRESS = 0xe67cc8
Global $ADDRESS_INSTANCE_BASE = 0xe5ba8c
Global $MACRO_ADDRESS_BASE = 0xe5c3b6
Global $OFFSET_ACTIONBASE = 0x1500
Global $ADDRESS_CHAT_BASE = 0xe615c8
Global $GameRun = 0xe5b74c
global $Player_Offset = 0x34
global $playerIDOffset = 0x4B8
global $PlayerClass_Offset = 0x700
global $PlayerName_Offset = 0x6FC
global $PlayerParty_Offset = 0x7CC
global $PartyCount_Offset = 0x18
global $PlayerCurrentSkill_Offset = 0x7E8
global $playerEquipOffset = 0x5b0
global $PlayerAvatarBag_Offset = 0x10EC
global $InventoryListOffset = 0x10A0
global $EquippedListOffset = 0x10A4
global $QuestInvListOffset = 0x10A8
global $PlayerNpcWindow = 0xEAE
global $PhysPosOffset = 0x72C-0x40
Global $QuestList_Offset = 0x1508
global $PlayerEarningTime_Offset = 0x1730
global $PlayerMoveCounter_Offset = 0xae0
global $PlayerTransportMode_Offset = 0x708
global $PlayerSwimSpeed_Offset = 0x530
global $PlayerWalkSpeed_Offset = 0x530+0x4
global $PlayerFlySpeed_Offset = 0x530+0xC
global $PlayerCamX_Offset = 0x98C
global $PlayerCharmActive_Offset = 0x1738
global $PlayerCharmActive_MagBit = 0x10000
global $PlayerCharmActive_PhysBit = 0x100
global $PlayerCharmCooldown_Offset = 0xC1C
;~ #-------- NPC ----------------#
global $NpcListOffset = 0x20
global $sortedNpcListOffset = 0x5c
global $NpcCounterOffset = 0x18
global $NpcUIDOffset = 0x114
global $NpcIDOffset = 0x118
global $NpcNameOffset = 0x25C
global $NpcLVLOffset = 0x120
global $NpcHPOffset = 0x128
global $NpcHPmaxOffset = 0x17C
global $NpcStatusOffset = 0x210
global $NpcSpecialOffset = 0x24C
global $NpcX = 0x3C
global $NpcY = 0x44
global $NpcZ = 0x40
;global $NpcBuffCountOffset = 0x32C
global $NpcStatusBitDead = 0x80
global $NpcStatusBitIncSpeed = 0x100
global $NpcStatusBitIncDef = 0x300
global $NpcStatusBitIncAtt = 0x500
global $NpcStatusBitSacAss = 0x700
global $NpcStatusBitIncLife = 0x800
global $NpcStatusBitWeak = 0x900
global $NpcStatusBitIsPet = 0x1000
global $NpcStatusBitIsNpc = 0x4000
global $NpcStatusBitIsFly = 0x10000
global $NpcStatusBitIsWater = 0x20000
global $bufflist = 0x390
global $buffcount = 0x398
global $PlayerTarget_Offset = 0x5A4
global $PlayerFactionId_Offset = 0x694
global $PlayerChiOffset = 0x4E0
global $sortedInventoryListOffset = 0xC
global $InventorySizeOffset = 0x14
global $InvName_Offset = 0x4C
global $InvID_Offset = 0xC
global $InvDurability_Offset = 0x74
global $InvStackAmount_Offset = 0x14
global $gearAddonList_Offset = 0xb0
global $itemTypeX = 0x8
global $itemIDX = 0xC
global $itemCountX = 0x14
global $itemRefine = 0x90
global $HP_OffSet = 0x4cc
global $MaxHP_OffSet = 0x520
global $MP_OffSet = 0x4d0
global $MaxMP_OffSet = 0x524
global $HPCooldown_Offset = 0xBBC
global $MPCooldown_Offset = $HPCooldown_Offset + 0x8
global $PlayerSkill_Offset = 0x152C
global $PlayerPassiveSkill_Offset = $PlayerSkill_Offset + 0x18
global $GenieSkill_Offset = 0x155c
global $SkillID_Offset=8
global $SkillLVL_Offset=12
global $SkillCurCD_Offset=16
global $SkillCD_Offset=20
global $PlayerGenie_Offset = 0x408
global $GenieEnergy_Offset = 0xAC
Global $ADDRESS_TOWER_POINTS = 0xe7dc4c
global $TowerPointsBase = 0xDC479C
global $ChatBase = 0xDAA3D8
global $ChatCount_Offset = 12
Global $ADDRESS_BASE = 0xe5b2e4
Global $ADDRESS_SENDPACKET = 0x81f610
Global $ADDRESS_AUTOPATH = 0x4596e0
Global $ADDRESS_ACTION1 = 0x4c87e0
Global $ADDRESS_ACTION2 = 0x4cecd0
Global $ADDRESS_ACTION3 = 0x4c8dd0
Global $ADDRESS_GATHER = 0x4be060
Global $ADDRESS_CASTSKILL = 0x4b60d0
Global $ADDRESS_REGATTACK = 0x4bdf20
Global $PARTYINV_ADDRESS = 0xe67cc8
Global $ADDRESS_INSTANCE_BASE = 0xe5ba8c
Global $MACRO_ADDRESS_BASE = 0xe5c3b6
Global $OFFSET_ACTIONBASE = 0x1500
Global $ADDRESS_CHAT_BASE = 0xe615c8
Global $GameRun = 0xe5b74c
global $Player_Offset = 0x34
global $playerIDOffset = 0x4B8
global $PlayerClass_Offset = 0x700
global $PlayerName_Offset = 0x6FC
global $PlayerParty_Offset = 0x7CC
global $PartyCount_Offset = 0x18
global $PlayerCurrentSkill_Offset = 0x7E8
global $playerEquipOffset = 0x5b0
global $PlayerAvatarBag_Offset = 0x10EC
global $InventoryListOffset = 0x10A0
global $EquippedListOffset = 0x10A4
global $QuestInvListOffset = 0x10A8
global $PlayerNpcWindow = 0xEAE
global $PhysPosOffset = 0x72C-0x40
Global $QuestList_Offset = 0x1508
global $PlayerEarningTime_Offset = 0x1730
global $PlayerMoveCounter_Offset = 0xae0
global $PlayerTransportMode_Offset = 0x708
global $PlayerSwimSpeed_Offset = 0x530
global $PlayerWalkSpeed_Offset = 0x530+0x4
global $PlayerFlySpeed_Offset = 0x530+0xC
global $PlayerCamX_Offset = 0x98C
global $PlayerCharmActive_Offset = 0x1738
global $PlayerCharmActive_MagBit = 0x10000
global $PlayerCharmActive_PhysBit = 0x100
global $PlayerCharmCooldown_Offset = 0xC1C
;~ #-------- NPC ----------------#
global $NpcListOffset = 0x20
global $sortedNpcListOffset = 0x5c
global $NpcCounterOffset = 0x18
global $NpcUIDOffset = 0x114
global $NpcIDOffset = 0x118
global $NpcNameOffset = 0x25C
global $NpcLVLOffset = 0x120
global $NpcHPOffset = 0x128
global $NpcHPmaxOffset = 0x17C
global $NpcStatusOffset = 0x210
global $NpcSpecialOffset = 0x24C
global $NpcX = 0x3C
global $NpcY = 0x44
global $NpcZ = 0x40
;global $NpcBuffCountOffset = 0x32C
global $NpcStatusBitDead = 0x80
global $NpcStatusBitIncSpeed = 0x100
global $NpcStatusBitIncDef = 0x300
global $NpcStatusBitIncAtt = 0x500
global $NpcStatusBitSacAss = 0x700
global $NpcStatusBitIncLife = 0x800
global $NpcStatusBitWeak = 0x900
global $NpcStatusBitIsPet = 0x1000
global $NpcStatusBitIsNpc = 0x4000
global $NpcStatusBitIsFly = 0x10000
global $NpcStatusBitIsWater = 0x20000
global $bufflist = 0x390
global $buffcount = 0x398
global $PlayerTarget_Offset = 0x5A4
global $PlayerFactionId_Offset = 0x694
global $PlayerChiOffset = 0x4E0
global $sortedInventoryListOffset = 0xC
global $InventorySizeOffset = 0x14
global $InvName_Offset = 0x4C
global $InvID_Offset = 0xC
global $InvDurability_Offset = 0x74
global $InvStackAmount_Offset = 0x14
global $gearAddonList_Offset = 0xb0
global $itemTypeX = 0x8
global $itemIDX = 0xC
global $itemCountX = 0x14
global $itemRefine = 0x90
global $HP_OffSet = 0x4cc
global $MaxHP_OffSet = 0x520
global $MP_OffSet = 0x4d0
global $MaxMP_OffSet = 0x524
global $HPCooldown_Offset = 0xBBC
global $MPCooldown_Offset = $HPCooldown_Offset + 0x8
global $PlayerSkill_Offset = 0x152C
global $PlayerPassiveSkill_Offset = $PlayerSkill_Offset + 0x18
global $GenieSkill_Offset = 0x155c
global $SkillID_Offset=8
global $SkillLVL_Offset=12
global $SkillCurCD_Offset=16
global $SkillCD_Offset=20
global $PlayerGenie_Offset = 0x408
global $GenieEnergy_Offset = 0xAC
Global $ADDRESS_TOWER_POINTS = 0xe7dc4c
global $TowerPointsBase = 0xDC479C
global $ChatBase = 0xDAA3D8
global $ChatCount_Offset = 12






