• 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logitech's Releases for oGasai 2.1.x
#91
in the old guide is a link to the bop loot addon
  Reply
#92
In Feralas, Tanaris or Hinterlands this problem does met very often. I think this addon not help me. Because that item will drop many times. First time bot can take it, but second time it can't take it because it unique item.
To need add mob to black list if it has item from filter list.
  Reply
#93
(01-30-2018, 06:32 PM)lionet Wrote: Warlock can use HealthStone but can't create it. Warlock has spells like this - Create Healthstone (Minor), Create Healthstone (Lesser), etc.

I wrote new function and added it to rest function. It seems it work.

function:
Code:
function script_warlock:CreateHS()
        if (HasSpell("Create Healthstone (Major)")) then
           if(not IsStanding() or IsMoving()) then
                  StopMoving();
           end
           return localObj:CastSpell("Create Healthstone (Major)");
        elseif (HasSpell("Create Healthstone (Greater)")) then
        if(not IsStanding() or IsMoving()) then
                  StopMoving();
           end
           return localObj:CastSpell("Create Healthstone (Greater)");
        elseif (HasSpell("Create Healthstone")) then
        if(not IsStanding() or IsMoving()) then
                  StopMoving();
           end
           return localObj:CastSpell("Create Healthstone");
        elseif (HasSpell("Create Healthstone (Lesser)")) then
        if(not IsStanding() or IsMoving()) then
                  StopMoving();
           end
           return localObj:CastSpell("Create Healthstone (Lesser)");
        elseif (HasSpell("Create Healthstone (Minor)")) then
        if(not IsStanding() or IsMoving()) then
                  StopMoving();
           end
           return localObj:CastSpell("Create Healthstone (Minor)");
        end
        return false;
end

This code block should insert to --Create Healthstone block:
Code:
if (stoneIndex == -1 and HasItem("Soul Shard")) then
        if (localMana > 10 and not IsDrinking() and not IsEating() and not AreBagsFull()) then
            self.message = "Creating a healthstone...";
            script_warlock:CreateHS();
        end
    end
  Reply
#94
After use Moonfire (for druids) need to add timer for CD:
Code:
-- Moonfire before shapeshift
if (not targetObj:HasDebuff('Moonfire') and HasSpell('Moonfire') and localMana > 35) then
    if (Cast('Moonfire', targetObj)) then
        self.waitTimer = GetTimeEX() + 1650;
        return 0;
    end
end
because bot move to target melee after using Moonfire.
  Reply
#95
if you get the error
"failed to load/include scriptsendordb.lua" or "... script_vendor.lua"
you need to download them and put them into your scripts folder
  Reply
#96
Sometimes mob is staying on blue surface. At this moment script start to generate a paths. Blue area is not avalable for melee(from the point of view of the bot), so after 30 seconds script will add mob to blacklist and will ignore it.
  Reply
#97
Add this to function script_grind: setup() if you need to logout automatically after incoming whisper
Code:
local Whisp_EventFrame = CreateFrame("Frame");      
        Whisp_EventFrame:RegisterEvent("CHAT_MSG_WHISPER");      
    local function OnEvent(self, event, msg, sender, ...)        
        Logout(); StopBot();    
    end      
Whisp_EventFrame:SetScript("OnEvent", OnEvent);

Add this to function script_grind: setup() if you need to logout automatically after incoming whisper
Code:
local Whisp_EventFrame = CreateFrame("Frame");      
       Whisp_EventFrame:RegisterEvent("CHAT_MSG_WHISPER");      
    local function OnEvent(self, event, msg, sender, ...)        
        Logout(); StopBot();    
    end      
Whisp_EventFrame:SetScript("OnEvent", OnEvent);
  Reply
#98
anyone got the "Follower" script working with a priest? mine is buffing but not following :i

nvm, got it to work
  Reply
#99
Hey.

I have following problem:

When I start grinder or Logitech Grinder I receive a lua error in WoW:

[string "script_grind =[..."]:93: attempt to call global `NavmeshSmooth' (a nil value)


So grinding doesnt work. How do i fix this

[Image: ecm5ejl.png]

I am using 2.0.17
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)