Page 2 of 2

Re: Adjustments for this weeks patch needed.

Posted: Wed Jul 25, 2012 12:40 am
by lisa
gloover wrote:I have take a look inside: does this also support warlock and champ?
Hmm nope, I wrote it many many months ago, long before warlocks graced the world of RoM.
They can be added in easy enough.

if warlock is 9 and champion 10 then you can do this

Code: Select all

local classtable = {[1] = "Warrior",[2] = "Scout",[3] = "Rogue",[4] = "Mage",[5] = "Priest",[6] = "Knight",[7] = "Warden",[8] = "Druid",[9] = "Warlock",[10] = "Champion",}

Re: Adjustments for this weeks patch needed.

Posted: Wed Jul 25, 2012 12:03 pm
by bear
i have this error too

Code: Select all

.../rom/classes/memorytable.lua:7: bad argument
 #2 to 'memoryReadIntPtr' (number expected, got nil)
and the new code of tablesBase dont fixes this

Code: Select all

tablesBase = 0x9FF4C8,
i already updated the bot to 730

please help

Re: Adjustments for this weeks patch needed.

Posted: Wed Jul 25, 2012 1:45 pm
by rock5
I've been M.I.A. for a couple of days and missed the patch altogether or else I would have looked into checking the addresses. As it is, I have a few appointments tomorrow so can't look into it now anyway. Sorry guys.

Re: Adjustments for this weeks patch needed.

Posted: Wed Jul 25, 2012 6:55 pm
by lisa
bear wrote:i have this error too

Code: Select all

.../rom/classes/memorytable.lua:7: bad argument
 #2 to 'memoryReadIntPtr' (number expected, got nil)
and the new code of tablesBase dont fixes this

Code: Select all

tablesBase = 0x9FF4C8,
i already updated the bot to 730

please help
If you play a server with the latest version of RoM then follow the instructions in my signature, the addresses are fine in rev 730.

Re: Adjustments for this weeks patch needed.

Posted: Thu Jul 26, 2012 9:32 am
by bear
so now i have done this things lisa and it dont works again...

Re: Adjustments for this weeks patch needed.

Posted: Thu Jul 26, 2012 10:42 am
by rock5
730 works. Just make sure you don't run "rom/update" as a couple of addresses get changed to the wrong value. It needs to be updated.

Re: Adjustments for this weeks patch needed.

Posted: Fri Jul 27, 2012 8:04 am
by bear
my game is updated to the lastest version (5.0.1.2553) the bot is updatet to the lastest version 730 and i have done all things in lisas signature it doesnt help, everytime the same error

Code: Select all

.../rom/classes/memorytable.lua:7: bad argument
 #2 to 'memoryReadIntPtr' (number expected, got nil)

Re: Adjustments for this weeks patch needed.

Posted: Fri Jul 27, 2012 8:23 am
by lisa
try deleting the addresses.lua file and then do SVN update, which will redownload the file the way it should be.
Also don't do a rom/update.lua as the updater needs updating lol

Re: Adjustments for this weeks patch needed.

Posted: Fri Jul 27, 2012 8:44 am
by rock5
lisa wrote:try deleting the addresses.lua file and then do SVN update, which will redownload the file the way it should be.
Also don't do a rom/update.lua as the updater needs updating lol
That's why I always update the patterns when updating the addresses, if any need updating. I get the impression there is a whole segment of bot users that start the bot with some script they got somewhere that includes an 'update'. So if you don't update 'update.lua' you immediately get a stack of users reporting getting errors.

Re: Adjustments for this weeks patch needed.

Posted: Fri Jul 27, 2012 11:02 am
by bear
it still doesnt work

Re: Adjustments for this weeks patch needed.

Posted: Fri Jul 27, 2012 11:04 am
by rock5
bear wrote:it still doesnt work
How do you start the bot?

Re: Adjustments for this weeks patch needed.

