Game tick

From Darkan
(Redirected from Runescape clock)
Jump to navigation Jump to search
"Tick" redirects here. For information about build ticks, see Clan Citadels.

The RuneScape clock is a term that is used to refer to the time-frame used for actions in RuneScape. RuneScape runs on units of time of approximately 0.6 seconds which are sometimes called "ticks." All actions are a multiple of this basic tick time. This includes any instant where a message appears in the chat interface, any instant that experience is gained, any instant that a monster spawns, and any other actions a player performs, including animations (hence players being able to perform animations in sync with each other rather easily). Purely client sided occurrences are independent of the game tick (i.e. loading new regions).

However, Jmods on the Runescape Forum have explicitly said in the Engine Q&A threads in the past that some activities run at as fast as 50ms ticks.

"Q. As we know and stated by Andrew the game runs at 600ms intervals (one tick). Is there a reason for this exact number? Could the game benefit from lower interval, for example 300ms?

A. Some upcoming features in the server tick at a 50ms rate. The overall 600ms tick remains, as the content relies on having this time interval available as a base, but we’re not limited by it.
Mod_jackh"

Length of a tick

Cannons are a great visual tick timer, as they rotate 45 degrees once every tick.

The length of a tick can be measured by timing a repeated action using a stopwatch. For example, lighting 25 logs without re-lighting a log takes 100 ticks. If the stopwatch can be stopped to within 0.1 seconds, the tick can be measured to within 0.001 seconds. Another method is to use summoning familiars. Each "minute" that a familiar lasts for is actually 100 ticks. If, for example, you start a timer when a familiar timer goes from 26:00 to 25:30 and stop the timer when it goes from 16:00 to 15:30, this will be exactly 1000 game ticks.

Ideally, without any lag, there should be exactly 100 ticks per minute, or 0.600 seconds per tick. However, the observed length of the tick is actually slightly more than this, due to connection speed and the server having to process all the players that are currently logged in. The observed length of the tick is between 0.606 and 0.618 seconds. The tick length is constant throughout a server for all players, which is due to the fact that player's actions are processed in the same order every time, so even if someone is processed last, they will still have the same tick as previously due to them being processed last every time. However, the tick length is not constant from server to server. The more players there are on a server, the longer the tick length; the fewer players are on a server, the shorter the tick length. While there seem to be other factors that affect tick length as well, the number of players on the server seems to be the largest factor. It is typical for ticks on World 2 (usually a full world) to be 0.616 to 0.618 seconds each, whereas ticks on less full worlds typically are 0.606 to 0.611 seconds each.

It is possible for a server to lag and "miss" a tick or multiple ticks from time to time. This seems to happen most often on worlds with the greatest number of players.

Length of selected actions

The length of the following actions are given in ticks.

Melee weapons

Ranged weapons

Note: These times are all for the accurate or longranged style. Switching to the rapid attack style decreases the number of ticks by 1.

Agility

Construction

  • Building and removing a larder or door or table: 5 per item
  • The Demon Butler spends 10 ticks to bank while the Butler needs 20 ticks.

Cooking

  • Cooking fish: 4 per food item using the cook-all option. However, this can be lowered by using food again on the source of heat after a food item has been cooked and quickly selecting the option to cook. This allows for food items to be cooked as fast as 2 ticks each. This fast cooking technique, however, is no longer possible after a hidden update.
  • Making wine: 1 per wine

Crafting

  • Attaching orbs to battlestaves: 2 per battlestaff
  • Crafting d'hide bodies: 3 per body
  • Cutting gems: 1 per gem
  • Making jewellery: 3 ticks per item
  • Glass blowing: 3 ticks per item

Dungeoneering

  • In between dungeons, a timer counts down from 30. These are often assumed to be seconds, but really they are 30 time periods of 2 ticks each, so the timer runs a little over 36 seconds, not 30 seconds.

Farming

  • Weeds grow every 500 ticks.
  • Saplings grow every 500 ticks.

Firemaking

  • Burning logs normally: 4 per log
  • Burning logs with a Pyrelord: 5 per log
  • Adding logs to a bonfire: 6 per log

Fishing

  • Chance of catching a fish from any fishing spot: 5 per fish
  • Chance of catching a fish from any fishing spot with a sacred clay harpoon: 8 per fish

However, you are not guaranteed a fish every 5 ticks; rather, every 5 ticks there is a chance to catch a fish.

Fletching

  • Cutting wood into unstrung bows: 3 per bow
  • Stringing a bow: 2 per bow
  • Fletching arrows: 2 per set of 15 arrows
  • Fletching bolts: 1 per set of 10
  • Cutting gems into bolt tips: 4 ticks per gem

