Version 7.4.0.2897 progress

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
ThulsaDoom
Posts: 75
Joined: Mon Oct 19, 2015 2:46 pm

Re: Version 7.4.0.2897 progress

#521 Post by ThulsaDoom » Thu May 21, 2020 12:14 pm

ThulsaDoom wrote:
Wed May 20, 2020 10:44 am
When I try to run RBAssist waypoint, this error appears:

Code: Select all

Loaded waypoint path RBAssist.xml
No return path with default naming RBAssist_return.xml found.
We use the normal waypoint path RBAssist.xml now.

Rock5's Rombot Assist
Attack mode is set to: auto
Use the "triggerKEY" to toggle auto attack on/off.
The game client did not crash.
Character: 
2020-05-20 17:39:19 - [string "..."]:99: attempt to perform arithmetic on field 'client_exe_module_start' (a nil value)
I have all the files and MM up to date.
Complementing previous information:

Code: Select all

local address = memoryReadRepeat("uintptr", getProc(), addresses.client_exe_module_start + addresses.game_root.base, addresses.game_root.player.base)
MM chashes when try to assign value to "address".

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

Re: Version 7.4.0.2897 progress

#522 Post by Administrator » Thu May 21, 2020 4:50 pm

Just pushed up some updates to (hopefully) address some of the waypoint issues mentioned, but also fixed a bug with getTEXT() that was causing it to take a really long time for every text read; it should be almost instantaneous now.

If you update your scripts, you should now have updated versions of those waypoint files(RBAssist.xml, AndorTraining.xml, AndorTraining_onload.lua, Lyliya.xml, survivalR5.xml, survivalR5onload.lua). If not, try deleting your copy of the file and re-run the update. The output should look something like this:

Code: Select all

Switched to branch 'master'
remote: Enumerating objects: 27, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (16/16), done.
Uremote: Total 27 (delta 11), reused 27 (delta 11), pack-reused 0               s:  77% (21/27), 38.66 KiB | 75.00 KiB/s
Unpacking objects: 100% (27/27), 59.69 KiB | 67.00 KiB/s, done.
From https://github.com/SolarStrike-Software/rom-bot
   071ed49..9cef62a  master     -> origin/master
Updating 3b92d0d..9cef62a
Fast-forward
 addresses.lua                      |   4 +
 classes/memdatabase.lua            |   8 +-
 classes/pawn.lua                   |   2 +-
 functions.lua                      |  25 +-
 gitupdate.lua                      |   2 +-
 waypoints/AndorTraining.xml        | 317 +++++++++++++++++++++
 waypoints/AndorTraining_onload.lua | 466 +++++++++++++++++++++++++++++++
 waypoints/Lyliya.xml               | 379 +++++++++++++++++++++++++
 waypoints/NalaMelody.xml           | 213 ++++++++++++++
 waypoints/RBAssist.xml             |   4 +-
 waypoints/survivalR5.xml           | 207 ++++++++++++++
 waypoints/survivalR5onload.lua     | 553 +++++++++++++++++++++++++++++++++++++
 12 files changed, 2166 insertions(+), 14 deletions(-)
 create mode 100644 waypoints/AndorTraining.xml
 create mode 100644 waypoints/AndorTraining_onload.lua
 create mode 100644 waypoints/Lyliya.xml
 create mode 100644 waypoints/NalaMelody.xml
 create mode 100644 waypoints/survivalR5.xml
 create mode 100644 waypoints/survivalR5onload.lua

9cef62a RBAssist fix
b4e67a3 Waypoint script updates
4b66f2b Currency fix, text cache fix
06a88fa Skill fixes, Nala Melody update
071ed49 Merge branch 'version7.4.0.2897'
3b92d0d Merge pull request #1 from SolarStrike-Software/version7.4.0.2897
I was not fully able to test all of the scripts to ensure they actually fulfill whatever their purpose is. I was only able to do some basic checking to make sure the underlying functions were working. One of the scripts had a few raw hex offsets (rather than referring to them by their addresses name) so I had to kind of guess what they were even supposed to be. Lets cross our fingers and hope for the best, I guess!

nuk79
Posts: 368
Joined: Mon May 17, 2010 3:40 pm

Re: Version 7.4.0.2897 progress

