Malatina survivalR5 doesn`t work

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Malatina survivalR5 doesn`t work

#1 Post by mattstar81 » Wed Jan 13, 2021 3:37 am

hi
Malatina survivalR5 doesn`t work if the bot wants to open a box, the first goes, after that only comes istalled code mod.
i have the newest bot to use.

who has an idea?

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#2 Post by mattstar81 » Tue Jul 27, 2021 1:15 pm

the bot makes the mobs wonderful, but it cannot open the chests.
The cast bar is broken off halfway
And then comes

"The macro hotkey is F9.
The 'Attack' hotkey is set to 'macro'.
Fernkampffähigkeit gefunden: MAGE_THUNDERSTORM
Swimhack ACTIVATED!
installed code mod"

I have the latest updates

Doesn't anyone have an idea??? Pls help me ^^

sry for my bad english

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

Re: Malatina survivalR5 doesn`t work

#3 Post by Administrator » Wed Jul 28, 2021 6:08 pm

Thanks for the report; I'll look into it as time allows. I think I have a good idea of what the problem could be.

If there's any more details you can mention as far as what you expect the script to do vs. what it does do, I'm all ears. Any extra information could come in handy.

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

Re: Malatina survivalR5 doesn`t work

#4 Post by Administrator » Thu Jul 29, 2021 4:43 pm

Could you update to the latest version off of Git (link for your convenience) and then run the objdump path while in this area?

You should be able to just use this command to run the object dumper:

Code: Select all

rom-bot/bot path:objdump
While you're in this mini-game, and you pass near one of the chests, it should (hopefully) state that it dumped the chest and print its ID (I think the ID should be 111956?).
Now in your RoM bot folder, you should see a folder named objdump. This folder will contain memory information about those objects; I'll need a copy of that to understand what's wrong and how to fix it.
Zip up that folder and email it to me

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#5 Post by mattstar81 » Fri Jul 30, 2021 1:35 pm

hello, thank you very much for helping me.
It is not the chest but the tile before that cannot be opened (111811 treasure tile)

I have send the Email with the infos.

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

Re: Malatina survivalR5 doesn`t work

#6 Post by Administrator » Fri Jul 30, 2021 6:11 pm

Sorry; never got it. Could you try attaching a copy here?

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#7 Post by mattstar81 » Sat Jul 31, 2021 2:09 am

Okay
Attachments
Malatina.rar
(24.25 KiB) Downloaded 93 times

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#8 Post by mattstar81 » Sat Jul 31, 2021 2:54 am

many, many thanks first for your efforts, maybe you have an idea for this
with the minigame AndorTraining
I can't load another profile because the error always comes Minigame

"Event finished, end score was 8465Wir versuchen den NPC 120687 zu finden:
Der NPC 'Magelly Basac' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
installed code mod
Drücke MACRO: RoMScript ausführen "ChoiceOption(1);".
The loading screen didn't appear...
The game client did not crash.
Character: XXX
2021-07-31 09:24:12 - [string "..."]:96: attempt to perform arithmetic on global 'sttime' (a nil value)"

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

Re: Malatina survivalR5 doesn`t work

#9 Post by Administrator » Sat Jul 31, 2021 10:05 am

Just pushed up a fix that should correct those issues. Let me know if that works.

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#10 Post by mattstar81 » Sun Aug 01, 2021 12:50 am

it looked so good ^^ but unfortunately it doesn't work.
The first tile and the first box are looted then comes:

Swimhack ACTIVATED!
Player Teleported to X: 2623 Z: 2901 Y: 18
installed code mod
Braune Holztruhe found. Id 111956.
installed code mod
installed code mod
installed code mod
installed code mod
installed code mod
installed code mod
installed code mod
installed code mod
installed code mod

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

Re: Malatina survivalR5 doesn`t work

#11 Post by Administrator » Sun Aug 01, 2021 8:32 am

The note about installing the code mod is fine; what is the bot doing wrong? Is it just standing there and doing nothing from that point on, or what?

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#12 Post by mattstar81 » Sun Aug 01, 2021 10:54 am

Exactly that. After the first successful chest he doesn't do anything anymore and only spams the code mod

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

Re: Malatina survivalR5 doesn`t work

#13 Post by Administrator » Mon Aug 02, 2021 11:39 am

I put up a change that might correct this. Are you able to test it out?

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#14 Post by mattstar81 » Mon Aug 02, 2021 12:23 pm

Thank you very much, now it works perfect

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#15 Post by mattstar81 » Tue Aug 03, 2021 12:36 am

oh dear
the bot leaves out a chest every now and then. I can't see why he's doing this

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#16 Post by mattstar81 » Tue Aug 03, 2021 8:55 am

in other words.
not every chest is opened after a tile, sometimes the bot goes straight to the next without having looted the one

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

Re: Malatina survivalR5 doesn`t work

#17 Post by Administrator » Tue Aug 03, 2021 11:14 am

I'm not able to reproduce this. It could be a timing-related issue. Could you try opening up waypoints/survivalR5onload.lua and go to line 335. You should see this:

Code: Select all

				until player.Casting == false
			until clicktile(tile.Address) == false
			LastTileDug = i
			
			-- see what's there
			local starttime = os.clock()
Just above the "See what's there" comment, add a yrest for 500 seconds; that would look like this:

Code: Select all

				until player.Casting == false
			until clicktile(tile.Address) == false
			LastTileDug = i

			yrest(500);
			
			-- see what's there
			local starttime = os.clock()
Save it, then test it. Does that help?

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#18 Post by mattstar81 » Wed Aug 04, 2021 12:26 am

Thank you.
That looks better now. The bot now leaves 1-2 chests. Before it was more. So it got better.
I have the time now on yrest (700); placed.

mattstar81
Posts: 42
Joined: Tue Feb 02, 2016 5:14 pm

Re: Malatina survivalR5 doesn`t work

#19 Post by mattstar81 » Wed Aug 04, 2021 12:27 am

I am surprised that I am the only one with the problem ^^

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

Re: Malatina survivalR5 doesn`t work

#20 Post by ThulsaDoom » Wed Aug 04, 2021 6:59 am

mattstar81 wrote: Wed Aug 04, 2021 12:27 am I am surprised that I am the only one with the problem ^^
I used this waypoint in the past, but due to problems with the GM I stopped using it.
Be careful.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 18 guests