Crystal chest

From RuneScape Classic Wiki
Jump to navigation Jump to search

The Crystal chest is located in a house north of Jatix's Herblaw Shop in Taverley. To open the chest, you need a Crystal key, which is created by using a rare key half on its opposite half. These key halves are dropped by any monster with access to the gem drop table or rare drop table.

A player opening the crystal chest
A player with loot from the chest

Note: The player will always receive one uncut dragonstone from opening the chest, and never more than one at a time. These drop rates are estimated based on a mix of drop logs, videos, and at times, comparison to later code. See the talk page for more details.

100% drop

[edit | edit source]
Item Quantity Rarity
Uncut dragonstone11.000000Always

Possibility 1 - Spinach roll

[edit | edit source]

There is a ~34/128 chance of rolling this table.

Item Quantity Rarity
Spinach roll10.265625Common (~34/128)
Coins20000.265625Common (~34/128)

Possibility 2 - Runes

[edit | edit source]

There is a ~12/128 chance of rolling this table.

Item Quantity Rarity
Air-Rune500.093750Common (~12/128)
Water-Rune500.093750Common (~12/128)
Earth-Rune500.093750Common (~12/128)
Fire-Rune500.093750Common (~12/128)
Body-Rune500.093750Common (~12/128)
Mind-Rune500.093750Common (~12/128)
Chaos-Rune100.093750Common (~12/128)
Death-Rune100.093750Common (~12/128)
Cosmic-Rune100.093750Common (~12/128)
Nature-Rune100.093750Common (~12/128)
Law-Rune100.093750Common (~12/128)

Possibility 3 - Gems

[edit | edit source]

There is a ~12/128 chance of rolling this table.

Item Quantity Rarity
Ruby20.093750Common (~12/128)
Diamond20.093750Common (~12/128)

Possibility 4 - Runite bars

[edit | edit source]

There is a ~12/128 chance of rolling this table.

Item Quantity Rarity
Runite bar30.093750Common (~12/128)

Possibility 5 - Crystal key halves

[edit | edit source]

There is a ~10/128 chance of rolling this table, then an equal chance of either crystal key half.

Item Quantity Rarity
Coins7500.078125Common (~10/128)
Half of a key (tooth)10.039062Uncommon (~5/128)
Half of a key (loop)10.039062Uncommon (~5/128)

Possibility 6 - Iron ore certificates

[edit | edit source]

There is a ~10/128 chance of rolling this table.

Item Quantity Rarity
Iron ore certificate300.078125Common (~10/128)

Possibility 7 - Coal certificates

[edit | edit source]

There is a ~10/128 chance of rolling this table.

Item Quantity Rarity
Coal certificate200.078125Common (~10/128)

Possibility 8 - Raw swordfish certificate

[edit | edit source]

There is a ~8/128 chance of rolling this table.

Item Quantity Rarity
Raw swordfish certificate10.062500Common (~8/128)
Coins10000.062500Common (~8/128)

Possibility 9 - Adamantite Square Shield

[edit | edit source]

There is a ~2/128 chance of rolling this table.

Item Quantity Rarity
Adamantite Square Shield10.015625Uncommon (~2/128)

Possibility 10 - Rune Plate Mail Legs

[edit | edit source]

There is a 1/128 chance of rolling this table.

Item Quantity Rarity
Rune Plate Mail Legs10.007812Rare (~1/128)


Major glitch

[edit | edit source]
The permanently open chest

The Crystal Chest was unusable for significant periods of time on all official RuneScape Classic servers due to a glitch that causes the chest to remain permanently opened, which prevents a player from using a crystal key to receive loot. This caused a distinct increase in the rarity of dragonstone and its related products.

Causes

[edit | edit source]

The glitch was performed by logging out while opening the chest. The runescript code responsible for the chest would pause before it successfully finished and re-closed the chest as expected. Due to the open chest lacking an option to use a key on it, the chest was rendered unusable.

It was possible that the glitch was originally performed accidentally due to the instability of a player's internet connection. However, it was intentionally performed repeatedly on every world.

Economic consequences

[edit | edit source]
  • The chest becoming disabled also caused the crystal key and key halves to become mostly worthless items, although they were still traded and sold for many coins.

Official Jagex response

[edit | edit source]

Jagex did not fix the issue prior to taking RuneScape Classic offline. A J-Mod stated in a post on the Official Runescape forums that Jagex is unlikely to spend time fixing the glitch, and that if it were ever to be solved, it would have to be on the personal free time of an employee. Players who understood how the glitch occurred contacted Jagex with details, but as stated by Jagex, the problem was further compounded by the fact that few remaining staff members had working knowledge of the RuneScape Classic code.

History

[edit | edit source]
The April 2018 system update countdown
  • Wednesday 18 April 2018 - A system update which refreshed the RuneScape Classic, RuneScape 2, and RuneScape 3 servers temporarily fixed the infamous crystal chest glitch.
    • The servers came back online at approximately 6:47 PM BST and every chest on every world was glitched again by 8:21 BST.
      • Despite the relatively small window of time, the server refresh allowed players to use their crystal keys, resulting in several thousand new dragonstones being brought into the market immediately.

How to fix the bug

[edit | edit source]

The following two lines of Runescript code would have fixed the bug:[1]

=oploc1,opencrystalchest
*changeloc(shutcrystalchest);

This implements a "close" option for the open variant of the crystal chest, which all other chests in the game have. Technically, these two lines are all that would have been needed, but an additional nicety would be to update locations.txt in the cache to add the "close" option required for an unmodified client to actually trigger this code.

References

[edit | edit source]
  1. Names used to reference the two chest variants were included in config46 from 2001-12-10. Details of the "oploc1" trigger and "changeloc" function are found in Andrew's 2001 era runescript guide.