Thanks to the both of you, I tried your solutions and for now it seems to work but I need to test it in real conditions (its basically a script targetting players and buffing them)
Also by reading your comment Rivva, I wanted to share the list of some updated adresses. Before @Administrator releases this rombot, I tried to figure which adresses were causing trouble by removing the ones not updating automatically. So here is the list of the adresses that could update automatically. Don't know if that will be useful though
Code: Select all
addresses = {
actionKeyId_offset = 0x10,
actionKeyType_offset = 0xC,
actualSpeed_offset = 0x790,
bankOpenPtr = 0xA60C4C,
bankOpen_offset = 0x10,
boundStatusOffset = 0x40,
camDistanceSave_offset = 0x490,
camDistance_offset1 = 0x454,
camDistance_offset2 = 0x244,
camPtr_offset = 0x47C,
camXFocus_offset = 0x110,
camXUVec_offset = 0x128,
camX_offset = 0x104,
camYFocus_offset = 0x114,
camYUVec_offset = 0x12C,
camY_offset = 0x108,
camZFocus_offset = 0x118,
camZUVec_offset = 0x130,
camZ_offset = 0x10C,
castingBarPtr = 0xA60D08,
castingBar_offset = 0xC,
channel_offset = 0xC4,
charAlive_offset = 0x228,
charBattle_offset = 0x74A,
charClassInfoBase = 0xA0C1B8,
charClassInfoLevel_offset = 0x20,
charClassInfoSize = 0x430,
charClassInfoTP_offset = 0xC,
charClassInfoXP_offset = 0x4,
charLastHitTime = 0x9E77AC,
charPtrMounted_offset = 0x7C,
charPtr_offset = 0x5A8,
charStance_offset = 0x7C4,
coolDownOffset = 0xE8,
currencyBase_offset = 0x15AA0,
cursorBase = 0xA622FC,
cursorItemBagId_offset = 0x14,
cursorItemId_offset = 0x10,
cursorItemLocation_offset = 0xC,
dailyCount_offset = 0xF8AC,
durabilityOffset = 0x18,
editBoxHasFocus_address = 0xA5E084,
effectDuration_offset = 0x9C,
effectIsMainFlag_offset = 0x90,
effectType_offset = 0x94,
eggPetAptitude_offset = 0x54,
eggPetBaseAddress = 0xA1E998,
eggPetCrafting_offset = 0x34,
eggPetDex_offset = 0x68,
eggPetEggId_offset = 0x20,
eggPetExp_offset = 0x40,
eggPetHerbalism_offset = 0xD8,
eggPetInt_offset = 0x6C,
eggPetLevel_offset = 0x2C,
eggPetLoyalty_offset = 0x4C,
eggPetMaxExpTablePtr = 0xA595BC,
eggPetMaxTP_offset = 0x48,
eggPetMining_offset = 0xD0,
eggPetNourishment_offset = 0x50,
eggPetPetId_offset = 0x28,
eggPetProducts_offset = 0x16C,
eggPetSkills_offset = 0x7C,
eggPetSta_offset = 0x64,
eggPetStr_offset = 0x60,
eggPetSummoned_offset = 0x38,
eggPetTP_offset = 0x44,
eggPetToolId_offset = 0xE4,
eggPetTraining_offset = 0x58,
eggPetWis_offset = 0x70,
eggPetWoodworking_offset = 0xD4,
functionMousePatchAddr = 0x62F6C6,
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},
functionTargetBytes = {0x56, 0x8B, 0xCD, 0xE8, 0x39, 0x3F, 0x2A, 0x00},
functionTargetPatchAddr = 0x5F319F,
gameTimeAddress = 0xA01F58,
getTEXT = 0xA24AFC,
guildBankOpen_offset = 0xBC,
high9sBase = 0xA1E388,
hotkeysKey_offset = 0x54,
hotkeysName_offset = 0x4,
hotkeysPtr = 0xA62320,
hotkeys_offset = 0x28,
idCardNPCOffset = 0x368,
idOffset = 0xC,
idRecipeItemOffset = 0xF0,
inUseOffset = 0x1C,
inventoryBagIds = 0xA1B3B4,
isInGame = 0xA24A2C,
itemCountOffset = 0x10,
itemFlagsOffset = 0x28,
itemInfoOffset = 0x10,
itemQueueCount = 0xA1E8F0,
itemRange = 0x18C,
itemSetSkillsBase = 0xA20550,
itemStatsOffset = 0x20,
loadingScreenPtr = 0xA62430,
loadingScreen_offset = 0xC,
loginInfoPtr = 0xA60B10,
macroBody_offset = 0x118,
macroIcon_offset = 0x14,
macroId_offset = 0x10,
macroName_offset = 0x18,
macroSize = 0x508,
maxDurabilityOffset = 0x15,
maxStackOffset = 0x1C,
moneyPtr = 0xA143EC,
mousePatchX2_offset = 0x13,
mousePatchX3_offset = 0x7DE,
mousePatchY1_offset = 0x21,
mousePatchY2_offset = 0x34,
mousePatchY3_offset = 0x7E4,
mousePtr_offset = 0x75C,
mouseX_offset = 0x3B4,
mouseY_offset = 0x3B8,
moveKeysPressed_offset = 0xAAC,
nameOffset = 0xC,
partyIconList_base = 0xA62510,
partyIconList_offset = 0xC,
partyLeader_address = 0xA26228,
partyMemberList_address = 0xA63798,
partyMemberList_offset = 0x68,
pawnAttackable_offset = 0x388,
pawnBuffId_offset = 0x20,
pawnBuffLevel_offset = 0x44,
pawnBuffTimeLeft_offset = 0x30,
pawnBuffsEnd_offset = 0x270,
pawnBuffsStart_offset = 0x26C,
pawnCastingElapsed_offset = 0x264,
pawnCasting_offset = 0x260,
pawnClass1_offset = 0x310,
pawnClass2_offset = 0x31C,
pawnDirXUVec_offset = 0x34,
pawnDirYUVec_offset = 0x38,
pawnDirZUVec_offset = 0x3C,
pawnFading_offset = 0x68,
pawnGUID_offset = 0x20,
pawnHarvesting_offset = 0x164,
pawnId_offset = 0x14,
pawnIsMyTarget_offset = 0xC,
pawnIsPet_offset = 0x280,
pawnLevel2_offset = 0x320,
pawnLevel_offset = 0x314,
pawnLootable_offset = 0x3A0,
pawnMP2_offset = 0x2F0,
pawnMP_offset = 0x2E8,
pawnMaxMP2_offset = 0x2F4,
pawnMaxMP_offset = 0x2EC,
pawnName_offset = 0x294,
pawnPetPtr_offset = 0x284,
pawnRace_offset = 0x328,
pawnSpeed_offset = 0x40,
pawnSwim_offset1 = 0xF0,
pawnSwim_offset2 = 0xB4,
pawnTargetPtr_offset = 0x278,
pawnType_offset = 0x18,
pawnX_offset = 0x28,
pawnY_offset = 0x2C,
pawnZ_offset = 0x30,
ping_offset = 0x7C0,
playerCraftLevelBase = 0xA047A0,
playerCraftLevel_offset = 0x152C,
psi = 0xA06B08,
qualityBaseOffset = 0x40,
qualityTierOffset = 0x16,
questGroup_offset = 0x4F0,
realItemIdOffset = 0x98,
rentBagBase = 0xA1BF5C,
rentBankBase = 0xA1BF84,
rentEggSlotBase = 0xA1BFD4,
requiredLevelOffset = 0x58,
skillAoEFlag_offset = 0xA4,
skillAsLevel_offset = 0x18,
skillAttackFlag_offset = 0xB4,
skillBuffFlag_offset = 0xEC,
skillCastTime_offset = 0xF4,
skillClass_offset = 0x304,
skillCooldown_offset = 0xE8,
skillEffectStart_offset = 0x188,
skillItemSetAsLevel_offset = 0x328,
skillLevel_offset = 0xC,
skillMaxLevel_offset = 0xF4,
skillPassiveFlag_offset = 0x94,
skillRangeAoE_offset = 0xA0,
skillRange_offset = 0x9C,
skillRemainingCooldown_offset = 0xE4,
skillRequiredEffectFlag_offset = 0xD0,
skillRequiredEffect_offset = 0xD4,
skillRequiredEffectsStart_offset = 0x190,
skillSelfBuffFlag_offset = 0xE0,
skillTPToLevel_offset = 0x8,
skillTargetType_offset = 0x98,
skillTypeFlag1_offset = 0xF0,
skillTypeFlag2_offset = 0x2FE,
skillTypeFlag3_offset = 0x2FF,
skillTypeFlag4_offset = 0x314,
skillTypeFlag5_offset = 0x315,
skillTypeFlag6_offset = 0xBA,
skillTypeFlag7_offset = 0x300,
skillTypeFlag8_offset = 0xE4,
skillTypeFlag9_offset = 0x274,
skillUsesBase_offset = 0xC0,
skillsTableBase = 0xA63850,
skillsTableTabEndAddress_offset = 0x8,
skillsTableTabStartAddress_offset = 0x4,
staticBankbase = 0xA143F4,
staticCooldownsBase = 0xA03990,
staticEquipBase = 0xA025E0,
staticGuildBankBase = 0xA63A14,
staticInventory = 0xA11418,
staticTablePtr = 0xA63DD4,
staticTableSize = 0xA63DD0,
staticbase_char = 0xA0099C,
staticbase_macro = 0xA62474,
staticpattern_char = 0x5E6C87,
staticpattern_macro = 0x7731D5,
swimAddress = 0x44D939,
swimAddressBytes = {0xC7, 0x83, 0xB4, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00},
tableDataStartPtrOffset = 0x1C,
tableStartPtrOffset = 0x124,
tablesBase = 0xA2991C,
tablesBaseOffset = 0x28,
typeOffset = 0x78,
valueOffset = 0x34,
windowSizeX_offset = 0x30,
windowSizeY_offset = 0x34,
zoneId = 0xA59250,
}
EDIT : I'm trying to check whats different from my list to the one in @Administrator rom/bot, I can see some differences such as zone_id, so don't take this list as a reliable one (even if it got updated by the bot itself),