Page 1 of 2

Malatina survivalR5 doesn`t work

Posted: Wed Jan 13, 2021 3:37 am
by mattstar81
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?

Re: Malatina survivalR5 doesn`t work

Posted: Tue Jul 27, 2021 1:15 pm
by mattstar81
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

Re: Malatina survivalR5 doesn`t work

Posted: Wed Jul 28, 2021 6:08 pm
by Administrator
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.

Re: Malatina survivalR5 doesn`t work

Posted: Thu Jul 29, 2021 4:43 pm
by Administrator
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

Re: Malatina survivalR5 doesn`t work

Posted: Fri Jul 30, 2021 1:35 pm
by mattstar81
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.

Re: Malatina survivalR5 doesn`t work

Posted: Fri Jul 30, 2021 6:11 pm
by Administrator
Sorry; never got it. Could you try attaching a copy here?

Re: Malatina survivalR5 doesn`t work

Posted: Sat Jul 31, 2021 2:09 am
by mattstar81
Okay

Re: Malatina survivalR5 doesn`t work

Posted: Sat Jul 31, 2021 2:54 am
by mattstar81
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)"

Re: Malatina survivalR5 doesn`t work

Posted: Sat Jul 31, 2021 10:05 am
by Administrator
Just pushed up a fix that should correct those issues. Let me know if that works.

Re: Malatina survivalR5 doesn`t work

Posted: Sun Aug 01, 2021 12:50 am
by mattstar81
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

Re: Malatina survivalR5 doesn`t work

Posted: Sun Aug 01, 2021 8:32 am
by Administrator
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?

Re: Malatina survivalR5 doesn`t work

Posted: Sun Aug 01, 2021 10:54 am
by mattstar81
Exactly that. After the first successful chest he doesn't do anything anymore and only spams the code mod

Re: Malatina survivalR5 doesn`t work

Posted: Mon Aug 02, 2021 11:39 am
by Administrator
I put up a change that might correct this. Are you able to test it out?

Re: Malatina survivalR5 doesn`t work

Posted: Mon Aug 02, 2021 12:23 pm
by mattstar81
Thank you very much, now it works perfect

Re: Malatina survivalR5 doesn`t work

Posted: Tue Aug 03, 2021 12:36 am
by mattstar81
oh dear
the bot leaves out a chest every now and then. I can't see why he's doing this

Re: Malatina survivalR5 doesn`t work

Posted: Tue Aug 03, 2021 8:55 am
by mattstar81
in other words.
not every chest is opened after a tile, sometimes the bot goes straight to the next without having looted the one

Re: Malatina survivalR5 doesn`t work

Posted: Tue Aug 03, 2021 11:14 am
by Administrator
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?

Re: Malatina survivalR5 doesn`t work

Posted: Wed Aug 04, 2021 12:26 am
by mattstar81
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.

Re: Malatina survivalR5 doesn`t work

Posted: Wed Aug 04, 2021 12:27 am
by mattstar81
I am surprised that I am the only one with the problem ^^

Re: Malatina survivalR5 doesn`t work

Posted: Wed Aug 04, 2021 6:59 am
by ThulsaDoom
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.