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 disconnecting after inserting your login info? Make sure you are on the latest MapleLegends version. The current latest version is found by clicking here.
    Dismiss Notice

XP Calculator [v1.1 Release]

Discussion in 'Programming' started by mfranca915, Feb 23, 2020.

  1. mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    SlimeSmile Version Release 1.1 (LATEST) SlimeSmile
    • Calculate Action --> Enter key will now calculate and submit the form
    • Reset Form Action --> ESC key will now reset the form
    • Monster / Boss lists have been revised further
    • Filter by Monster or Boss
    • Filter Monsters / Bosses by level (Optional)
    • Added map locations to all relevant Monsters and Bosses within the application (Auto-sorts by ascending order based off of greatest to least mob count)
    [​IMG]

    Download here: https://drive.google.com/open?id=1h3tpnhdbeCaMZI_97V-JLjfd8ca_ASQM
     
    • Like Like x 4
    • Friendly Friendly x 1
  2. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
  3. Discor
    Offline

    Discor Slimy

    247
    36
    230
    Nov 29, 2017
    Male
    3:42 PM
    I/L Arch Mage
    160
    NANI
    that looks neat ! how can i get access to this technological marvel ?
     
  4. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    I will have it released soon! I'll be working on it tomorrow more, need to prevent it from letting people select an incorrect level based off of their current XP.

    I was looking around and I've noticed that many want a nice GUI with multiple calculators in one program, might give that a try for future updates!
     
    • Friendly Friendly x 1
  5. Bambo
    Offline

    Bambo Stone Golem

    117
    41
    135
    Jul 26, 2017
    Male
    Hanoi, Vietnam
    7:42 PM
    FPBambo
    F/P Wizard
    143
    Spirit
    • Funny Funny x 1
  6. Ainz
    Offline

    Ainz Zakum

    1,680
    1,088
    490
    May 2, 2015
    Male
    Netherlands
    2:42 PM
    So many I keep forgetting
    0
    This would be useful if you actually read the exp pointers from the client :p
     
  7. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    Yes, I realized after the fact lol... I will edit values and go through it all again with MapleLegends library.
     
    • Like Like x 1
    • Friendly Friendly x 1
  8. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    BamboBambo

    I'd like to thank you again for the reminder about the MapleLegends library! Today, I went through all 127 pages and updated the program.

    The program has all mobs associated with the ML library and each mob has their level next to their names now.

    I'm implementing a Reset button and error handling now, once this is done I'll hand out the first release version :)
     
    • Great Work Great Work x 1
  9. jesscapades
    Offline

    jesscapades Pac Pinky

    176
    72
    196
    Jun 24, 2019
    Female
    8:42 AM
    jesscapades
    Shadower
    182
    Homies
    What is the advantage of this compared to the @epm command?
     
  10. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    I wouldn't say it has an advantage over @epm, @epm shows XP per minute and XP per hour which you can clearly tell how long it will take you to level up.

    This will just tell you how much XP you have left till level up and how many mobs you need to kill based on the specific mob you are solo grinding.

    Just want to practice coding, add a project I've worked on to my portfolio, and give something to the community that people may use.
     
    • Great Work Great Work x 1
  11. jesscapades
    Offline

    jesscapades Pac Pinky

    176
    72
    196
    Jun 24, 2019
    Female
    8:42 AM
    jesscapades
    Shadower
    182
    Homies
    That’s fair :) the drop-down field is a good addition. I would suggest allowing the user’s XP to be inputted as a percentage, cause exp in game is not comma separated; it gets kind of hard to read once you get into the later levels.
     
  12. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    That's a really good point, I will definitely give this a try! Thank you for pointing that out.
     
  13. Discor
    Offline

    Discor Slimy

    247
    36
    230
    Nov 29, 2017
    Male
    3:42 PM
    I/L Arch Mage
    160
    NANI
    by the way is it possible to add item drop list when you choose a monster ?
     
  14. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    It is possible, I would need to add a item drop list attribute into the mob class and add in the items for each mob.

    It most likely wouldn't be relevant towards the XP Calculator, what were you looking for based off of dropped items?
     
  15. Discor
    Offline

    Discor Slimy

    247
    36
    230
    Nov 29, 2017
    Male
    3:42 PM
    I/L Arch Mage
    160
    NANI
    i think it would be cool if for example i need "x" amount of xp for the next lvl and for that i need to kill monster A "y" amounts or monster B "1.5*y" amount.
    but then i see that monster B can drop something cool for my class or something i need in general , then i will prioritize killing monster B over monster A.

    basically it will help to chose a mob for grinding not only based on exp.
    I do it already by using "hidden street" but a program would be cooler and would help me avoid opening 20 tabs in chrom.
     
  16. Discor
    Offline

    Discor Slimy

    247
    36
    230
    Nov 29, 2017
    Male
    3:42 PM
    I/L Arch Mage
    160
    NANI
    or it would allow to check quickly the drops of a mob you are grinding without going on "hidden street" , it will be a small time saver .

    if we talk about time savers there are some nice things you can add and make your program better then checking stuff online .
    maybe to add some info about the monsters like: lvl , hp , and a common location .
    i am sure there are more small things people constantly recheck online.

    but that will make it much more then just exp calculator and i believe it will be much more work .
     
  17. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    I get what you're saying, I'll definitely try adding this since it makes sense. One program that holds all this information is much easier than tabbing in/out to look at the database or searching Google.

    It will take some time for all of that, but I'll be happy to consistently release updated versions with new features on my free time.
     
  18. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    jesscapadesjesscapades

    I was looking into how you would be able to enter in the player's percent instead of current XP; but there's a problem.

    If you just entered the percent which is in the format of a whole number down to the hundredths place, for example 25.16%, it will give incorrect results.

    The reason for that is, it doesn't know your exact current XP and it will effect results significantly. If you do the calculation to find the percent (current XP divided by Total XP of that level) it produces a long decimal number that is required to keep in order to know the exact current XP.

    In-game example

    level 41 - current XP (81603) divided by total XP (324240) = 0.25167468541820873427091043671355

    display percentage value - 0.25167468541820873427091043671355 multiplied by 100 = 25.167468541820873427091043671355

    Formatted percentage value in-game = 25.16 %

    In-game it will format the percentage to only 2 decimal places but it knows your current XP. The XP calculator will only have that percentage to work with, and if you try converting it back it doesn't produce the proper result.

    XP Calculator example

    Current XP (percent) in XP calculator - 25.16

    converting back -

    25.16 / 100 = 0.2516 (not 0.25167468541820873427091043671355)

    0.2516 multiplied by totalXP (324240) = 81,578.784 (Current XP was 81,603)

    I hope this makes sense, it seemed like a great idea but it doesn't seem like it would function properly to give back the exact number for needed XP and it would also throw off the needed mobs value.
     
  19. Mirrors
    Offline

    Mirrors Zakum Retired Staff

    1,925
    536
    465
    Jul 15, 2019
    Female
    5:42 AM
    Mirrors
    WeenieHutJrs
  20. OP
    OP
    mfranca915
    Offline

    mfranca915 Orange Mushroom

    33
    20
    38
    Feb 22, 2020
    Male
    8:42 AM
    Zenzi
    Assassin
    50
    Clout
    SlimeSmile First Version Release 1.0 SlimeSmile
    • Level drop-down menu (ML EXP table used for proper values)
    • current XP text box
    • Mob list drop-down menu with levels associated (All mobs added from ML database)
    • XP Percentage calculated
    • Total mobs needed for level-up calculated
    • XP needed for level-up calculated
    Download here (v1.1 LATEST): https://drive.google.com/open?id=1h3tpnhdbeCaMZI_97V-JLjfd8ca_ASQM

    Let me know if you have any issues, or drop a suggestion on features that should be added. Will be fixing issues, adding new features, and releasing future updates!
     
    • Great Work Great Work x 2

Share This Page