Scrolling simulator, graphing outcome of scrolls.
[header]Hello![/header]
Recently I finished a small project, a scrolling simulator.
I've been interested in the outcome of multiple scrolling events, that's the main reason as to why I created this.
[header]How it works[/header]
The program uses the binomial distrubution to calculate the probability for each event.
The binomial distrubution can be written as Bin(n,p) where n is the number of scrolls used and p is the success rate of the scrolls that is used on the item.
Basically, what the program calculates is P(X <= k) - P(X <= K-1) = P(X = k) and X belongs to Bin(n, p). This calculation is made for each event.
[header]The simulator[/header]
[b]Screenshot: [/b][url=http://i55.tinypic.com/1z6b8rn.png]Screen[/url]
[b]Virus scan: [/b][url=http://i53.tinypic.com/mbiftl.png]virus scan[/url] (result 0/43) can't post the link to the scan because it's censored, however, the link can be seen in the pic.
Download link: http://www.megaupload.com/?d=V3UCAUEF and http://data.fuskbugg.se/skalman02/4ddc1536d6d5a_scrollingsimulator.rar
[b]The full source code is included in the file above if you want to compile it yourself![/b]
[header]Comments[/header]
Any comments and suggestions is apreciated.
If you have any suggestion regarding in-game probability just post it and I may be able to add it later. I've been thinking of adding a enhancement scroll simulator also.
9 Comments • Newest first
[quote=robindgt]Just watch as Nexon shuts you down.
See: Bannedstory[/quote]
That'd be impossible since there's absolutely no Maple material in this. It just calculates percentages~
I just happen to be eating hot dogs while reading this thread.
@GodSyde:
Aha.
By the way, what's the success rates for enhancement scrolls?
@jonatan: I think it would tell you the certain percentange for the next 10% or 60% scroll to work
@GodSyde:
I think the one you are talking about is just for testing scrolls, right? Not calculating the probability for all of the possible outcomes?
@jonatan: I coulda sworn there was a scrolling simulator online but it wasn't an actual file,but who knows,it was back in 2005-2006 if i remember correctly good job though!
@Kevvl:
I wasn't so sure on the scrolls that exist so I just added the ones that I know exist. Adding new ones is really easy though.
@GodSyde:
I don't know.
Something like this was created already,wasn't it?
Would be nice if you could pick and choose multiple sets of scrolls. Like having a few 30%'s to start then finishing with 10%'s or something. Also note that 15%, 20%, 50%, and 65% scrolls exist.
For those wondering, file is totally clean.