#523 Post by nuk79 » Thu May 21, 2020 6:05 pm

ok ty i'll try iand i copy my feedback

Onche
Posts: 38
Joined: Thu Jun 11, 2015 6:10 pm

Re: Version 7.4.0.2897 progress

#524 Post by Onche » Fri May 22, 2020 4:42 am

Hey,

I feel like it should be better to ask here to avoing spamming the official topic.

I have the latest rom/bot you released @Administrator, and while it works fine, I was wondering if there was a way to solve this issue when loading profiles :

Code: Select all

[DEBUG] CPU Frequency 10000
Wrong value returned in update of item id: 243496
Wrong value returned in update of item id: 241706
Wrong value returned in update of item id: 241480
Wrong value returned in update of item id: 241480
Wrong value returned in update of item id: 241480
Wrong value returned in update of item id: 242124
Wrong value returned in update of item id: 242123
Wrong value returned in update of item id: 241089
Wrong value returned in update of item id: 240132
Wrong value returned in update of item id: 242631
Wrong value returned in update of item id: 242630
Wrong value returned in update of item id: 242629
Wrong value returned in update of item id: 242628
Wrong value returned in update of item id: 242087
Wrong value returned in update of item id: 242086
Wrong value returned in update of item id: 242085
Wrong value returned in update of item id: 242085
Wrong value returned in update of item id: 241958
Wrong value returned in update of item id: 241958
Wrong value returned in update of item id: 241955
Wrong value returned in update of item id: 241955
Wrong value returned in update of item id: 241949
I know that it is related to the ingame bank because when removing every item in my bank I don't have this issue, but it is quite difficult to remove everything on some chars (and it makes the bot slower to load) :B

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

Re: Version 7.4.0.2897 progress

#525 Post by Administrator » Fri May 22, 2020 8:19 am

I'll have to look into that. While I have occasionally gotten one or two of those notices, it seems to be a one-off and completely random so I never was able to figure out how to reproduce it. But if it's as simple as throwing the items in my bank and retesting, that should be easy enough. About how much longer does it add to the load time?

I'm not entirely sure which items those item IDs refer to off the top of my head, but they seem to fit in the standard expected range so nothing out of the ordinary there. It just has to be something with the bank code that's gone funky.

nuk79
Posts: 368
Joined: Mon May 17, 2010 3:40 pm

Re: Version 7.4.0.2897 progress

#526 Post by nuk79 » Fri May 22, 2020 9:21 am

i don't know why when i start command rom/gitupdate not works for me , so i copy an empty micromacro in my program and i download your rombot master ....I tried the bot by not touching anything so as to have the right feedback:

andor's waypoint does not work ... the player checks the phirius, accepts the quest but when using the skills he does not move and stands still
survivalr5 accept all, enter,use swimhack but it stucks( it does not complete the cast of the opening bar of the various pieces of platform and the opening of the casketscus )
nala melody works
lyliya works but i still have this:

Wrong value returned in update of item id: 243608
Wrong value returned in update of item id: 243608
Wrong value returned in update of item id: 241338
Wrong value returned in update of item id: 241482
Wrong value returned in update of item id: 240985
Wrong value returned in update of item id: 243473
Wrong value returned in update of item id: 242122
Wrong value returned in update of item id: 240996
Wrong value returned in update of item id: 243619
Wrong value returned in update of item id: 244111
Wrong value returned in update of item id: 242055
Wrong value returned in update of item id: 243219
Wrong value returned in update of item id: 240604
Wrong value returned in update of item id: 240300
Wrong value returned in update of item id: 240749
Wrong value returned in update of item id: 240748
Wrong value returned in update of item id: 241964
Wrong value returned in update of item id: 240060
Wrong value returned in update of item id: 241749
Wrong value returned in update of item id: 241346
Wrong value returned in update of item id: 241479
Wrong value returned in update of item id: 242283
Wrong value returned in update of item id: 241518
Wrong value returned in update of item id: 241349
Wrong value returned in update of item id: 241459
Wrong value returned in update of item id: 241456
Wrong value returned in update of item id: 241453
Wrong value returned in update of item id: 241340
Wrong value returned in update of item id: 241341
Wrong value returned in update of item id: 241333
Wrong value returned in update of item id: 241342
Wrong value returned in update of item id: 241481
Wrong value returned in update of item id: 242124
Wrong value returned in update of item id: 243726
Wrong value returned in update of item id: 243725
Wrong value returned in update of item id: 244195
Wrong value returned in update of item id: 243928
Wrong value returned in update of item id: 242723
Wrong value returned in update of item id: 242720
Wrong value returned in update of item id: 242693
Wrong value returned in update of item id: 241453
Wrong value returned in update of item id: 241602
Loaded waypoint path lyliya.xml

