Version 7.4.0.2897 progress

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Locked
Message
Author
Sabrosito
Posts: 6
Joined: Sat May 30, 2020 3:58 pm

Re: Version 7.4.0.2897 progress

#661 Post by Sabrosito » Sun Jul 19, 2020 11:52 am

Great job everyone, please some Warmage can help me configure the elite Ligthing Burn Weapon, I can't get the bot to use or renew this ability, I appreciate your kind reply.

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

Re: Version 7.4.0.2897 progress

#662 Post by Administrator » Sun Jul 19, 2020 12:05 pm

Small updates today to address those issues. Looks like the mount uses an entirely separate casting system from everything else. Seems odd to me, but whatever. Please test things out and let me know how it goes.

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

Re: Version 7.4.0.2897 progress

#663 Post by Ego95 » Sun Jul 19, 2020 8:12 pm

Small updates today to address those issues. Looks like the mount uses an entirely separate casting system from everything else. Seems odd to me, but whatever. Please test things out and let me know how it goes.
I can confirm that. When I am harvesting items for a quest and I got the last item I'm always using the mount right after clicking the object. The "collecting bar" gets replaced by the mount summoning bar, but you will get the item. Always do this to save time.

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

Re: Version 7.4.0.2897 progress

#664 Post by Sasuke » Tue Jul 21, 2020 8:32 am

another game update....a bit step forward and we come back after game update....
C:/Program Files/micromacro/scripts/rom/functions.lua:1655: bad argument #1 to 'memoryReadBytePtr' ((null)

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

Re: Version 7.4.0.2897 progress

#665 Post by morc » Wed Jul 22, 2020 12:34 am

/Desktop/micromacro/scripts/rom/classes/player.lua:146: attempt to perform arithmetic on local 'playerAddress' (a nil value)

the addrupdate helped me and the mount also works

thank you admin :)

Meyerchen97
Posts: 2
Joined: Wed Jul 01, 2020 10:06 am

Re: Version 7.4.0.2897 progress

#666 Post by Meyerchen97 » Wed Jul 22, 2020 6:00 am

2020-07-22 12:58:01 - IGF:\CHARACTER_SELECT.selectedIndex\:IGF [string "local a={CHARACTER_SELECT.selectedIndex} re..."]:1: attempt to index global 'CHARACTER_SELECT' (a nil value)

This error

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

Re: Version 7.4.0.2897 progress

#667 Post by Administrator » Thu Jul 23, 2020 4:03 pm

I updated some addresses and it is currently working fine for me. Are you guys still having those errors?

newb456
Posts: 5
Joined: Sat Dec 21, 2019 11:41 am

Re: Version 7.4.0.2897 progress

#668 Post by newb456 » Sun Jul 26, 2020 12:43 am

Hi,
I cannot start rom/bot ...
the command gitupdate won't work anymore. How to get latest update?

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

Re: Version 7.4.0.2897 progress

#669 Post by ThulsaDoom » Sun Jul 26, 2020 2:50 am

Administrator wrote: Thu Jul 23, 2020 4:03 pm I updated some addresses and it is currently working fine for me. Are you guys still having those errors?
It works fine, thanks.
The problem now is that the inventory or backpack is not updated and the Bot does not take into account the new saved items.

All items that are already in the backpack when launching the Bot, are used without problem.
All the items or objects acquired during the execution of the script are not detected, it is as if they did not exist in the backpack, therefore they cannot be used.

many thanks for your job.

User avatar
Tomato
Posts: 12
Joined: Mon Oct 08, 2018 7:58 am

Re: Version 7.4.0.2897 progress

#670 Post by Tomato » Sun Jul 26, 2020 4:21 am

