Overview

LibTrueRandom-1.0

Table of Contents

This project is abandoned and its default file will likely not work with the most recent version of World of Warcraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

LibTrueRandom-1.0 is a library that provides a way to asynchronously retrieve random values by making /roll requests.

Example code:

LibStub("LibTrueRandom-1.0").GetRandom(1,1000,function(value)-- value will be a number >= 1 and <= 1000 hereend)

The three know that they had equal chances to get the item, knew what number they corresponded to, and knew who was the winner due to the public display of the /roll, so there is full transparency and hopefully no whining about "hax".