Page 2 of 6

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 11:33 am
by rock5

Code: Select all

charClassInfoBase = 0x9D8478,
eggPetBaseAddress = 0x9E60A0,
rentBagBase = 0x9E3664,
zoneId = 0xA19ED0,
That should get everything working. Only ones need updating now are;

Code: Select all

itemSetSkillsBase
partyMemberList_address

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 11:36 am
by rock5
Ok, targeting still doesn't work. Somethings changed there.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 11:38 am
by alkirah
confirmed working for the combat thing :) thanks rock

targetting works for me

this is what I'm using

Code: Select all

-- Auto-generated by update.lua
addresses = {
   actionBarPtr = 0xA2176C, -- correct
   actionKeyId_offset = 0x10,
   actionKeyType_offset = 0xC,
   boundStatusOffset = 0x40,
   camPtr_offset = 0x46C,
   camXUVec_offset = 0x128,
   camX_offset = 0x104,
   camYUVec_offset = 0x12C,
   camY_offset = 0x108,
   camZUVec_offset = 0x130,
   camZ_offset = 0x10C,
   castingBarPtr = 0xA21868, -- correct
   castingBar_offset = 0xC,
   charAlive_offset = 0x228,
   charBattle_offset = 0x732,
   charClassInfoBase = 0x9D8478,
   charClassInfoLevel_offset = 0x20,
   charClassInfoTP_offset = 0xC,
   charClassInfoXP_offset = 0x4,
   charMaxExpTable_address = 0xA19F48,  -- correct
   charPtrMounted_offset = 0x7C,
   charPtr_offset = 0x598,
   charStance_offset = 0x7AC,
   coolDownOffset = 0xE8,
   durabilityOffset = 0x18,
   editBoxHasFocus_address = 0xA1EC34,  -- correct
   effectDuration_offset = 0x9C,
   effectIsMainFlag_offset = 0x90,
   effectType_offset = 0x94,
   eggPetAptitude_offset = 0x54,
   eggPetBaseAddress = 0x9E60A0,
   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 = 0xA1A1D4,  -- correct
   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,
   functionTargetPatchAddr = 0x5F32FF,  -- correct
   hotkeysKey_offset = 0x54,
   hotkeysName_offset = 0x4,
   hotkeysPtr = 0xA22E68,  -- correct
   hotkeys_offset = 0x28,
   idCardNPCOffset = 0x364,
   idOffset = 0xC,
   idRecipeItemOffset = 0xF0,
   inUseOffset = 0x1C,
   inventoryBagIds = 0x9E2ABC,
   itemCountOffset = 0x10,
   itemInfoOffset = 0x10,
   itemSetSkillsBase = 0x9E6C70,
   itemStatsOffset = 0x20,
   loadingScreenPtr = 0xA22F78,  -- correct
   loadingScreen_offset = 0xC,
   macroBody_offset = 0x118,
   macroIcon_offset = 0x14,
   macroId_offset = 0x10,
   macroName_offset = 0x18,
   macroSize = 0x508,
   maxDurabilityOffset = 0x15,
   maxStackOffset = 0x1C,
   moneyPtr = 0x9DEDAC,
   mousePtr_offset = 0x744,
   nameOffset = 0xC,
   partyIconList_base = 0xA23038,  -- correct
   partyIconList_offset = 0xC,
   partyMemberList_address = 0x9EDBD8,
   partyMemberList_offset = 0x134,
   pawnAttackable_offset = 0x388,
   pawnBuffId_offset = 0x20,
   pawnBuffLevel_offset = 0x44,
   pawnBuffTimeLeft_offset = 0x30,
   pawnBuffsEnd_offset = 0x270,
   pawnBuffsStart_offset = 0x26C,
   pawnCasting_offset = 0x260,
   pawnClass1_offset = 0x300,
   pawnClass2_offset = 0x308,
   pawnDirXUVec_offset = 0x34,
   pawnDirYUVec_offset = 0x38,
   pawnDirZUVec_offset = 0x3C,
   pawnGUID_offset = 0x20,
   pawnHP_offset = 0x2CC,
   pawnHarvesting_offset = 0x164,
   pawnId_offset = 0x14,
   pawnLevel2_offset = 0x30C,
   pawnLevel_offset = 0x304,
   pawnLootable_offset = 0x38C,
   pawnMP2_offset = 0x2E0,
   pawnMP_offset = 0x2D8,
   pawnMaxHP_offset = 0x2D4,
   pawnMaxMP2_offset = 0x2E4,
   pawnMaxMP_offset = 0x2DC,
   pawnMount_offset = 0xC8,
   pawnName_offset = 0x294,
   pawnPetPtr_offset = 0x284,
   pawnRace_offset = 0x314,
   pawnTargetPtr_offset = 0x278,
   pawnType_offset = 0x18,
   pawnX_offset = 0x28,
   pawnY_offset = 0x2C,
   pawnZ_offset = 0x30,
   ping_offset = 0x7A8,
   qualityBaseOffset = 0x40,
   qualityTierOffset = 0x16,
   realItemIdOffset = 0x98,
   rentBagBase = 0x9E3664,
   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,
   skillPercentMana_offset = 0xCC,
   skillPowerTypeUsed_offset = 0xC0,
   skillPower_offset = 0xC4,
   skillRangeAoE_offset = 0xA0,
   skillRange_offset = 0x9C,
   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,
   skillsTableBase = 0xA24368,  -- correct
   skillsTableTabEndAddress_offset = 0x8,
   skillsTableTabStartAddress_offset = 0x4,
   staticEquipBase = 0x9CECDC,  -- correct
   staticInventory = 0x9DBDD8,
   staticTablePtr = 0xA24684,  -- correct
   staticTableSize = 0xA24680,  -- correct
   staticbase_char = 0x9CD2CC,  -- correct
   staticbase_macro = 0xA22FAC,  -- correct
   staticpattern_char = 0x649B14,  -- correct
   staticpattern_macro = 0x75B5E5,
   tableDataStartPtrOffset = 0x1C,
   tableStartPtrOffset = 0x124,
   tablesBase = 0x9EFE54,
   tablesBaseOffset = 0x28,
   typeOffset = 0x78,
   valueOffset = 0x34,
   zoneId = 0xA19ED0,   
}


Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 11:45 am
by lisa
rock5 wrote:Ok, targeting still doesn't work. Somethings changed there.
Probably need to change the bytes again for that address, for when it changes memory back, pretty sure I had to do it last patch aswell.

functions.lua line 1457

Code: Select all

memoryWriteString(getProc(), addresses.functionTargetPatchAddr, string.char(0x56, 0x8B, 0xCD, 0xE8, 0xC9, 0x93, 0x27, 0x00));
That should fix it.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 11:49 am
by Nero
Is it about targeting mobs or things to harvest?

Pasted it and again crashed, but not sure if I've used the correct rombot folder -_-

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 11:55 am
by lisa
partyMemberList_address = 0x9EEBC8,

So just setskills left, I'll test and then commit.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 11:58 am
by rock5
lisa wrote:
rock5 wrote:functions.lua line 1457

Code: Select all

memoryWriteString(getProc(), addresses.functionTargetPatchAddr, string.char(0x56, 0x8B, 0xCD, 0xE8, 0xC9, 0x93, 0x27, 0x00));
That should fix it.
Nope still crashes. It crashes when targeting the keys in cot.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 12:06 pm
by lisa
try rev 675,
Seems my files were out of date so the line wouldn't have been correct.

Millers is working fine for me, I'll try cot.

Cot worked fine for me.

I am calling it a night.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 12:21 pm
by nerdyone255
cot ran fine for me. swimhack looked strange though. char never really got off the ground, and triggered alot of the other tiles. could have just been my client glitching though.

::edit:: new swimhack installed and all is well in cot.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 12:59 pm
by gloover
swimhack offset = 0x44E420
wallclimb offset = 0x97B4BC

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 2:52 pm
by rooster1620
is all right with the world yet? not impatient, just asking.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 3:36 pm
by Nero
Almost everything works.

However I've just noticed that checking whether quest is finished isn't working. Daily counter runs fine, but my bot didn't get out of a loop even after finishing quests there - didn't print to check, as I'm too sleepy. So, can anyone confirm?


