Page 187 of 238 FirstFirst ... 87 137 177 185 186 187 188 189 197 237 ... LastLast
Results 1,861 to 1,870 of 2373

Thread: Universal Recovery Script

  1. #1861
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,741

    Default

    It's newLife, here in recovery_settings:
    Code:
    void recovery_settings() {
    	// Optimal restoration settings for level 1. These will need to be changed by level 4
    		set_choice("hpAutoRecovery", "0.25", "Resetting HP/MP restoration settings to minimal");
    		set_choice("hpAutoRecoveryTarget", "0.95", "");
    		set_choice("manaBurningTrigger", "-0.05", "");
    		set_choice("manaBurningThreshold", "0.80", "");
    	// Zombie Slayers have an alternative to using mana
    	if(my_path() == "Zombie Slayer") {
    		if(get_property("baleUr_ZombieAuto") != "")
    			set_property("baleUr_ZombieAuto", "-0.05");
    		if(get_property("baleUr_ZombieTarget") != "")
    			set_property("baleUr_ZombieTarget", 1);
    	} else {
    		set_choice("mpAutoRecovery", "0.0", "");
    		set_choice("mpAutoRecoveryTarget", "0.0", "");
    	}
    	
    }
    But yeah, nothing to do with UR, it's nL.

  2. #1862
    Developer fronobulax's Avatar
    Join Date
    Feb 2009
    Location
    Central Virginia, USA
    Posts
    4,026

    Default

    OK. Not UR. I guess it was because I wasn't logging out immediately after ascending that I gave NewLife a pass.
    You just vehemently agreed with me
    Originally Posted by Veracity View Post
    I agree with frono.
    Originally Posted by Veracity View Post

  3. #1863
    Senior Member
    Join Date
    Apr 2008
    Posts
    124

    Default

    Having a problem with (I think) UR.

    I tell Mafia to auto-adventure and get nothing but:

    Code:
    Division by zero (Universal_recovery.ash, line 610)
    And then the sidebar goes red and no automation of combat occurs.

    I've updated UR and KoL Mafia to the most current versions, (3.10.6 and 11567 respectively) and still get this error.

    EDIT: I'm in aftercore of a ZM run, with 0 Horde.

    EDIT2: The error went away when I added some members to my horde.
    Last edited by Valliant; 10-24-2012 at 07:33 PM.

  4. #1864
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,741

    Default

    Those are due to trying to calculate meat per hp and meat per mp. If you apply the tweaks I suggested in 1855, they should go away.

  5. #1865
    Senior Member
    Join Date
    Apr 2008
    Posts
    124

    Default

    Thank you very much.

  6. #1866

    Default

    Purchasing some magical mystery juices for use as a combat restorative.
    Searching for "magical mystery juice"...
    Search complete.
    Desired purchase quantity not reached (wanted 3, got 0)
    Restoring MP! Currently at 2861 of 5964 HP, 759 of 7999 MP, current meat: 4925649 ... Target MP = 760.
    Searching for "magical mystery juice"...
    Search complete.
    Desired purchase quantity not reached (wanted 1, got 0)
    Cannot spend meat to fully restore MP! Failed to use magical mystery juice for some reason.
    Did not fully restore MP for some reason.

    Any idea why it keeps trying to purchase MMJs? I'm a TT right now and I obviously don't have access to it.

    You can follow me on twitter @fewyn

  7. #1867
    Junior Member
    Join Date
    Nov 2008
    Posts
    28

    Default

    Same problem for me- came on suddenly in the midst of my turns for the day. Un-checking the MMJ box doesn't help.

  8. #1868
    Senior Member
    Join Date
    Apr 2009
    Posts
    1,791

    Default

    Probably because recent builds think that every $stat[stat1] == $stat[stat2] and buying mmj is based off primestat == $stat[mysticality].

  9. #1869

    Default

    Fixed in 11578.

  10. #1870

    Default

    So I was thinking. It would be nice if there was a setting in which you could set the "use campground" as on, but it will only use the campground if all other restores fail. That way it can be a last ditch effort sort of thing, rather than what it seems now, as being the first choice always.

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
  •