Page 39 of 53

Re: Version 7.4.0.2897 progress

Posted: Fri Sep 25, 2020 4:01 pm
by Administrator
Sasuke wrote: Fri Sep 25, 2020 3:45 am 1-how to kick offline ppl in party with simple command
I don't know. Probably would be best to have this as an actual game addon.
2-how can i add at start from bot "/z or /s +word" for autoinvite when dailies up or say to bot click on macro in 1 position of bar
Presumably, you could just send that as a macro like this:

Code: Select all

RoMScript("SendChatMessage('hello world', 'say')");
See documentation for that function here: https://runesofmagic.gamepedia.com/API:SendChatMessage
3- how to say to bot leave party when 10 dailies are finish and log out
You'd have to hold the number of dailies in some variable, which I'll leave as an exercise for you. Basically just start with a variable = 0, and every time you complete a daily, call variable = variable + 1, then also check if it is greater than or equal to 10. If so, call the appropriate commands.

Code: Select all

-- Call this at the start of your waypoint
myDailyCount = myDailyCount or 0;

Code: Select all

-- Call this when you have completed a daily.
myDailyCount = myDailyCount + 1;
if myDailyCount >= 10 then
    RoMScript("LeaveParty()");
    yrest(3000); -- wait 3 seconds before logging off
    RoMScript("Logout()");
end

Re: Version 7.4.0.2897 progress

Posted: Sat Sep 26, 2020 10:54 am
by Sasuke
why i can't write long message ?



Forbidden

You do not have permission to access this page.

Source IP: 123123123123123, forwarding for 123123123123

If you believe this is an error, please contact admin@solarstrike.net.
who can fix this

Re: Version 7.4.0.2897 progress

Posted: Sat Sep 26, 2020 11:38 am
by Sasuke
i'm trying to understand to lognext char without using rock's fastlogin and name table but seemes impossible...is there any function where if you logoff you can log next char maybe?

Re: Version 7.4.0.2897 progress

Posted: Sun Sep 27, 2020 10:22 am
by Administrator
Sasuke wrote: Sat Sep 26, 2020 10:54 am why i can't write long message ?



Forbidden

You do not have permission to access this page.

Source IP: 123123123123123, forwarding for 123123123123

If you believe this is an error, please contact admin@solarstrike.net.
who can fix this
That's an automatic exploit protection thing from my host. It's super annoying since it triggers off of posted code erroneously all the time, and this is a forum where lots of code is posted.

The simplest way to get around it is to upload it as a file.
i'm trying to understand to lognext char without using rock's fastlogin and name table but seemes impossible...is there any function where if you logoff you can log next char maybe?
No. The required functionality was completely removed from the game.

Re: Version 7.4.0.2897 progress

Posted: Thu Oct 08, 2020 7:44 am
by Sasuke
nre update new addresses-...we will wait new about it:)

Re: Version 7.4.0.2897 progress

Posted: Thu Oct 08, 2020 12:55 pm
by Andre235
here is a working version with some issues (many CItem warnings - sorry fpr this, i have some problems to find out the memdatabase base address :oops: )
addresses.lua
(9.09 KiB) Downloaded 170 times

Re: Version 7.4.0.2897 progress

Posted: Thu Oct 08, 2020 3:45 pm
by Sasuke
yeah i have errors
C:/Program Files/micromacro/scripts/rom/functions.lua:2683: attempt to get length of local 'key' (a nil value)

maybe do we try to use an empty rom-bot folder and just replace addresses?

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 1:23 am
by Andre235
Are you sure, that your Game Client was Not minimized?

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 3:03 am
by Sasuke
i delete micromacro folder, i download new and i repolace addreeses file (your addresses posted below)....but nothing same error.suggest?
now i have this error after id errors:
Wrong value returned in update of CItem id: 1
Wrong value returned in update of CItem id: 1
Wrong value returned in update of CItem id: 1
Wrong value returned in update of CItem id: 1
etc
2020-10-09 10:04:36 - C:/Program Files/micromacro/scripts/rom/classes/cursor.lua:44: attempt to perform arithmetic on a nil value

in classes.lua44 i have this string:
self.ItemBagId = memoryReadInt(getProc(), self.Address + addresses.cursor.item.bag_id) + 1

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 8:43 am
by Andre235
Sasuke wrote: Fri Oct 09, 2020 3:03 am i delete micromacro folder, i download new and i repolace addreeses file (your addresses posted below)....but nothing same error.suggest?
now i have this error after id errors:
Wrong value returned in update of CItem id: 1
Wrong value returned in update of CItem id: 1
Wrong value returned in update of CItem id: 1
Wrong value returned in update of CItem id: 1
etc
2020-10-09 10:04:36 - C:/Program Files/micromacro/scripts/rom/classes/cursor.lua:44: attempt to perform arithmetic on a nil value

in classes.lua44 i have this string:
self.ItemBagId = memoryReadInt(getProc(), self.Address + addresses.cursor.item.bag_id) + 1
thank you, i have updated the cursor.base address, i hope, itc the correct one ;) please give me a feedback, if its fixed or not :-)
addresses.lua
(9.17 KiB) Downloaded 141 times

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 10:20 am
by Icaro
thank you, the latest version of addresses.lua is the first that makes it possible to start a waypoint file. it seems to work nice, wouldnt there be the updates of CItem ids, especially while the waypoint file is running. Probably it delays the execution of the file causing the char to get of the way and stuck sooner than later.

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 1:52 pm
by Onche
Hi everyone,

Don't know about the addresses update, I ran an old MM that was tweaked a little bit (already used that in the past) and I got that "patched list", I don't know if it can help :

Code: Select all

Patched addresses.actualSpeed_offset     (value: 0x790, at: 0x5FD4CC)
Patched addresses.bankOpenPtr    (value: 0xA6CBC4, at: 0x694FB2)
Patched addresses.boundStatusOffset      (value: 0x40, at: 0x868E93)
Patched addresses.camDistanceSave_offset         (value: 0x490, at: 0x6317C0)
Patched addresses.camDistance_offset1    (value: 0x454, at: 0x631726)
Patched addresses.camDistance_offset2    (value: 0x244, at: 0x43E5C9)
Patched addresses.camPtr_offset  (value: 0x47C, at: 0x5EFDA5)
Patched addresses.camXUVec_offset        (value: 0x128, at: 0x44345B)
Patched addresses.camX_offset    (value: 0x104, at: 0x44337E)
Patched addresses.castingBarPtr  (value: 0xA8F958, at: 0x631866)
Patched addresses.charAlive_offset       (value: 0x228, at: 0x5EF9FB)
Patched addresses.charBattle_offset      (value: 0x74A, at: 0x5F0762)
Patched addresses.charClassInfoBase      (value: 0xA0CC48, at: 0x5EE3AD)
Patched addresses.charClassInfoSize      (value: 0x430, at: 0x6C2E1F)
Patched addresses.charPtrMounted_offset  (value: 0x7C, at: 0x887F42)
Patched addresses.charPtr_offset         (value: 0x5A8, at: 0x5ED932)
Patched addresses.charStance_offset      (value: 0x7C4, at: 0x5EFA75)
Patched addresses.coolDownOffset         (value: 0xE8, at: 0x6BFEAC)

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 2:04 pm
by Andre235
ok, no citem warnings now... but i got the problem, that the player is starting to use skills, and after using 1-2 attacks, the player stops attacking... :-/

here is the new addresses.lua:
addresses.lua
(9.02 KiB) Downloaded 165 times

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 2:43 pm
by Onche
Some more updates, always with the old MM (which is why the names of the addresses are different). Currency Base is missing :

Code: Select all

Scanning for updated addresses...
Patched addresses.actualSpeed_offset     (value: 0x790, at: 0x5FD4CC)
Patched addresses.bankOpenPtr    (value: 0xA6CBC4, at: 0x694FB2)
Patched addresses.boundStatusOffset      (value: 0x40, at: 0x868E93)
Patched addresses.camDistanceSave_offset         (value: 0x490, at: 0x6317C0)
Patched addresses.camDistance_offset1    (value: 0x454, at: 0x631726)
Patched addresses.camDistance_offset2    (value: 0x244, at: 0x43E5C9)
Patched addresses.camPtr_offset  (value: 0x47C, at: 0x5EFDA5)
Patched addresses.camXUVec_offset        (value: 0x128, at: 0x44345B)
Patched addresses.camX_offset    (value: 0x104, at: 0x44337E)
Patched addresses.castingBarPtr  (value: 0xA8F958, at: 0x631866)
Patched addresses.charAlive_offset       (value: 0x228, at: 0x5EF9FB)
Patched addresses.charBattle_offset      (value: 0x74A, at: 0x5F0762)
Patched addresses.charClassInfoBase      (value: 0xA0CC48, at: 0x5EE3AD)
Patched addresses.charClassInfoSize      (value: 0x430, at: 0x6C2E1F)
Patched addresses.charPtrMounted_offset  (value: 0x7C, at: 0x887F42)
Patched addresses.charPtr_offset         (value: 0x5A8, at: 0x5ED932)
Patched addresses.charStance_offset      (value: 0x7C4, at: 0x5EFA75)
Patched addresses.coolDownOffset         (value: 0xE8, at: 0x6BFEAC)
Patched addresses.cursorBase     (value: 0xA6E274, at: 0x5F69AF)
Patched addresses.dailyCount_offset      (value: 0xF8AC, at: 0x6C1BCF)
Patched addresses.durabilityOffset       (value: 0x18, at: 0x6BC5BB)
Patched addresses.editBoxHasFocus_address        (value: 0xA69FFC, at: 0x740B6D)
Patched addresses.eggPetMaxExpTablePtr   (value: 0xA65534, at: 0x80E4C1)
Patched addresses.functionMousePatchAddr         (value: 0x3B486C7, at: 0x631CF6)
Patched addresses.functionTargetPatchAddr        (value: 0xE8CD8B56, at: 0x5F354F)
Patched addresses.gameTimeAddress        (value: 0xA08050, at: 0x60E6A7)
Patched addresses.getTEXT        (value: 0xA2DAFC, at: 0x60E73C)
Patched addresses.guildBankOpen_offset   (value: 0xBC, at: 0x877EF0)
Patched addresses.high9sBase     (value: 0xA24490, at: 0x688EB4)
Patched addresses.hotkeysKey_offset      (value: 0x54, at: 0x7EB70C)
Patched addresses.hotkeysPtr     (value: 0xA6E298, at: 0x77414A)
Patched addresses.hotkeys_offset         (value: 0x28, at: 0x7EC1C4)
Patched addresses.idCardNPCOffset        (value: 0x36C, at: 0x6A9277)
Patched addresses.idOffset       (value: 0xC, at: 0x85154C)
Patched addresses.inUseOffset    (value: 0x1C, at: 0x7988BB)
Patched addresses.isInGame       (value: 0xA0805C, at: 0x648335)
Patched addresses.itemCountOffset        (value: 0x10, at: 0x7900C2)
Patched addresses.loadingScreenPtr       (value: 0xA6E3A8, at: 0x5F6697)
Patched addresses.loadingScreen_offset   (value: 0xC, at: 0x7EDD4E)
Patched addresses.loginInfoPtr   (value: 0xA6CA88, at: 0x77C222)
Patched addresses.macroBody_offset       (value: 0x118, at: 0x7F5A1F)
Patched addresses.maxDurabilityOffset    (value: 0x15, at: 0x6C8D51)
Patched addresses.mousePtr_offset        (value: 0x75C, at: 0x60C317)
Patched addresses.moveKeysPressed_offset         (value: 0xAAC, at: 0x5EDFE8)
Patched addresses.nameOffset     (value: 0xC, at: 0x6A92D4)
Patched addresses.partyIconList_base     (value: 0xA6E488, at: 0x668A82)
Patched addresses.partyLeader_address    (value: 0xA2F228, at: 0x664FC8)
Patched addresses.partyMemberList_address        (value: 0xA6F710, at: 0x5EF46F)
Patched addresses.pawnCastingElapsed_offset      (value: 0x264, at: 0x894FFC)
Patched addresses.pawnCasting_offset     (value: 0x260, at: 0x894FD6)
Patched addresses.pawnClass1_offset      (value: 0x310, at: 0x5F0C0D)
Patched addresses.pawnClass2_offset      (value: 0x31C, at: 0x5F0C13)
Patched addresses.pawnDirXUVec_offset    (value: 0x34, at: 0x88AC76)
Patched addresses.pawnDirZUVec_offset    (value: 0x3C, at: 0x88AC81)
Patched addresses.pawnHarvesting_offset  (value: 0x164, at: 0x895B25)
Patched addresses.pawnId_offset  (value: 0x14, at: 0x8872AA)
Patched addresses.pawnIsPet_offset       (value: 0x280, at: 0x899052)
Patched addresses.pawnLevel2_offset      (value: 0x320, at: 0x8955C1)
Patched addresses.pawnLevel_offset       (value: 0x314, at: 0x8955BB)
Patched addresses.pawnLootable_offset    (value: 0x3A0, at: 0x5EE365)
Patched addresses.pawnMP_offset  (value: 0x2E8, at: 0x89546D)
Patched addresses.pawnMaxMP_offset       (value: 0x2EC, at: 0x89547A)
Patched addresses.pawnName_offset        (value: 0x294, at: 0x895112)
Patched addresses.pawnPetPtr_offset      (value: 0x284, at: 0x89E8D3)
Patched addresses.pawnRace_offset        (value: 0x328, at: 0x824D4A)
Patched addresses.pawnTargetPtr_offset   (value: 0x278, at: 0x5FF5FA)
Patched addresses.pawnType_offset        (value: 0x18, at: 0x8A3E31)
Patched addresses.pawnX_offset   (value: 0x28, at: 0x88AC56)
Patched addresses.ping_offset    (value: 0x7C0, at: 0x60B2CB)
Patched addresses.playerCraftLevelBase   (value: 0xA0A8A8, at: 0x5EEDB7)
Patched addresses.playerCraftLevel_offset        (value: 0x152C, at: 0x6CA49A)
Patched addresses.psi    (value: 0xA0CC10, at: 0x7CCE64)
Patched addresses.qualityBaseOffset      (value: 0x40, at: 0x622774)
Patched addresses.qualityTierOffset      (value: 0x16, at: 0x62277A)
Patched addresses.questGroup_offset      (value: 0x4F0, at: 0x78A6D5)
Patched addresses.realItemIdOffset       (value: 0x98, at: 0x6A5969)
Patched addresses.requiredLevelOffset    (value: 0x58, at: 0x7AE121)
Patched addresses.skillsTableBase        (value: 0xA6F7C8, at: 0x836C93)
Patched addresses.staticCooldownsBase    (value: 0xA09A88, at: 0x6429D0)
Patched addresses.staticEquipBase        (value: 0xA086D8, at: 0x6029E2)
Patched addresses.staticGuildBankBase    (value: 0xA6F98C, at: 0x5EE72E)
Patched addresses.staticTablePtr         (value: 0xA6FD5C, at: 0x88A162)
Patched addresses.staticTableSize        (value: 0xA6FD58, at: 0x63CD0C)
Patched addresses.staticbase_char        (value: 0xA06A94, at: 0x5E6F04)
Patched addresses.staticbase_macro       (value: 0xA6E3EC, at: 0x77645D)
Patched addresses.swimAddress    (value: 0xB483C7, at: 0x44DBE9)
Patched addresses.tablesBase     (value: 0xA3293C, at: 0x6B6E8D)
Patched addresses.valueOffset    (value: 0x34, at: 0x7D378F)
Patched addresses.zoneId         (value: 0xA651C8, at: 0x642102)


Assuming information for 'addresses.pawnMP2_offset'; now 0x2F0, was 0x2F0
Assuming information for 'addresses.pawnMaxMP2_offset'; now 0x2F4, was 0x2F4
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 0xA24AA0, was 0xA1E998
Assuming information for 'addresses.inventoryBagIds'; now 0xA214BC, was 0xA1B3B4
Assuming information for 'addresses.itemSetSkillsBase'; now 0xA26658, was 0xA20550
Assuming information for 'addresses.moneyPtr'; now 0xA1A4F4, was 0xA143EC
Assuming information for 'addresses.rentBagBase'; now 0xA22064, was 0xA1BF5C
Assuming information for 'addresses.rentBankBase'; now 0xA2208C, was 0xA1BF84
Assuming information for 'addresses.rentEggSlotBase'; now 0xA220DC, was 0xA1BFD4
Assuming information for 'addresses.staticInventory'; now 0xA17520, was 0xA11418
Assuming information for 'addresses.staticBankbase'; now 0xA1A4FC, was 0xA143F4
Assuming information for 'addresses.itemQueueCount'; now 0xA249F8, was 0xA1E8F0

Read bytes for functionTargetBytes at: 0x5F354F Bytes: 56 8B CD E8 09 83 2A 00
Read bytes for functionMouseX1Bytes at: 0x631CF6 Bytes: C7 86 B4 03 00 00 00 00 00 00
Read bytes for functionMouseX2Bytes at: 0x631D09 Bytes: 89 86 B4 03 00 00
Read bytes for functionMouseX3Bytes at: 0x6324D4 Bytes: 89 8E B4 03 00 00
Read bytes for functionMouseY1Bytes at: 0x631D17 Bytes: C7 86 B8 03 00 00 00 00 00 00
Read bytes for functionMouseY2Bytes at: 0x631D2A Bytes: 89 86 B8 03 00 00
Read bytes for functionMouseY3Bytes at: 0x6324DA Bytes: 89 86 B8 03 00 00
Read bytes for swimAddressBytes at: 0x44DBE9 Bytes: C7 83 B4 00 00 00 03 00 00 00

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 4:38 pm
by Icaro
Thanks for the update. The latest version works perfect for me (as far as i tested on priest). No fighting back in TRAVEL mode and 80 flawless fights in NORMAL mode for the same waypoints. Could it be a class specific problem ?

Re: Version 7.4.0.2897 progress

Posted: Fri Oct 09, 2020 4:41 pm
by Miworax
seems like it.

My rouge farmchars are perfectly fine.
My Scout cant even load.

Re: Version 7.4.0.2897 progress

Posted: Sat Oct 10, 2020 4:20 am
by Sasuke
daily moorlands:)

C:/Program Files/micromacro/scripts/rom/classes/item.lua:154: attempt to concatenate field 'Name' (a nil value)

this is strings in this folder : self.Name = self.Name .. tmp;

Re: Version 7.4.0.2897 progress

Posted: Sat Oct 10, 2020 5:58 am
by Sasuke
Andre235 wrote: Fri Oct 09, 2020 2:04 pm ok, no citem warnings now... but i got the problem, that the player is starting to use skills, and after using 1-2 attacks, the player stops attacking... :-/

here is the new addresses.lua:
addresses.lua
bot start:
Wrong value returned in update of CItem id: 201139
Wrong value returned in update of CItem id: 205814
Wrong value returned in update of CItem id: 207491
Wrong value returned in update of CItem id: 202322
Wrong value returned in update of CItem id: 207489
Wrong value returned in update of CItem id: 206523
Wrong value returned in update of CItem id: 201967
Wrong value returned in update of CItem id: 200559
Wrong value returned in update of CItem id: 201088
Wrong value returned in update of CItem id: 206848
Wrong value returned in update of CItem id: 231885
Wrong value returned in update of CItem id: 203488
Wrong value returned in update of CItem id: 223418
Wrong value returned in update of CItem id: 201967
Wrong value returned in update of CItem id: 202881
Wrong value returned in update of CItem id: 208532
Wrong value returned in update of CItem id: 204108
Wrong value returned in update of CItem id: 202506
Wrong value returned in update of CItem id: 200447
Wrong value returned in update of CItem id: 203053

also :
Add prediction for block 202000, branch 0xFC
Add prediction for block 206000, branch 0x108
Add prediction for block 490000, branch 0x198
Add prediction for block 211000, branch 0x29C

Re: Version 7.4.0.2897 progress

Posted: Sat Oct 10, 2020 9:16 am
by Andre235
Thank you for this Feedback, were are the Items from your citem Warnings?

The Item.lua:154 error is caused by monstercards - sorry, but i can‘t help you with this problem :(

Re: Version 7.4.0.2897 progress

Posted: Sat Oct 10, 2020 11:24 am
by Icaro
Some more feedback. I tested the latest addresses.lua for 10 chars now, the bot does what it should, mostly i used it for traveling and dqs without fighting. Got more warnings (CItem id, block predictions) than for the first char i tested yesterday, some even in the very beginning after the waypoint.xml was started. Looks like it depends even on the secondary class. Atm it works sufficient for my needs. If you need more feedback tell me what you need, i dont wanna spam the thread with useless information.