[Plugin] RandomPlus

Post your completed addons to share with the community

Post » Thu May 23, 2013 8:02 pm

@christina

Seed gives you a repeatable random number. That means that every number generated with that seed will come out in the same order when you use that seed again.
Image ImageImage
B
171
S
50
G
179
Posts: 8,382
Reputation: 113,458

Post » Thu May 23, 2013 8:09 pm

@newt you're right! The example made me think the number is each time you hit the generate button.

Oh cool, this is perfect. Do you maybe know what RandomPlus-> Set Count to 0 means? It doesn't seem to do anything

Edit: ah got it, it returns the N randomly seeded number.

Thanks so much newt!christina2013-05-23 20:11:07
B
28
S
12
G
4
Posts: 193
Reputation: 4,581

Post » Thu May 23, 2013 8:12 pm

Its like another seed.
So if you were to set the count to 4, and the seed to 5 you would get different values than if you were to set the count to say 3, and seed to 5.
Image ImageImage
B
171
S
50
G
179
Posts: 8,382
Reputation: 113,458

Post » Thu May 23, 2013 8:30 pm

@newt you lifesaver :)

It seems however that min=0 means 0 and min=1 means 10 and min=2 means 20

@cow_trix are you sure you're not multiplying min*10 somewhere inside the plugin?
B
28
S
12
G
4
Posts: 193
Reputation: 4,581

Post » Sat Jul 13, 2013 11:28 am

Hey @christina, sorry for the late reply, I've been travelling for the past few months. Newt is correct on all counts except for what "Set Count to 0" does. This event basically resets the generator. For instance, the generator may output the following:

4 8 6 3 1 4 3 1

Resetting the count after all these values are generated means that the next value generated will be 4, then 8, and then so on and so forth. Basically the same numbers will be generated.

As for the problem with min/max, give me a bit to work it out. It's been over a year since I wrote this plugin and trying to understand old code is... fun.
B
55
S
12
G
9
Posts: 339
Reputation: 9,574

Post » Mon Apr 10, 2017 11:54 am

Hate to bump, sorry about that. Been setting up a new computer and one of my games uses this plugin, which I just tried to download right now.

So Avast is going nuts when I try to download this from OP; apparently it's ransomware? If it's somehow been infected, any chance of a mirror?
B
5
S
1
Posts: 4
Reputation: 373

Post » Mon Apr 10, 2017 12:19 pm

Jayextee wrote:Hate to bump, sorry about that. Been setting up a new computer and one of my games uses this plugin, which I just tried to download right now.

So Avast is going nuts when I try to download this from OP; apparently it's ransomware? If it's somehow been infected, any chance of a mirror?


Avast is not good, prone to false positives.

I've just downloaded the zip from OP and it downloaded and unzipped fine.

I then uploaded zip to https://virusscan.jotti.org which scans with all of the industry scanners and found nothing.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,488
Reputation: 59,762

Post » Mon Jun 19, 2017 5:01 am

the download link is dead, any chance for a new link?
B
45
S
19
G
3
Posts: 102
Reputation: 4,598

Post » Wed Sep 13, 2017 9:07 am

Anyone got a working link for this?
Image
Keeghan McGarry | Managing Director
Facebook-Website
B
14
S
3
Posts: 77
Reputation: 1,081

Previous

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests