Jump to content

Need help with dynamic walking


epsonsalt

Recommended Posts

To start I'm new to java but I"m trying my best to learn as best I can.

 

 

I'm currently working on a script that when you spawn in the instance you have a different location every time.

( some of you might know what I'm doing ahah )

 

 

I haven't been able to find any really suitable walking guides/snippets that fit into the specific needs I have.

 

 

I need to be able to put in in :

1) Start X

2) Start Y

3) Choose 4 position the map to get me around -35 Y, X doesn't really matter.

 

Current bit of code I was using to get the job done.

as I said its crude as I just haven't been able to get anything else to work as I need it to.

 

Any suggestions / code snippets I could use to improve on my talking method

 

Any help/tips/pointers would be appreciated.

dialogues.clickContinue();
                    sleep(1000);
                while (count < 4){
                       count++;
                       startY-= 9;
                    log(startY);
                        Area MONSTERS = new Area(startX, startY, startX, startY);

                       getWalking().walk(MONSTERS);
                       sleep(750);
Link to comment
Share on other sites

Sounds like you are doing MTA mazes. Did I guess right? 

 

When I was doing work in instanced areas, you can use the location of fixed objects as anchors. You can also use them to identify which instance you are in.

 

I would use minimap tiles for all navigation, since the webwalker sometimes does strange things in instances. 

Edited by Solzhenitsyn
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...