Version 7.4.0.2897 progress

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

Re: Version 7.4.0.2897 progress

#421 Post by ThulsaDoom » Sat Apr 18, 2020 11:13 am

Hello;

Still MM chrash after few minutes running:

Code: Select all

2020-04-18 18:08:18 - C:/.../micromacro/scripts/rom/macros.lua:309: attempt to perform arithmetic on local 'hotkeysTableAddress' (a nil value)
Someone else with the same problem?

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

Re: Version 7.4.0.2897 progress

#422 Post by morc » Sat Apr 18, 2020 12:16 pm

Administrator wrote: Sat Apr 18, 2020 10:34 am I just pushed up a commit to add some more branch predictions. That should eliminate those notices about finding them (*only* the ones that have been posted here; I'm sure more will follow). If you continue to see them after this update, please report back.

Sasuke: It looks like something is out of wack there; you clearly have an up-to-date memdatabase.lua, but your functions.lua is not. I think that perhaps git isn't able to properly merge some files because there are uncommitted changes (probably from being modified elsewhere). I would suggest you delete all of the base bot files (keep your profiles and waypoints though!), re-extract the current zip package and see if that resolves it.
Add prediction for block 770000, branch 0xC0

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

Re: Version 7.4.0.2897 progress

#423 Post by Administrator » Sat Apr 18, 2020 3:52 pm

CDWriter wrote: Thu Apr 16, 2020 5:22 pm My character is a rouge / scout when the rouge starts to fight it does a check for Range weapons... here only finds ROGUE_SHADOW_PRISON. what about Rouge / Scout range skills like Shot and V-Arrow.
MACRO Test: ok
The macro hotkey is F9.
The 'Attack' hotkey is set to 'macro'.
Ranged skill found: ROGUE_SHADOW_PRISON
Maximum range of range attack skills is less than COMBAT_DISTANCE 260. Reducing COMBAT_DISTANCE setting to 180.

It has been a huge pain in the ass, but after another ~6 hours I think I've finally solved (some of?) the skill issues. Please update again and see how well it works.

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

Re: Version 7.4.0.2897 progress

#424 Post by morc » Sun Apr 19, 2020 2:32 am

Administrator wrote: Sat Apr 18, 2020 3:52 pm

It has been a huge pain in the ass, but after another ~6 hours I think I've finally solved (some of?) the skill issues. Please update again and see how well it works.
unfortunately it doesn't work (the second class skill does not appear in the list at startup either)

mage/priest use only mage skills
champion/mage use only champion skills
etc...

example:
in profile (champion/mage):
<skills_champion>

<skill name="MAGE_FIREBALL" hotkey="MACRO" priority="98" />
<skill name="CHAMPION_ELECTROCUTION" hotkey="MACRO" priority="92" />
<skill name="CHAMPION_RUNE_PULSE" hotkey="MACRO" priority="92" />
<skill name="CHAMPION_HEAVY_BASH" hotkey="MACRO" priority="92" />

</skills_champion>

MM list at start:

The macro hotkey is F9.
The 'Attack' hotkey is set to 'macro'.
Found skill 0x36FE3600 498522 Electrocution
Found skill 0x36FE3698 498527 Hammer Weapon Proficiency
Found skill 0x36FE36E4 498526 Energy Influx Strike
Found skill 0x36FE3730 498530 Runecraft - Diversion
Found skill 0x36FE377C 498532 Runecraft - Solidify
Found skill 0x36FE37C8 498534 Shock Strike
Found skill 0x37A62800 498604 Forge
Found skill 0x37A6284C 498564 Rune Draw
Found skill 0x37A62898 498525 Finishing Hammer
Found skill 0x37A628E4 498529 Rune Pulse
Found skill 0x37A62930 498531 Fearless Blow
Found skill 0x37A6297C 498656 Backlash Armor
Found skill 0x37A62A14 498533 Rune Energy Influx
Found skill 0x37A62A60 498563 Runecraft - Fortify
Found skill 0x37A62AAC 498535 Chain Drive
Found skill 0x37A62AF8 498536 Rune Growth
Found skill 0x37A62B44 498538 Agitated Whirlpool
Found skill 0x37A62B90 498537 Vacuum Wave
Found skill 0x37A62BDC 498539 Last Line of Defense
Found skill 0x37A62C28 498566 Imprisonment Pulse
Found skill 0x37A62C74 498481 Kinetic Burn
Found skill 0x37A62CC0 498568 Feedback Defense
Found skill 0x37A62D0C 498570 Overrule
Found skill 0x37A62D58 498571 Remodeled Body
Found skill 0x37A62DA4 498572 Rune Overload
Ranged skill found: CHAMPION_RUNE_PULSE
[DEBUG] CPU Frequency 10000

the class base address is definitely good?

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

Re: Version 7.4.0.2897 progress

#425 Post by morc » Sun Apr 19, 2020 3:03 am

i modified in the address.lua classinfobase value (an old value) and no changes (it works the same way)
Last edited by morc on Sun Apr 19, 2020 8:33 am, edited 1 time in total.

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

Re: Version 7.4.0.2897 progress

#426 Post by Sasuke » Sun Apr 19, 2020 8:03 am

i update with git command, bot said me this in rozaran at dailies quest and also this :

AL lib: DSoundOpenPlayback: Device init failed: 0x80070057
OpenAL error: alutInit() returned error code 'Invalid operation'
Please enter the script name to run.

Wrong value returned in update of item id: 200470
Wrong value returned in update of item id: 241479
Wrong value returned in update of item id: 203499
Wrong value returned in update of item id: 203496
Wrong value returned in update of item id: 203492
Wrong value returned in update of item id: 200197
Wrong value returned in update of item id: 200197
Wrong value returned in update of item id: 208927
Wrong value returned in update of item id: 242757
Wrong value returned in update of item id: 206772
Wrong value returned in update of item id: 206773
Wrong value returned in update of item id: 205037
Wrong value returned in update of item id: 201783
Wrong value returned in update of item id: 207749
Wrong value returned in update of item id: 207747
Wrong value returned in update of item id: 205547
Wrong value returned in update of item id: 203032
Wrong value returned in update of item id: 203031
Wrong value returned in update of item id: 203030
Wrong value returned in update of item id: 203029
Wrong value returned in update of item id: 242818
Wrong value returned in update of item id: 203488
Wrong value returned in update of item id: 240524
Wrong value returned in update of item id: 242757
Wrong value returned in update of item id: 242756
Wrong value returned in update of item id: 205792
Wrong value returned in update of item id: 241640
Wrong value returned in update of item id: 202817
Wrong value returned in update of item id: 520463
Wrong value returned in update of item id: 520442
Wrong value returned in update of item id: 520588
Wrong value returned in update of item id: 520505
Wrong value returned in update of item id: 521094
Wrong value returned in update of item id: 520664
Wrong value returned in update of item id: 520584
Wrong value returned in update of item id: 520544
Wrong value returned in update of item id: 520304
Wrong value returned in update of item id: 520623
Wrong value returned in update of item id: 520403
Wrong value returned in update of item id: 520582
Wrong value returned in update of item id: 520522
Wrong value returned in update of item id: 520281
Wrong value returned in update of item id: 242322
Wrong value returned in update of item id: 242756
Wrong value returned in update of item id: 207961
Wrong value returned in update of item id: 207949
Wrong value returned in update of item id: 205037
Wrong value returned in update of item id: 240747
Wrong value returned in update of item id: 209386
Wrong value returned in update of item id: 231888
Wrong value returned in update of item id: 243726
Wrong value returned in update of item id: 202305
Wrong value returned in update of item id: 206524
Wrong value returned in update of item id: 206492
Wrong value returned in update of item id: 201086
Wrong value returned in update of item id: 242828
Wrong value returned in update of item id: 242813
Wrong value returned in update of item id: 242810
Wrong value returned in update of item id: 242807
Wrong value returned in update of item id: 242806
Wrong value returned in update of item id: 242805
Wrong value returned in update of item id: 207763
Wrong value returned in update of item id: 207491
Wrong value returned in update of item id: 241453
Wrong value returned in update of item id: 203883
Wrong value returned in update of item id: 242088
Wrong value returned in update of item id: 241602
Wrong value returned in update of item id: 206624
Wrong value returned in update of item id: 203574
Wrong value returned in update of item id: 202322
Wrong value returned in update of item id: 201925
Wrong value returned in update of item id: 201619
Wrong value returned in update of item id: 201618
Wrong value returned in update of item id: 201141
Wrong value returned in update of item id: 201139
Wrong value returned in update of item id: 201134
Wrong value returned in update of item id: 208926
Wrong value returned in update of item id: 207750
Wrong value returned in update of item id: 207750
Wrong value returned in update of item id: 207748
Wrong value returned in update of item id: 207748
Wrong value returned in update of item id: 206848
Wrong value returned in update of item id: 205550
Wrong value returned in update of item id: 203031
Wrong value returned in update of item id: 202301

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

Re: Version 7.4.0.2897 progress

#427 Post by Administrator » Sun Apr 19, 2020 9:03 am

Nuk, if you open a command prompt and `cd` into the rom-bot directory (I'm assuming you know how to do that; let me know if you need help), try running this command:

Code: Select all

git-status
What does this display?

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

Re: Version 7.4.0.2897 progress

#428 Post by Sasuke » Sun Apr 19, 2020 9:55 am

i can open command prompt but i don't understand after, i use git=status in its proper windows and i have this:
git: '=status' is not a git command. See 'git --help'.

The most similar command is
status

c:\Program Files\Git>


also i use this command for diasmt one type of materials cold psilotum juice and clinet crash with this error:
Wrong value returned in update of item id: 201014
Wrong value returned in update of item id: 201139
Wrong value returned in update of item id: 200553
Loaded waypoint path dismat.xml
No return path with default naming dismat_return.xml found.
We use the normal waypoint path dismat.xml now.
Attached game client has crashed. Killing client (PID 11484)
[WARN]: C:/Program Files/micromacro/scripts/rom/functions.lua:465
[C]:-1: scripts\rom/bot.lua:717: Client crash detected.
Last edited by Sasuke on Sun Apr 19, 2020 10:29 am, edited 1 time in total.

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

Re: Version 7.4.0.2897 progress

#429 Post by Administrator » Sun Apr 19, 2020 10:12 am

Sorry. Blonde moment there. It should just be "git status", not "git-status".
Should look something like this (but the console will be visually different depending on your OS and terminal choices):
Annotation 2020-04-18 105621.png

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

Re: Version 7.4.0.2897 progress

#430 Post by Sasuke » Sun Apr 19, 2020 10:32 am

i modified post before this check it also
Attachments
git.jpg

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

Re: Version 7.4.0.2897 progress

#431 Post by Administrator » Sun Apr 19, 2020 10:50 am

You need to change directory into the directory where the RoM bot scripts are first. For example:

Code: Select all

cd "C:/micromacro/scripts/rom-bot/"

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

Re: Version 7.4.0.2897 progress

#432 Post by Administrator » Sun Apr 19, 2020 11:06 am

Just pushed up another fix for skills. Testing with a warrior/scout, I'm now seeing a full list of all skills for that combination:

Code: Select all

Found skill 0x327C2400 ID(490053) Book(1-0) Slash
Found skill 0x327C244C ID(491132) Book(1-0) Equip Axe
Found skill 0x327C2498 ID(490492) Book(1-0) Enraged
Found skill 0x327C24E4 ID(490133) Book(1-0) Whirlwind
Found skill 0x327C2530 ID(490095) Book(1-0) Berserk
Found skill 0x327C257C ID(498031) Book(1-0) Defensive Formation
Found skill 0x327C25C8 ID(490125) Book(1-0) Brute Strength
Found skill 0x32FC9000 ID(490493) Book(1-1) Frenzy
Found skill 0x32FC904C ID(491136) Book(1-1) Open Flank
Found skill 0x32FC9098 ID(491133) Book(1-1) Probing Attack
Found skill 0x32FC90E4 ID(491142) Book(1-1) Tactical Attack
Found skill 0x32FC9130 ID(491139) Book(1-1) Thunder
Found skill 0x32FC917C ID(490089) Book(1-1) Feint
Found skill 0x32FC91C8 ID(490129) Book(1-1) Surprise Attack
Found skill 0x32FC9214 ID(490130) Book(1-1) Taunt
Found skill 0x32FC9260 ID(490121) Book(1-1) Moon Cleave
Found skill 0x32FC92AC ID(490136) Book(1-1) Shout
Found skill 0x32FC92F8 ID(490131) Book(1-1) 1-H Weapon Mastery
Found skill 0x32FC9344 ID(490137) Book(1-1) 2-H Weapon Mastery
Found skill 0x32FC9390 ID(490054) Book(1-1) Terror
Found skill 0x32FC93DC ID(490123) Book(1-1) Aggressiveness
Found skill 0x32FC9428 ID(490122) Book(1-1) Survival Instinct
Found skill 0x32FC9474 ID(490145) Book(1-1) Group Taunt
Found skill 0x32FC94C0 ID(490147) Book(1-1) Blasting Cyclone
Found skill 0x481CCC00 ID(490448) Book(2-0) Bow Training
Found skill 0x481CCC4C ID(490423) Book(2-0) Shot
Found skill 0x481CCC98 ID(491292) Book(2-0) Vampire Arrows
Found skill 0x481CCCE4 ID(490420) Book(2-0) Joint Blow
Found skill 0x481CCD30 ID(490434) Book(2-0) Blood Arrow
Found skill 0x481CCD7C ID(490428) Book(2-0) Throat Attack
Found skill 0x481CCDC8 ID(490451) Book(2-0) Wrist Attack
Found skill 0x481CCE14 ID(491159) Book(2-0) Swiftness
Found skill 0x481CCE60 ID(490505) Book(2-0) Speed Shooting Mastery
I can also confirm that after adding SCOUT_SHOT to my profile that it is pulling monsters with that skill.

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

Re: Version 7.4.0.2897 progress

#433 Post by Sasuke » Sun Apr 19, 2020 11:12 am

i start commenad "git-cmd.exe" and windows is opne....now:i have directory rom inside this way program files/micromacro/script/rom but when i use this command prompt said me "the command is not recognized"

c:\Program Files\Git>C:/Program Files/micromacro/scripts/rom
"C:/Program" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.

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

Re: Version 7.4.0.2897 progress

#434 Post by Administrator » Sun Apr 19, 2020 11:21 am

You're not entering the the "cd" command;

Code: Select all

cd "C:/Program Files/micromacro/scripts/rom"

Alternatively you can use a batch file:
Create a new file in the rombot folder. Type this into it:

Code: Select all

git status > output.txt
File->Save As
gitstatus.bat

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

Re: Version 7.4.0.2897 progress

#435 Post by Sasuke » Sun Apr 19, 2020 11:33 am

it's works and now?
Last edited by Sasuke on Sun Apr 19, 2020 11:36 am, edited 1 time in total.

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

Re: Version 7.4.0.2897 progress

#436 Post by Administrator » Sun Apr 19, 2020 11:35 am

That's good. There should be a new file named gitstatus.txt; if you open it up it should contain a bunch of text.

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

Re: Version 7.4.0.2897 progress

#437 Post by morc » Sun Apr 19, 2020 11:37 am

Administrator wrote: Sun Apr 19, 2020 11:06 am Just pushed up another fix for skills. Testing with a warrior/scout, I'm now seeing a full list of all skills for that combination:

Code: Select all

Found skill 0x327C2400 ID(490053) Book(1-0) Slash
Found skill 0x327C244C ID(491132) Book(1-0) Equip Axe
Found skill 0x327C2498 ID(490492) Book(1-0) Enraged
Found skill 0x327C24E4 ID(490133) Book(1-0) Whirlwind
Found skill 0x327C2530 ID(490095) Book(1-0) Berserk
Found skill 0x327C257C ID(498031) Book(1-0) Defensive Formation
Found skill 0x327C25C8 ID(490125) Book(1-0) Brute Strength
Found skill 0x32FC9000 ID(490493) Book(1-1) Frenzy
Found skill 0x32FC904C ID(491136) Book(1-1) Open Flank
Found skill 0x32FC9098 ID(491133) Book(1-1) Probing Attack
Found skill 0x32FC90E4 ID(491142) Book(1-1) Tactical Attack
Found skill 0x32FC9130 ID(491139) Book(1-1) Thunder
Found skill 0x32FC917C ID(490089) Book(1-1) Feint
Found skill 0x32FC91C8 ID(490129) Book(1-1) Surprise Attack
Found skill 0x32FC9214 ID(490130) Book(1-1) Taunt
Found skill 0x32FC9260 ID(490121) Book(1-1) Moon Cleave
Found skill 0x32FC92AC ID(490136) Book(1-1) Shout
Found skill 0x32FC92F8 ID(490131) Book(1-1) 1-H Weapon Mastery
Found skill 0x32FC9344 ID(490137) Book(1-1) 2-H Weapon Mastery
Found skill 0x32FC9390 ID(490054) Book(1-1) Terror
Found skill 0x32FC93DC ID(490123) Book(1-1) Aggressiveness
Found skill 0x32FC9428 ID(490122) Book(1-1) Survival Instinct
Found skill 0x32FC9474 ID(490145) Book(1-1) Group Taunt
Found skill 0x32FC94C0 ID(490147) Book(1-1) Blasting Cyclone
Found skill 0x481CCC00 ID(490448) Book(2-0) Bow Training
Found skill 0x481CCC4C ID(490423) Book(2-0) Shot
Found skill 0x481CCC98 ID(491292) Book(2-0) Vampire Arrows
Found skill 0x481CCCE4 ID(490420) Book(2-0) Joint Blow
Found skill 0x481CCD30 ID(490434) Book(2-0) Blood Arrow
Found skill 0x481CCD7C ID(490428) Book(2-0) Throat Attack
Found skill 0x481CCDC8 ID(490451) Book(2-0) Wrist Attack
Found skill 0x481CCE14 ID(491159) Book(2-0) Swiftness
Found skill 0x481CCE60 ID(490505) Book(2-0) Speed Shooting Mastery
I can also confirm that after adding SCOUT_SHOT to my profile that it is pulling monsters with that skill.
work!!! very nice and many thnaks :)

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

Re: Version 7.4.0.2897 progress

#438 Post by Sasuke » Sun Apr 19, 2020 11:38 am

i send you in pm.is better...all my chars name

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

Re: Version 7.4.0.2897 progress

#439 Post by Administrator » Sun Apr 19, 2020 12:00 pm

Nuk79, I have absolutely no idea what's going on there. Your scripts look good based on the PM you sent me. I don't know why the memdatabase stuff seems to work for everyone but you.

Based on those IDs, it looks like those may be inventory items. Are you able to determine what IDs those items refer to? Outside of showing those errors, does the bot generally work?

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

Re: Version 7.4.0.2897 progress

#440 Post by Sasuke » Sun Apr 19, 2020 12:10 pm

Administrator wrote: Sun Apr 19, 2020 12:00 pm Nuk79, I have absolutely no idea what's going on there. Your scripts look good based on the PM you sent me. I don't know why the memdatabase stuff seems to work for everyone but you.

Based on those IDs, it looks like those may be inventory items. Are you able to determine what IDs those items refer to? Outside of showing those errors, does the bot generally work?


using the old waypoints and also checking the ids of the objects or the targets seem to correspond to the id ids today, some things have not changed. How can I update the membase? can I delete it and replace it with a new one? possible depends on the version of micromacro I used? when I posted the steps to use the new bot I did nothing but add only 4 waypoints in addition to those already present inside if you want I can give you my waypoints and try to check if they work for you ... they are very simple and require no additional lua in userfunction.or try to send me one of your waypoint and we check what happen if you prefer

Locked

Who is online

Users browsing this forum: No registered users and 30 guests