Jump to content

Bear T.O.E.

Members
  • Posts

    472
  • Joined

  • Last visited

Posts posted by Bear T.O.E.

  1. Ok I just through this together Im not sure if it will work can someone look at this code and tell if there is something wrong with it. I need it to check for Fire Elemental totem and Not cast if this totem is up. Im not sure how to do that. Then I can edit it to do the same thing for Magma totem.

    I also need this one to recast after it have run for almost a minute, say at 10 second left on the timer.

     

     

     

     

     

    if (GetUnitSpeed("player") == 0) and not (UnitCastingInfo("player")) and not (UnitChannelInfo("player")) and not (UnitAffectingCombat("player")) and not (IsMounted())  and not (IsFlying())  and not (IsFalling())  and not (IsResting())  and not (UnitIsAFK("player")) then
        local timeLeftToCastAgain = 10*60;
        local idTotem={3599}
    --[[             Searing Totem ]]
        idTotem[1]={3599}
        local now=GetTime(10);
        for i=1,#idTotem do
            local TotemFound=0
            spellname=GetSpellInfo(idTotem)
                local haveTotem, totemName, startTime, duration = GetTotemInfo(1);
                if (haveTotem) then
                    local expireTimeLeft = expirationTime-now;
                    TotemFound=idTotem
                    if (expireTimeLeft < timeLeftToCastAgain) then
                        if (IsUsableSpell(spellname)) then
                            local start, duration, enable = GetSpellCooldown(spellname)
                            if (duration==0) then
                                CastSpellByName(spellname);
                                spell=spellname;
                            end
                        end
                        
                    end
                    break;
                end
            end

  2. Im not sure but I think you can convert it to the WRobot profile type cause as it is you cannot us it. And there will be alot of thing what dont convert so you will have to edit the profile and then makke them work so this will take some time but I bet you can do it. :)

  3. any mining node or herb node found in water you have to add them to the blacklist. How to add them to the blacklist you will need to stop the bot fly to the node stand on top of it or near it and open the profile creator load the profile you are wishing to edit go to blacklist and click the button that says add to blacklist

  4. add into the spell condition that it needs to have the buff Life bloom on the target in order to cast Rejuvenation. And is Swiftmend a Health Percentage of the target if the target is say for example at 75% health it casts Swiftmend. I hope this helps. I would also look into learning some LUA Scripting so you can add even more detailed reasoning to each spell.

  5. Hi there :) and welcome.

     

    Our community Plugins are located here: http://wrobot.eu/files/category/26-plugins/

     

    To install then Download, Unzip them, and place them into your WRobot Directory inside the ( Plugins ) Folder.

    Then Open the game, and start your WRobot. Go to General Settings Tab at the bottom of the Tab you will see ( Enter Advanced Settings ) Click it. In the General Settings Window you will see an Tab called ( Plugins ) Click this Tab. You will see the plugin you just installed in the list. Click the plugin to Highlight it. At the bottom Right of the Tab you will see ( Activate/Deactivate ) Button. Now click this Button. Now your Addon is Enabled and Running.

    To turn your addon off repeat these steps.

  6. And or Have completely different Sessions running. One WRobot in one folders and One WRobot in a different folder, Make sure that both Processes have completely different ID Numbers in your running Processes. If they do not there are utilities out on the market that can change their running process IDs. Then See that works. But if you don't have a Multi-Licence Key then I don't think that this will work at all too.

  7. OK Driodz is not casting Plague Strike to put Blood Plague on the target. Its not doing (1,2,1 do)

    meaning that

     

        --[[ Outbreak,Plague Strike ]]
    idDiseases[2]={77575,45462}

     

    Isnt being used for some reason or kept up on the target. But

     

    --[[ Outbreak,Icy Touch ]]
    idDiseases[3]={77575,45477}

     

    Is being kept up on the target.

     

    is there a reason why bot spells aren't being fires consecutively??? to keep the debuffs up on the target?

  8. ok in your fight class you would need to add this into you fight class file its self. ( this is the easiest way to help you out )

     

        <FightClassSpell>
          <SpellName>RunMacroText("/Use Potion of Luck")</SpellName>
          <FightClassConditions />
          <Priority>38</Priority>
          <Timer>1200000</Timer>
          <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
        </FightClassSpell>
        <FightClassSpell>
          <SpellName>Lifeblood</SpellName>
          <FightClassConditions>
            <FightClassCondition>
              <ContionType>IsSpellUsable</ContionType>
              <Param xsi:type="FightClassConditionStringBool">
                <Name>Lifeblood</Name>
                <Need>true</Need>
              </Param>
            </FightClassCondition>
            <FightClassCondition>
              <ContionType>HealthPercent</ContionType>
              <Param xsi:type="FightClassConditionNumber">
                <Type>SmallerOrEqual</Type>
                <Value>99</Value>
              </Param>
            </FightClassCondition>
          </FightClassConditions>
          <Priority>37</Priority>
          <Timer>120000</Timer>
        </FightClassSpell>

  9. NP TY. I'm working some LUA Scripts to put into my DK classes to make them even better so keep an eye out for an update. Right now I'm working on my Blood DK Codes. But once most of then are done I will one need to do a few Scripts for Frost and Unholy. So yeah as soon as I get them done my DK Fight classes should be set to optimum DPS. And for Blood abilities pop on Cool Down and used when health based. But the Blood Spec will take some time cause of the health monitor will take some time to figure out and build the script.

  10. Remember Im a novice at LUA. So please give me a detailed explanation so I can learn more. See Im still not sure how to through code together. So im finding other code and editing it to see if I can make it work for what im wanting to do. This is going to be a Disease Manager for DKs. Once the Disease get to 3 sec left of its target debuff then the DK will recast the move according to the disease to reapply it.

     

    if not (UnitIsDead("target")) and not (IsFlying("player")) and not (IsResting("player")) and not (UnitIsAFK("player")) then

        --[[ refresh the Diseases on the target if there are less then 3 sec left (to be sure that it dont run out while a fight ]]
        local timeLeftToCastAgain = 3;
        local idDiseases={59879,59921}
    --[[             Blood Plague,Frost Fever ]]
        idDiseases[1]={59879,59921}
    --[[             Outbreak,Plague Strike ]]
        idDiseases[2]={77575,45462}
        --[[             Outbreak,Icy Touch ]]
        idDiseases[3]={77575,45477}
        local now=GetTime();
        for i=("1,2"),#idDiseases do
            local spell="";
            local DiseaseFound=()
            for j=1,#idDiseases do
                spellname=GetSpellInfo(idDiseases[j])
                local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitBuff("target",spellname);
                if (name==spellname) then
                    local expireTimeLeft = expirationTime-now;
                    DiseasesFound=idDiseases[j]
                    if (expireTimeLeft < timeLeftToCastAgain) then
                        if (IsUsableSpell(spellname)) then
                            local start, duration, enable = GetSpellCooldown(spellname)
                            if (duration==3) then
                                CastSpellByName(spellname);
                                spell=spellname;
                            end
                        end
                        
                    end
                    break;
                end
            end
            if (DiseasesFound==0) then
                for j=("1,2"),#idDeases do
                    local spellname=GetSpellInfo(idDeases[j])
                    if (IsUsableSpell(spellname)) then
                        local start, duration, enable = GetSpellCooldown(spellname)
                        if (duration==0) then
                            CastSpellByName(spellname);
                            spell=spellname;
                            break;
                        end
                    end
                end
            end
            if not (spell=="") then
                print("Diseases: "..spell)
                result=true
                break;
            end
            
        end
    end
    result=(diseased>0)

  11. have you configured your firewall to allow WRobot through to the internet and added WRobot to the ignore section of your anti-virus? If so then what time of day is this happening. If it is prime time, and at your home then how many devices or computers do you have using the internet connection at the same time? this is why I'm asking. If you have say 115mb up load speed and each computer and device is trying to use 30mb of up load bandwidth and out of all the devices connecting to the net is 4 then you are going to have a traffic jam and some of the devices will end up have connection issues. There is a firewall out there that can help you manage your connection on each PC at least, its called NetLimiter. But this will allow you to install it on all your PCs in your house and then setup an amount of bandwidth set for each PC. I would also turn off the connection to the net for any devices that your not using. This will help out a lot too.

     

    Dowload NetLimiter http://www.netlimiter.com

    This is not Freeware. Around $30.00 USD.
     

×
×
  • Create New...