Page 228 of 238 FirstFirst ... 128 178 218 226 227 228 229 230 ... LastLast
Results 2,271 to 2,280 of 2380

Thread: Universal Recovery Script

  1. #2271

    Default

    Code:
    			cli_execute("svn update mafiarecovery");
    			set_property("_version_BalesUniversalRecovery", thisver);
    That sets _version_BalesUniversalRecovery to the current version number the first time it checks the svn. After that it won't ever get to that code if _version_BalesUniversalRecovery has been set.

    Can anyone see what I missed? That function is the only place that svn is checked.
    Originally Posted by Bale View Post
    I think you need to switch those two lines around. The first line causes the script to abort, and the second line never runs.

  2. #2272
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    Thank you! I didn't realize it was an abort to the script!

  3. #2273
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    I'll update this script once SourceForge gets its act together.

    In the meantime, anyone that has trouble can simply copy/paste the following line into the CLI and press enter:

    Code:
    set _version_BalesUniversalRecovery = 3.15

  4. #2274

    Default

    UR should probably not try to acquire Homeopathic Elixirs or anti-anti-antidotes from Doc Galactik when he's away for the nuclear autumn.

  5. #2275
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    I'm a little surprised that nobody complained until now. I've committed changes to allow UR to play nice with Nuclear Autumn, including the use of Internal Soda Machine.

  6. #2276
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,091

    Default

    I'm a little surprised that nobody complained until now.
    Originally Posted by Bale View Post
    I had not gotten around to correctly assigning the blame :-)
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  7. #2277
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,390

    Default

    Speaking of Nuclear Autumn. Y'all might want to "set baleUr_DontUseHotTub = true", because the hot tub removes rad sickness and timing that is useful. I got burned a couple times when I was going to manually heal at the chateau and typed "burn -0" to burn my MP first only to have UR trigger and use the hot tub. At least, I assume it was UR, because hot tub was not check in mafia.

  8. #2278
    Senior Member
    Join Date
    Aug 2015
    Posts
    145

    Default

    Any chance that your changes to the script are causing UR to no longer be capable of restoring in other avatar paths? I'm in a WoL run and was having no issues yesterday all the way back in r17128 (or similar) but today after the updates I just get this message:
    Code:
    Restoring HP! Currently at 108 of 223 HP, 425 of 430 MP, current meat: 89921 ... Target HP = 212.
    Did not fully restore HP for some reason.
    I figured well maybe the update needs the latest version of Mafia, but the problem persists after going to r17145. I am not out of meat, have not ascended, have not lost access to any areas etc. If there is any more information I can include, please let me know!

  9. #2279
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,287

    Default

    Oh, heck. Yeah, that was my fault. I made a typo which I'm fixing now. It's amazing how much of a difference it makes if you switch equals with not-equals.

    Update the script now and things should work fine.

  10. #2280
    Junior Member
    Join Date
    Dec 2014
    Posts
    23

    Default

    I am getting nearly constant "Did not fully restore HP for some reason." "Did not fully restore MP for some reason." errors using this script in HC NA. I'd love to give you more info, but that's all the info it gives me. It doesn't tell me what it's trying to use so I can determine what the problem is.

Similar Threads

  1. Anecdote - Recovery Script not firing between auto-adventures?
    By fronobulax in forum Community Support
    Replies: 1
    Last Post: 02-20-2015, 07:36 PM
  2. Replies: 0
    Last Post: 09-21-2013, 05:50 PM
  3. what are all the ways mafia can consult a script? like recovery, breakfast
    By forgot my password in forum Scripting Discussion
    Replies: 5
    Last Post: 06-11-2009, 09:05 PM
  4. Recovery Script for Hardcore
    By Bale in forum Buff Upkeep Scripts
    Replies: 84
    Last Post: 03-04-2009, 08:17 AM
  5. Very New, Need a MP Recovery Script
    By Willie0248 in forum Scripting Discussion
    Replies: 2
    Last Post: 04-15-2006, 09:30 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
  •