Universal Recovery Script

Might I suggest as a better alternative just downloading the OP version since it doesn't mention the NS.

Guessing that yours still has the old hacks in for when mafia itself wasn't aware that NS and Ed were multi-fights.
 
Lately I've been basement diving, and since UR doesn't consider using CSA all-purpose soap (which is a pretty cheap MP restorer), I've decided to add it myself. Please note that because of this bug I had to handle soap separately from other restorers.
My modification also includes Theraze's fix for Zombies from post #1874
 

Attachments

I've been scratching my head to work out why UR has been behaving badly recently. I'm a L18 AT out of ronin with access to the dispensary and the chef-mage guild. UR is set to prefer items in inventory and to use MMJ in inventory ( I have a bunch) but when I restore MP, I get:
Code:
In mallmode, best MP restorative is: Knob Goblin superseltzer @ 12.407407407407407 meat total.
Trying to use 13 Knob Goblin superseltzer
Using cached search results for Knob Goblin superseltzer...
Purchasing Knob Goblin superseltzer (13 @ 150)...
You acquire Knob Goblin superseltzer (13)
Purchases complete.
Using 13 Knob Goblin superseltzer...
You gain 350 Mojo Points
Finished using 13 Knob Goblin superseltzer.
Current HP: 193, MP: 410
My meat: 3647864. Should be successfully healed...
I'm totally confused and would welcome suggestions as to what I may have screwed up. Thanks.
 
If you've set UseInventoryInMallmode... that means anything in your inventory has a value of 1. If you have >0 items... let's call them superseltzers as an example, and it uses more than you have, then it thinks that they cost 1 meat each.

Quick fix? Turn off UseInventory. That's only for if you have placed your entire inventory into your store and everything left is fair game. It's not for ANY sort of optimal playing.
 
CLI said:
Running Universal Recovery Configuration version: 1.3
Checking for updates (running Universal Recovery Configuration ver. 1.3)...
_version_BalesUniversalRecoveryUI => 1.3
You have a current version of Universal Recovery Configuration.
Validating adventure sequence...

Restoring HP! Currently at 2880 of 3924 HP, 1217 of 4796 MP, current meat: 6412514 ... Target HP = 3728.
Searching for "scroll of drastic healing"...
Search complete.
Purchasing scroll of drastic healing (1 @ 650)...
You acquire an item: scroll of drastic healing
Purchases complete.
Using cached search results for scroll of drastic healing...
Purchasing scroll of drastic healing (1 @ 650)...
You acquire an item: scroll of drastic healing
Purchases complete.
Using cached search results for scroll of drastic healing...
Purchasing scroll of drastic healing (1 @ 650)...
Purchasing scroll of drastic healing (1 @ 695)...
You acquire an item: scroll of drastic healing
Purchases complete.
Did not fully restore HP for some reason.

If it helps, I tried running an adventure again, with verbosity cranked up:

Code:
baleUr_Verbosity => 3
Validating adventure sequence...

Calling Universal Recovery 3.10.6 for type=HP, amount=0
Restoring HP! Currently at 2880 of 3924 HP, 1217 of 4796 MP, current meat: 6410519 ... Target HP = 3728.
To heal with Doc Galaktik would cost 8480.0 meat. Now to beat that price...
testing ancient Magi-Wipes...
Could heal 848HP with 16 ancient Magi-Wipes for 15.418181818181818 meat.
ancient Magi-Wipes is now the best for restoring HP.
testing ancient turtle shell powder...
Could heal 848HP with 11 ancient turtle shell powder for 97846.15384615384 meat.
testing bottle of Vangoghbitussin...
Could heal 848HP with 9 bottle of Vangoghbitussin for 8480.0 meat.
testing bubbly potion...
Could heal 848HP with 85 bubbly potion for 84.8 meat.
testing Camp Scout pup tent...
Could heal 848HP with 1 Camp Scout pup tent for 0.848 meat.
Camp Scout pup tent is now the best for restoring HP.
testing cast...
Could heal 848HP with 49 cast for 48.457142857142856 meat.
testing cotton candy bale...
Could heal 848HP with 14 cotton candy bale for 62034.991869918704 meat.
testing cotton candy cone...
Could heal 848HP with 22 cotton candy cone for 7175.384615384615 meat.
testing cotton candy pillow...
Could heal 848HP with 17 cotton candy pillow for 6650.980392156864 meat.
testing cotton candy pinch...
Could heal 848HP with 95 cotton candy pinch for 22613.333333333336 meat.
testing cotton candy plug...
Could heal 848HP with 30 cotton candy plug for 14877.192982456141 meat.
testing cotton candy skoshe...
Could heal 848HP with 38 cotton candy skoshe for 13944.888888888889 meat.
testing cotton candy smidgen...
Could heal 848HP with 50 cotton candy smidgen for 26188.235294117647 meat.
testing Doc Galaktik's Ailment Ointment...
Could heal 848HP with 95 Doc Galaktik's Ailment Ointment for 94.22222222222223 meat.
testing Doc Galaktik's Homeopathic Elixir...
Could heal 848HP with 45 Doc Galaktik's Homeopathic Elixir for 44.63157894736842 meat.
testing Doc Galaktik's Pungent Unguent...
Could heal 848HP with 212 Doc Galaktik's Pungent Unguent for 6360.0 meat.
testing Doc Galaktik's Restorative Balm...
Could heal 848HP with 61 Doc Galaktik's Restorative Balm for 60.57142857142857 meat.
testing elven medi-pack...
Could heal 848HP with 10 elven medi-pack for 9.422222222222222 meat.
testing filthy poultice...
Could heal 848HP with 9 filthy poultice for 8.48 meat.
testing forest tears...
Could heal 848HP with 114 forest tears for 203520.0 meat.
testing gauze garter...
Could heal 848HP with 9 gauze garter for 8.48 meat.
testing green pixel potion...
Could heal 848HP with 17 green pixel potion for 16.96 meat.
testing honey-dipped locust...
Could heal 848HP with 25 honey-dipped locust for 24.228571428571428 meat.
testing Medicinal Herb's medicinal herbs...
Cannot use Medicinal Herb's medicinal herbs.
testing mummy wrapping...
Could heal 848HP with 16 mummy wrapping for 15.418181818181818 meat.
testing Notes from the Elfpocalypse, Chapter I...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter I for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter II...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter II for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter III...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter III for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter IV...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter IV for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter V...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter V for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter VI...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter VI for 24.228571428571428 meat.
testing palm frond...
Could heal 848HP with 43 palm frond for 42.4 meat.
testing palm-frond fan...
Could heal 848HP with 22 palm-frond fan for 21.2 meat.
testing phonics down...
Could heal 848HP with 18 phonics down for 17.666666666666668 meat.
testing pixellated candy heart...
Could heal 848HP with 189 pixellated candy heart for 188.44444444444446 meat.
testing plump juicy grub...
testing Pokëmann band-aid...
Could heal 848HP with 9 Pokëmann band-aid for 848.0 meat.
testing really thick bandage...
Could heal 848HP with 8 really thick bandage for 1387.6363636363635 meat.
testing red pixel potion...
Could heal 848HP with 8 red pixel potion for 7.709090909090909 meat.
testing scented massage oil...
Could heal 848HP with 1 scented massage oil for 5000.0 meat.
testing scroll of drastic healing...
Could heal 848HP with 1 scroll of drastic healing for 0.6666666666666666 meat.
scroll of drastic healing is now the best for restoring HP.
testing sugar shard...
Could heal 848HP with 57 sugar shard for 56.53333333333333 meat.
testing tiny house...
Could heal 848HP with 39 tiny house for 38.54545454545455 meat.
In mallmode, best HP restorative is: scroll of drastic healing @ 0.6666666666666666 meat total.
To heal with Doc Galaktik would cost 20383.0 meat. Now to beat that price...
testing ancient Magi-Wipes...
Could heal 1199MP with 22 ancient Magi-Wipes for 21.8 meat.
ancient Magi-Wipes is now the best for restoring MP.
testing banana spritzer...
Could heal 1199MP with 18 banana spritzer for 38282.357142857145 meat.
testing black cherry soda...
Could heal 1199MP with 120 black cherry soda for 9592.0 meat.
testing Blatantly Canadian...
Could heal 1199MP with 54 Blatantly Canadian for 53.28888888888889 meat.
testing blue pixel potion...
Could heal 1199MP with 19 blue pixel potion for 18.446153846153845 meat.
blue pixel potion is now the best for restoring MP.
testing bottle of Monsieur Bubble...
Could heal 1199MP with 22 bottle of Monsieur Bubble for 21.8 meat.
testing bottle of Vangoghbitussin...
Could heal 1199MP with 12 bottle of Vangoghbitussin for 11990.0 meat.
testing bubbly potion...
Could heal 1199MP with 120 bubbly potion for 119.9 meat.
testing carbonated soy milk...
Could heal 1199MP with 16 carbonated soy milk for 15171.346666666666 meat.
testing carbonated water lily...
Could heal 1199MP with 19 carbonated water lily for 18.446153846153845 meat.
testing Cherry Cloaca Cola...
Could heal 1199MP with 150 Cherry Cloaca Cola for 149.875 meat.
testing Cloaca-Cola...
Could heal 1199MP with 100 Cloaca-Cola for 18784.333333333336 meat.
testing cotton candy bale...
Could heal 1199MP with 20 cotton candy bale for 87712.21138211382 meat.
testing cotton candy cone...
Could heal 1199MP with 31 cotton candy cone for 10145.384615384615 meat.
testing cotton candy pillow...
Could heal 1199MP with 24 cotton candy pillow for 9403.921568627451 meat.
testing cotton candy pinch...
Could heal 1199MP with 100 cotton candy pinch for 23980.0 meat.
testing cotton candy plug...
Could heal 1199MP with 43 cotton candy plug for 21035.087719298248 meat.
testing cotton candy skoshe...
Could heal 1199MP with 54 cotton candy skoshe for 19716.88888888889 meat.
testing cotton candy smidgen...
Could heal 1199MP with 71 cotton candy smidgen for 37027.94117647059 meat.
testing delicious shimmering moth...
testing Diet Cloaca Cola...
Could heal 1199MP with 150 Diet Cloaca Cola for 149.875 meat.
testing Dyspepsi-Cola...
Could heal 1199MP with 100 Dyspepsi-Cola for 99.91666666666667 meat.
testing elven magi-pack...
Could heal 1199MP with 27 elven magi-pack for 26.644444444444446 meat.
testing green pixel potion...
Could heal 1199MP with 35 green pixel potion for 34.25714285714286 meat.
testing high-pressure seltzer bottle...
Could heal 1199MP with 7 high-pressure seltzer bottle for 43849.142857142855 meat.
testing honey-dipped locust...
Could heal 1199MP with 35 honey-dipped locust for 34.7536231884058 meat.
testing Knob Goblin seltzer...
Could heal 1199MP with 120 Knob Goblin seltzer for 119.9 meat.
testing Knob Goblin superseltzer...
Could heal 1199MP with 45 Knob Goblin superseltzer for 44.407407407407405 meat.
testing magical mystery juice...
Could heal 1199MP with 16 magical mystery juice for 1527.3885350318471 meat.
testing Monstar energy beverage...
Could heal 1199MP with 16 Monstar energy beverage for 10391.333333333334 meat.
testing Mountain Stream soda...
Could heal 1199MP with 160 Mountain Stream soda for 159.86666666666667 meat.
testing Nardz energy beverage...
Could heal 1199MP with 19 Nardz energy beverage for 8946.384615384615 meat.
testing natural fennel soda...
Could heal 1199MP with 12 natural fennel soda for 35934.03 meat.
testing New Cloaca-Cola...
Could heal 1199MP with 8 New Cloaca-Cola for 49558.666666666664 meat.
testing Notes from the Elfpocalypse, Chapter I...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter I for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter II...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter II for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter III...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter III for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter IV...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter IV for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter V...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter V for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter VI...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter VI for 34.25714285714286 meat.
testing palm frond...
Could heal 1199MP with 60 palm frond for 59.95 meat.
testing palm-frond fan...
Could heal 1199MP with 30 palm-frond fan for 29.975 meat.
testing phonics down...
Could heal 1199MP with 25 phonics down for 24.979166666666668 meat.
testing Regular Cloaca Cola...
Could heal 1199MP with 150 Regular Cloaca Cola for 149.875 meat.
testing six-pack of New Cloaca-Cola...
Could heal 1199MP with 2 six-pack of New Cloaca-Cola for 29308.888888888887 meat.
testing soda water...
Could heal 1199MP with 300 soda water for 20982.5 meat.
testing sugar shard...
Could heal 1199MP with 160 sugar shard for 159.86666666666667 meat.
testing tiny house...
Could heal 1199MP with 55 tiny house for 54.5 meat.
testing tonic water...
Could heal 1199MP with 30 tonic water for 71100.7 meat.
testing unrefined Mountain Stream syrup...
Could heal 1199MP with 22 unrefined Mountain Stream syrup for 21.8 meat.
testing Wint-O-Fresh mint...
Could heal 1199MP with 300 Wint-O-Fresh mint for 299.75 meat.
testing Wolfman Nardz...
Could heal 1199MP with 5 Wolfman Nardz for 40286.4 meat.
In mallmode, best MP restorative is: blue pixel potion @ 18.446153846153845 meat total.
Mall price to restore 17MP is 1020 meat.
Trying to use 1 scroll of drastic healing
Searching for "scroll of drastic healing"...
Search complete.
Purchasing scroll of drastic healing (1 @ 695)...
You acquire an item: scroll of drastic healing
Purchases complete.
_meatperhp => 0.6657081746090282
Current HP: 2880, MP: 1217
To heal with Doc Galaktik would cost 8480.0 meat. Now to beat that price...
testing ancient Magi-Wipes...
Could heal 848HP with 16 ancient Magi-Wipes for 15.418181818181818 meat.
ancient Magi-Wipes is now the best for restoring HP.
testing ancient turtle shell powder...
Could heal 848HP with 11 ancient turtle shell powder for 97846.15384615384 meat.
testing bottle of Vangoghbitussin...
Could heal 848HP with 9 bottle of Vangoghbitussin for 8480.0 meat.
testing bubbly potion...
Could heal 848HP with 85 bubbly potion for 84.8 meat.
testing Camp Scout pup tent...
Could heal 848HP with 1 Camp Scout pup tent for 0.848 meat.
Camp Scout pup tent is now the best for restoring HP.
testing cast...
Could heal 848HP with 49 cast for 48.457142857142856 meat.
testing cotton candy bale...
Could heal 848HP with 14 cotton candy bale for 62034.991869918704 meat.
testing cotton candy cone...
Could heal 848HP with 22 cotton candy cone for 7175.384615384615 meat.
testing cotton candy pillow...
Could heal 848HP with 17 cotton candy pillow for 6650.980392156864 meat.
testing cotton candy pinch...
Could heal 848HP with 95 cotton candy pinch for 22613.333333333336 meat.
testing cotton candy plug...
Could heal 848HP with 30 cotton candy plug for 14877.192982456141 meat.
testing cotton candy skoshe...
Could heal 848HP with 38 cotton candy skoshe for 13944.888888888889 meat.
testing cotton candy smidgen...
Could heal 848HP with 50 cotton candy smidgen for 26188.235294117647 meat.
testing Doc Galaktik's Ailment Ointment...
Could heal 848HP with 95 Doc Galaktik's Ailment Ointment for 94.22222222222223 meat.
testing Doc Galaktik's Homeopathic Elixir...
Could heal 848HP with 45 Doc Galaktik's Homeopathic Elixir for 44.63157894736842 meat.
testing Doc Galaktik's Pungent Unguent...
Could heal 848HP with 212 Doc Galaktik's Pungent Unguent for 6360.0 meat.
testing Doc Galaktik's Restorative Balm...
Could heal 848HP with 61 Doc Galaktik's Restorative Balm for 60.57142857142857 meat.
testing elven medi-pack...
Could heal 848HP with 10 elven medi-pack for 9.422222222222222 meat.
testing filthy poultice...
Could heal 848HP with 9 filthy poultice for 8.48 meat.
testing forest tears...
Could heal 848HP with 114 forest tears for 203520.0 meat.
testing gauze garter...
Could heal 848HP with 9 gauze garter for 8.48 meat.
testing green pixel potion...
Could heal 848HP with 17 green pixel potion for 16.96 meat.
testing honey-dipped locust...
Could heal 848HP with 25 honey-dipped locust for 24.228571428571428 meat.
testing Medicinal Herb's medicinal herbs...
Cannot use Medicinal Herb's medicinal herbs.
testing mummy wrapping...
Could heal 848HP with 16 mummy wrapping for 15.418181818181818 meat.
testing Notes from the Elfpocalypse, Chapter I...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter I for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter II...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter II for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter III...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter III for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter IV...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter IV for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter V...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter V for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter VI...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter VI for 24.228571428571428 meat.
testing palm frond...
Could heal 848HP with 43 palm frond for 42.4 meat.
testing palm-frond fan...
Could heal 848HP with 22 palm-frond fan for 21.2 meat.
testing phonics down...
Could heal 848HP with 18 phonics down for 17.666666666666668 meat.
testing pixellated candy heart...
Could heal 848HP with 189 pixellated candy heart for 188.44444444444446 meat.
testing plump juicy grub...
testing Pokëmann band-aid...
Could heal 848HP with 9 Pokëmann band-aid for 848.0 meat.
testing really thick bandage...
Could heal 848HP with 8 really thick bandage for 1387.6363636363635 meat.
testing red pixel potion...
Could heal 848HP with 8 red pixel potion for 7.709090909090909 meat.
testing scented massage oil...
Could heal 848HP with 1 scented massage oil for 5000.0 meat.
testing scroll of drastic healing...
Could heal 848HP with 1 scroll of drastic healing for 0.6666666666666666 meat.
scroll of drastic healing is now the best for restoring HP.
testing sugar shard...
Could heal 848HP with 57 sugar shard for 56.53333333333333 meat.
testing tiny house...
Could heal 848HP with 39 tiny house for 38.54545454545455 meat.
In mallmode, best HP restorative is: scroll of drastic healing @ 0.6666666666666666 meat total.
To heal with Doc Galaktik would cost 20383.0 meat. Now to beat that price...
testing ancient Magi-Wipes...
Could heal 1199MP with 22 ancient Magi-Wipes for 21.8 meat.
ancient Magi-Wipes is now the best for restoring MP.
testing banana spritzer...
Could heal 1199MP with 18 banana spritzer for 38282.357142857145 meat.
testing black cherry soda...
Could heal 1199MP with 120 black cherry soda for 9592.0 meat.
testing Blatantly Canadian...
Could heal 1199MP with 54 Blatantly Canadian for 53.28888888888889 meat.
testing blue pixel potion...
Could heal 1199MP with 19 blue pixel potion for 18.446153846153845 meat.
blue pixel potion is now the best for restoring MP.
testing bottle of Monsieur Bubble...
Could heal 1199MP with 22 bottle of Monsieur Bubble for 21.8 meat.
testing bottle of Vangoghbitussin...
Could heal 1199MP with 12 bottle of Vangoghbitussin for 11990.0 meat.
testing bubbly potion...
Could heal 1199MP with 120 bubbly potion for 119.9 meat.
testing carbonated soy milk...
Could heal 1199MP with 16 carbonated soy milk for 15171.346666666666 meat.
testing carbonated water lily...
Could heal 1199MP with 19 carbonated water lily for 18.446153846153845 meat.
testing Cherry Cloaca Cola...
Could heal 1199MP with 150 Cherry Cloaca Cola for 149.875 meat.
testing Cloaca-Cola...
Could heal 1199MP with 100 Cloaca-Cola for 18784.333333333336 meat.
testing cotton candy bale...
Could heal 1199MP with 20 cotton candy bale for 87712.21138211382 meat.
testing cotton candy cone...
Could heal 1199MP with 31 cotton candy cone for 10145.384615384615 meat.
testing cotton candy pillow...
Could heal 1199MP with 24 cotton candy pillow for 9403.921568627451 meat.
testing cotton candy pinch...
Could heal 1199MP with 100 cotton candy pinch for 23980.0 meat.
testing cotton candy plug...
Could heal 1199MP with 43 cotton candy plug for 21035.087719298248 meat.
testing cotton candy skoshe...
Could heal 1199MP with 54 cotton candy skoshe for 19716.88888888889 meat.
testing cotton candy smidgen...
Could heal 1199MP with 71 cotton candy smidgen for 37027.94117647059 meat.
testing delicious shimmering moth...
testing Diet Cloaca Cola...
Could heal 1199MP with 150 Diet Cloaca Cola for 149.875 meat.
testing Dyspepsi-Cola...
Could heal 1199MP with 100 Dyspepsi-Cola for 99.91666666666667 meat.
testing elven magi-pack...
Could heal 1199MP with 27 elven magi-pack for 26.644444444444446 meat.
testing green pixel potion...
Could heal 1199MP with 35 green pixel potion for 34.25714285714286 meat.
testing high-pressure seltzer bottle...
Could heal 1199MP with 7 high-pressure seltzer bottle for 43849.142857142855 meat.
testing honey-dipped locust...
Could heal 1199MP with 35 honey-dipped locust for 34.7536231884058 meat.
testing Knob Goblin seltzer...
Could heal 1199MP with 120 Knob Goblin seltzer for 119.9 meat.
testing Knob Goblin superseltzer...
Could heal 1199MP with 45 Knob Goblin superseltzer for 44.407407407407405 meat.
testing magical mystery juice...
Could heal 1199MP with 16 magical mystery juice for 1527.3885350318471 meat.
testing Monstar energy beverage...
Could heal 1199MP with 16 Monstar energy beverage for 10391.333333333334 meat.
testing Mountain Stream soda...
Could heal 1199MP with 160 Mountain Stream soda for 159.86666666666667 meat.
testing Nardz energy beverage...
Could heal 1199MP with 19 Nardz energy beverage for 8946.384615384615 meat.
testing natural fennel soda...
Could heal 1199MP with 12 natural fennel soda for 35934.03 meat.
testing New Cloaca-Cola...
Could heal 1199MP with 8 New Cloaca-Cola for 49558.666666666664 meat.
testing Notes from the Elfpocalypse, Chapter I...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter I for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter II...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter II for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter III...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter III for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter IV...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter IV for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter V...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter V for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter VI...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter VI for 34.25714285714286 meat.
testing palm frond...
Could heal 1199MP with 60 palm frond for 59.95 meat.
testing palm-frond fan...
Could heal 1199MP with 30 palm-frond fan for 29.975 meat.
testing phonics down...
Could heal 1199MP with 25 phonics down for 24.979166666666668 meat.
testing Regular Cloaca Cola...
Could heal 1199MP with 150 Regular Cloaca Cola for 149.875 meat.
testing six-pack of New Cloaca-Cola...
Could heal 1199MP with 2 six-pack of New Cloaca-Cola for 29308.888888888887 meat.
testing soda water...
Could heal 1199MP with 300 soda water for 20982.5 meat.
testing sugar shard...
Could heal 1199MP with 160 sugar shard for 159.86666666666667 meat.
testing tiny house...
Could heal 1199MP with 55 tiny house for 54.5 meat.
testing tonic water...
Could heal 1199MP with 30 tonic water for 71100.7 meat.
testing unrefined Mountain Stream syrup...
Could heal 1199MP with 22 unrefined Mountain Stream syrup for 21.8 meat.
testing Wint-O-Fresh mint...
Could heal 1199MP with 300 Wint-O-Fresh mint for 299.75 meat.
testing Wolfman Nardz...
Could heal 1199MP with 5 Wolfman Nardz for 40286.4 meat.
In mallmode, best MP restorative is: blue pixel potion @ 18.446153846153845 meat total.
Mall price to restore 17MP is 1020 meat.
Trying to use 1 scroll of drastic healing
Using cached search results for scroll of drastic healing...
Purchasing scroll of drastic healing (1 @ 695)...
You acquire an item: scroll of drastic healing
Purchases complete.
Current HP: 2880, MP: 1217
To heal with Doc Galaktik would cost 8480.0 meat. Now to beat that price...
testing ancient Magi-Wipes...
Could heal 848HP with 16 ancient Magi-Wipes for 15.418181818181818 meat.
ancient Magi-Wipes is now the best for restoring HP.
testing ancient turtle shell powder...
Could heal 848HP with 11 ancient turtle shell powder for 97846.15384615384 meat.
testing bottle of Vangoghbitussin...
Could heal 848HP with 9 bottle of Vangoghbitussin for 8480.0 meat.
testing bubbly potion...
Could heal 848HP with 85 bubbly potion for 84.8 meat.
testing Camp Scout pup tent...
Could heal 848HP with 1 Camp Scout pup tent for 0.848 meat.
Camp Scout pup tent is now the best for restoring HP.
testing cast...
Could heal 848HP with 49 cast for 48.457142857142856 meat.
testing cotton candy bale...
Could heal 848HP with 14 cotton candy bale for 62034.991869918704 meat.
testing cotton candy cone...
Could heal 848HP with 22 cotton candy cone for 7175.384615384615 meat.
testing cotton candy pillow...
Could heal 848HP with 17 cotton candy pillow for 6650.980392156864 meat.
testing cotton candy pinch...
Could heal 848HP with 95 cotton candy pinch for 22613.333333333336 meat.
testing cotton candy plug...
Could heal 848HP with 30 cotton candy plug for 14877.192982456141 meat.
testing cotton candy skoshe...
Could heal 848HP with 38 cotton candy skoshe for 13944.888888888889 meat.
testing cotton candy smidgen...
Could heal 848HP with 50 cotton candy smidgen for 26188.235294117647 meat.
testing Doc Galaktik's Ailment Ointment...
Could heal 848HP with 95 Doc Galaktik's Ailment Ointment for 94.22222222222223 meat.
testing Doc Galaktik's Homeopathic Elixir...
Could heal 848HP with 45 Doc Galaktik's Homeopathic Elixir for 44.63157894736842 meat.
testing Doc Galaktik's Pungent Unguent...
Could heal 848HP with 212 Doc Galaktik's Pungent Unguent for 6360.0 meat.
testing Doc Galaktik's Restorative Balm...
Could heal 848HP with 61 Doc Galaktik's Restorative Balm for 60.57142857142857 meat.
testing elven medi-pack...
Could heal 848HP with 10 elven medi-pack for 9.422222222222222 meat.
testing filthy poultice...
Could heal 848HP with 9 filthy poultice for 8.48 meat.
testing forest tears...
Could heal 848HP with 114 forest tears for 203520.0 meat.
testing gauze garter...
Could heal 848HP with 9 gauze garter for 8.48 meat.
testing green pixel potion...
Could heal 848HP with 17 green pixel potion for 16.96 meat.
testing honey-dipped locust...
Could heal 848HP with 25 honey-dipped locust for 24.228571428571428 meat.
testing Medicinal Herb's medicinal herbs...
Cannot use Medicinal Herb's medicinal herbs.
testing mummy wrapping...
Could heal 848HP with 16 mummy wrapping for 15.418181818181818 meat.
testing Notes from the Elfpocalypse, Chapter I...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter I for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter II...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter II for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter III...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter III for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter IV...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter IV for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter V...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter V for 24.228571428571428 meat.
testing Notes from the Elfpocalypse, Chapter VI...
Could heal 848HP with 25 Notes from the Elfpocalypse, Chapter VI for 24.228571428571428 meat.
testing palm frond...
Could heal 848HP with 43 palm frond for 42.4 meat.
testing palm-frond fan...
Could heal 848HP with 22 palm-frond fan for 21.2 meat.
testing phonics down...
Could heal 848HP with 18 phonics down for 17.666666666666668 meat.
testing pixellated candy heart...
Could heal 848HP with 189 pixellated candy heart for 188.44444444444446 meat.
testing plump juicy grub...
testing Pokëmann band-aid...
Could heal 848HP with 9 Pokëmann band-aid for 848.0 meat.
testing really thick bandage...
Could heal 848HP with 8 really thick bandage for 1387.6363636363635 meat.
testing red pixel potion...
Could heal 848HP with 8 red pixel potion for 7.709090909090909 meat.
testing scented massage oil...
Could heal 848HP with 1 scented massage oil for 5000.0 meat.
testing scroll of drastic healing...
Could heal 848HP with 1 scroll of drastic healing for 0.6666666666666666 meat.
scroll of drastic healing is now the best for restoring HP.
testing sugar shard...
Could heal 848HP with 57 sugar shard for 56.53333333333333 meat.
testing tiny house...
Could heal 848HP with 39 tiny house for 38.54545454545455 meat.
In mallmode, best HP restorative is: scroll of drastic healing @ 0.6666666666666666 meat total.
To heal with Doc Galaktik would cost 20383.0 meat. Now to beat that price...
testing ancient Magi-Wipes...
Could heal 1199MP with 22 ancient Magi-Wipes for 21.8 meat.
ancient Magi-Wipes is now the best for restoring MP.
testing banana spritzer...
Could heal 1199MP with 18 banana spritzer for 38282.357142857145 meat.
testing black cherry soda...
Could heal 1199MP with 120 black cherry soda for 9592.0 meat.
testing Blatantly Canadian...
Could heal 1199MP with 54 Blatantly Canadian for 53.28888888888889 meat.
testing blue pixel potion...
Could heal 1199MP with 19 blue pixel potion for 18.446153846153845 meat.
blue pixel potion is now the best for restoring MP.
testing bottle of Monsieur Bubble...
Could heal 1199MP with 22 bottle of Monsieur Bubble for 21.8 meat.
testing bottle of Vangoghbitussin...
Could heal 1199MP with 12 bottle of Vangoghbitussin for 11990.0 meat.
testing bubbly potion...
Could heal 1199MP with 120 bubbly potion for 119.9 meat.
testing carbonated soy milk...
Could heal 1199MP with 16 carbonated soy milk for 15171.346666666666 meat.
testing carbonated water lily...
Could heal 1199MP with 19 carbonated water lily for 18.446153846153845 meat.
testing Cherry Cloaca Cola...
Could heal 1199MP with 150 Cherry Cloaca Cola for 149.875 meat.
testing Cloaca-Cola...
Could heal 1199MP with 100 Cloaca-Cola for 18784.333333333336 meat.
testing cotton candy bale...
Could heal 1199MP with 20 cotton candy bale for 87712.21138211382 meat.
testing cotton candy cone...
Could heal 1199MP with 31 cotton candy cone for 10145.384615384615 meat.
testing cotton candy pillow...
Could heal 1199MP with 24 cotton candy pillow for 9403.921568627451 meat.
testing cotton candy pinch...
Could heal 1199MP with 100 cotton candy pinch for 23980.0 meat.
testing cotton candy plug...
Could heal 1199MP with 43 cotton candy plug for 21035.087719298248 meat.
testing cotton candy skoshe...
Could heal 1199MP with 54 cotton candy skoshe for 19716.88888888889 meat.
testing cotton candy smidgen...
Could heal 1199MP with 71 cotton candy smidgen for 37027.94117647059 meat.
testing delicious shimmering moth...
testing Diet Cloaca Cola...
Could heal 1199MP with 150 Diet Cloaca Cola for 149.875 meat.
testing Dyspepsi-Cola...
Could heal 1199MP with 100 Dyspepsi-Cola for 99.91666666666667 meat.
testing elven magi-pack...
Could heal 1199MP with 27 elven magi-pack for 26.644444444444446 meat.
testing green pixel potion...
Could heal 1199MP with 35 green pixel potion for 34.25714285714286 meat.
testing high-pressure seltzer bottle...
Could heal 1199MP with 7 high-pressure seltzer bottle for 43849.142857142855 meat.
testing honey-dipped locust...
Could heal 1199MP with 35 honey-dipped locust for 34.7536231884058 meat.
testing Knob Goblin seltzer...
Could heal 1199MP with 120 Knob Goblin seltzer for 119.9 meat.
testing Knob Goblin superseltzer...
Could heal 1199MP with 45 Knob Goblin superseltzer for 44.407407407407405 meat.
testing magical mystery juice...
Could heal 1199MP with 16 magical mystery juice for 1527.3885350318471 meat.
testing Monstar energy beverage...
Could heal 1199MP with 16 Monstar energy beverage for 10391.333333333334 meat.
testing Mountain Stream soda...
Could heal 1199MP with 160 Mountain Stream soda for 159.86666666666667 meat.
testing Nardz energy beverage...
Could heal 1199MP with 19 Nardz energy beverage for 8946.384615384615 meat.
testing natural fennel soda...
Could heal 1199MP with 12 natural fennel soda for 35934.03 meat.
testing New Cloaca-Cola...
Could heal 1199MP with 8 New Cloaca-Cola for 49558.666666666664 meat.
testing Notes from the Elfpocalypse, Chapter I...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter I for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter II...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter II for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter III...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter III for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter IV...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter IV for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter V...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter V for 34.25714285714286 meat.
testing Notes from the Elfpocalypse, Chapter VI...
Could heal 1199MP with 35 Notes from the Elfpocalypse, Chapter VI for 34.25714285714286 meat.
testing palm frond...
Could heal 1199MP with 60 palm frond for 59.95 meat.
testing palm-frond fan...
Could heal 1199MP with 30 palm-frond fan for 29.975 meat.
testing phonics down...
Could heal 1199MP with 25 phonics down for 24.979166666666668 meat.
testing Regular Cloaca Cola...
Could heal 1199MP with 150 Regular Cloaca Cola for 149.875 meat.
testing six-pack of New Cloaca-Cola...
Could heal 1199MP with 2 six-pack of New Cloaca-Cola for 29308.888888888887 meat.
testing soda water...
Could heal 1199MP with 300 soda water for 20982.5 meat.
testing sugar shard...
Could heal 1199MP with 160 sugar shard for 159.86666666666667 meat.
testing tiny house...
Could heal 1199MP with 55 tiny house for 54.5 meat.
testing tonic water...
Could heal 1199MP with 30 tonic water for 71100.7 meat.
testing unrefined Mountain Stream syrup...
Could heal 1199MP with 22 unrefined Mountain Stream syrup for 21.8 meat.
testing Wint-O-Fresh mint...
Could heal 1199MP with 300 Wint-O-Fresh mint for 299.75 meat.
testing Wolfman Nardz...
Could heal 1199MP with 5 Wolfman Nardz for 40286.4 meat.
In mallmode, best MP restorative is: blue pixel potion @ 18.446153846153845 meat total.
Mall price to restore 17MP is 1020 meat.
Trying to use 1 scroll of drastic healing
Using cached search results for scroll of drastic healing...
Purchasing scroll of drastic healing (1 @ 695)...
You acquire an item: scroll of drastic healing
Purchases complete.
Current HP: 2880, MP: 1217
My meat: 6408434. Sadly I think healing failed...
Did not fully restore HP for some reason.

For whatever reason UR is not only failing to use scrolls, but seems to be avoiding cocoon. I hadn't changed any settings in quite a while, but I don't think this had been happening until today, I believe it had been using cocoon primarily before. I had been using 11707, switching to 11722 produced the same results. Only relevant settings I think are thus, and haven't been changed:

Allow recovery to purchase restoratives? Purchase freely.
Use MMJ in stock, even if it cannot be purchased this ascension (checked)
Prefer using inventory instead of mall, regardless of value (checked)
Never abort automation, even if restoration fails (not checked)
Recover at 75%, try to recover up to 95%.

edit: also worth pointing out that it was needlessly buying scrolls when I already had several.
 
Last edited:
Huh. The name of that should probably be changed, I never would have thought it was the source of them problem, since the script was buying from the mall when I thought it should have been using what I already had. Also, thanks again!
 
Not a problem. It's one of those things that's great if you want to mallsell everything you don't want it to use and then disable your mall access, use what you farm... but it's terrible for most users. :)
 
I'm getting this problem too. This is on a level 35 DB in aftercore. I have not changed any recovery settings for this character in months.

> restore hp

Restoring HP! Currently at 800 of 1923 HP, 1629 of 1890 MP, current meat: 20432711 ... Target HP = 1827.
Searching for "scroll of drastic healing"...
Search complete.
Purchasing scroll of drastic healing (1 @ 690)...
You acquire an item: scroll of drastic healing
Purchases complete.
Using cached search results for scroll of drastic healing...
Purchasing scroll of drastic healing (1 @ 690)...
You acquire an item: scroll of drastic healing
Purchases complete.
Using cached search results for scroll of drastic healing...
Purchasing scroll of drastic healing (1 @ 690)...
You acquire an item: scroll of drastic healing
Purchases complete.
Did not fully restore HP for some reason.

