Search Downloads

Go Back   EQ2Interface > Utilities

Category: UtilitiesRandom Number Generator for Addon Developers
Interface Information
How do I install this? (FAQ)
Name: Random Number Generator for Addon Developers   Popular!
Date: 03-01-2021 11:19 AM
Size: 25.79 Kb
Version: 1.0
Rate Addon:  out of 5 with 0 votes  
Click to enlarge 

Views: 0
Size: 39.73 Kb
Dimensions: 474 x 252
Some random generated numbers
Please see my Random Combat Emotes addon to see this in actual use.


It can be used to add random number generation, random delay and random repeat feature to another addon or modified to become useful based on an addon developer needs.

Use this to make random numbers for use in other addons.
I reliably tested up to MAX of 99999.
Since the numbers are based on BytesPerSecond, it is possible different computer on a different network could have less distributed numbers generated

This version is used by using the command:
/show_window Custom.RandomNumberGenerator.GenerateNumber in the chat window of the game. This is a basic rough working example of one use. I did a rough change from my Random Combat Emotes mod trigger; that is why the numbers show twice in the pictures. This can be used to generate numbers for other addons via <include> this xml into the addon.

Use the Excel worksheet to calculate the probability of each number in your range. The worksheet is lock so only the cells GREEN FILLED CELLS FOR MIN AND MAX Number for Range: A2 and B2
should be selectable

ONLY CHANGE THE GREEN FILLED CELLS FOR MIN AND MAX Number for Range. The rest will automatically change. The MIN MUST be less or equal to MAX. If it is equal, it is the only number that will be created.

UseNumRange MIN/MAX is for the number to use to determine random action from list of choices
DelayNumRange MIN/MAX is the range to the determine random number of times to delay between commands
RepeatNumRange MIN/MAX is the range to the determine random number of times to repeat a command.
Repeat number indicates the number of extra times the command will run beyond the first.
Repeat of 2 will run command 3 times, 1 as original and 2 times more for 2 repeats
This allows repeat 0 to still run the command once.
File Statistics
User Rating:
 out of 5 with 0 votes
Downloads: 2589
Views: 6479
Favorites: 0
Uploaded By:
Last Modified: 03-02-2021 09:37 PM by OkiGai    

View Pictures. Download Now! Post A Comment

There have been no comments posted to this file.
Be the first to add one.

Category Jump:
Search this Category:

All times are GMT -5. The time now is 04:46 PM.

Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI