1. Welcome to the Toram Online Forums. Please make sure to read our rules and be friendly to all our members.
    Click here to read the rules before posting.
    Dismiss Notice

[NEW] Accurate "Personalized" Statting Simulator

Discussion in 'Toram Online Game Guides' started by Lil☆Neko, Aug 5, 2020.

  1. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    544
    Likes Received:
    537
    IGN:
    Lil☆Neko
    Since coryn.club has shown no signs of fixing their statting simulator, especially after making it so un-user-friendly with the latest UI change, I've decided to make my own statting simulator that has ease of use as well as accurate calculations.

    Current coryn issues:
    - does not deal with potential consumed/returned properly when dealing with any stats that involve +21
    - not all stats that go to 21 are displayed properly.
    - DEF jumps to 30 on the 21st step, ASPD/CSPD => 36, HP => 360

    The first issue is especially damaging since you might end up with success rate 10% higher than what it actually should be.
    Here is a link to the statting simulator that I made which solves all of these problems.

    https://sparkyneko.github.io/statting_simulator

    Assumptions
    While this statting simulator does allow you to stat more than +21, the values past that are all extrapolated LINEARLY based on the difference spotted between +20 and +21. All stats that are not currently illegal will be displayed in RED. Current assumptions being made include: potential return for stats between 0 and -20 set at 30.5% (5 + TEC / 10) doubled to 61% for opposing stats; potential cost for stats is DOUBLED for stats past +20, potential return for stats is reduced to a mere 8% (3% + TEC / 51), doubled to 16% for opposing stats. You can read more about my research from testing in game in this guide I made (https://toramonline.com/index.php?threads/how-to-make-the-most-out-of-your-crafters.51525/)

    Quality of life features:
    - Press F to fill stepwise until you hit +20 (you should never fill stepwise past +20, those stats cost double potential), or until you cannot do another step without running out of potential
    - Press S to increase that stat by 1, and press Confirm, all in one key.
    - Press A to set value to maximum, but this does NOT press Confirm.
    - Press D to set value to minimum, but this does NOT press Confirm.
    - Press R to undo
    (For all the commands, you can press the "hotkeys" button on the webpage)

    Future planned features:
    - make hotkeys work on mobile!!!!!

    - your last session is resumed upon going to the simulator.
    - allowing you to have several stats in progress at the same time, and switch between the stats at any point.
    - duplicating a current stat so you can branch.
    - a redo button.
    - support statting formulas without 255 TEC
    - adding max mats in a single step. Currently working on how this interacts with undo, and what excess data needs to be stored with each step in the formula.
    (With how passionate I am about statting, these features probably will be in within like 1 week)

    If anyone wants to contribute CSS feel free to make your pull request with your CSS. I'm more interested in the functionality than actually making it look good. If i wanna look good, I'll just go splurge on dyes and empty my wallet in Toram again.

    Further reading to make you rage:
    Elemental Halberd and THS users, have you gotten your weapons yet? Did you know that, aside from the success rate difference, Critical Damage+10% is better than Critical Damage+20 now? With 300 STR, you now get 150 (base) + 60 (from STR) base Critical Damage. As such, Critical Damage +10% now gives you 21 Critical damage instead of only 20. Are you angry now? Time to stat, refine and pierce new weapons yet?

    Please report any bugs here. I'm 99.99% sure that it's bug free and that all the rounding is correct. I've been doing stat formulas manually using pen, paper and a calculator, so it's VERY UNLIKELY that I messed up the algorithm anywhere.

    Source code:
    HTML: https://github.com/sparkyneko/sparkyneko.github.io/blob/master/statting_simulator.html
    Javascript: https://github.com/sparkyneko/sparkyneko.github.io/blob/master/js/t4stat.js
     
    Last edited: May 6, 2022
    • Winner Winner x 30
    • Like Like x 6
    • Friendly Friendly x 3
    • Creative Creative x 2
  2. kariin

    kariin Patience is a Virtue Staff Member MODERATOR Super Likable Elite Member Wiki Contributor Epic Member

    Joined:
    Jul 29, 2015
    Messages:
    5,411
    Likes Received:
    5,431
    IGN:
    karii♡
    wooohooo! an updated statting simulator that works! thanks for your hardwork :)
     
    • Friendly Friendly x 1
  3. xiao

    xiao New Member

    Joined:
    Jun 8, 2019
    Messages:
    2
    Likes Received:
    1
    that's ma numbe wan sensei :3
     
    • Like Like x 1
  4. Eloneys

    Eloneys Well-Known Member

    Joined:
    Apr 22, 2016
    Messages:
    233
    Likes Received:
    116
    IGN:
    Eloneys
    Waaa, thanks for the hardwork!
    Here a digital medal for you.
    ⠀⠀⠀⠀⠀⣤⣶⣶⡶⠦⠴⠶⠶⠶⠶⡶⠶⠦⠶⠶⠶⠶⠶⠶⠶⣄⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⣿⣀⣀⣀⣀⠀⢀⣤⠄⠀⠀⣶⢤⣄⠀⠀⠀⣤⣤⣄⣿⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠿⣿⣿⣿⣿⡷⠋⠁⠀⠀⠀⠙⠢⠙⠻⣿⡿⠿⠿⠫⠋⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⢀⣤⠞⠉⠀⠀⠀⠀⣴⣶⣄⠀⠀⠀⢀⣕⠦⣀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢀⣤⠾⠋⠁⠀⠀⠀⠀⢀⣼⣿⠟⢿⣆⠀⢠⡟⠉⠉⠊⠳⢤⣀⠀⠀⠀ ⠀⣠⡾⠛⠁⠀⠀⠀⠀⠀⢀⣀⣾⣿⠃⠀⡀⠹⣧⣘⠀⠀⠀⠀⠀⠀⠉⠳⢤⡀ ⠀⣿⡀⠀⠀⢠⣶⣶⣿⣿⣿⣿⡿⠁⠀⣼⠃⠀⢹⣿⣿⣿⣶⣶⣤⠀⠀⠀⢰⣷ ⠀⢿⣇⠀⠀⠈⠻⡟⠛⠋⠉⠉⠀⠀⡼⠃⠀⢠⣿⠋⠉⠉⠛⠛⠋⠀⢀⢀⣿⡏ ⠀⠘⣿⡄⠀⠀⠀⠈⠢⡀⠀⠀⠀⡼⠁⠀⢠⣿⠇⠀⠀⡀⠀⠀⠀⠀⡜⣼⡿⠀ ⠀⠀⢻⣷⠀⠀⠀⠀⠀⢸⡄⠀⢰⠃⠀⠀⣾⡟⠀⠀⠸⡇⠀⠀⠀⢰⢧⣿⠃⠀ ⠀⠀⠘⣿⣇⠀⠀⠀⠀⣿⠇⠀⠇⠀⠀⣼⠟⠀⠀⠀⠀⣇⠀⠀⢀⡟⣾⡟⠀⠀ ⠀⠀⠀⢹⣿⡄⠀⠀⠀⣿⠀⣀⣠⠴⠚⠛⠶⣤⣀⠀⠀⢻⠀⢀⡾⣹⣿⠃⠀⠀ ⠀⠀⠀⠀⢿⣷⠀⠀⠀⠙⠊⠁⠀⢠⡆⠀⠀⠀⠉⠛⠓⠋⠀⠸⢣⣿⠏⠀⠀⠀ ⠀⠀⠀⠀⠘⣿⣷⣦⣤⣤⣄⣀⣀⣿⣤⣤⣤⣤⣤⣄⣀⣀⣀⣀⣾⡟⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⢹⣿⣿⣿⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠛⠃⠀
    For the future planned feature, can I request to add prof lvl too? So no need to calculate the material cost again.
     
  5. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    544
    Likes Received:
    537
    IGN:
    Lil☆Neko
    I would absolutely love to, however, I'm not sure of mat reduction is always constant at say cd+20 and cd+10. In early tests for proficiency related reduction, I found that partial stats (not max/min values) sometimes didnt have the expected reduced value for mat costs. I'll have to search that up in game to see if its reliable
     
    • Like Like x 1
  6. WindSlash

    WindSlash Guardian Angel of Picos Elite Member

    Joined:
    Aug 28, 2015
    Messages:
    1,838
    Likes Received:
    864
    IGN:
    WinSlash
    Can you do something like making a old version available? coz some people like me wants to pass around an equipment to stat it using a different account, but has not ever leveled anything to Lv200. xD
     
  7. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    544
    Likes Received:
    537
    IGN:
    Lil☆Neko
    Today's updates:
    - Made your stat work on the statting simulator persistent
    - Allows multiple tabs, each for a specific
    - Allowed duplication and renaming each tab
    - highest mats in a single step
    - redo button!


    @WindSlash I'm not sure if I could support tier 3... at least the visual support data will likely be broken... I can definitely get the success rate working, but the hotkeys, and colour coding will definitely be off. I don't wanna touch that shit anymore lol. The logic for determining legal values is very different for +21 as opposed to +19. (If you can, can you let me know what the max -def is possible when you're statting with only tier 3?)
    Tier 3 might need some testing as I'm not sure if the rounding mechanisms are all the same.
     
    • Like Like x 1
    • Funny Funny x 1
  8. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    544
    Likes Received:
    537
    IGN:
    Lil☆Neko
    Here's a screenshot of all of these things :3
    [​IMG]
     
    • Like Like x 1
  9. yami99

    yami99 Member

    Joined:
    Feb 25, 2019
    Messages:
    5
    Likes Received:
    0
    IGN:
    《 S P ♤ D E 》
    shishou teach me how to compute manually haha
     
  10. PlokChok

    PlokChok Member

    Joined:
    Sep 20, 2019
    Messages:
    14
    Likes Received:
    11
    IGN:
    PlokChok
    nice nice nice nice nice nice nice nice nice
     
  11. Cronen

    Cronen Active Member

    Joined:
    Jan 30, 2019
    Messages:
    32
    Likes Received:
    17
    IGN:
    Cronen
    a splendid good job sensei uwu
     
  12. Ryoumaru

    Ryoumaru Member

    Joined:
    Jan 13, 2018
    Messages:
    8
    Likes Received:
    9
    IGN:
    Ryoumaru
    the undo is somehow bug
     
    • Like Like x 1
  13. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    544
    Likes Received:
    537
    IGN:
    Lil☆Neko
    I've found that undoing from a saved state is sometimes buggy unfortunately - I'll have to look into that unless you have more specific examples
     
    • Like Like x 1
  14. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    544
    Likes Received:
    537
    IGN:
    Lil☆Neko
    Finally moved in to a new apartment and ready for September classes! Got the chance to fix the undo/redo bug under the following circumstances:
    - the sequence [undo a stat back to "empty" -> put something in the same slot -> undo] did not remove the stat selected when undo is used the second time
    - fixed formulas from being linked when you duplicate a stat. (forgot to deepclone the formula before inheriting it to another stat instance)
    - undo/redo locked in unconfirmed/uncommitted stats instead of removing them completely.
    - fixed a bug where upon loading a page, any new changes made to any pre-existing, uncompleted stat would cause those stats to be marked as "newly added", and undo would completely remove the stat and all the previous work as well.
    - if redo finishes a stat, all slots will be locked and the stat will be marked as finished.
    - disabled autocomplete for stat (number) values

    Thanks everyone for using my statting sim!
     
    • Like Like x 4
  15. Ryoumaru

    Ryoumaru Member

    Joined:
    Jan 13, 2018
    Messages:
    8
    Likes Received:
    9
    IGN:
    Ryoumaru
    yes i did it on saved formula, sry for late reply coz i rarely open forum

    ah btw i found some bug @@
    1st is dat ur mag resist is double xd
    2nd when im stating armor pot 83
    Armor - Potential: 83
    #1. Physical Resistance % +7 (13pot)
    #2. Magical Resistance % +1 (1pot)
    #3. ATK % -10 MATK % -10 Physical Pierce % -5 Magic Pierce % -5 (489pot)
    then when i want to max p resist, m resist, add elemen resist, and aggro
    the aggro is somehow bug cant press "A" for set max value

    keep it up ganbatte ^^/
     
    Last edited by a moderator: Sep 10, 2020
    • Like Like x 1
  16. Isra

    Isra Cock and Ball Torture Elite Member

    Joined:
    Oct 28, 2016
    Messages:
    2,023
    Likes Received:
    2,360
    IGN:
    Vani Lla
    Add a muffin button
     
  17. kariin

    kariin Patience is a Virtue Staff Member MODERATOR Super Likable Elite Member Wiki Contributor Epic Member

    Joined:
    Jul 29, 2015
    Messages:
    5,411
    Likes Received:
    5,431
    IGN:
    karii♡
    just noticed u have two magical resistance % on the list, not sure if there's a diff..
    upload_2020-9-20_10-47-57.png
     
    • Like Like x 1
  18. SAM.

    SAM. Well-Known Member

    Joined:
    Jul 26, 2018
    Messages:
    407
    Likes Received:
    90
    IGN:
    Ryuuki.
    Um... this isn't accurate anymore. I forgot to screen my weapon before I statted, but the success rate was 11%. Completely lost a 1.5m item I bought valued 4m... & the mana... ):

    8A3EF9F7-F6CC-4E6B-BA4C-FA18A3B644FE.jpeg
    &yes, it's possible to mp11 dodge12 now.
     
    Last edited: Dec 9, 2020
    • Sad Sad x 1
  19. FrostHydra97

    FrostHydra97 Well-Known Member

    Joined:
    Jun 26, 2020
    Messages:
    268
    Likes Received:
    83
    The pot value of lv220 cap hasn't been updated yet so ofc it's not accurate. Though, I checked a few times and found that the current simulator NatMPRegen -10 Dodge -11 would roughly be the same as current ingame natmpregen -11 dodge -12, while those with cap 10 before (like those %base stat or %ATK %MATK) just need to double the pot consumption from the 11 onward.
     
    • Like Like x 1
  20. Lil☆Neko

    Lil☆Neko Well-Known Member

    Joined:
    Jan 26, 2018
    Messages:
    544
    Likes Received:
    537
    IGN:
    Lil☆Neko
    Really havent played toram in a very very very long time. Just returning to the game and hoping it's less boring. I'll look into this later as i just finished leveling my statter to 220 this morning. hurray for having 5 adventurer diaries.

    You can thank Ari for that
     

Share This Page