Jump to content

Azalina

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by Azalina

  1. It Work )))

    [F] 06:36:22.552 - [Spell] Cast Правосудие (Judgement)
    [F] 06:36:26.606 - [FightClass] Launch LUA script: UseContainerItem(0, 4);
    [F] 06:36:28.858 - [Spell] Cast Вспышка Света (Flash of Light)

    Now the spell is CALLED AND EXECUTED.  The final version looks like this.

        <FightClassSpell>
          <FightClassConditions>
            <FightClassCondition>
              <ContionType>HealthPercent</ContionType>
              <Param xsi:type="FightClassConditionNumber">
                <Type>Smaller</Type>
                <Value>20</Value>
              </Param>
            </FightClassCondition>
            <FightClassCondition>
              <ContionType>ManaPercent</ContionType>
              <Param xsi:type="FightClassConditionNumber">
                <Type>Smaller</Type>
                <Value>10</Value>
              </Param>
            </FightClassCondition>
          </FightClassConditions>
          <SpellName>UseContainerItem(0, 4);</SpellName>
          <Priority>43</Priority>
          <Timer>60000</Timer>
          <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
        </FightClassSpell>

    Thx Master Droidz

  2. 3 hours ago, headcrab said:

    Try to switch setting "For friends (party)", maybe will help

    This is ?

    <TargetFriends>true</TargetFriends>

    Strangely what in all other add-ons of WoW stated above a fragment of a code works correctly.
    Means. There is no mistake in a code. And matter in the changed handler of a code. That is the Developer that I have brought that. Or what that I haven't completed in the bot.

    2 hours ago, headcrab said:

    You can try LUA spell like this:

    
    CastSpellByName("Renew","target")

    it is convinced that it won't work. Because in a target at a bot the Enemy. But the bot sees a condition of the member of a party.
    And as soon as the conditions of application of a spell coincide... The bot applies a spell.
    Question.
    Where will a TREATMENT spell if in a target the ENEMY?
    Answer.
    In that who applies a spell. That is in. Not in the member of a party.

  3. Please tell me the correct sample code for vanilla . ln Lich King on Draenor,  and I used this .

        <FightClassSpell>
          <FightClassConditions>
            <FightClassCondition>
              <ContionType>TargetHealthPercent</ContionType>
              <Param xsi:type="FightClassConditionNumber">
                <Type>Smaller</Type>
                <Value>85</Value>
              </Param>
            </FightClassCondition>
            <FightClassCondition>
              <ContionType>Buff</ContionType>
              <Param xsi:type="FightClassConditionStringBool">
                <Name>Renew</Name>
              </Param>
            </FightClassCondition>
            <FightClassCondition>
              <ContionType>TargetDistance</ContionType>
              <Param xsi:type="FightClassConditionNumber">
                <Type>Smaller</Type>
                <Value>30</Value>
              </Param>
            </FightClassCondition>
          </FightClassConditions>
          <SpellName>Renew</SpellName>
          <Priority>32</Priority>
          <IsBuff>true</IsBuff>
          <AddToSettings>true</AddToSettings>
          <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
          <AddToSettingsName>Renew Party 1 </AddToSettingsName>
          <TargetFriends>true</TargetFriends>
          <DescriptionSpell>Renew Party 1 </DescriptionSpell>
          <CastOn>party1</CastOn>
        </FightClassSpell>

      The use of this code - the character heals himself and not the attacked member of the party

    <CastOn>target</CastOn> and  <CastOn>none</CastOn> also do not work.

     

  4. For an extensive treatment I use a healing potion. In the fourth cell of the character's backpack is a healing potion. as in 3 and 5. Just in case. In the class of the character, the following is written.

        <FightClassSpell>
          <FightClassConditions>
            <FightClassCondition>
              <ContionType>HealthPercent</ContionType>
              <Param xsi:type="FightClassConditionNumber">
                <Type>Smaller</Type>
                <Value>50</Value>
              </Param>
            </FightClassCondition>
            <FightClassCondition>
              <ContionType>LuaScript</ContionType>
              <Param xsi:type="FightClassConditionLua">
                <LuaScript>UseContainerItem(0, 4); </LuaScript>
              </Param>
            </FightClassCondition>
          </FightClassConditions>
          <SpellName>Heal Use </SpellName>
          <Priority>1</Priority>
          <AddToSettings>true</AddToSettings>
          <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
          <Timer>60000</Timer>
          <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
          <DescriptionSpell>Маленький флакон с лечебным зельем</DescriptionSpell>
          <CastOnSelf>true</CastOnSelf>
          <CastOn>player</CastOn>
        </FightClassSpell>

    But

    11:13:18 - [Fight] Player Attack Большой шкуродер (lvl 17)
    [F] 11:13:19 - [Spell] Cast Порча (Corruption)
    [F] 11:13:19 - [Spell] Cast Выстрел (Shoot)
    [F] 11:13:22 - [Spell] Cast Жертвенный огонь (Immolate)
    [F] 11:13:22 - [Spell] Cast Выстрел (Shoot)
    [F] 11:13:22 - [FightClass] Launch LUA script: Heal Use 
    [F] 11:13:24 - [Spell] Cast Проклятие агонии (Curse of Agony)
    [F] 11:13:24 - [Spell] Cast Выстрел (Shoot)
    [F] 11:13:29 - [Spell] Cast Страх (Fear)
    [F] 11:13:29 - [Spell] Cast Выстрел (Shoot)
    [F] 11:13:32 - [Spell] Cast Страх (Fear)
    [F] 11:13:32 - [Spell] Cast Выстрел (Shoot)
    [F] 11:13:34 - [Spell] Cast Похищение жизни (Drain Life)
    [F] 11:13:38 - [Spell] Cast Выстрел (Shoot)
    [F] 11:13:41 - [Spell] Cast Похищение души (Drain Soul)
    [F] 11:13:41 - [Spell] Cast Выстрел (Shoot)
    [F] 11:13:49 - [Spell] Cast Похищение души (Drain Soul)
    11:13:49 - [Resurrect] Player dead
    11:14:38 - [Resurrect] Player retrieve corpse

    The bot reports the execution of the command. But the healing potion does not suffer.

    [F] 11:13:22 - [FightClass] Launch LUA script: Heal Use 

    Through the tool DevelopmentTools, the command is executed and 1 unit of the potion is consumed.

    UseContainerItem(0, 4);
    
    // ret = nil
    // Execute time: 15

    How the code should be written to treat the character in combat with the help of the Potion of Healing. Anyone. Located in the 4th compartment of the backpack.

     

  5. 1. I do not play on the official server. 
    2. I brought a screen lock account.
    
    I have no idea what and how you change in the work of your program.
    I notify you of this.
    Perhaps some algorithms of the bot signal about this. 
    Perhaps this is not due to your recent changes. But the fact is a fact.
    Perhaps in the near future you will add additional functions that will hide the actions of the bot.
    Thank you.
    
     
  6. Звучит как  помогите и научите как играть в ВОВ. Конкретно - что непонятно ? После чтения топиков по обучению с этого  форума.

     

  7. Фрагмент лога

    Quote

    14:34:02 - [Looting] Skin/Gather/Mine  Серый лесной волк
    14:34:27 - [Fight] Player Attacked by Серый лесной волк (lvl 7)
    14:34:29 - [Looting] Loot Серый лесной волк

    Из лога следует ,что в программе логическая  ошибка . Так как  бот сначала  пробует  СНЯТЬ КОЖУ. Затем  пытается АТАКОВАТЬ. И лишь после  этого - попытка ЗАЛУТАТЬ моба.

    Попрошу исправить, поскольку  снятие  кожи для меня  очень  важно, Лицензия на бот приобретена.

    Спасибо за  понимание.

    From the log of performed actions is evident that the program has a logic error .

    Since the bot first tries to REMOVE the SKIN. Then trying to ATTACK. And only then attempt to GET LOOT from the mob.

    Asked to fix, as removal of a skin is very important to me, a License for boat I bought.  Thank you for your understanding.  

×
×
  • Create New...