• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • If Chocobo dies, wont resummon until combat ends

    Discussion in 'Rebornbuddy Forum' started by Vira1, May 21, 2015.

    1. Vira1

      Vira1 New Member

      Joined:
      May 21, 2015
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      I don't know where the right place to post is, because I don't know if this is related to rebornbuddy or Kupo or what. I have been fate boting monk and I make him keep out a rank 10 healer chocobo for invincibility, except the chocobo wont dodge telegraphs and sometimes it can actually die due to this. Happens a bit in costa del sol.

      If the chocobo dies, how do I make the first thing the bot does above all else is resummon it?

      Currently it will wait until combat ends to resummon it and this means my monk can very likely, and sometimes does, die.
       
    2. torfin

      torfin New Member

      Joined:
      Sep 18, 2014
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      This is related to Kupo - the code for summoning the chocobo is in the pre-combat buffs portion, which is run only between fights I think. You would need to change this to be in the combat function.
       
    3. Vira1

      Vira1 New Member

      Joined:
      May 21, 2015
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      Thanks. So I opened PugilistMonk.cs

      and changed this line here:
      Code:
              [Behavior(BehaviorType.PreCombatBuffs)]
              public Composite CreateBasicPreCombatBuffs()
              {
                  return SummonChocobo();
              }
      
      to:
      Code:
              [Behavior(BehaviorType.Combat)]
              public Composite CreateBasicPreCombatBuffs()
              {
                  return SummonChocobo();
              }
      Am I in the right place? I can't test right now.
       
    4. tiesto1337

      tiesto1337 New Member

      Joined:
      Feb 12, 2015
      Messages:
      144
      Likes Received:
      7
      Trophy Points:
      0
      You could also use Ultima instead and it will summon in combat, that's usually what I do.
       
    5. Vira1

      Vira1 New Member

      Joined:
      May 21, 2015
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      What's Ultima?
       
    6. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
    7. tiesto1337

      tiesto1337 New Member

      Joined:
      Feb 12, 2015
      Messages:
      144
      Likes Received:
      7
      Trophy Points:
      0
      As y2krazy pointed out it is a Combat Routine, this will tell the bot how to fight essentially. Kupo is the default that comes with RebornBuddy but you can download Ultima from the link y2krazy provided, select Ultima when you start your bot and it will summon your chocobo in combat.
       
    8. Vira1

      Vira1 New Member

      Joined:
      May 21, 2015
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      I just made my own Kupo rotation .cs so it's sorted now.
       
    9. Meetra

      Meetra New Member

      Joined:
      Sep 6, 2014
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      1
      Is there anyway to have the bot manage healing your chocobo? Everytime I come into combat it has like 25% health, or it is literally just ignored until death then resummoned. When you are using it as a tank this is ridiculously ineffective, not to mention the costs for summons and the extra deaths I keep racking up because it dies and the agro shifts. Been using ultima.
       
    10. Vira1

      Vira1 New Member

      Joined:
      May 21, 2015
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      My custom profile for scholar has:

      Code:
      Spell.Cast("Physick", r => Chocobo.Object != null && Chocobo.Object.CurrentHealthPercent <= 50, r => Chocobo.Object)
      It will heal the chocobo if it has 50% or less HP. If you are uncertain of implementing this change yourself tell me which class you want it for and I'll do it.

      Here is my custom Scholar profile with a number of changes: CLICK
       
    11. Meetra

      Meetra New Member

      Joined:
      Sep 6, 2014
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      1
      Ty, as long as I can edit the code to make it work that should be fine. I am using fatebot/ grinding profile to level up my classes and my chocobo. Having it die every other pull, and then myself die every 2-3 fates sometimes more often depending on which it chooses, is just way to ineffective, and when watching a bit infuriating xP Since I am working on my classes pre 30 I have access to the heals for all through cross class, though not all can use them in my experience, this way seems like it will fix that as well, ty
       
      Last edited: May 24, 2015
    12. Vira1

      Vira1 New Member

      Joined:
      May 21, 2015
      Messages:
      32
      Likes Received:
      0
      Trophy Points:
      0
      The other thing that helps a lot is this here.. this is from my custom scholar.cs linked in my previous post:

      Code:
              [Behavior(BehaviorType.Combat)]
              public Composite CreateBasicCombat()
              {
                  return new PrioritySelector(ctx => Core.Player.CurrentTarget as BattleCharacter,
                      new Decorator(ctx => ctx != null,
                          new PrioritySelector(
                              CommonBehaviors.MoveToLos(ctx => ctx as GameObject),
                              new Decorator(r => !Core.Player.IsCasting, CommonBehaviors.MoveAndStop(ctx => (ctx as GameObject).Location, PullRange, true, "Moving to unit")),
                              Spell.Cast(r => WhichPet, r => Core.Player.Pet == null && Actionmanager.HasSpell(WhichPet), r => Core.Player),
                              new Decorator(r => Core.Me.SpellCastInfo != null && Core.Me.SpellCastInfo.SpellData.Name.Equals(WhichPet) && Core.Player.Pet != null, new Action(r => Actionmanager.StopCasting())),
      			[U][B]SummonChocobo(),[/B][/U]
      			//Cleric Stance
                              Spell.Cast("Cleric Stance", r => !Core.Player.HasAura("Cleric Stance"), r => Core.Player),
                              Spell.Apply("Bio II"),
                              Spell.Apply("Miasma"),
                              Spell.Apply("Bio"),
      						Spell.Apply("Aero"),
                              Spell.Cast("Energy Drain", r => Core.Player.HasAura("Aetherflow") && Core.Player.CurrentManaPercent < WindowSettings.RestEnergyDone),
                              Spell.Cast("Ruin", r => true)
                              )));
              }
      You can see the underlined/bold SummonChocobo(),

      And it goes in the combat section prior to casting any spells or abilities. This means if your chocobo is dead it will prioritize resummoning the chocobo over doing any more damage. In the default profiles it does not summon the chocobo again at all until you leave combat. The only thing with this is that as soon as it dies, there is a delay before it leaves party, during this ~5 second delay it will spam ghysal greens repeatedly until it lets you resummon it.

      No one will notice, it's just somewhat inefficient. With this fix implemented your bot will be borderline invincible if you have a healer specced chocobo (haven't tried with tank).
       
    13. Meetra

      Meetra New Member

      Joined:
      Sep 6, 2014
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      1
      Using Ultima i have never had an issue with resummons during combat, it just cant rebuild its enmity fast enough. Itll wait until it leaves party, then resummon and fight. I see people having trouble with it often, but ive yet to experience it first hand. More then this, I find issues with settings it to follow, and having it just not switch back to free/tank stance, and fight. But I believe that is a mix of my outside interference when I have to force it to heal. Though I have not tested it again, it may be related to my removal of kupo when I install ultima. I read awhile back in past posts of it helping fix some problems, so I just do it every reinstall now.
       
      Last edited: May 24, 2015
    14. Endus

      Endus Community Developer

      Joined:
      Jul 9, 2012
      Messages:
      458
      Likes Received:
      6
      Trophy Points:
      18
      It will only set your desired Stance when it's summoned. That way if you have it set to Free and then want to throw it into Heal for a moment (to save you from death or what not) the CR won't fight you and throw it right back into Free.

      The Tanking Chocobo is pretty weak (it has a hard time with Emnity as you said). Most people usually spec their Chocobo for Healing as it helps a lot, especially with botting. :cool:
       

    Share This Page