Results 1 to 5 of 5

Thread: odeBuffbotCheck warns about not having Ode when in ronin and you can't use Ode

  1. #1

    Default odeBuffbotCheck warns about not having Ode when in ronin and you can't use Ode

    Running G Lover (normal, very much still under ronin), odeBuffbotCheck=true gets me warnings about trying to drink without Ode active.
    I can't get it from a Buffbot because I'm still in ronin & I can't cast it myself because of path restrictions.
    Autoscend. For when you want a robot to play a game, that you spend money on, for you.

  2. #2
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,396

    Default

    We only look at odeBuffbotCheck in one place:

    Code:
    		boolean requestBuffOde = KoLCharacter.canInteract() && Preferences.getBoolean( "odeBuffbotCheck" );
    In other words, it only comes into effect when you are out of Ronin.

    We only look at that boolean in one place:

    Code:
    		if ( canOde || requestBuffOde )
    ...
    			while ( KoLCharacter.canInteract() &&
    				odeTurns < consumptionTurns &&
    				KoLCharacter.getCurrentMP() >= odeCost &&
    				KoLmafia.permitsContinue() && canOde )
    			{
    In other words, it tries to cast it. The logic is faulty; I think the point is to give you the nag if you can go to a buffbut but cannot cast it yourself. But the key thing is that it only got into the if block because it thought you could cast ode yourself; the buffbot was already rejected because you were in Ronin.

    Code:
    		boolean canOde = KoLConstants.availableSkills.contains( ode ) && UseSkillRequest.hasAccordion();
    I assume the skill shows up on your character sheet - i.e., you "have the skill" - but you can't actually cast it, because of your path?

  3. #3

    Default

    I assume the skill shows up on your character sheet - i.e., you "have the skill" - but you can't actually cast it, because of your path?
    Originally Posted by Veracity View Post
    Yeah it's permanently greyed out like when you don't have the mana to cast a skill.
    Autoscend. For when you want a robot to play a game, that you spend money on, for you.

  4. #4
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    13,396

    Default

    Try revision 20276

  5. #5

    Default

    Try revision 20276
    Originally Posted by Veracity View Post
    Looks all good. Thanks Veracity.
    Autoscend. For when you want a robot to play a game, that you spend money on, for you.

Posting Permissions

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