Re: Version 7.4.0.2897 progress
Posted: Wed Apr 01, 2020 8:17 pm
So did it work out for you ?
can anyone help me please?beutelbeutelbeutel wrote: ↑Fri Mar 27, 2020 2:47 pmnow i got this micromacro/scripts/rom/functions.lua:110: bad argument #3 to 'readfunc' (number or table expected, got nil)Andre235 wrote: ↑Fri Mar 27, 2020 11:42 amtry adding this to the addresses and please give me a feedback for this:beutelbeutelbeutel wrote: ↑Fri Mar 27, 2020 11:15 am Hi there, works fine but i got an error by checking Groupmembername 1
local party1 = GetPartyMemberName(1);
micromacro/scripts/rom/functions.lua:1679: Invalid address
thanks for your help
Code: Select all
partyIconList_base = 0xA63528, partyLeader_address = 0xA27240, partyMemberList_address = 0xA647B0,
Code: Select all
partyIconList_base = 0xA63528,
partyIconList_offset = 0xC,
partyLeader_address = 0xA27240,
partyMemberList_address = 0xA647B0,
partyMemberList_offset = 0x68,
Thanks!! that made partyhealer waypoint work againAndre235 wrote: ↑Sun Apr 05, 2020 8:44 am i added the offsets. please give me a feedbackCode: Select all
partyIconList_base = 0xA63528, partyIconList_offset = 0xC, partyLeader_address = 0xA27240, partyMemberList_address = 0xA647B0, partyMemberList_offset = 0x68,
Andre235 wrote: ↑Sun Apr 05, 2020 8:44 am i added the offsets. please give me a feedbackCode: Select all
partyIconList_base = 0xA63528, partyIconList_offset = 0xC, partyLeader_address = 0xA27240, partyMemberList_address = 0xA647B0, partyMemberList_offset = 0x68,
but no waypoint up and also i'm sure for id packs.....can someone test it pls?scripts\rom/bot.lua:722: No waypoints to go to in waypoint file.
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
while inventory:itemTotalCount(206770) > 0 and inventory:itemTotalCount(0) > 0 do
inventory:useItem(206770);
end
</onLoad>
</waypoints>
That sounds like it's trying to use the TAB key to target things instead of using the objectlist. Or, maybe it's using macros; I'm not sure. What are you trying to target, and what specific functions are you using?Ego95 wrote: ↑Sat Apr 11, 2020 10:41 am Thanks for your update
Do you have any idea why targeting objects does not work for me correctly? I don't know if you also got problems with this.
I always used functions that repeat targeting objects until they gone. At the moment if the game window is in front the bot repeats targeting objects forever but doesn't target anything. If micromacro is in the foreground it has no problem targeting something. That seems really strange to me.
This is what I use in a few scripts to target harvestable objects in range of 200 from below the ground with flyhack:Administrator wrote: ↑Sun Apr 12, 2020 9:32 amThat sounds like it's trying to use the TAB key to target things instead of using the objectlist. Or, maybe it's using macros; I'm not sure. What are you trying to target, and what specific functions are you using?Ego95 wrote: ↑Sat Apr 11, 2020 10:41 am Thanks for your update
Do you have any idea why targeting objects does not work for me correctly? I don't know if you also got problems with this.
I always used functions that repeat targeting objects until they gone. At the moment if the game window is in front the bot repeats targeting objects forever but doesn't target anything. If micromacro is in the foreground it has no problem targeting something. That seems really strange to me.
Code: Select all
function item()
repeat
local item = player:findNearestNameOrId(123456)
if item and 200 > distance(item, player) then
yrest(300)
teleport(item.X,item.Z,item.Y-30)
keyboardPress(settings.hotkeys.STRAFF_RIGHT.key)
keyboardPress(settings.hotkeys.STRAFF_LEFT.key)
yrest(1000)
player:target_Object(item.Id)
end
until item == nil or distance(item, player) > 200
teleport(nil, nil, -50, false)
yrest(300)
end
Code: Select all
Choose your character that you want to play on:
XXXXX
Add prediction for block 235000, branch 0xBC
Add prediction for block 213000, branch 0x29C
Add prediction for block 214000, branch 0x2A4
Game Version is 7.4.0.2908
RoM windows size is 2560x1377, upper left corner at 0,23
Loading profile XXXX.xml
The macro hotkey is F9.
The 'Attack' hotkey is set to 'macro'.
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingamefunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the games 'interface/addons' folder.
MACRO Test: ok
The macro hotkey is F9.
The 'Attack' hotkey is set to 'macro'.
No ranged skills specified in profile; Turning COMBAT_RANGED_PULL off.
Maximum range of range attack skills is less than COMBAT_DISTANCE 200. Reducing COMBAT_DISTANCE setting to 50.
[DEBUG] CPU Frequency 10000
The game client did not crash.
Character: XXXXX
2020-04-12 16:59:06 - ...Documents/micromacro/scripts/rom/classes/memdatabase.lua:143: bad argument #1 to 'pairs' (table expected, got number)
Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
Hello;Administrator wrote: ↑Sun Apr 12, 2020 3:41 pm That was my fault; minor bug in the code. Try updating again now and it should be working. That code was added to dynamically add branch predictions at runtime. This should improve speed and reduce system resources of the bot.
Anyone that sees those purple messages about adding predictions, please post those here. They are *not* errors, however, they can be added to the base bot code so that your machine won't have to spend as much time inspecting the memory to find it. The more of those that we add, the better it should work for everyone.
Code: Select all
2020-04-13 10:56:04 - C:/Micromacro/scripts/rom/macros.lua:309: attempt to perform arithmetic on local 'hotkeysTableAddress' (a nil value)
Code: Select all
2020-04-13 10:56:08 - C:Micromacro/scripts/rom/macros.lua:151: attempt to perform arithmetic on local 'macro_address' (a nil value)
Add prediction for block 513000, branch 0x78Administrator wrote: ↑Sun Apr 12, 2020 3:41 pm That was my fault; minor bug in the code. Try updating again now and it should be working. That code was added to dynamically add branch predictions at runtime. This should improve speed and reduce system resources of the bot.
Anyone that sees those purple messages about adding predictions, please post those here. They are *not* errors, however, they can be added to the base bot code so that your machine won't have to spend as much time inspecting the memory to find it. The more of those that we add, the better it should work for everyone.