Jump to content

Fun with configs


sudoinit6

Recommended Posts

Hey all. I am trying to put together a farming script and I was hoping to use configs to get the state of the allotments and patches, but I am a little lost. I found this (which was posted somewhere very recently so I am confident it is up to date):

 

Spoiler

Catherby
529(<<0) = Fruit Tree
529(<<24) = Herb
529(<<16) = Flower
529(<<8) = South Allotment
529(<<0) = North Allotment
511(<<24) = Compost Bin
Falador
529(<<0) = Tree
529(<<24) = Herb
529(<<16) = Flower
529(<<8) = South Allotment
529(<<0) = North Allotment
511(<<0) = Compost Bin
Ardougne
529(<<24) = Herb
529(<<16) = Flower
529(<<8) = South Allotment
529(<<0) = North Allotment
529(<<24) = Compost Bin
529(<<0) = Bush
Port Phasmatys
529(<<24) = Herb
529(<<16) = Flower
529(<<8) = South Allotment
529(<<0) = North Allotment
511(<<16) = Compost Bin

Which provides me with answers but also questions. It appears that the config for all patches and allotments is 529. I went to the Falador farming patch and when I get the current config for 529 it gives a number based on what has most recently changed on any of the patches/allotments. If I rake the herb patch I get 352322049, If I rake the north allotment I get 352379451.

 

I can't seem to figure out how to query a specific patch, how do I get the state of 529(<<24) for example?

Edited by sudoinit6
  • Like 1
Link to comment
Share on other sites

It's no longer possible to read the current growth states of crops from farming patches. It used to be; the most notable example was RSBuddy. However, Jagex felt the feature was an exploit, and the farming necklace had already existed for the purpose of tracking your farming patches. Jagex patched this.

There may be a farming patch for a quest that might still work, but it's unlikely.

I had worked on a farming tracker for OSBot v1 before the patch. It tracked all the herbs, and I was working to include every single farming patch in the game.

:edit:

I harvested toadflax from the Ardougne herb and, you're right, configuration #529 responded with the following values:

0x27030303

0x03030303

0x2c030303

0x2b030303

The values that changes are 0xFF000000 (where the "F" is, the numbers changes). To extract it, you could do:

public int extractValueFromArdougneHerbPatch() {
	int c = configs.get(529);
	c >>>= 24;
	c &= 0xFF;
	return c;
}
 

2hmok60.jpg

Edited by liverare
  • Like 3
Link to comment
Share on other sites

25 minutes ago, liverare said:

It's no longer possible to read the current growth states of crops from farming patches. It used to be; the most notable example was RSBuddy. However, Jagex felt the feature was an exploit, and the farming necklace had already existed for the purpose of tracking your farming patches. Jagex patched this.

There may be a farming patch for a quest that might still work, but it's unlikely.

I had worked on a farming tracker for OSBot v1 before the patch. It tracked all the herbs, and I was working to include every single farming patch in the game.

:edit:

I harvested toadflax from the Ardougne herb and, you're right, configuration #529 responded with the following values:

0x27030303

0x03030303

0x2c030303

0x2b030303

The values that changes are 0xFF000000 (where the "F" is, the numbers changes). To extract it, you could do:


public int extractValueFromArdougneHerbPatch() {
	int c = configs.get(529);
	c >>>= 24;
	c &= 0xFF;
	return c;
}
  Reveal hidden contents

2hmok60.jpg

Wow thanks! It's going to take me a bit to wrap my head around this but I really appreciate the help and I love to learn new things!

 

Link to comment
Share on other sites

Least & most significant bits below for each varbit (pulled directy from cache).

Varbit ID: 4771 Config ID: 529 Least: 0 Most: 7
Varbit ID: 4772 Config ID: 529 Least: 8 Most: 15
Varbit ID: 4773 Config ID: 529 Least: 16 Most: 23
Varbit ID: 4774 Config ID: 529 Least: 24 Most: 31
Varbit ID: 4953 Config ID: 529 Least: 0 Most: 3
Varbit ID: 4954 Config ID: 529 Least: 4 Most: 7
Varbit ID: 4955 Config ID: 529 Least: 8 Most: 11
Varbit ID: 4956 Config ID: 529 Least: 12 Most: 15
Varbit ID: 4957 Config ID: 529 Least: 16 Most: 19
Varbit ID: 4958 Config ID: 529 Least: 20 Most: 23
Varbit ID: 4959 Config ID: 529 Least: 24 Most: 27
Varbit ID: 4960 Config ID: 529 Least: 28 Most: 31
Varbit ID: 740 Config ID: 511 Least: 0 Most: 7
Varbit ID: 741 Config ID: 511 Least: 8 Most: 15
Varbit ID: 742 Config ID: 511 Least: 16 Most: 23
Varbit ID: 743 Config ID: 511 Least: 24 Most: 31

 

 

 

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...