Class VarPlayer


  • public final class VarPlayer
    extends Object
    Server controlled "content-developer" integers. VarPlayers are stored per RuneScape player save, and synchronized from the server to the client. The client can change them preemptively if it thinks they will change the next tick as a lag-hiding measure. The client CANNOT directly make the server change a varp.
    • Field Detail

      • DISEASE_VALUE

        public static final int DISEASE_VALUE
        Seems to start at 50(10 splash) and goes down by 1 every 30 seconds
        See Also:
        Constant Field Values
      • IN_RAID_PARTY

        public static final int IN_RAID_PARTY
        The ID of the party. This Var is only set in the raid bank area and the raid lobby This gets set to -1 when the raid starts. This is first set when the first player of the friends chat forms a party on the recruiting board and it changes again when the first person actually enters the raid. -1 : Not in a party or in the middle of an ongoing raid Anything else : This means that your friends chat has a raid party being formed and has not started yet
        See Also:
        Constant Field Values
      • POISON

        public static final int POISON
        The poisoned status of the player, with negative values indicating the duration of poison or venom protection and positive values representing the amount of poison or venom damage the player will be taking.
        • (-inf, -38): Venom immune for a duration of (abs(val) - 38) * 30 game ticks (18 seconds per poison tick), after which point the value will have increased to -38 and be representing poison immunity rather than venom immunity
        • [-38, 0): Poison immune for a duration of abs(val) * 30 game ticks (18 seconds per poison tick)
        • 0: Not poisoned or immune to poison
        • [1, 100]: Poisoned for an amount of ceil(val / 5.0f)
        • [1000000, inf): Venomed for an amount of min(20, (val - 999997) * 2), that is, an amount starting at 6 damage, increasing by 2 each time the value increases by one, and capped at 20
        See Also:
        Constant Field Values
      • THRONE_OF_MISCELLANIA

        public static final int THRONE_OF_MISCELLANIA
        0 : not started greater than 0 : in progress greater than 99 : completed
        See Also:
        Constant Field Values
      • CURRENT_GE_ITEM

        public static final int CURRENT_GE_ITEM
        Item currently active in the creation of a buy or sell offer
        See Also:
        Constant Field Values
      • ATTACK_GOAL_START

        public static final int ATTACK_GOAL_START
        Experience tracker goal start.
        See Also:
        Constant Field Values
      • CONSTRUCTION_GOAL_START

        public static final int CONSTRUCTION_GOAL_START
        See Also:
        Constant Field Values
      • ATTACK_GOAL_END

        public static final int ATTACK_GOAL_END
        Experience tracker goal end.
        See Also:
        Constant Field Values
      • BIRD_HOUSE_MEADOW_NORTH

        public static final int BIRD_HOUSE_MEADOW_NORTH
        Bird house states
        See Also:
        Constant Field Values
      • BIRD_HOUSE_MEADOW_SOUTH

        public static final int BIRD_HOUSE_MEADOW_SOUTH
        See Also:
        Constant Field Values
      • BIRD_HOUSE_VALLEY_NORTH

        public static final int BIRD_HOUSE_VALLEY_NORTH
        See Also:
        Constant Field Values
      • BIRD_HOUSE_VALLEY_SOUTH

        public static final int BIRD_HOUSE_VALLEY_SOUTH
        See Also:
        Constant Field Values
      • SLAYER_UNLOCK_1

        public static final int SLAYER_UNLOCK_1
        Slayer unlock bitfields
        See Also:
        Constant Field Values
      • MOUSE_BUTTONS

        public static final int MOUSE_BUTTONS
        0 = 2 buttons, 1 = 1 button
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_PUBLIC

        public static final int SETTINGS_OPAQUE_CHAT_PUBLIC
        Colors for chat messages
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_PRIVATE

        public static final int SETTINGS_OPAQUE_CHAT_PRIVATE
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_AUTO

        public static final int SETTINGS_OPAQUE_CHAT_AUTO
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_BROADCAST

        public static final int SETTINGS_OPAQUE_CHAT_BROADCAST
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_FRIEND

        public static final int SETTINGS_OPAQUE_CHAT_FRIEND
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_CLAN

        public static final int SETTINGS_OPAQUE_CHAT_CLAN
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_GUEST_CLAN

        public static final int SETTINGS_OPAQUE_CHAT_GUEST_CLAN
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_CLAN_BROADCAST

        public static final int SETTINGS_OPAQUE_CHAT_CLAN_BROADCAST
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_IRON_GROUP_CHAT

        public static final int SETTINGS_OPAQUE_CHAT_IRON_GROUP_CHAT
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_IRON_GROUP_BROADCAST

        public static final int SETTINGS_OPAQUE_CHAT_IRON_GROUP_BROADCAST
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_TRADE_REQUEST

        public static final int SETTINGS_OPAQUE_CHAT_TRADE_REQUEST
        See Also:
        Constant Field Values
      • SETTINGS_OPAQUE_CHAT_CHALLENGE_REQUEST

        public static final int SETTINGS_OPAQUE_CHAT_CHALLENGE_REQUEST
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_PUBLIC

        public static final int SETTINGS_TRANSPARENT_CHAT_PUBLIC
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_PRIVATE

        public static final int SETTINGS_TRANSPARENT_CHAT_PRIVATE
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_AUTO

        public static final int SETTINGS_TRANSPARENT_CHAT_AUTO
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_BROADCAST

        public static final int SETTINGS_TRANSPARENT_CHAT_BROADCAST
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_FRIEND

        public static final int SETTINGS_TRANSPARENT_CHAT_FRIEND
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_CLAN

        public static final int SETTINGS_TRANSPARENT_CHAT_CLAN
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_GUEST_CLAN

        public static final int SETTINGS_TRANSPARENT_CHAT_GUEST_CLAN
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_CLAN_BROADCAST

        public static final int SETTINGS_TRANSPARENT_CHAT_CLAN_BROADCAST
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_IRON_GROUP_CHAT

        public static final int SETTINGS_TRANSPARENT_CHAT_IRON_GROUP_CHAT
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_IRON_GROUP_BROADCAST

        public static final int SETTINGS_TRANSPARENT_CHAT_IRON_GROUP_BROADCAST
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_TRADE_REQUEST

        public static final int SETTINGS_TRANSPARENT_CHAT_TRADE_REQUEST
        See Also:
        Constant Field Values
      • SETTINGS_TRANSPARENT_CHAT_CHALLENGE_REQUEST

        public static final int SETTINGS_TRANSPARENT_CHAT_CHALLENGE_REQUEST
        See Also:
        Constant Field Values
      • LAST_HOME_TELEPORT

        public static final int LAST_HOME_TELEPORT
        The difference, measured in minutes, between the time home teleport spell was last used and midnight, January 1, 1970 UTC.
        See Also:
        Constant Field Values
      • CHARGE_GOD_SPELL

        public static final int CHARGE_GOD_SPELL
        Charge spell duration Value * 2 = Remaining game ticks on buff E.g. value of 50 means buff will expire in 100 ticks.
        See Also:
        Constant Field Values
      • LAST_MINIGAME_TELEPORT

        public static final int LAST_MINIGAME_TELEPORT
        The difference, measured in minutes, between the time minigame teleport was last used and midnight, January 1, 1970 UTC.
        See Also:
        Constant Field Values
      • SLAYER_TASK_SIZE

        public static final int SLAYER_TASK_SIZE
        Number of slayer creatures remaining on the assigned task
        See Also:
        Constant Field Values
      • SLAYER_TASK_CREATURE

        public static final int SLAYER_TASK_CREATURE
        Currently assigned slayer task if SLAYER_TASK_SIZE is greater than 0. Mapping of value to name can be found in EnumID.SLAYER_TASK_CREATURE.
        See Also:
        Constant Field Values
    • Constructor Detail

      • VarPlayer

        public VarPlayer()