nuk79
Posts: 368
Joined: Mon May 17, 2010 3:40 pm

Re: Version 7.4.0.2897 progress

#527 Post by nuk79 » Fri May 22, 2020 10:08 am

i found the solution...we need to install another addons d303.now andor works

Onche
Posts: 38
Joined: Thu Jun 11, 2015 6:10 pm

Re: Version 7.4.0.2897 progress

#528 Post by Onche » Fri May 22, 2020 12:09 pm

From my tests, wrong values ID issue seems to be from ID 240xxx to 244xxx (don't know much more about that).
I have some other items in my bank with different IDs (like 20xxxx) and the bot isn't showing errors.

As for the delay, it is sometimes different, but here is what I could get when using a timer :

Code: Select all

Loading text cache... -- LAST FOR ~10s
[DEBUG] CPU Frequency 10000 -- LAST FROM 5 TO 10s
Wrong value returned in update of item id: 243496
[...]
Wrong value returned in update of item id: 241949 -- LAST FOR 8 TO 10s (depending on the amount, it's like 1 per second)
That test was on one client Those are the 3 steps that takes some time, I have a total amount of "launch time" ranging from 20 to 35s, increasing if I run it on several clients at once (through a batch file)

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

Re: Version 7.4.0.2897 progress

#529 Post by Administrator » Fri May 22, 2020 1:15 pm

nuk79 wrote:
Fri May 22, 2020 10:08 am
i found the solution...we need to install another addons d303.now andor works
Would you be willing to post the files that you needed to get things working? I'll add them to versioning so that gitupdate keeps those up to date as well.


From my tests, wrong values ID issue seems to be from ID 240xxx to 244xxx (don't know much more about that).
Are you able to determine which items that includes? Bonus points if it's something that is easily obtainable or purchasable for cheap.

nuk79
Posts: 368
Joined: Mon May 17, 2010 3:40 pm

Re: Version 7.4.0.2897 progress

#530 Post by nuk79 » Fri May 22, 2020 3:55 pm

i had this andortraining in a folder as backup when bot was works for me ...i use this addons too...try it and tell me if it works....ty
p.s only one problem....sometimes when you are out of andor the character not find npc and i need to enter in room and start the bot....also when him finish sometimes not speak with npc for go out and take rewards.
you need to set a range of point for minigame in .xml file around at 23 strings to 25/26
Attachments
d303Fix_v0_9.zip
(14.95 KiB) Downloaded 26 times
AndorTrainingprova.xml
(9.46 KiB) Downloaded 22 times

saverombotplz
Posts: 27
Joined: Sat Dec 14, 2019 3:52 pm

Re: Version 7.4.0.2897 progress

#531 Post by saverombotplz » Fri May 22, 2020 4:01 pm

Hi, i got thise error while about to start course of terror "rom/userfunctions/userfunction_swimhack.lua:17: attempt to get length of field 'swimAddressBytes' (a nil value)"

nuk79
Posts: 368
Joined: Mon May 17, 2010 3:40 pm

Re: Version 7.4.0.2897 progress

#532 Post by nuk79 » Fri May 22, 2020 4:21 pm

saverombotplz wrote:
Fri May 22, 2020 4:01 pm
Hi, i got thise error while about to start course of terror "rom/userfunctions/userfunction_swimhack.lua:17: attempt to get length of field 'swimAddressBytes' (a nil value)"
nre version of swimhack in gitupdate....check site but i don't like use swomhack ,you can disable

Onche
Posts: 38
Joined: Thu Jun 11, 2015 6:10 pm

Re: Version 7.4.0.2897 progress

#533 Post by Onche » Fri May 22, 2020 4:42 pm

As for my list, here you have the name of the items.

Code: Select all

Wrong value returned in update of item id: 243496 -- Amulet (quest item)
Wrong value returned in update of item id: 241706 -- Proof of Myth (can be bought from auction house)
Wrong value returned in update of item id: 241480 -- Water Element (event)
Wrong value returned in update of item id: 242124 -- Wolin's Heart (you can get it doing mirrorworlds)
Wrong value returned in update of item id: 242123 -- Salo's Heart (you can get it doing mirrorworlds)
Wrong value returned in update of item id: 241089 -- Equipment Attribute Puryfying Stone (from Item Shop)
Wrong value returned in update of item id: 240132 -- Tempered Nebula Jewel (From Item Shop)
Wrong value returned in update of item id: 242631 -- Basic Daily Quest Skill Potion (Item Shop)
Wrong value returned in update of item id: 242630 -- Basic Dual Function Daily Quest Potion (Item Shop)
Wrong value returned in update of item id: 242629 -- Daily quest Potion (Item Shop)
Wrong value returned in update of item id: 242628 -- Dual Function Daily Quest Potion (Item SHop)
Wrong value returned in update of item id: 242087 -- Gathering Potion (Item Shop)
Wrong value returned in update of item id: 242086 -- Gathering XP Increase Potion (Item Shop)
Wrong value returned in update of item id: 242085 -- Gathering Speed Increase Potion (Item Shop)
Wrong value returned in update of item id: 241958 -- Featured Cuisine Delicacy Table (Item Shop)
Wrong value returned in update of item id: 241955 -- Everlasting Love Beverage Tower (Item Shop)
Wrong value returned in update of item id: 241949 -- Chocolate Sweetheart Wedding Cake (Item Shop)
Easiest items to get would be the Gathering items as you can get those from Daily loyalty gift from item shop (one gift per day and per char), and those gathering potions are dropping easily.
Some other items from item shop are not available permanently.
Mirrorworld items are easy to obtain if you have a char who unlocked that mode.
Proof of myth can be obtainable through auction house if you have something like 6 to 10kk gold

saverombotplz
Posts: 27
Joined: Sat Dec 14, 2019 3:52 pm

Re: Version 7.4.0.2897 progress

#534 Post by saverombotplz » Fri May 22, 2020 5:05 pm

nuk79 wrote:
Fri May 22, 2020 4:21 pm
saverombotplz wrote:
Fri May 22, 2020 4:01 pm
Hi, i got thise error while about to start course of terror "rom/userfunctions/userfunction_swimhack.lua:17: attempt to get length of field 'swimAddressBytes' (a nil value)"
nre version of swimhack in gitupdate....check site but i don't like use swomhack ,you can disable
i got that error with the new update

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

Re: Version 7.4.0.2897 progress

#535 Post by tristanlol » Fri May 22, 2020 8:02 pm

Add prediction for block 231000, branch 0xB0

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

Re: Version 7.4.0.2897 progress

#536 Post by Administrator » Fri May 22, 2020 10:14 pm

saverombotplz wrote:
Fri May 22, 2020 4:01 pm
Hi, i got thise error while about to start course of terror "rom/userfunctions/userfunction_swimhack.lua:17: attempt to get length of field 'swimAddressBytes' (a nil value)"
The current version of userfunction_swimhack.lua does not have any mention of swimAddressBytes. You have one or more files out of date. You should delete your copy of the file and rerun the update script, or refetch the zip pack, extract, copy-and-paste those over your files and let it replace all.


In other news, I changed the way branch predictions work. You may notice a bunch of the purple branch prediction messages, but you can just ignore them now. Rather than have to be hard-coded in, they will automatically cache to disk. Basically, they automatically add themselves to the prediction list so they will be used in all future branch lookups. This also will further reduce the scope of checked branches, leading to a minor speed boost when searching for items in the memory database.

nuk79
Posts: 368
Joined: Mon May 17, 2010 3:40 pm

Re: Version 7.4.0.2897 progress

#537 Post by nuk79 » Sat May 23, 2020 3:08 am

Administrator wrote:
Fri May 22, 2020 1:15 pm
nuk79 wrote:
Fri May 22, 2020 10:08 am
i found the solution...we need to install another addons d303.now andor works
Would you be willing to post the files that you needed to get things working? I'll add them to versioning so that gitupdate keeps those up to date as well.


From my tests, wrong values ID issue seems to be from ID 240xxx to 244xxx (don't know much more about that).
Are you able to determine which items that includes? Bonus points if it's something that is easily obtainable or purchasable for cheap.
you need to retry files another time cause player stop during the game after 1 or 2 round and sometimes when finish you don't receive any reward cause you don't have point for it like you set in xml.


2020-05-23 10:11:38 - [string "..."]:230: attempt to perform arithmetic on field 'pawnAttackable_offset' (a nil value)
Attachments
AndorTraining_onload.lua
(13.58 KiB) Downloaded 15 times
AndorTraining.xml
(9.47 KiB) Downloaded 13 times

Onche
Posts: 38
Joined: Thu Jun 11, 2015 6:10 pm

Re: Version 7.4.0.2897 progress

#538 Post by Onche » Sat May 23, 2020 4:56 am

Administrator wrote:
Fri May 22, 2020 10:14 pm
In other news, I changed the way branch predictions work. You may notice a bunch of the purple branch prediction messages, but you can just ignore them now. Rather than have to be hard-coded in, they will automatically cache to disk. Basically, they automatically add themselves to the prediction list so they will be used in all future branch lookups. This also will further reduce the scope of checked branches, leading to a minor speed boost when searching for items in the memory database.
I don't know if this is related to the "Wrong value returned in update of item id: XXXXXX" issue, but now I'm getting a lot more wrong values : around 250, which is equal to the 5 bank pages + the item shop bank page instead of the ~25 before. It seems to be faster but the fact that I have 250 errors instead of 25 makes it slower to load.

.

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

Re: Version 7.4.0.2897 progress

#539 Post by Administrator » Sat May 23, 2020 8:28 am

Onche wrote:
Sat May 23, 2020 4:56 am
Administrator wrote:
Fri May 22, 2020 10:14 pm
In other news, I changed the way branch predictions work. You may notice a bunch of the purple branch prediction messages, but you can just ignore them now. Rather than have to be hard-coded in, they will automatically cache to disk. Basically, they automatically add themselves to the prediction list so they will be used in all future branch lookups. This also will further reduce the scope of checked branches, leading to a minor speed boost when searching for items in the memory database.
I don't know if this is related to the "Wrong value returned in update of item id: XXXXXX" issue, but now I'm getting a lot more wrong values : around 250, which is equal to the 5 bank pages + the item shop bank page instead of the ~25 before. It seems to be faster but the fact that I have 250 errors instead of 25 makes it slower to load.

.
Are they all still in the 240000-250000 range as before?

Onche
Posts: 38
Joined: Thu Jun 11, 2015 6:10 pm

Re: Version 7.4.0.2897 progress

#540 Post by Onche » Sat May 23, 2020 9:43 am

Administrator wrote:
Sat May 23, 2020 8:28 am
Onche wrote:
Sat May 23, 2020 4:56 am
Administrator wrote:
Fri May 22, 2020 10:14 pm
In other news, I changed the way branch predictions work. You may notice a bunch of the purple branch prediction messages, but you can just ignore them now. Rather than have to be hard-coded in, they will automatically cache to disk. Basically, they automatically add themselves to the prediction list so they will be used in all future branch lookups. This also will further reduce the scope of checked branches, leading to a minor speed boost when searching for items in the memory database.
I don't know if this is related to the "Wrong value returned in update of item id: XXXXXX" issue, but now I'm getting a lot more wrong values : around 250, which is equal to the 5 bank pages + the item shop bank page instead of the ~25 before. It seems to be faster but the fact that I have 250 errors instead of 25 makes it slower to load.
Are they all still in the 240000-250000 range as before?
No, the range was from 200XXX to 5XXXXXX.
Also I just tried now to launch it several times, and the number of wrong values seems to decrease until a certain point. Here is a test I did:
  • Start the client
    1st MM launch : 154 wrong values
    2nd MM launch : 22 wrong values
    3rd MM launch : 22 wrong values (same ones as the 2nd launch)
    Restarting Client
    1st MM launch : 152 wrong values
    2nd MM launch : 22 wrong values
    3rd MM launch : 22 wrong values (same ones as the 2nd launch)

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests