• Visit Rebornbuddy
  • Stealth while mining and revive when killed

    Discussion in 'Rebornbuddy Support' started by MagistratMay, Mar 7, 2015.

    1. MagistratMay

      MagistratMay New Member

      Joined:
      Dec 7, 2014
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      Hello,

      I have the following Problem´and only when i mine Fire Crystals and Shards?

      After i Start the bot and go afk. I return and see that my character was killed,:( even thought there is no Monster near my area wo would attack me.

      Now i want to know if there is a stealth plugin or a System for reviving and returning to the map of current work??
       
      Last edited: Mar 7, 2015
    2. aionskyg

      aionskyg Banned

      Joined:
      Sep 3, 2012
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      add:
      <RunCode Name="Dismount" />
      <WaitTimer WaitTime="3" />
      <RunCode Name="UseStealth" />
      <WaitTimer WaitTime="3" />
      <RunCode Name="DisableMount" />
       
    3. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      That alone isn't enough, you need to define the CodeChunks that those RunCode names correspond to.
       
    4. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      383
      Likes Received:
      7
      Trophy Points:
      18
      As kagamihiiragi17 said, that alone isn't enough, you need to have the CodeChunk too. But also, remove those unnecessary WaitTimers too, they can be added to the UseStealth CodeChunk.

      Like this:

      Code:
               <RunCode Name="UseStealth"/>
               <RunCode Name="DisableMount"/>
      
      Using these CodeChunks:

      Code:
      	<CodeChunk Name="UseStealth">
      		<![CDATA[
                              if(Core.Player.IsMounted)
      			{
      				ff14bot.Managers.Actionmanager.Dismount();
      				await Buddy.Coroutines.Coroutine.Sleep(1500);
      			}		
      			SpellData data;
      			if (!Core.Me.HasAura("Stealth") && Actionmanager.CurrentActions.TryGetValue("Stealth", out data) && Actionmanager.CanCast(data, Core.Me))
      			{
      				Actionmanager.DoAction("Stealth", Core.Me);
      				await Buddy.Coroutines.Coroutine.Sleep(500);
      			}
      		]]>
      	</CodeChunk>	 
      
      Code:
              <CodeChunk Name="DisableMount">
      		<![CDATA[
      			ff14bot.Settings.CharacterSettings.Instance.UseMount = false;
      			await Buddy.Coroutines.Coroutine.Sleep(500);
      		]]>
      	</CodeChunk>
      
       

    Share This Page