Posted: Sat Jul 28, 2012 1:56 pm
by bear
micromacro/micromacro.exe and typing rom/bot

Re: Adjustments for this weeks patch needed.

Posted: Tue Jul 31, 2012 3:11 pm
by neocron
same Probleme here do the update as you described but it dosnt help
micromacro version 28
bot version 730
new installed and ingamefunctions in the gamefolder

here my addresses if you need a look on it
i hope you can understand my English ^^

edit: start the bot via links to bat files in this way

@echo off
START micromacro.exe scripts/rom/bot.lua update path:RBAssist

Code: Select all

Scanning for updated addresses...
Patched addresses.actionBarPtr   (value: 0xA3410C, at: 0x5ECBA8)
Patched addresses.actualSpeed_offset     (value: 0x890, at: 0x5FD19F)
Patched addresses.bankOpenPtr    (value: 0xA3414C, at: 0x68B4B2)
Patched addresses.boundStatusOffset      (value: 0x40, at: 0x847853)
Patched addresses.camDistanceSave_offset         (value: 0x598, at: 0x62BB40)
Patched addresses.camDistance_offset1    (value: 0x55C, at: 0x62BAA6)
Patched addresses.camDistance_offset2    (value: 0x244, at: 0x43E4F9)
Patched addresses.camPtr_offset  (value: 0x584, at: 0x5EF335)
Patched addresses.camXUVec_offset        (value: 0x128, at: 0x44338B)
Patched addresses.camX_offset    (value: 0x104, at: 0x4432AE)
Patched addresses.castingBarPtr  (value: 0xA34208, at: 0x638371)
Patched addresses.charAlive_offset       (value: 0x228, at: 0x5EEF8B)
Patched addresses.charBattle_offset      (value: 0x84A, at: 0x5EFCA2)
Patched addresses.charClassInfoBase      (value: 0x9DF16C, at: 0x5ED97D)
Patched addresses.charClassInfoSize      (value: 0x424, at: 0x6B5E8D)
Patched addresses.charMaxExpTable_address        (value: 0xA2C8AC, at: 0x6262F6)
Patched addresses.charPtrMounted_offset  (value: 0x7C, at: 0x862A02)
Patched addresses.charPtr_offset         (value: 0x6B0, at: 0x5ECF02)
Patched addresses.charStance_offset      (value: 0x8C4, at: 0x5EF005)
Patched addresses.coolDownOffset         (value: 0xE8, at: 0x6B346C)
Patched addresses.cursorBase     (value: 0xA357FC, at: 0x5F6C7F)
Patched addresses.durabilityOffset       (value: 0x18, at: 0x6AFD9B)
Patched addresses.editBoxHasFocus_address        (value: 0xA315D4, at: 0x72F75D)
Patched addresses.eggPetMaxExpTablePtr   (value: 0xA2CB54, at: 0x7F19B1)
Patched addresses.functionMousePatchAddr         (value: 0x4B886C7, at: 0x62C076)
Patched addresses.functionTargetPatchAddr        (value: 0xE8CD8B56, at: 0x5F296F)
Patched addresses.guildBankOpen_offset   (value: 0xBC, at: 0x853730)
Patched addresses.high9sBase     (value: 0x9FD3B8, at: 0x683725)
Patched addresses.hotkeysKey_offset      (value: 0x54, at: 0x7D31AC)
Patched addresses.hotkeysPtr     (value: 0xA35820, at: 0x75E85A)
Patched addresses.hotkeys_offset         (value: 0x28, at: 0x7D3A44)
Patched addresses.idCardNPCOffset        (value: 0x364, at: 0x69D7D7)
Patched addresses.idOffset       (value: 0xC, at: 0x82FA6C)
Patched addresses.inUseOffset    (value: 0x1C, at: 0x7822DB)
Patched addresses.itemCountOffset        (value: 0x10, at: 0x779A82)
Patched addresses.loadingScreenPtr       (value: 0xA35930, at: 0x5F6964)
Patched addresses.loadingScreen_offset   (value: 0xC, at: 0x7D55CE)
Patched addresses.macroBody_offset       (value: 0x118, at: 0x7DAA7F)
Patched addresses.maxDurabilityOffset    (value: 0x15, at: 0x6BAFC1)
Patched addresses.mousePtr_offset        (value: 0x85C, at: 0x609E57)
Patched addresses.nameOffset     (value: 0xC, at: 0x69D834)
Patched addresses.partyIconList_base     (value: 0xA359F0, at: 0x660672)
Patched addresses.pawnCasting_offset     (value: 0x260, at: 0x86F746)
Patched addresses.pawnClass1_offset      (value: 0x300, at: 0x5F014D)
Patched addresses.pawnClass2_offset      (value: 0x308, at: 0x5F0153)
Patched addresses.pawnDirXUVec_offset    (value: 0x34, at: 0x865576)
Patched addresses.pawnDirZUVec_offset    (value: 0x3C, at: 0x865581)
Patched addresses.pawnHP_offset  (value: 0x2CC, at: 0x8072AA)
Patched addresses.pawnHarvesting_offset  (value: 0x164, at: 0x8701E5)
Patched addresses.pawnId_offset  (value: 0x14, at: 0x861D6A)
Patched addresses.pawnLevel2_offset      (value: 0x30C, at: 0x86FCD1)
Patched addresses.pawnLevel_offset       (value: 0x304, at: 0x86FCCB)
Patched addresses.pawnLootable_offset    (value: 0x38C, at: 0x5ED935)
Patched addresses.pawnMP_offset  (value: 0x2D8, at: 0x86FB7D)
Patched addresses.pawnMaxHP_offset       (value: 0x2D4, at: 0x86FAE6)
Patched addresses.pawnMaxMP_offset       (value: 0x2DC, at: 0x86FB8A)
Patched addresses.pawnName_offset        (value: 0x294, at: 0x86F882)
Patched addresses.pawnPetPtr_offset      (value: 0x284, at: 0x8793D3)
Patched addresses.pawnRace_offset        (value: 0x314, at: 0x8070CA)
Patched addresses.pawnTargetPtr_offset   (value: 0x278, at: 0x5FF16A)
Patched addresses.pawnType_offset        (value: 0x18, at: 0x87E70A)
Patched addresses.pawnX_offset   (value: 0x28, at: 0x865556)
Patched addresses.ping_offset    (value: 0x8C0, at: 0x608E0F)
Patched addresses.playerCraftLevelBase   (value: 0x9DCE3C, at: 0x5EE387)
Patched addresses.qualityBaseOffset      (value: 0x40, at: 0x61DBE4)
Patched addresses.qualityTierOffset      (value: 0x16, at: 0x61DBEA)
Patched addresses.realItemIdOffset       (value: 0x98, at: 0x6B8F2D)
Patched addresses.requiredLevelOffset    (value: 0x58, at: 0x796901)
Patched addresses.skillsTableBase        (value: 0xA36D20, at: 0x815B33)
Patched addresses.staticEquipBase        (value: 0x9DB04C, at: 0x5F4792)
Patched addresses.staticGuildBankBase    (value: 0xA36ED4, at: 0x5EDCFE)
Patched addresses.staticTablePtr         (value: 0xA3715C, at: 0x8649B2)
Patched addresses.staticTableSize        (value: 0xA37158, at: 0x636F4C)
Patched addresses.staticbase_char        (value: 0x9D94AC, at: 0x5E6BA4)
Patched addresses.staticbase_macro       (value: 0xA35964, at: 0x760C7D)
Patched addresses.swimAddress    (value: 0xB483C7, at: 0x44DA72)
Patched addresses.valueOffset    (value: 0x34, at: 0x7BBBEF)
Patched addresses.zoneId         (value: 0xA2C830, at: 0x63C3D2)


