Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Is there a way of counting the rune in runepouch?


    hilarion4

    Recommended Posts

    • 2 weeks later...

    It's all stored in the Varbits.

    The runelite source code on GitHub is very useful for things like this :)

    //Varbit ids for runes in the pouch (These are not Item IDs, see below)
    RUNE_POUCH_RUNE1: 29
    RUNE_POUCH_RUNE2: 1622
    RUNE_POUCH_RUNE3: 1623
    
    // Varbit ids for the quantity of each rune
    RUNE_POUCH_AMOUNT1: 1624
    RUNE_POUCH_AMOUNT2: 1625
    RUNE_POUCH_AMOUNT3: 1626
    // This list maps the varbit value to a given Rune type (1 = Air Rune, etc)
    
    	AIR(1, AIR_RUNE),
    	WATER(2, WATER_RUNE),
    	EARTH(3, EARTH_RUNE),
    	FIRE(4, FIRE_RUNE),
    	MIND(5, MIND_RUNE),
    	CHAOS(6, CHAOS_RUNE),
    	DEATH(7, DEATH_RUNE),
    	BLOOD(8, BLOOD_RUNE),
    	COSMIC(9, COSMIC_RUNE),
    	NATURE(10, NATURE_RUNE),
    	LAW(11, LAW_RUNE),
    	BODY(12, BODY_RUNE),
    	SOUL(13, SOUL_RUNE),
    	ASTRAL(14, ASTRAL_RUNE),
    	MIST(15, MIST_RUNE),
    	MUD(16, MUD_RUNE),
    	DUST(17, DUST_RUNE),
    	LAVA(18, LAVA_RUNE),
    	STEAM(19, STEAM_RUNE),
    	SMOKE(20, SMOKE_RUNE),
    	WRATH(21, WRATH_RUNE);

     

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.