@Edit - new targeting system is crap. Don't like it. Makes me unhappy. Using survivalr5 and lisa's survival occasionally will make you unable to attack - targeting problems. At war today some damned blades of grass posed as things in your way blocking your attacks. Scouts unable to attack any buildings.

Fail upon a fail upon a fail. Why do we even play this crap?


@Edit2 - just now noticed that it prints in-game 'cannot get log event for monitor 'GMDetect'. No such monitor name exists'. So if you want to bot 24/7, either test it yourself (I didn't) or leave it till tomorow

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 6:04 pm
by salesman921
ok i am curioius as to if i have to do anything else to get updated besides running the SVN and running rom/bot update. I am still recieving the error i got when i first tried anything that says Unable to find "Qualitytieroffset" in module.

Sorry i just starting using this program last month and i am slowly learning.
Thanks

Also Thanks to everyone who works so hard on this. I know we all Appreciate everything you do.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 7:16 pm
by kuripot
what addresses.lua are working now??? im crashing in elf2.xml in elven daily quest

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 8:56 pm
by lisa
kuripot wrote:what addresses.lua are working now??? im crashing in elf2.xml in elven daily quest
salesman921 wrote: I am still recieving the error i got when i first tried anything that says Unable to find "Qualitytieroffset" in module.
Do SVN update and SVN revert on rom folder.

DO NOT RUN UPDATE.LUA YET

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 9:15 pm
by rock5
rock5 wrote:
lisa wrote:
rock5 wrote:functions.lua line 1457

Code: Select all

memoryWriteString(getProc(), addresses.functionTargetPatchAddr, string.char(0x56, 0x8B, 0xCD, 0xE8, 0xC9, 0x93, 0x27, 0x00));
That should fix it.
Nope still crashes. It crashes when targeting the keys in cot.
Looks like I updated the wrong line. :oops: So it does work now.

Just some advice. When committing new addresses.lua, try running update.lua. If it works then it will tidy it up so that when users run it on their end, addresses.lua wont change and the icon will remain green. At the moment there are a lot of extra spaces so update.lua changes the file.

I also noticed that update.lua changes "staticpattern_char". With the version you posted it still does the "The game may have been updated or altered." message but the one update.lua changes it to, doesn't. If the message doesn't come up then does that mean the address, update.lua comes up with, is correct?

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 9:35 pm
by lisa
staticpattern_char = 0x649B14,
staticpattern_macro = 0x75B5E5,

One of them is purely to detect when a patch occurs, can't remember which, possibly even both now. So it is an address that will deffinately change the bytes so that when it compares the bytes to what is has in code it recognises there has been a change and then it says to run update.lua.

I went to change the bytes but when I noticed there was 2 instead of 1 it got me confused. I suppose I could have just changed the bytes on both but since I expected only 1 check I thought it better I not change it until I find out why there are 2 checks now.
When committing new addresses.lua, try running update.lua.
Yeah the first addresses I posted I just got tableoftables address and then ran update.lua, it got around half of the addresses.

V.2 I went through and checked the ones update.lua got and found ones it didn't update using olly. So around 75% of addresses found at that stage.

You found the rest, except partymemberlist, so I found that address and then tested in millers followed by cot. Bot did both perfectly so I commited.

Re: *** PATCH 4.0.5 ****

Posted: Thu Nov 24, 2011 9:36 pm
by rock5
Oops, my bad again. The only reason update.lua worked for me is because I removed the "qualityTierOffset" section last night. So that should be the only bit in update.lua that needs fixing.

And by the way, the address I got for "staticpattern_char" was 0x9CD2CC. With this address it doesn't to the message.

Re: *** PATCH 4.0.5 ****

Posted: Fri Nov 25, 2011 6:26 am
by kuripot
i have problem in targeting... i want to use the latest version of rom bot.... is this the latest??/ "RoM bot 3.29, r557"

Re: *** PATCH 4.0.5 ****

Posted: Fri Nov 25, 2011 6:31 am
by lisa
kuripot wrote:i have problem in targeting... i want to use the latest version of rom bot.... is this the latest??/ "RoM bot 3.29, r557"
latest revision is
r675

Just use SVN Update and SVN Revert.