addresses = { --== this must be a link between the quest-text and the id ==-- questGroup_offset = 0x4F0, -- questGroup_offset = 0x4F0, --===========================================================-- --== fixed the casting bar but i'm not sure, that the "player.casting" is completely fixed ==-- castingBarPtr = 0xA6BBC8, -- castingBarPtr = 0xA6CC80, castingBar_offset = 0xC, -- castingBar_offset = 0xC, --===========================================================================================-- game_time = 0x608050, --[[{game_time}]] -- gameTimeAddress = 0xA08050, in_game = 0x66a568, --[[{in_game}]] --isInGame = 0xA2DA2C, zone_id = 0x6651c8, --[[{zone_id}]] --zoneId = 0xA651C8, movement_speed = { base = 0x60a8a8, --[[{movement_speed_base}]] offset = 0x1498, --[[{movement_speed_offset}]] -- actualSpeed_offset = 0x790, }, collecting = { base = 0x66CC80, type = 0xc, name = 0x14, }, channel = { base = 0x66d100, --[[{channel_base}]] id = 0x4c4, -- channel_offset = 0xC4, }, class_info = { base = 0x60cc48, --[[{class_info_base}]] --charClassInfoBase = 0xA122C0, offset = 0x438, size = 0x430, --charClassInfoSize = 0x430, level = 0x28, --charClassInfoLevel_offset = 0x20, tp = 0x10 --charClassInfoTP_offset = 0xC, }, currency = { base = 0x622C68, -- currencyBase_offset = 0x622C68, }, crafting = { base = 0x60800c, --[[{crafting_base}]] -- playerCraftLevelBase = 0xA0A8A8, }, code_mod = { freeze_target = { base = 0x49b871, --[[{freeze_target_codemod}]] -- functionTargetPatchAddr = 0x5F357F, original_code = string.char(0x89, 0x86, 0x78, 0x02, 0x00, 0x00), -- functionTargetBytes = {0x56, 0x8B, 0xCD, 0xE8, 0x49, 0x80, 0x2A, 0x00}, replace_code = string.char(0x90, 0x90, 0x90, 0x90, 0x90, 0x90), }, freeze_mousepos = { base = 0x2324d4, --[[{freeze_mousepos_codemod}]] -- -- functionMousePatchAddr = 0x62F656, original_code = string.char(0x89, 0x8E, 0xB4, 0x03, 0x00, 0x00, 0x89, 0x86, 0xB8, 0x03, 0x00, 0x00), replace_code = string.char(0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90), }, freeze_mousepos2 = { base = 0x231d2a, --[[{freeze_mousepos2_codemod}]] original_code = string.char(0x89, 0x86, 0xB8, 0x03, 0x00, 0x00), replace_code = string.char(0x90, 0x90, 0x90, 0x90, 0x90, 0x90), }, swimhack = { base = 0x4dbe9, --[[{swimhack_codemod}]] --swimAddress = 0x44DF29, original_code = string.char(0xC7, 0x83, 0xB4, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00), -- swimAddressBytes = {0xC7, 0x83, 0xB4, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00}, replace_code = string.char(0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90), }, }, exp_table = 0x665284, --[[{exp_table}]] -- eggPetMaxExpTablePtr = 0xA65534, psi = 0x60cc10, --[[{psi}]] -- psi = 0xA0CC10, global_cooldown = { base = 0x608060, --[[{global_cooldown_base}]] offset = 0x1a28, --[[{global_cooldown_offset}]] -- coolDownOffset = 0xE8, }, actionbar = { base = 0x66cb84, --[[{actionbar_base}]] slot = { size = 0x14, type = 0x0, id = 0x4, }, size_per_class = 0x640, offset = 0xc, }, gold = { base = 0x60cc48, --[[{gold_base}]] --moneyPtr = 0xA1A4F4, offset = 0x82fc, --[[{gold_offset}]] }, game_root = { base = 0x606a94, --[[{game_root_base}]] mouseover_object_ptr = 0x75c, player_actual_speed = 0x790, ping = 0x7c0, -- ping_offset = 0x7C0, input = { movement = 0xAAC, }, mounting = 0xAE4, camera = { base = 0x47C, -- camPtr_offset = 0x47C, distance = 0x2e8, -- camDistanceSave_offset = 0x490, x = 0x104, -- camX_offset = 0x104, y = 0x108, -- camY_offset = 0x108, z = 0x10C, -- camZ_offset = 0x10C, focus_x = 0x110, -- camXFocus_offset = 0x110, focus_y = 0x114, -- camYFocus_offset = 0x114, focus_z = 0x118, -- camZFocus_offset = 0x118, }, camdistance = {0x454, 0x244}, -- camDistance_offset1 = 0x454, -- camDistance_offset2 = 0x244, player = { base = 0x5a8, --[[{player_base}]] }, combat_status = 0x74a, pawn = { -- These can apply to a player, monster, NPC, etc.. id = 0x14, --pawnId_offset = 0x14, type = 0x18, --pawnType_offset = 0x18, name_ptr = 0x294, --pawnName_offset = 0x294, guid = 0x20, --pawnGUID_offset = 0x20, x = 0x28, --pawnX_offset = 0x28, y = 0x2c, --pawnY_offset = 0x2C, z = 0x30, --pawnZ_offset = 0x30, rotation_x = 0x34, --pawnDirXUVec_offset = 0x34, rotation_y = 0x38, --pawnDirYUVec_offset = 0x38, rotation_z = 0x3c, --pawnDirZUVec_offset = 0x3C, base_speed = 0x40, -- Your "normal" speed if you are moving --pawnSpeed_offset = 0x40, speed = 0x1f0, -- 0 when standing still, actual speed when moving fading = 0x68, -- pawnFading_offset = 0x68, harvesting = 0x164, --pawnHarvesting_offset = 0x164, stance = 0x228, --charAlive_offset = 0x228, cast_full_time = 0x260, --pawnCasting_offset = 0x260, cast_time = 0x264, --pawnCastingElapsed_offset = 0x264, cast_spell_id = 0x25c, target = 0x278, -- pawnTargetPtr_offset = 0x278, owner_ptr = 0x280, -- pawnIsPet_offset = 0x280, pet_ptr = 0x284, -- pawnPetPtr_offset = 0x284, hp = 0x2d4, previous_hp = 0x2dc, alive_flag = 0x2d7, max_hp = 0x2e4, energy1 = 0x2e8, --pawnMP_offset = 0x2E8, max_energy1 = 0x2ec, --pawnMaxMP_offset = 0x2EC, energy2 = 0x2f0, --pawnMP2_offset = 0x2F0, max_energy2 = 0x2f4, -- pawnMaxMP2_offset = 0x2F4, class1 = 0x310, --pawnClass1_offset = 0x310, level = 0x314, --pawnLevel_offset = 0x314, class2 = 0x31c, --pawnClass2_offset = 0x31C, level2 = 0x320, --pawnLevel2_offset = 0x320, race = 0x328, --pawnRace_offset = 0x328, lootable_flags = 0x3a0, --pawnLootable_offset = 0x3A0, attackable_flags = 0x39c, --pawnAttackable_offset = 0x388, mount_ptr = 0x7c, -- charPtrMounted_offset = 0x7C, swimming = { base = 0xf0, -- pawnSwim_offset1 = 0xF0, swimming = 0xb4 -- pawnSwim_offset2 = 0xB4, }, buffs = { array_start = 0x26c, --pawnBuffsStart_offset = 0x26C, array_end = 0x270, --pawnBuffsEnd_offset = 0x270, buff = { size = 0x54, time_remaining = 0x30, --pawnBuffTimeLeft_offset = 0x30, id = 0x20, --pawnBuffId_offset = 0x20, level = 0x44, --pawnBuffLevel_offset = 0x44, }, }, }, }, macro = { base = 0x66e3ec, --[[{macro_base}]] -- staticbase_macro = 0xA6E3EC, size = 0x508, --[[{macro_size}]] -- macroSize = 0x508, id = 0x10, -- macroId_offset = 0x10, icon = 0x14, -- macroIcon_offset = 0x14, name = 0x18, -- macroName_offset = 0x18, content = 0x118 -- macroBody_offset = 0x118, }, hotkey = { base = 0x66e298, --[[{hotkey_base}]] -- hotkeysPtr = 0xA6E298, list = 0x28, name = 0x4, -- hotkeysName_offset = 0x4, hotkey1 = 0x54, -- hotkeysKey_offset = 0x54, modifier1 = 0x56, hotkey2 = 0x58, modifier2 = 0x5a }, loading = { base = 0x66e3a8, --[[{loading_base}]] -- loadingScreenPtr = 0xA6E3A8, offsets = {0x18, 0x1C}, -- loadingScreen_offset = 0xC, }, skill = { level = 0xc, -- skillLevel_offset = 0xC, tp_to_level = 0x8, -- skillTPToLevel_offset = 0x8, uses = 0xc0, -- skillUsesBase_offset = 0xC0, max_level = 0xf4, -- skillMaxLevel_offset = 0xF4, aoe_flag = 0xa4, -- skillAoEFlag_offset = 0xA4, as_level = 0x18, -- skillAsLevel_offset = 0x18, attack_flag = 0xb4, -- skillAttackFlag_offset = 0xB4, buff_flag = 0xec, -- skillBuffFlag_offset = 0xEC, cast_time = 0xf4, -- skillCastTime_offset = 0xF4, class = 0x304, --skillClass_offset = 0x304, remaining_cooldown = 0xe4, --skillRemainingCooldown_offset = 0xE4, cooldown = 0xe8, --skillCooldown_offset = 0xE8, effect_start = 0x188, -- skillEffectStart_offset = 0x188, item_set_as_level = 0x328, ---- skillItemSetAsLevel_offset = 0x328, passive_flag = 0x94, -- skillPassiveFlag_offset = 0x94, range_aoe = 0xa0, -- skillRangeAoE_offset = 0xA0, target_type = 0x98, -- skillTargetType_offset = 0x98, range = 0x9c, -- skillRange_offset = 0x9C, required_effect_flag = 0xd0, -- skillRequiredEffectFlag_offset = 0xD0, required_effect = 0xd4, -- skillRequiredEffect_offset = 0xD4, required_effect_start = 0x190, -- skillRequiredEffectsStart_offset = 0x190, self_buff_flag = 0xe0, -- skillSelfBuffFlag_offset = 0xE0, type_flag1 = 0xf0, --skillTypeFlag1_offset = 0xF0, type_flag2 = 0x2fe, --skillTypeFlag2_offset = 0x2FE, type_flag3 = 0x2ff, -- skillTypeFlag3_offset = 0x2FF, type_flag4 = 0x314, -- skillTypeFlag4_offset = 0x314, type_flag5 = 0x315, -- skillTypeFlag5_offset = 0x315, type_flag6 = 0xba, -- skillTypeFlag6_offset = 0xBA, type_flag7 = 0x300, -- skillTypeFlag7_offset = 0x300, type_flag8 = 0xe4, -- skillTypeFlag8_offset = 0xE4, type_flag9 = 0x274, -- skillTypeFlag9_offset = 0x274, }, cooldowns = { base = 0x608060, --[[{cooldowns_base}]] --staticCooldownsBase = 0xA09A88, array_start = 0x1a2c, --[[{cooldowns_array_start}]] }, skillbook = { base = 0x66f7c8, --[[{skillbook_base}]] offset = 0x8, book1_start = 0xc, book1_end = 0x10, book2_start = 0x1c, book2_end = 0x20, tabinfo_size = 0x20, skill = { size = 0x4c, id = 0x0, name = 0x24, tp_to_level = 0x8, level = 0xc, as_level = 0x18, }, }, itemset_skills = { base = 0x621560, -- itemSetSkillsBase = 0xA26658, }, memdatabase = { base = 0x00631b48, offset = 0xD4, branch = { itemset_id = 0x4, size = 999, info_size = 0x24, itemset_address = 0x18, }, skill = { uses = 0xC0, usesnum = 0xC4, level = 0x98, }, }, item = { card_or_npc_id = 0x36c, -- idCardNPCOffset = 0x36C, recipe_id = 0xF0, -- idRecipeItemOffset = 0xF0, name = 0xC, -- nameOffset = 0xC, count = 0x10, --itemCountOffset = 0x10, max_stack = 0x00, -- Wrong -- maxStackOffset = 0x1C, max_durability = 0x15, -- maxDurabilityOffset = 0x15, durability = 0x18, -- durabilityOffset = 0x18, in_use = 0x1c, -- inUseOffset = 0x1C, bound_status = 0x40, --boundStatusOffset = 0x40, value = 0x34, -- valueOffset = 0x34, flags = 0x28, --itemFlagsOffset = 0x28, range = 0x18C, -- itemRange = 0x18C, required_level = 0x58, -- requiredLevelOffset = 0x58, type = 0x78, -- typeOffset = 0x78, quality = 0x40, -- qualityBaseOffset = 0x40, tier = 0x16, -- qualityTierOffset = 0x16, stats = 0x20, --itemStatsOffset = 0x20, flags = 0x28, real_id = 0x98, -- realItemIdOffset = 0x98, cooldown = 0x8E, casting = 0x1c }, equipment = { base = 0x6086d8, -- staticEquipBase = 0xA086D8, }, bank = { base = 0x616548, --staticBankbase = 0xA1A4FC, open = { base = 0x662CDC, --bankOpenPtr = 0xA6CBC4, offset = 0x10, --bankOpen_offset = 0x10, }, rent = { base = 0x61E00C, --rentBankBase = 0xA2208C, }, guild = { base = 0x665AA4, --guildBankOpen_offset = 0xBC, }, }, inventory = { base = 0x6165f8, -- staticInventory = 0xA17520, rent = { base = 0x60cc48, --[[{inventory_rent_base}]] -- rentBagBase = 0xA22064, offset = 0xfda4, --[[{inventory_rent_offset}]] }, }, cursor = { base = 0x0066E154, --cursorBase = 0xA6E274, offset = 0x240, item = { id = 0x10, -- cursorItemId_offset = 0x10, bag_id = 0x14, -- cursorItemBagId_offset = 0x14, location = 0xC, -- cursorItemLocation_offset = 0xC, }, }, object_list = { base = 0x66fd5c, --[[{object_list_base}]] size = 0x66fd58, --[[{object_list_size}]] }, input_box = { base = 0x66ca78, --[[{input_box_base}]] offsets = {0xc, 0x9a4}, }, text = { base = 0x0062DAFC, --getTEXT = 0xA2DAFC, start_addr = 0x264, end_addr = 0x268, }, mouse = { base = 0x62dd68, --[[{mouse_base}]] x_in_window = {0x3B4}, -- mouseX_offset = 0x3B4, y_in_window = {0x3B8}, -- mouseY_offset = 0x3B8, }, party = { leader = { base = 0x62f228, --[[{party_leader_base}]] -- partyLeader_address = 0xA2F228, }, member_list = { base = 0x66f710, --[[{party_member_list_base}]] -- partyMemberList_address = 0xA6F710, offset = 0x68, --[[{party_member_list_offset}]] -- partyMemberList_offset = 0x68, }, icon_list = { base = 0x66e488, --[[{party_icon_list_base}]] -- partyIconList_base = 0xA6E488, offset = 0xc, -- partyIconList_offset = 0xC, }, }, newbie_eggpet = { base = 0x62ef5c, --[[{newbie_eggpet_base}]] offset = 0x7c, --[[{newbie_eggpet_offset}]] }, eggpet = { base = 0x61F9a8, -- eggPetBaseAddress = 0xA24AA0, size = 0x348, max_slots = 6, name = 0x0, id = 0x20, -- eggPetEggId_offset = 0x20, pet_id = 0x28, -- eggPetPetId_offset = 0x28, level = 0x2c, -- eggPetLevel_offset = 0x2C, summon_state = 0x38, -- eggPetSummoned_offset = 0x38, tp = 0x44, -- eggPetTP_offset = 0x44, max_tp = 0x48, -- eggPetMaxTP_offset = 0x48, loyalty = 0x4c, -- eggPetLoyalty_offset = 0x4C, nourishment = 0x50, -- eggPetNourishment_offset = 0x50, aptitude = 0x54, -- eggPetAptitude_offset = 0x54, training = 0x58, -- eggPetTraining_offset = 0x58, exp = 0x5c, -- eggPetExp_offset = 0x40, strength = 0x60, -- eggPetStr_offset = 0x60, stamina = 0x64, -- eggPetSta_offset = 0x64, dexterity = 0x68, -- eggPetDex_offset = 0x68, intelligence = 0x6c, -- eggPetInt_offset = 0x6C, wisdom = 0x70, -- eggPetWis_offset = 0x70, element = 0x74, -- 0=earth,1=water, 2=fire, 3=wind, 4=light, 5=dark mining = 0xd0, -- eggPetMining_offset = 0xD0, woodworking = 0xd4, -- eggPetWoodworking_offset = 0xD4, herbalism = 0xd8 -- eggPetHerbalism_offset = 0xD8, }, } --[[ OLD ADDRESSES TO ADD ABOVE: actionKeyId_offset = 0x10, actionKeyType_offset = 0xC, camXUVec_offset = 0x128, camYUVec_offset = 0x12C, camZUVec_offset = 0x130, charBattle_offset = 0x74A, charClassInfoXP_offset = 0x4, charLastHitTime = 0x9E77AC, charPtr_offset = 0x5A8, charStance_offset = 0x7C4, dailyCount_offset = 0xF8AC, editBoxHasFocus_address = 0xA69FFC, effectDuration_offset = 0x9C, effectIsMainFlag_offset = 0x90, effectType_offset = 0x94, eggPetCrafting_offset = 0x34, eggPetProducts_offset = 0x16C, eggPetSkills_offset = 0x7C, eggPetToolId_offset = 0xE4, functionMouseX1Bytes = {0xC7, 0x86, 0xB4, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, functionMouseX2Bytes = {0x89, 0x86, 0xB4, 0x03, 0x00, 0x00}, functionMouseX3Bytes = {0x89, 0x8E, 0xB4, 0x03, 0x00, 0x00}, functionMouseY1Bytes = {0xC7, 0x86, 0xB8, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, functionMouseY2Bytes = {0x89, 0x86, 0xB8, 0x03, 0x00, 0x00}, functionMouseY3Bytes = {0x89, 0x86, 0xB8, 0x03, 0x00, 0x00}, high9sBase = 0xA24490, hotkeys_offset = 0x28, idOffset = 0xC, inventoryBagIds = 0xA214BC, itemInfoOffset = 0x10, itemQueueCount = 0xA249F8, loginInfoPtr = 0xA6CA88, mousePatchX2_offset = 0x13, mousePatchX3_offset = 0x7DE, mousePatchY1_offset = 0x21, mousePatchY2_offset = 0x34, mousePatchY3_offset = 0x7E4, mousePtr_offset = 0x75C, moveKeysPressed_offset = 0xAAC, pawnIsMyTarget_offset = 0xC, playerCraftLevel_offset = 0x152C, rentEggSlotBase = 0xA220DC, skillsTableBase = 0xA6F7C8, skillsTableTabEndAddress_offset = 0x8, skillsTableTabStartAddress_offset = 0x4, staticGuildBankBase = 0xA6F98C, staticTablePtr = 0xA6FD5C, staticTableSize = 0xA6FD58, staticbase_char = 0xA06A94, staticpattern_char = 0x5E6CB7, staticpattern_macro = 0x7753F5, tableDataStartPtrOffset = 0x1C, tableStartPtrOffset = 0x124, tablesBase = 0xA3293C, tablesBaseOffset = 0x28, windowSizeX_offset = 0x30, windowSizeY_offset = 0x34, ]] --[[ DEPRECATED; Please don't use these. Use the real addresses above instead These are left here for compatibility reasons only. ]] partyLeader_address = 0x400000 + (addresses.party.leader.base); addresses.partyIconList_base = 0x400000 + (addresses.party.icon_list.base); partyIconList_offset = addresses.party.icon_list.offset; partyMemberList_address = 0x400000 + (addresses.party.member_list.base); partyMemberList_offset = addresses.party.member_list.offset;