> inv scroll of drastic

scroll of drastic healing (67)

> get baleUr_UseInventoryInMallmode

false

EDIT: Deleting line 382 (case: scroll of drastic) solved the problem for me. For some reason for_use() was returning 0, which made UR think all my scrolls were reserved and therefore it should buy another one, and secondly made it try to use 0 of the item, causing a loop as no restoration happened. You could also solve the problem by capping the use command at 1 on the low end, but that might cause other problems, I'm not sure.
 
Last edited:
Check your mafia restoration settings... make sure that scrolls are in the allowed list. Because that's the obvious =0 and apparently what you removed the check from.
 
Regardless of my settings, this behavior was a script error. After all its calculations, UR called use(0,scroll of drastic), and then retried that several times before aborting. That's just silly, that is.

A fix more in keeping with the intent of the list would cache the results of for_use() rather than calling it again in the use function (at which point the recently purchased item is also ignored).
 
Any clue which step was actually calling it? The choose_inventory specifically excludes the scroll of drastic healing, fullheal specifically checks for it being allowed before it calls it... it's possible that it's being called in the main 'heal' section there, but... need to know which part is causing the problem before it can get fixed.
 
UR is constantly restoring my MP, I have it shut off in Mafia, and UR, because I burn MP between battles. Is there a setting that I'm missing somewhere?
 
Is it restoring MP to use it to heal? Despite it not 'restoring' mp, it could be using it if you've allowed for skills and the cost for using those skills is less than the cost for items...
 
With...? Is this one point through Galaktik, or some other method? Is there something obvious where it does it?
 
It usually uses palm frond fans, I'll re-enable UR, and capture the details. I was hoping that there was just something that I had missed.
 
Back
Top