Herblore

  • Putting a herb into a vial: 1 per herb
  • Putting a second ingredient into a potion: 2 per potion (an exception is Serum 207, for which the make-x option operates at 1 tick per potion.)
  • Cleaning grimy herbs: There is no known limit of how many herbs can be cleaned per tick, rather, multiple requests are saved, one for each click of a grimy herb, and are all processed simultaneously at the next game tick. A maximum of 8 requests can be processed for cleaning herbs. This is the same for armour equipping as well.

Hunting

  • Catching Red chinchompas: 8 per chinchompa (if sufficient box traps are ready to be checked)

Magic

Mining

With a rune pickaxe or inferno adze, there is a chance to mine an ore every 3 ticks.

This does not apply to rune essence, which comes more frequently than this, or to using a dragon pickaxe, which can mine ores at varying times.

Prayer

  • POH Altar Offerings: 3 per bone
  • Burying bones: 1 per bone (used to be 2)
  • Ectofuntus: 1 per bonemeal+slime

Prayer activation and deactivation is applied on the next game tick, and the drain rate of each prayer is measured by a number of ticks.

Runecrafting

At fastest, there are 6 ticks between crafts at the Nature altar if 2 or 3 pouches are emptied, or 5 ticks if 1 pouch is emptied. At fastest, there are 5 ticks between crafts at the Ourania altar if 2 or 3 pouches are emptied, or 4 ticks if 1 pouch is emptied.

Smithing

  • Smelting ores at a furnace: 4 per ore
  • Forging at an anvil: 4 per item smithed
  • Making Cannonballs: 10 per steel bar

Thieving

  • Blackjacking: 6 per round
  • A Pyramid Plunder activity is 500 ticks.

Woodcutting

  • Chance of cutting a log from any type of tree: 4 per chance

However, you are not guaranteed a log every 4 ticks; rather, every 4 ticks there is a chance to cut a log.

Other

  • Running covers 2 squares per tick, while walking covers 1 square per tick.
  • Bankers used to count down in ticks when there was a big drop in the falador party room. But as of the Free Trade return on 1 February 2011, they no longer do this.
  • The amount of time a player can spend collecting tears in Tears of Guthix is a number of game ticks equal to the player's quest points.
  • Boosted or reduced stats move towards normal at a rate of 1 level per 100 ticks, which is just a tiny bit over one minute.
  • Player chat messages stay above their heads for 5 ticks. (exception: if a second message is sent sooner it will replace the first and last 5 ticks unless another message is sent sooner etc.)
  • The 40 minutes of triple charms reward from Familiarisation seems to actually last around 40.5-41.5 minutes, which would suggest that it is measured as 4000 ticks rather than as 40 actual minutes.
  • When playing Fist of Guthix, the person being hunted collects charges every 5 ticks when holding the stone.
  • The special attack bar recovers at a rate of 10% per 50 ticks.

Application

In general, knowledge of the RuneScape clock does not matter much, but it can make it easier to time actions. Timing just one of a repeated action may clearly give a tick number, which may be able to be used to estimate experience per hour. For example, Superheat Item, Plank Make, and Bake Pie all are spells that take 3 ticks each and are cast one by one on an inventory of supplies. If it is known that superheat item may be cast about 1800 times per hour, plank make and bake pie would be known to be very nearly the same rate merely by timing a single cast. The 1800 itself could even be estimated without actual measurement by noting that about 5940 ticks per hour divided by 3 ticks per cast is 1980 casts per hour of hypothetical continuous casting, and that 7-10% should be subtracted for mistakes and banking.

When the High Level Alchemy animation was changed, there was much argument about whether it was slower or faster. Based on the RuneScape clock, it should have been incredibly clear that the time was not changed, since if there was any change in the speed, it would have to be by a full tick and therefore be extremely noticeable.

Proof

A 0.6 second tick time fits all measured times for repeated actions.

Also, in April 2009, Andrew posted a thread in the Game Feedback forum [source needed] about whether a Prayer update caused delay in prayer being activated, and he brought up the point that if prayer really was slower, it would have to be a full 0.6 seconds slower because RuneScape runs on units of time of 0.6 seconds.

Andrew: "Also it is not possible for it to be just a tiny bit slower than before either. The game 'ticks' at 600 millisecond intervals, so if the script was broken (like it was previously) then it would be a full extra 600 milliseconds slower which would be obvious when clicking and counting. It's not possible for an error to cause it to be something other than a multiple of 600 milliseconds slower."