New problem since the update today. Yesterday it went without problems. :(
Daily quest flame
2020-07-26 11:15:29 - [string "..."]:2: attempt to call global 'SetCharList' (a nil value)

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

Re: Version 7.4.0.2897 progress

#671 Post by Administrator » Sun Jul 26, 2020 11:01 am

newb456 wrote: Sun Jul 26, 2020 12:43 am Hi,
I cannot start rom/bot ...
the command gitupdate won't work anymore. How to get latest update?
You can't just say it "won't work" if you want help. I need more information than that. You can also just use the download link on the first post of this thread.
The problem now is that the inventory or backpack is not updated and the Bot does not take into account the new saved items.

All items that are already in the backpack when launching the Bot, are used without problem.
All the items or objects acquired during the execution of the script are not detected, it is as if they did not exist in the backpack, therefore they cannot be used.
Thanks for the detailed info; I've patched that up.
2020-07-26 11:15:29 - [string "..."]:2: attempt to call global 'SetCharList' (a nil value)
I can only assume you were using some waypoint script that was trying to switch characters. That function was removed from the game.

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

Re: Version 7.4.0.2897 progress

#672 Post by ThulsaDoom » Sun Jul 26, 2020 1:24 pm

Administrator wrote: Sun Jul 26, 2020 11:01 am
newb456 wrote: Sun Jul 26, 2020 12:43 am Hi,
I cannot start rom/bot ...
the command gitupdate won't work anymore. How to get latest update?
You can't just say it "won't work" if you want help. I need more information than that. You can also just use the download link on the first post of this thread.
The problem now is that the inventory or backpack is not updated and the Bot does not take into account the new saved items.

All items that are already in the backpack when launching the Bot, are used without problem.
All the items or objects acquired during the execution of the script are not detected, it is as if they did not exist in the backpack, therefore they cannot be used.
Thanks for the detailed info; I've patched that up.
2020-07-26 11:15:29 - [string "..."]:2: attempt to call global 'SetCharList' (a nil value)
I can only assume you were using some waypoint script that was trying to switch characters. That function was removed from the game.
Sorry to say it, but the inventory problem still continues.
Also with this change the speedhack function has stopped working.

Thanks

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

Re: Version 7.4.0.2897 progress

#673 Post by Administrator » Sun Jul 26, 2020 2:57 pm

The speedhack seems to be working fine for me, both while walking and mounted. What happens when you try to use it?

I made another update to the inventory stuff that should resolve another case of things not updating as expected. Go ahead and test that for me, please.

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

Re: Version 7.4.0.2897 progress

#674 Post by ThulsaDoom » Mon Jul 27, 2020 12:53 pm

Administrator wrote: Sun Jul 26, 2020 2:57 pm The speedhack seems to be working fine for me, both while walking and mounted. What happens when you try to use it?

I made another update to the inventory stuff that should resolve another case of things not updating as expected. Go ahead and test that for me, please.
No changes on the inventory issue.

Example:

I use the userfunction "userfunction_30daymounts", if there is no not enough material to build Abysmal mount, the script opens a [Horse rental ticket] (if you have it) and a mount appears in the Backpack.
Then call :

Code: Select all

player:mount()
And the bot never uses the mount.
If I stop Rombot and launch it again having the same mount in the inventory, Bot uses it without any issue.

Another example:
There is this code in the profile <onLoad>

Code: Select all

if myClass=="Scout" then
			if 200 > inventory:itemTotalCount("Runic Thorn") then
      				inventory:useItem("Rune Catapult") -- Use Rune War Bow
				yrest(1000)
				RoMScript("UseEquipmentItem(10);")
				yrest(1000)
				inventory:useItem("Arcane Shadows")
				yrest(1000)
				if inventory:getAmmunitionCount() == 0 then
					inventory:useItem("Runic Thorn")
				end
   			end
		end
999 Runic Thorn are created, but Bot doesn't equip it.

Concerning speed() function, when it is called, Runes client crashes.

Thanks

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

Re: Version 7.4.0.2897 progress

#675 Post by Administrator » Mon Jul 27, 2020 9:59 pm

I see. I think the issue is that the inventory will only receive a full automatic update once every ~60 seconds, so if you do something to create/buy an item into your inventory then try to use it right away it won't be seen until the full update comes through. You could probably pop inventory:update() in the script to work around that, but I think I'll try to see if we can latch onto common functionality that might modify inventory contents so it'll be a bit more automatic.


Onto the speedhack. Open up userfunctions/userfunction_speedhack.lua. There should be two lines that contain this:

Code: Select all

local baseSpeed = memoryReadFloat(getProc(), getBaseAddress(addresses.movement_speed.base) + addresses.movement_speed.offset);
Replace both of them with:

Code: Select all

local baseSpeed = memoryReadFloat(getProc(), 0xA0ACF0);
Does the speedhack still crash the client?

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

Re: Version 7.4.0.2897 progress

#676 Post by ThulsaDoom » Tue Jul 28, 2020 1:37 am

Administrator wrote: Mon Jul 27, 2020 9:59 pm I see. I think the issue is that the inventory will only receive a full automatic update once every ~60 seconds, so if you do something to create/buy an item into your inventory then try to use it right away it won't be seen until the full update comes through. You could probably pop inventory:update() in the script to work around that, but I think I'll try to see if we can latch onto common functionality that might modify inventory contents so it'll be a bit more automatic.


Onto the speedhack. Open up userfunctions/userfunction_speedhack.lua. There should be two lines that contain this:

Code: Select all

local baseSpeed = memoryReadFloat(getProc(), getBaseAddress(addresses.movement_speed.base) + addresses.movement_speed.offset);
Replace both of them with:

Code: Select all

local baseSpeed = memoryReadFloat(getProc(), 0xA0ACF0);
Does the speedhack still crash the client?
I did it, adding: inventory:update() before call the mount, but the result is the same, not recognize the mount.

Also, the Bot continues running the waypoints on foot, and after 60 seconds, having the mount in the inventory, still doesn't use when it is called.

Thanks

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

Re: Version 7.4.0.2897 progress

#677 Post by ThulsaDoom » Tue Jul 28, 2020 3:52 am

Please, have a look on this post:
https://forum.runesofmagic.gameforge.c ... -changed/

this change could affect the Bot's behavior.

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

Re: Version 7.4.0.2897 progress

#678 Post by ThulsaDoom » Tue Jul 28, 2020 12:16 pm

Administrator wrote: Mon Jul 27, 2020 9:59 pm Onto the speedhack. Open up userfunctions/userfunction_speedhack.lua. There should be two lines that contain this:

Code: Select all

local baseSpeed = memoryReadFloat(getProc(), getBaseAddress(addresses.movement_speed.base) + addresses.movement_speed.offset);
Replace both of them with:

Code: Select all

local baseSpeed = memoryReadFloat(getProc(), 0xA0ACF0);
Does the speedhack still crash the client?
It works, the change has solved the problem.

Thanks

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

Re: Version 7.4.0.2897 progress

#679 Post by Administrator » Tue Jul 28, 2020 4:40 pm

ThulsaDoom wrote: Tue Jul 28, 2020 1:37 am I did it, adding: inventory:update() before call the mount, but the result is the same, not recognize the mount.

Also, the Bot continues running the waypoints on foot, and after 60 seconds, having the mount in the inventory, still doesn't use when it is called.

Thanks
I identified and fixed another problem bug. In my test case, it is now finding mounts. Give it a shot and let me know if this fixes your issues.

ThulsaDoom wrote: Tue Jul 28, 2020 12:16 pm
Administrator wrote: Mon Jul 27, 2020 9:59 pm Onto the speedhack. Open up userfunctions/userfunction_speedhack.lua. There should be two lines that contain this:

Code: Select all

local baseSpeed = memoryReadFloat(getProc(), getBaseAddress(addresses.movement_speed.base) + addresses.movement_speed.offset);
Replace both of them with:

Code: Select all

local baseSpeed = memoryReadFloat(getProc(), 0xA0ACF0);
Does the speedhack still crash the client?
It works, the change has solved the problem.

Thanks
Now that's odd. Mathematically, they should be the same thing.
0x400000 (Client.exe module start address)
+ 0x609858 (movement speed base)
+ 0x1498 (movement speed offset)
------------
0xA0ACF0


Open up your addresses.lua; what do you have for movement_speed? It should look something like this:

Code: Select all

	movement_speed = {
		base = 0x609858, --[[{movement_speed_base}]]
		offset = 0x1498, --[[{movement_speed_offset}]]
	},
I suppose what could be happening is that running addrupdate modifies your addresses.lua file, which then may be preventing git from making changes to it to pull in the latest updates. Maybe try:

Code: Select all

rom-bot/gitupdate -f

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

Re: Version 7.4.0.2897 progress

#680 Post by ThulsaDoom » Wed Jul 29, 2020 1:32 pm

Administrator wrote: Tue Jul 28, 2020 4:40 pm
I identified and fixed another problem bug. In my test case, it is now finding mounts. Give it a shot and let me know if this fixes your issues.
Yes, mount issue has been solved!

Thanks

Locked

Who is online

Users browsing this forum: No registered users and 38 guests