Topic

FavorSaver - Take the guesswork out of donations!

My third tool is ready to go!

FavorSaverThis tool allows you to dig through your inventory and select items that you'd like to donate.  It then helps you compute the amount of favor you can generate, and lets you set goals.  The intent is to let you see how the items you have can help you reach specific favor targets, hopefully without exceeding them (and therefore wasting favor!)

Oh, and also since it's come up twice - the API methods don't allow me to access your current favor per giant and/or your XP/favor caps for the day.  It's not information they're currently providing.  I think it's been requested, but I'll go and throw my hat in the ring as wanting it as well.

Now that we've calculated the formula for XP from donations, I've added that to the tool.  Cap information is still not something I can reliably calculate from the API, so that's going to have to wait...

Posted 14 months ago by agent86 Subscriber! | Permalink

Replies

  • Once again: Amazing work. Since you're tapping into the API, is there a way to list current favor and caps for each giant?
    Posted 14 months ago by Quinton Falkner Subscriber! | Permalink
  • Thanks for this. Haven't tried it yet but m gonna use this later :)
    Posted 14 months ago by The Black Chicken Subscriber! | Permalink
  • Unfortunately, I can't read that information from the API methods the devs have let us have so far.  If/when they allow that, I'm going to add it for sure!
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • you, sir, are a gentleman and a scholar.  my hat is off to you.  many thanks.
    Posted 14 months ago by BeatFreq Subscriber! | Permalink
  • Mmm, now with more features!  Your preferences are saved in a cookie between sessions, you can now click on the EHSP/FHSP quantity to 'skip' using a type of powder on that item, and various bugs and additional features were added.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • A quick way to look at your current favor, max favor, and favor until you reach daily cap for each Giant would be a godsend. Currently, I just use
    (((Max favor - current favor)x10)÷*value of donated items in currants*)÷*strength of powder*
    to find out how many items I need to donate to hit the max, take a few if I don't want an emblem. I'll check out the page. Maybe it'll surprise me and be faster than typing that into the calculator, which only takes a couple of seconds.

    Edit: Hmm, "Can't contact the Glitch server!"
    Posted 14 months ago by Mr. Glenn Subscriber! | Permalink
  • agent86:  Does it count things in your house as being in your inventory?  Because the numbers are way off for what I'm carrying tonight, but I could see it being correct if it took house storage into account...
    Posted 14 months ago by Circe Subscriber! | Permalink
  • Mr. Glenn, what browser?  I've noticed some odd behavior in IE9 that I need to debug, but it should be working in Firefox & Chrome.  Guaranteed to not work in Opera :)

    Circe, I think I just found your bug, try it again.  If you refreshed your inventory, it wasn't resetting the quantities, so they were adding up over multiple inventory sweeps.  Should be better now...
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • agent86, none of your tools work for me for some reason. It looks like no information about my character is getting loaded.
    Posted 14 months ago by Hagbard Celine Subscriber! | Permalink
  • I'm having this issue too. I'm using firefox 7.0.1 and safari 5.1.1, on both browsers it doesn't appear to be pulling any information from my character either.

    i go through the permission, allow, then get transferred to the favorsavor page. from there, i see where i can enter a value in the Favor to Generate and Shrine Powder to Use.. i can also hit the refresh button.. but nothing ever appears under the "Items for Donation"

    I'd be happy to send screenprints or any other information that might help. Maybe I'm doing it wrong? I did try turning it off and then on again, I swear ;)
    Posted 14 months ago by absolute Subscriber! | Permalink
  • I'd like to add that the Skillifier and Grind-O-Tron (omg this is awesome!) work just fine for me. No problems there with my info getting loaded.
    Posted 14 months ago by absolute Subscriber! | Permalink
  • OKAY.  IE support fixed.  Should be better now.  I was using join() which works fine on Chrome/FF/etc but not on IE.  Woo.

    @Hagbard Celine, could you tell me what browser and OS you are using?  That would help.  If it's Opera, I know it won't work.  Also, if you're blocking Javascript, you'll have to allow it for these tools to work.  Otherwise, I can probably take a look at it.

    @absolute, do you see a dialog box that pops up for a few seconds with the text "Please wait while we contact the glitch servers..."?  It is white with a blue title that reads "Please wait..."

    I tested on FF7 Ubuntu, and it works just fine.  Do you have a javascript blocker or javascript disabled perhaps?  If not, could you let me know what OS you're using?  I'm thinking Mac because you mention Safari.  I've got one Mac on Snow Leopard (10.6 I think) that I can poke at it with this evening if you're still having issues.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • agent86, this is awesome. Thank you so much for offering your tools for public use! :D
    Posted 14 months ago by Wynella Subscriber! | Permalink
  • I added some documentation to the bottom of the page that should help in case some people are just having trouble because they don't understand how to use the tool.  

    Those of you with issues, let me know if anything I've changed has helped...
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • Sorry for the late reply. After allowing www.glitch.com with Noscript, the site was about to connect to the Glitch server. However, nothing appears on the site. There are no inventory items, and pressing the blue inventory refresh button doesn't produce anything.

    Currently running Firefox 5.0. (I just realized I told Firefox not to automatically check for updates. I'll update and see if something happens.)

    Edit: Updated to 7.0.1, and I still don't get an inventory.
    Posted 14 months ago by Mr. Glenn Subscriber! | Permalink
  • @Mr. Glenn, you'll need to allow agent86.nfshost.com in your noscript options.  This app is not hosted on the Glitch servers :)  (Although allowing the glitch server is a good idea for other reasons...)  I'm willing to bet that's the source of your issue.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • Your site was allowed from the start. However the issue seems to have sorted itself out. My inventory now displays and everything works.
    Posted 14 months ago by Mr. Glenn Subscriber! | Permalink
  • Yay.  I was staring at it and growling quietly, which usually helps.  Can't let the code think it's the boss, y'know.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • Still nothing using Chrome on Mac, and I'm not running NoScript.
    Posted 14 months ago by Hagbard Celine Subscriber! | Permalink
  • Chrome on Mac here too and it doesn't work....which makes me sad because this looks just excellent!  
    Posted 14 months ago by Feylin Subscriber! | Permalink
  • loves this. so helpful. maybe i'll donate more now.
    Posted 14 months ago by emdot Subscriber! | Permalink
  • loves this. so helpful. maybe i'll donate more now.
    Posted 14 months ago by emdot Subscriber! | Permalink
  • agent86 - yes on a mac! just wanted to check in and confirm it's working now! i can see the icons of my inventory, which is not what was showing up the first time i tried it. i wasn't able to select anything to even engage the tool. all good now and SUPER cool, thank you!!
    Posted 14 months ago by absolute Subscriber! | Permalink
  • Hmm, okay.  I've got Chrome on my mac, so I'll take a look into any chrome/mac issues.  I wouldn't expect it to be a problem though; I was using it last night in Chrome without any issues.  

    I'll dig a bit deeper, but if you guys have any specifics (ie, what does it do or not do?) that would be helpful.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • I can't get my inventory to appear on Chrome (14.0.835.202 m) + PC
    Posted 14 months ago by shhexy corin Subscriber! | Permalink
  • it tries to contact, but doesn't list anything
    Posted 14 months ago by shhexy corin Subscriber! | Permalink
  • Weird.  So you see the blue dialog box and then it goes away?  But your inventory doesn't load?

    I just tested it on this machine, with the same (latest) version of Chrome + Win7, and everything runs fine.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • This looks extremely helpful! I would love to use it but it does not seem to be showing the items in my inventory, like other people have said as well. I have tried with IE9 and Google Chrome and neither show my items. Am I missing somthing? Would love to use this tool! :)
    Posted 14 months ago by Danical Subscriber! | Permalink
  • Ahh, I think I figured it out, try it now and see if it works :)

    I was racking my brain, trying to think of some scenario that some people (but not everyone) would hit but I didn't in my testing...  Then I thought, what if I have an empty inventory slot in my main inventory?  And THERE was the bug.  

    Should be working better now, if you've got empty slots in your main inventory...  I usually walk around with everything full to the brim, and this wasn't a problem if there was an empty bag slot, so there you go.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • Any of you guys who were having issues before willing to give it another shot?  I'd like to see if that fixed it or if I need to continue debugging.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • Is there something that could show you at a glance how much favor out of what maximum you have with each giant, rather than having to walk all over heck and back?
    Posted 14 months ago by WalruZ Subscriber! | Permalink
  • Nope, see the first post.  It's been requested, and when it's available I'll put that info into the tool. 
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • Awesome!!!
    Posted 14 months ago by Bbcversus Subscriber! | Permalink
  • Another call for anyone who was having inventory loading issues - please test the latest version!  I think the bug has been fixed.  Thanks!
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • OK, it's working now. I was hoping it would tell me what I should donate, though.
    Posted 14 months ago by Hagbard Celine Subscriber! | Permalink
  • I'm not sure what you're looking for exactly - It will tell you exact quantities of whatever it is you generally donate, if you tell it how much favor you're trying to generate.

    Are you wanting it to guess what items in your inventory you should donate?  I think that kind of varies from person to person, honestly.  I don't know how that would work, but if you have a specific idea maybe I can figure something out.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • I fixed a couple of reported bugs today:

    - On Firefox, it was impossible to click on the 'max donation qty' inputs.  You could TAB to them, however.  This is fixed.
    - On all browsers, if you did a certain combination of events, it was possible to get into a state where you couldn't add certain items from your inventory to the donation list.  This has been fixed.

    I also added a button at the bottom to delete the cookie this tool uses to save your donation settings between uses.  If you are having an issue where things aren't quite lining up, you might try it as a debugging step.  If you were in the state from the second bug (ie, you keep clicking an item and it doesn't show up on your donation list) you might have to clear the cookie and refresh the page to get it out of that state.

    I've got some other things I want to polish on this tool, so there will probably be more updates soonish.  Please keep reporting bugs here or in the group page:

    www.glitch.com/groups/RUVMD...
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • Hmmm.... for me, everything is coming up with 0 favour, except beans and butterfly milk.  Even my big diamond is coming up with 0 favour.

    My inventory is coming up perfectly... nice work on that.
    Posted 14 months ago by Scaf Subscriber! | Permalink
  • One idea for guessing items to donate: everything, including powders, has a currant value, which you could estimate as max(70% vendor price, mean of 3 cheapest auction prices - auction house cut). (Auction price estimate conservative to get the price that the item would sell for right now.) Then you'd just want to optimize

    min currant value of items + shrine powders used
    subject to
    items and powders used are in inventory
    favor gained is at least (user's target)

    or, alternatively:

    max favor
    subject to
    items and powders used are in inventory
    currant value of powders and donated items is at most (user's target)

    You wouldn't even need to do any fancy optimization. In the absence of shrine powder, you're just taking the stacks with the highest favor/price ratio until you hit the user's goal. With shrine powder, you can figure out which stacks would get the highest boost in favor, and try applying powder to those and see if it helps. (That may not be strictly correct, but it's probably close enough.)

    Alternatively, since favor/vendor price is basically constant for non-food items, you could just show the user which items have auction prices that make them poor donation candidates. Maybe also sort the user's stacks in order of favor. That would help.
    Posted 14 months ago by Pillow Guerrilla Subscriber! | Permalink
  • @Scaf, if you don't need an item to meet your donation goals, then it won't be used.  The tool tries to donate the least amount to get to your goal.  If you want 50 favor points, for example, donating a diamond would set you way over the limit.  If your goal was to avoid an emblem, you'd get the emblem and waste a bunch of favor.

    Try setting your donation goal higher and see if it starts using your diamond.  

    @Pillow Guerrilla, the problem is more that different people have different ideas as to what is donation fodder.  I think it's appropriate to ask the user what those items are for their situation.  For example, I bet donating my fancy pick would be a great idea - it's expensive, probably doesn't auction well, and isn't worth much if sold.  However, I need my pick to mine.  Other people might create fancy picks using the tinkertool and want to donate them, however.  I also carry around a decent amount of meat.  Many people like to donate meat, but I use it to cook with.  I might be carrying 20 or I might be carrying 400 meat, but regardless, it's not something I intend to donate.

    I don't think I really want to try and figure out what people want to donate - chances are you already know what's in your inventory that you consider essential, and what's surplus.  I just want to make it a) easy to mark the donation surplus, and b) easy to figure out how much of what you should donate to get to that goal.  
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • This is awesome. You are awesome. I love the tools you make, thank you!
    Posted 14 months ago by Meridian Subscriber! | Permalink
  • This is a fabulous tool.  I'm donating like crazy to speed up mining IV and it works like a charm.  Thanks so much for writing it!
    Posted 14 months ago by Lucille Ball Subscriber! | Permalink
  • Another update today, I added support for multiple ways of saying how much you want to donate of a particular item.  You can say "All" for all of an item, "max" to tell the tool not to exceed some quantity, or "save" to mark some portion of your items to reserve.  

    If you are getting weird 'undefined' rows in the table or in the quantity cells the first time you use the tool, you might need to clear the cookie (see the link at the bottom of the page) and then refresh the page.  I changed some of the way the data is stored, and I believe I maintained backwards compatibility, but there might be a bugs here and there.
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • Another bug fix release - there was an issue where the favor columns might fail to update if you refresh your inventory with none of an item you'd already marked for donation.  The calculations were still correct, but it was asking you to donate a bunch of something you didn't have...
    Posted 14 months ago by agent86 Subscriber! | Permalink
  • I tried it and I like it.
    Great job.
    Posted 14 months ago by Liz Erd Subscriber! | Permalink
  • Added a couple of new things - one is that there's now a "help" section at the bottom that should answer some general favor/xp/learning time questions, and another is that there's now an XP calculation. 

    I still can't access limits, and I could work out a table of all the levels and their XP caps, but that seems kind of hack-y, so I'm going to wait a bit and see if the devs get around to doing something with the API before I go that route.
    Posted 13 months ago by agent86 Subscriber! | Permalink
  • The one improvement I'm after is for it to not assume that applying the powder should only be on the first item. At the moment, I have to keep juggling around the order to see where I should use the powder.
    Example, if I have some "pleasing ambers" in row 1 and a diamond in row 2, the tool should work out that it's going to be far more worthwhile to use the powder on the diamond.
    Posted 13 months ago by Houblon Subscriber! | Permalink
  • Houblon, that's already a feature.   If you want, you can click the "FHSP/EHSP Quantity" number on the row for the item you don't want to use powder on, and it will skip over that.  The number will turn red and become a zero, thereby allowing you to specify what items you don't think are worthy of shrine powders.
    Posted 13 months ago by agent86 Subscriber! | Permalink