Assuming information for 'addresses.pawnMP2_offset'; now 0x2E0, was 0x2E0
Assuming information for 'addresses.pawnMaxMP2_offset'; now 0x2E4, was 0x2E4
Assuming information for 'addresses.pawnY_offset'; now 0x2C, was 0x2C
Assuming information for 'addresses.pawnZ_offset'; now 0x30, was 0x30
Assuming information for 'addresses.camYUVec_offset'; now 0x12C, was 0x12C
Assuming information for 'addresses.camZUVec_offset'; now 0x130, was 0x130
Assuming information for 'addresses.camY_offset'; now 0x108, was 0x108
Assuming information for 'addresses.camZ_offset'; now 0x10C, was 0x10C
Assuming information for 'addresses.eggPetBaseAddress'; now 0x9F5470, was 0x9F5470
Assuming information for 'addresses.inventoryBagIds'; now 0x9F1E8C, was 0x9F1E8C
Assuming information for 'addresses.itemSetSkillsBase'; now 0x9F7028, was 0x9F7028
Assuming information for 'addresses.moneyPtr'; now 0x9ECA1C, was 0x9ECA1C
Assuming information for 'addresses.partyMemberList_address'; now 0x9FE22C, was 0x9FE238
Assuming information for 'addresses.rentBagBase'; now 0x9F2A34, was 0x9F2A34
Assuming information for 'addresses.rentBankBase'; now 0x9F2A5C, was 0x9F2A5C
Assuming information for 'addresses.rentEggSlotBase'; now 0x9F2AAC, was 0x9F2AAC
Assuming information for 'addresses.staticInventory'; now 0x9E9A48, was 0x9E9A48
Assuming information for 'addresses.tablesBase'; now 0x9FF4B8, was 0x9FF4C4
Assuming information for 'addresses.staticBankbase'; now 0x9ECA24, was 0x9ECA24
Assuming information for 'addresses.itemQueueCount'; now 0x9F53C8, was 0x9F53C8

Read bytes for functionTargetBytes at: 0x5F296F Bytes: 56 8B CD E8 49 35 28 00
Read bytes for functionMouseX1Bytes at: 0x62C076 Bytes: C7 86 B8 04 00 00 00 00 00 00
Read bytes for functionMouseX2Bytes at: 0x62C089 Bytes: 89 86 B8 04 00 00
Read bytes for functionMouseX3Bytes at: 0x62C854 Bytes: 89 8E B8 04 00 00
Read bytes for functionMouseY1Bytes at: 0x62C097 Bytes: C7 86 BC 04 00 00 00 00 00 00
Read bytes for functionMouseY2Bytes at: 0x62C0AA Bytes: 89 86 BC 04 00 00
Read bytes for functionMouseY3Bytes at: 0x62C85A Bytes: 89 86 BC 04 00 00
Read bytes for swimAddressBytes at: 0x44DA72 Bytes: C7 83 B4 00 00 00 03 00 00 00
Finished.
RoM windows size is 1610x892, upper left corner at 247,76
Loading profile Excubitor.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingamefunctions' by copyi
ng the 'ingamefunctions' folder from 'rom/devtools' to the games 'interface/addons' folder.
MACRO Test: ok
Did not find any crashed game clients.
9:40pm - scripts/rom/classes/memorytable.lua:7: bad argument #2 to 'memoryReadIntPtr' (number expect
ed, got nil)


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>

Re: Adjustments for this weeks patch needed.

Posted: Tue Jul 31, 2012 5:00 pm
by lisa
START micromacro.exe scripts/rom/bot.lua update path:RBAssist
remove the update, delete addresses.lua, do SVN update on the rom folder.

Re: Adjustments for this weeks patch needed.

Posted: Wed Aug 01, 2012 4:52 pm
by neocron
ok thx lisa atm it works