1. Hello!

    First of all, welcome to MapleLegends! You are currently viewing the forums as a guest, so you can only view the first post of every topic. We highly recommend registering so you can be part of our community.

    By registering to our forums you can introduce yourself and make your first friends, talk in the shoutbox, contribute, and much more!

    This process only takes a few minutes and you can always decide to lurk even after!

    - MapleLegends Administration-
  2. Experiencing crashes with 'Unknown Error'? Make sure you are on the latest MapleLegends version. The current latest version is found by clicking here.
    Dismiss Notice

[Release] Scroll Probability Calculator

Discussion in 'Programming' started by ahotbanana, Apr 12, 2019.

  1. ahotbanana
    Online

    ahotbanana Slime

    21
    3
    30
    Sep 27, 2015
    Male
    11:06 AM
    MerpleLergen
    Hermit
    100
    Horny
    Hi everyone!

    I've been meaning to make this for quite a while now and I had a slow day at work, so I had the time to actually program it. I don't know how useful it's likely to be to anyone, but here we are:

    upload_2019-4-12_17-32-27.png

    What it does
    Given any combination of scrolls (of the types you can see in the screenshot), this will calculate the probability of each possible outcome, rounded to three significant figures.

    It works on the assumption that you will keep going regardless of failures. Of course, you can use it to determine if it's worth continuing to scroll

    It also assumes that the percentages listed in game are actually true, which often doesn't feel like it's the case :(

    How to use it
    1. For the sake of sanity checking, choose the number of slots on the item (or the number of scrolls you intend to use).
    2. Choose how many of each scroll type you intend to use.
    3. Fill in the bonus you will get to your desired stat for each tier of scroll. You only need to fill in the scrolls you are actually using. Common setups for this can be applied with the Common Configurations buttons: 5/2/1 (eg overall int), 3/2/1 (eg gloves for att) and 2/1/0 (int bonus from gloves for m.att)
    4. Click on calculate and the ugly grey box should be filled in with a table.
    Where to download it
    For now, I've put the exe on my OneDrive and created this link for you to download it: https://1drv.ms/u/s!AsFsUF0eyeDziLoXLNz6NtSqBxqMjA

    If, however, you aren't comfortable running a random binary from a stranger, you can view and download the source from https://github.com/ahotbanana/Maple-Scroll-Probability-Calculator and compile it for yourself.

    Final thoughts
    If you like this and have any features you'd like me to add, or indeed anything else you'd like me to program, let me know. I make no guarantees about when, if ever, I'll actually get round to doing any of them, but I will at least think about them.

    If you have any questions about this tool, don't hesitate to ask. You might be better off contacting me in game, though (MerpleLergen).

    If you find any bugs or anything that's not quite right, please do let me know, also.
     

    Attached Files:

    • Great Work Great Work x 8
  2. akashsky
    Online

    akashsky Windraider

    498
    77
    291
    Jun 10, 2017
    Male
    United States
    3:06 AM
    Akash
    Corsair
    140
    Vongola
    LF>Chaos scrolls to be added in.

    Though I bet they will throw the probabilities way out of wack considering all the outcomes.
     
  3. OP
    OP
    ahotbanana
    Online

    ahotbanana Slime

    21
    3
    30
    Sep 27, 2015
    Male
    11:06 AM
    MerpleLergen
    Hermit
    100
    Horny
    It wouldn't be too hard to add chaos scrolls but I'd need accurate numbers for the probabilities of each possible outcome.
     
  4. akashsky
    Online

    akashsky Windraider

    498
    77
    291
    Jun 10, 2017
    Male
    United States
    3:06 AM
    Akash
    Corsair
    140
    Vongola
    I am fairly certain that if the scroll works, its 1/11 for each outcome, -5 to +5.
     
  5. OP
    OP
    ahotbanana
    Online

    ahotbanana Slime

    21
    3
    30
    Sep 27, 2015
    Male
    11:06 AM
    MerpleLergen
    Hermit
    100
    Horny
    I've seen evidence to the contrary, but it was from a different server where it might work differently.
    Before I put the effort in to implement it, I would want to see the actual code for how it works, really.
     
  6. iLovKimberly
    Offline

    iLovKimberly Wolfspider

    518
    292
    321
    Feb 23, 2017
    Male
    Malaysia
    6:06 PM
    Tsukishima/ItamiYouji
    Islander, Bishop
    Halcyon
    I feel you bro
     
  7. Hyoon
    Offline

    Hyoon Game Moderator Staff Member Game Moderator

    1,073
    675
    408
    Dec 1, 2015
    6:06 AM
    When worrying about how likely the chances are I usually just play around with a scrolling simulator.
    http://arcade.gamesalad.com/g/49395
    This is my favourite one, with working sounds and item actually blowing up ETC.

    But in terms of chaos you need to have the 60% chance to pass then the 1/11 chance of a desired stat.
     
    • Useful Useful x 1
  8. OP
    OP
    ahotbanana
    Online

    ahotbanana Slime

    21
    3
    30
    Sep 27, 2015
    Male
    11:06 AM
    MerpleLergen
    Hermit
    100
    Horny
    That is good to know. I'll start work on it when I get time because I have to say, it would be nice.
     

Share This Page