Version 7.4.0.2897 progress

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: Version 7.4.0.2897 progress

#381 Post by Uniden65 » Wed Apr 01, 2020 8:17 pm

So did it work out for you ?

Andre235
Posts: 156
Joined: Thu Oct 03, 2019 4:08 am

Re: Version 7.4.0.2897 progress

#382 Post by Andre235 » Thu Apr 02, 2020 12:00 am

The fixaddresses doesn’t work... it’s the main problem in this thread.

beutelbeutelbeutel
Posts: 3
Joined: Fri Mar 27, 2020 11:12 am

Re: Version 7.4.0.2897 progress

#383 Post by beutelbeutelbeutel » Sun Apr 05, 2020 4:47 am

beutelbeutelbeutel wrote: Fri Mar 27, 2020 2:47 pm
Andre235 wrote: Fri Mar 27, 2020 11:42 am
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
try adding this to the addresses and please give me a feedback for this:

Code: Select all

	partyIconList_base = 0xA63528,
	partyLeader_address = 0xA27240,
	partyMemberList_address = 0xA647B0,
now i got this micromacro/scripts/rom/functions.lua:110: bad argument #3 to 'readfunc' (number or table expected, got nil)
can anyone help me please?

Andre235
Posts: 156
Joined: Thu Oct 03, 2019 4:08 am

Re: Version 7.4.0.2897 progress

#384 Post by Andre235 » Sun Apr 05, 2020 8:44 am

i added the offsets. please give me a feedback :)

Code: Select all

partyIconList_base = 0xA63528,
partyIconList_offset = 0xC,
partyLeader_address = 0xA27240,
partyMemberList_address = 0xA647B0,
partyMemberList_offset = 0x68,

tristanlol
Posts: 16
Joined: Sun Dec 29, 2019 5:59 pm

Re: Version 7.4.0.2897 progress

#385 Post by tristanlol » Sun Apr 05, 2020 9:35 am

Andre235 wrote: Sun Apr 05, 2020 8:44 am i added the offsets. please give me a feedback :)

Code: Select all

partyIconList_base = 0xA63528,
partyIconList_offset = 0xC,
partyLeader_address = 0xA27240,
partyMemberList_address = 0xA647B0,
partyMemberList_offset = 0x68,
Thanks!! that made partyhealer waypoint work again :P

Andre235
Posts: 156
Joined: Thu Oct 03, 2019 4:08 am

Re: Version 7.4.0.2897 progress

#386 Post by Andre235 » Sun Apr 05, 2020 2:09 pm

nice :lol: that makes me very happy :)

lolau51
Posts: 31
Joined: Wed Oct 05, 2011 4:40 am

Re: Version 7.4.0.2897 progress

#387 Post by lolau51 » Mon Apr 06, 2020 7:33 am

Andre235 wrote: Sun Apr 05, 2020 8:44 am i added the offsets. please give me a feedback :)

Code: Select all

partyIconList_base = 0xA63528,
partyIconList_offset = 0xC,
partyLeader_address = 0xA27240,
partyMemberList_address = 0xA647B0,
partyMemberList_offset = 0x68,

Where do you need drop this ? i can't find it.

Andre235
Posts: 156
Joined: Thu Oct 03, 2019 4:08 am

Re: Version 7.4.0.2897 progress

#388 Post by Andre235 » Mon Apr 06, 2020 8:34 am

I don’t know, what you mean. But these addresses are from my addresses.lua for your addresses.lua...

lolau51
Posts: 31
Joined: Wed Oct 05, 2011 4:40 am

Re: Version 7.4.0.2897 progress

#389 Post by lolau51 » Mon Apr 06, 2020 8:42 am

Andre235 wrote: Mon Apr 06, 2020 8:34 am I don’t know, what you mean. But these addresses are from my addresses.lua for your addresses.lua...
also. i need to copy paste in adresses.lua
i will check.
thanks gor you help.

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: Version 7.4.0.2897 progress

#390 Post by Sasuke » Mon Apr 06, 2020 9:17 pm

guys i try to use an old macro for open glorious victory package and guild contribution package (BIG) .....in waypoint player stay stop and use this macro but it's not work and my bot said:
scripts\rom/bot.lua:722: No waypoints to go to in waypoint file.
but no waypoint up and also i'm sure for id packs.....can someone test it pls?
<?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>

KeinPlan
Posts: 19
Joined: Wed Jun 17, 2015 5:59 am

Re: Version 7.4.0.2897 progress

#391 Post by KeinPlan » Tue Apr 07, 2020 5:01 am

Hi zusammen,

eine Frage hat einer für das craften von Talisman des Gesandten lvl 75 eine vorlage ?

oder ein imgame Makro das den Rucksackplatz 1-30 verkauft in 30 sec. als beispiel.

Gruss
KeinPlan

Google übersetzung:

Hi everyone,

Does anyone have a question for crafting Talisman's envoy LVL 75?

or an imgame macro that sells the backpacking place 1-30 in 30 seconds as an example.

Greeting
No plan

Andre235
Posts: 156
Joined: Thu Oct 03, 2019 4:08 am

Re: Version 7.4.0.2897 progress

#392 Post by Andre235 » Thu Apr 09, 2020 6:12 am

updated the inventory.rent.base, bank.rent.base addresses (inventorytotalcount() didn't worked) and added the partyMemberList_offset
addresses.lua
(6.79 KiB) Downloaded 151 times

User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: Version 7.4.0.2897 progress

#393 Post by Ego95 » 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.

Andre235
Posts: 156
Joined: Thu Oct 03, 2019 4:08 am

Re: Version 7.4.0.2897 progress

#394 Post by Andre235 » Sun Apr 12, 2020 5:46 am

I know what you mean, but I have no idea where the problem is. In the Most cases the Casting bar appears and i write a simple function, that targeting/attacking an object up to the point, where the castingbar appears... that works not perfect, but it was enough to me :-)

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Version 7.4.0.2897 progress

#395 Post by Administrator » Sun Apr 12, 2020 9:32 am

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.
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?

User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: Version 7.4.0.2897 progress

#396 Post by Ego95 » Sun Apr 12, 2020 9:54 am

Administrator wrote: Sun Apr 12, 2020 9:32 am
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.
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?
This is what I use in a few scripts to target harvestable objects in range of 200 from below the ground with flyhack:

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
But even if I try to target other harvestable objects as you would do usual, it's skipping them (or it does nothing if there is a repeat loop in the function).
But why should it act different when the game is in the background or in the foreground?

User avatar
ThulsaDoom
Posts: 123
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#397 Post by ThulsaDoom » Sun Apr 12, 2020 10:04 am

Hello;
After this new ROM update, MM crash after few seconds, whith this message:

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>
What is happening?

Thanks

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: Version 7.4.0.2897 progress

#398 Post by Administrator » 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.

User avatar
ThulsaDoom
Posts: 123
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#399 Post by ThulsaDoom » Mon Apr 13, 2020 4:02 am

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.
Hello;
Thanks for the update, now targeting objects works well.
But still some issues, trying the new version, MM crashes after few minutes with following messages:

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)
also

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)
Thanks for your support and knowledge

morc
Posts: 75
Joined: Thu Jan 02, 2020 7:32 am

Re: Version 7.4.0.2897 progress

#400 Post by morc » Mon Apr 13, 2020 4:10 am

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.
Add prediction for block 513000, branch 0x78
Add prediction for block 521000, branch 0x25C
Add prediction for block 226000, branch 0x98
Add prediction for block 229000, branch 0xA4
Add prediction for block 212000, branch 0x29C

Locked

Who is online

Users browsing this forum: No registered users and 34 guests