Jump to content

Smoking Rocks + Exploding Rock ID's


Trustmybet

Recommended Posts

Anybody have the newest/latest Id's for Smoking rock + Exploding rocks? This will help out people using SSF and scripters who are trying to create mining scripts.

 

 

Please comment below if you have the ids, No trolls please. Thank you.

 

There are too many id's for them and they change each RS update anyway. The most common solution is to get the height of the rock your facing and if that height is > 80 ( I think that's the beginning of smoking rocks ) then stop mining.

  • Like 2
Link to comment
Share on other sites

From my fp2 clay miner: (inb4 "naming conventions!!!, i know...) and thx to Swizz for the part on getting the current rock

	if(!client.getMyPlayer().isAnimating() && rock !=null){
						if(mineSpot.contains(myPlayer())){
							rock.interact("Mine",false,0,false);
						}
						else {
						rock.interact("Mine");
						}
						currentRock = rock;
						sleep(random(1500,1800));	
						
					}
					else {
						RS2Object rock2;
						Position myPosition = myPlayer().getPosition();
						switch (myPlayer().getRotation()) {
							case 0:       //SOUTH
								rock2 = getRockAtPosition(new Position(myPosition.getX(), myPosition.getY() - 1, 0));
								break;
							case 511:
							case 512:    //WEST
							case 513:
								rock2 = getRockAtPosition(new Position(myPosition.getX() - 1, myPosition.getY(), 0));
								break;
							case 1023:
							case 1024:    //NORTH
							case 1025:
								rock2 = getRockAtPosition(new Position(myPosition.getX(), myPosition.getY() + 1, 0));
								break;
							case 1535:
							case 1536:    //EAST
							case 1537:
								rock2 = getRockAtPosition(new Position(myPosition.getX() + 1, myPosition.getY(), 0));
								break;
							default:
								rock2 = currentRock;
								break;
						}
						
						if (!rock2.equals(currentRock)){
							walk(mineArea);
							}
					}
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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