Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
RuneMate will permanently shut down on August 7, 2026
due to events outside our control. You can continue using RuneMate until this date after which it will no longer be available. Thank you to everyone that contributed to RuneMate's success and to the community for the opportunity to serve you all these years.

  • Learn about RuneMate Vault and how its zero knowledge local encryption already protects your sensitive information.
  • Edit or delete your RuneMate account from your Account Settings.
  • All account upgrade subscriptions have been cancelled. No action required.

Resolved How to get Varbits?

Joined
Oct 29, 2017
Messages
4
Hey,

I'm fairly new to programming, but I managed to make a couple of bots for personal use.
I now want to step up my game by using varbits. However, I have no idea on how to get the index of an action.

For example, I talk to a slayer master to receive a task. How can I discover the varbit that changed?
 
Joined
Oct 29, 2017
Messages
4
Thanks for replying! Just discovered there's a Varp and VarbitListener. Didn't know the toolkit had that feature
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Just to clarify, there is a distinction between varps and varbits. Varbits extract a portion of a varp via binary shifts when multiple values are packed into a single varp. Not all varps have multiple values packed into them though and when that's the case there is no varbit responsible for extracting the value and you must use the varp directly to get the value instead of a varbit. There's both a VarpListener and VarbitListener.
 
Top