Jump to content

Could not identify minimap interface child


trainux

Recommended Posts

Being in the Area:

Area draynor_fish = new Area(3080, 3237, 3089, 3224);

I indicate that go to the following address:

ArrayList<Position> path = new ArrayList<Position>(); 
path.add(new Position(3087, 3232, 0));
path.add(new Position(3085, 3239, 0));
path.add(new Position(3085, 3247, 0));
path.add(new Position(3093, 3247, 0));
path.add(new Position(3092, 3243, 0));

In this way:

getWalking().walkPath(getRutaFishToBank());

This throws me the following error:

Quote

[ERROR][Bot #1][05/25 05:42:16 PM]: Error executing event : org.osbot.rs07.event.WalkingEvent@51a6a39d
java.lang.IllegalStateException: Could not identify minimap interface child! Please report to developers.

        at org.osbot.rs07.api.util.GraphicUtilities.iiIiiiiiIiiI(uf:432)

        at org.osbot.rs07.api.util.GraphicUtilities.getMinimapScreenCoordinate(uf:372)

        at org.osbot.rs07.api.map.Position.isOnMiniMap(kn:116)

        at org.osbot.rs07.event.WalkingEvent.iiIiiiiiIiiI(ui:34)

        at org.osbot.rs07.event.WalkingEvent.execute(ui:70)

        at org.osbot.rs07.event.EventExecutor$2.run(ch:252)

        at org.osbot.rs07.event.EventExecutor.execute(ch:213)

        at org.osbot.rs07.script.MethodProvider.execute(qn:356)

        at org.osbot.rs07.api.Walking.walkPath(dg:184)

        at Scripts.Bot.doTasks(Bot.java:640)

        at Scripts.Bot.onLoop(Bot.java:375)

        at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(kl:223)

        at java.lang.Thread.run(Unknown Source)
 

Why?

Edited by trainux
Link to comment
Share on other sites

11 minutes ago, Zappster said:

Can you post the contents of this function?


getRutaFishToBank()

Note: http://sscce.org/

public ArrayList<Position> getRutaFishToBank() {
	int caso = random(0,3);
    ArrayList<Position> path = new ArrayList<Position>(); 
	switch (caso) {
		case 0:
			path.add(new Position(3087, 3232, 0));
			path.add(new Position(3085, 3239, 0));
			path.add(new Position(3085, 3247, 0));
			path.add(new Position(3093, 3247, 0));
			path.add(new Position(3092, 3243, 0));
			break;

		case 1:
			path.add(new Position(3086, 3231, 0));
			path.add(new Position(3083, 3239, 0));
			path.add(new Position(3087, 3248, 0));
			path.add(new Position(3092, 3246, 0));
			path.add(new Position(3094, 3242, 0));
			break;

		case 2:
			path.add(new Position(3086, 3232, 0));
			path.add(new Position(3095, 3236, 0));
			path.add(new Position(3100, 3239, 0));
			path.add(new Position(3099, 3247, 0));
			path.add(new Position(3093, 3247, 0));
			path.add(new Position(3092, 3243, 0));
			break;

		case 3:
			path.add(new Position(3085, 3232, 0));
			path.add(new Position(3093, 3238, 0));
			path.add(new Position(3093, 3242, 0));
			break;

		default:
			break;
	}
    return path;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...