Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

osbot 2 about "walk" "EntityAPI" Questions!

Featured Replies

about  walk:

 

           osbot 1  :   

                    

                                if(aaa!=null){

                                      if(aaa.isvisible()){

                                             log("ok")

                                        }else{

                                        walkMiniMap(aaa.getPosition()); // close

                                       }

                        }else{

                          walk(aaa,flase,0,flase);//faraway place

                                }

 

              osbot 2  : 

                                if(aaa!=null){

                                      if(aaa.exists()){

                                             log("ok")

                                        }else{

                                        walk     //  osbot2  How to use the minimap?

                                       }

                        }else{

                                   localWalker.walk(Tile);

                                }

 

about EntityAPI :

 

          osbot 1  : 

                        RS2Object bbb = closestObjectForName(Area,"Name");

                  osbot 2  :

                        RS2Object bbb=  objects.closestThatContains("Name"); //osbot2 How to use the area?

 

Thank you all here!

Edited by dayong1433

about  walk:

 

           osbot 1  :   

                    

                                if(aaa!=null){

                                      if(aaa.isvisible()){

                                             log("ok")

                                        }else{

                                        walkMiniMap(aaa.getPosition()); // close

                                       }

                        }else{

                          walk(aaa,flase,0,flase);//faraway place

                                }

 

              osbot 2  : 

                                if(aaa!=null){

                                      if(aaa.exists()){

                                             log("ok")

                                        }else{

                                        walk     //  osbot2  How to use the minimap?

                                       }

                        }else{

                                   localWalker.walk(Tile);

                                }

 

about EntityAPI :

 

          osbot 1  : 

                        RS2Object bbb = closestObjectForName(Area,"Name");

                  osbot 2  :

                        RS2Object bbb=  objects.closestThatContains("Name"); //osbot2 How to use the area?

 

Thank you all here!

 

 

for walking:

map.walk(area);
getMap().walk(area);

and for entity, you'll have to use a filter

  • Author

for walking:

map.walk(area);
getMap().walk(area);

and for entity, you'll have to use a filter

 

I will not use filters;about entity   Can you give me an example?

I'm pretty sure there's a localWalker instance available.

you could but it doesnt contain area, also he said he wanted to walk minimap so why not use map 

  • Author

you could but it doesnt contain area, also he said he wanted to walk minimap so why not use map 

 

thank you ,But I'm not can't use "entity area"sad.png 

you could but it doesnt contain area, also he said he wanted to walk minimap so why not use map 

They even provided a getRandomPoint method for the area class :p

  • Author

They even provided a getRandomPoint method for the area class tongue.png

 

Give me an example baby, plz!!!!!thank you !about entity
 

 

Give me an example baby, plz!!!!!thank you !about entity
 

 

localWalker.walk(area.getRandomPosition(0));

the 0 is the height your area is in

  • Author

 

 

Give me an example baby, plz!!!!!thank you !about entity
 

 

3a7ea71df14cee5b6b6e2360888486cb.png

 

 

localWalker.walk(area.getRandomPosition(0));

the 0 is the height your area is in

 

I'm a beginner script,Maybe is my poor expression ability.

 

 

       osbot1 RS2Object bbb = closestObjectForName(Area,"Name");

       osbot2 RS2Object bbb=  objects.closestThatContains(Area,"Name");  //This is wrongsad.png 

 

 

How do I modify ? Please give me an example ! thank you!

Edited by dayong1433

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.