Page 218 of 219 FirstFirst ... 118 168 208 216 217 218 219 LastLast
Results 2,171 to 2,180 of 2181

Thread: EatDrink.ash: Optimize your daily diet (and see how your old diet stacks up).

  1. #2171
    Developer
    Join Date
    Aug 2009
    Posts
    2,683

    Default

    My first pass with ED tried to consume deluxe layer cake with mayozapine, which pointed to weighting stats too heavily. My next pass pointed out that I hadn't set my valueOfAdventure appropriately, so I did so.

    With those two tweaks, food + booze were identical to Eleron's diet calculator (lasagna, perfect booze with peppermint booze filler). Spleen insisted on using all transdermal smoke patches, but that's likely because Eleron's diet calculator relied on an outdated price of coffee pixie sticks.

  2. #2172

    Default

    My first pass with ED tried to consume deluxe layer cake with mayozapine, which pointed to weighting stats too heavily. My next pass pointed out that I hadn't set my valueOfAdventure appropriately, so I did so.

    With those two tweaks, food + booze were identical to Eleron's diet calculator (lasagna, perfect booze with peppermint booze filler). Spleen insisted on using all transdermal smoke patches, but that's likely because Eleron's diet calculator relied on an outdated price of coffee pixie sticks.
    Originally Posted by heeheehee View Post
    Thanks for the insight! You're right about the coffee pixie sticks, I usually just press exclude and see what else I get.

    Any recommendations as to what I should change the "eatdrink_valueOfNonPrimeStat" and "eatdrink_valueOfPrimeStat" to get similar results as Eleron's diet calculator?

    I tried amending valueOfNonPrimeStat and valueOfPrimeStat, even setting both to 0, but I still get the same result as before, where the no. of adv generated is inferior to that of Eleron's.

    Thank you!
    Last edited by littlereddot11; 05-12-2017 at 02:12 PM.

  3. #2173
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,711

    Default

    As far as I can tell, eleron's datafile will soon be an entire year out of date, and some of the prices in the diet it suggested for me were an entire 100% off.

  4. #2174
    Developer
    Join Date
    Aug 2009
    Posts
    2,683

    Default

    Thanks for the insight! You're right about the coffee pixie sticks, I usually just press exclude and see what else I get.

    Any recommendations as to what I should change the "eatdrink_valueOfNonPrimeStat" and "eatdrink_valueOfPrimeStat" to get similar results as Eleron's diet calculator?

    I tried amending valueOfNonPrimeStat and valueOfPrimeStat, even setting both to 0, but I still get the same result as before, where the no. of adv generated is inferior to that of Eleron's.

    Thank you!
    Originally Posted by littlereddot11 View Post
    Are you modifying the value in data/vars_<charname>.txt, or attempting to set Mafia settings (via CLI's `set valueOfNonPrimeStats = 0` etc)? The latter won't work.

  5. #2175

    Default

    Are you modifying the value in data/vars_<charname>.txt, or attempting to set Mafia settings (via CLI's `set valueOfNonPrimeStats = 0` etc)? The latter won't work.
    Originally Posted by heeheehee View Post
    I used the former, modifying on the vars_<charname>

  6. #2176
    Developer
    Join Date
    Aug 2009
    Posts
    2,683

    Default

    Odd. You did set valueOfAdventure as a mafia setting? You're being consistent with, say, not overdrinking in either simulation? And you're setting custom organ sizes to fit your in-game situation? Is Eleron's diet calc suggesting forks / mugs? ED doesn't support those.

    I do remember arguing in the past re: ED's suboptimality due to its greedy approach, but in my experience it hasn't been that bad, outside of the cases it simply doesn't support.

  7. #2177

    Default

    EDIT: I figured out what was wrong, I didn't enable "buying items from Mall if required" in the Kolmafia settings.
    Thanks heeheehee for running through all the checks with me

    Nonetheless, I'm still curious regarding this: What is the difference between "spent X meat" and "additional expenditures of X meat"?




    Odd. You did set valueOfAdventure as a mafia setting? You're being consistent with, say, not overdrinking in either simulation? And you're setting custom organ sizes to fit your in-game situation? Is Eleron's diet calc suggesting forks / mugs? ED doesn't support those.

    I do remember arguing in the past re: ED's suboptimality due to its greedy approach, but in my experience it hasn't been that bad, outside of the cases it simply doesn't support.
    Originally Posted by heeheehee View Post
    Yes, I'm quite sure I set the valueofadventure correctly, as the start of the script shows the correct valueofadventure that I had set. And yes, I was being consistent in setting no overdrinking for both simulations. Same for organ size.

    Eleron's diet calculator did not suggest forks/mugs. I do acknowledge that the prices on Eleron's calculator is a bit off especially for spleen items. But nonetheless, I don't think that could still explain the ~58 adventures difference between both calciulators.

    For reference, Eleron's diet calculation here:

    Screen Shot 2017-05-13 at 12.47.44 PM.png


    Here's is EatDrink's calculation:
    Code:
    Starting EatDrink.ash (version 3.2).
    Consuming up to 15 food, 19 booze, and 15 spleen
    Considering food from inventory Hagnk's NPCs. Per-item budget cap is 25000.0.
    Retrieval cap is 20000. Price will be a factor if you own it already.
    An adventure has the value of 3500 meat. Mysticality subpoint is 0.0. Nonprime stat subpoint is 0.0.
    Simulating only; no purchases or food/drink/spleen consumption.
    booze: At 0, consuming to 19 with 1016369 meat.
    0: Ode to Booze price: 0 value: 66500
    1: perfect mimosa lev:5 gain:3.0 adv:18.5 musc:17.5 myst:27.5 mox:8.0 meat:3398 own:0 value:20450
    2: distilled fortified wine lev:1 gain:1.0 adv:5.5 musc:5.5 myst:5.5 mox:5.5 meat:2499 own:0 value:16751
    3: bottle of laundry sherry lev:11 gain:2.0 adv:7.5 musc:0.0 myst:65.0 mox:0.0 meat:1300 own:0 value:12475
    4: bottle of laundry sherry lev:11 gain:2.0 adv:7.5 musc:0.0 myst:65.0 mox:0.0 meat:1300 own:0 value:12475
    5: dusty bottle of Marsala lev:1 gain:2.0 adv:7.0 musc:7.5 myst:7.5 mox:7.5 meat:158 own:3 value:12171
    6: dusty bottle of Marsala lev:1 gain:2.0 adv:7.0 musc:7.5 myst:7.5 mox:7.5 meat:158 own:3 value:12171
    7: dusty bottle of Marsala lev:1 gain:2.0 adv:7.0 musc:7.5 myst:7.5 mox:7.5 meat:158 own:3 value:12171
    8: dusty bottle of Marsala lev:1 gain:2.0 adv:7.0 musc:7.5 myst:7.5 mox:7.5 meat:158 own:3 value:12171
    9: dusty bottle of Marsala lev:1 gain:2.0 adv:7.0 musc:7.5 myst:7.5 mox:7.5 meat:158 own:3 value:12171
    10: tankard of ale lev:1 gain:1.0 adv:3.0 musc:13.5 myst:13.5 mox:13.5 meat:150 own:15 value:10350
    food: At 0, consuming to 15 with 1010330 meat.
    0: milk of magnesium price: 1384 value: 51116
    1: sleazy hi mein lev:13 gain:5.0 adv:30.5 musc:27.5 myst:27.5 mox:72.5 meat:4356 own:0 value:20478
    2: This Charming Flan lev:1 gain:2.0 adv:11.0 musc:11.0 myst:0.0 mox:0.0 meat:3500 own:0 value:17500
    3: tasty tart lev:1 gain:1.0 adv:5.5 musc:5.5 myst:5.5 mox:5.5 meat:2695 own:0 value:16555
    4: tasty tart lev:1 gain:1.0 adv:5.5 musc:5.5 myst:5.5 mox:5.5 meat:2695 own:0 value:16555
    5: tasty tart lev:1 gain:1.0 adv:5.5 musc:5.5 myst:5.5 mox:5.5 meat:2695 own:0 value:16555
    6: tasty tart lev:1 gain:1.0 adv:5.5 musc:5.5 myst:5.5 mox:5.5 meat:2695 own:0 value:16555
    7: actual tapas lev:11 gain:1.0 adv:4.5 musc:40.0 myst:0.0 mox:0.0 meat:1000 own:3 value:14750
    8: actual tapas lev:11 gain:1.0 adv:4.5 musc:40.0 myst:0.0 mox:0.0 meat:1000 own:3 value:14750
    9: actual tapas lev:11 gain:1.0 adv:4.5 musc:40.0 myst:0.0 mox:0.0 meat:1000 own:3 value:14750
    10: actual tapas lev:11 gain:1.0 adv:4.5 musc:40.0 myst:0.0 mox:0.0 meat:1000 own:3 value:14750
    spleen: At 0, consuming to 15 with 992666 meat.
    1: agua de vida lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:9275 own:0 value:4243
    2: agua de vida lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:9275 own:0 value:4243
    3: prismatic wad lev:7 gain:3.0 adv:6.0 musc:55.0 myst:55.0 mox:55.0 meat:8631 own:0 value:4123
    4: prismatic wad lev:7 gain:3.0 adv:6.0 musc:55.0 myst:55.0 mox:55.0 meat:8631 own:0 value:4123
    Finished.
    Spent 58131 meat with additional expenditures of 1384 meat. Gained Fullness: 15. Inebriety: 19. Spleen: 14.
    Adventures: 219. Muscle: 398. Moxie: 263. Mysticality: 367.
    Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
    On this topic, could I also ask what is the difference between "spent X meat" and "additional expenditures of X meat"?
    Last edited by littlereddot11; 05-13-2017 at 06:06 AM.

  8. #2178
    Developer
    Join Date
    Aug 2009
    Posts
    2,683

    Default

    Looks like "spent X meat" is the price of food / booze / etc, while "additional expenditures" is for helpers like Milk of magnesium.

  9. #2179

    Default

    Ohh I see. Thanks for clarifying!

  10. #2180
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,728

    Default

    Sorry, I've been in the process of moving across the state. You finally posted why it's skipping the mall though, so I can answer that for ya.
    Considering food from inventory Hagnk's NPCs. Per-item budget cap is 25000.0.
    You've only told mafia that it's allowed to go from storage and NPCs. You need to tell mafia that the mall (and maybe coinmasters) are okay if you want ED to consider them.

Similar Threads

  1. 14784: optimize a bit by reusing the same xml serializer
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 10-02-2014, 02:21 AM
  2. 600 - 700 ADV diet!! T
    By scrambles in forum Item Handling Scripts
    Replies: 20
    Last Post: 08-08-2012, 06:32 AM
  3. 11060: optimize table renderer a bit
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 06-01-2012, 04:50 PM
  4. consumption.ash -- an EatDrink alternative
    By heeheehee in forum Informational Scripts
    Replies: 6
    Last Post: 11-17-2011, 04:43 AM
  5. PvP Diet Balance and Wine tasting. [spoilers]
    By Darkness in forum Scripting Discussion
    Replies: 2
    Last Post: 03-12-2007, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •