Hello guys
Where i put off the auto loot?
And someone can explain why never auto potion?
what i have to do
Thanks advanced
Auto Potion and loot
Re: Auto Potion and loot
Hello Mandy, if you are using OfficialGrinderFramework then follow this steps to disable auto loot.
Go to your Aion Script folder, then Scripting > OfficialGrinderFramework.
Look for Settings.lua, and edit the following line from true to false:
There are other options inside settings.lua that can be changed, such as self.AllowRest = true; to let or not your character rest at certain Hp/Mp level, some others about HerbTreatments and even potions.
You can tweak your settings according your needs.
Go to your Aion Script folder, then Scripting > OfficialGrinderFramework.
Look for Settings.lua, and edit the following line from true to false:
Code: Select all
-- Indicates whether or not to allow looting of targets (Requires AllowAttack).
self.AllowLoot = false;
You can tweak your settings according your needs.
Re: Auto Potion and loot
Ty Bro.. Now i just need know why may bots do not use potions...smaion40 wrote: ↑Thu Nov 02, 2017 10:37 amHello Mandy, if you are using OfficialGrinderFramework then follow this steps to disable auto loot.
Go to your Aion Script folder, then Scripting > OfficialGrinderFramework.
Look for Settings.lua, and edit the following line from true to false:
There are other options inside settings.lua that can be changed, such as self.AllowRest = true; to let or not your character rest at certain Hp/Mp level, some others about HerbTreatments and even potions.Code: Select all
-- Indicates whether or not to allow looting of targets (Requires AllowAttack). self.AllowLoot = false;
You can tweak your settings according your needs.
just Superior Recovery Potion
Re: Auto Potion and loot
AS counts with a function for both, HP and MP potions, it's inside the HelperFunction.lua
Code: Select all
function CheckPotionRecovery()
-- Prepare the variables to contain the best item and recharge.
local BestInventory = nil;
local BestRecharge = 0;
local TotalRechargeHealth = Player:GetHealthMaximum() - Player:GetHealthCurrent();
local TotalRechargeMana = Player:GetManaMaximum() - Player:GetManaCurrent();
-- Check if a potion is available.
if self._iPotionDelay == nil or self._iPotionDelay < Time() then
-- Loop through your inventory
for Inventory in ListIterator( InventoryList:GetList()) do
-- Check if this is a life potion
if string.find( Inventory:GetName(), "Design" ) == nil and string.find( Inventory:GetName(), "Recovery Potion" ) ~= nil then
if string.find( Inventory:GetName(), "Fine" ) ~= nil then
if TotalRechargeHealth >= 2120 and TotalRechargeMana >= 1830 and BestRecharge < 2120 then
BestInventory = Inventory;
BestRecharge = 2120;
end
elseif string.find( Inventory:GetName(), "Major" ) ~= nil then
if TotalRechargeHealth >= 1540 and TotalRechargeMana >= 1600 and BestRecharge < 1540 then
BestInventory = Inventory;
BestRecharge = 1540;
end
elseif string.find( Inventory:GetName(), "Greater" ) ~= nil then
if TotalRechargeHealth >= 1270 and TotalRechargeMana >= 1480 and BestRecharge < 1270 then
BestInventory = Inventory;
BestRecharge = 1270;
end
elseif string.find( Inventory:GetName(), "Lesser" ) ~= nil then
if TotalRechargeHealth >= 670 and TotalRechargeMana >= 980 and BestRecharge < 670 then
BestInventory = Inventory;
BestRecharge = 670;
end
elseif string.find( Inventory:GetName(), "Minor" ) ~= nil then
if TotalRechargeHealth >= 370 and TotalRechargeMana >= 590 and BestRecharge < 370 then
BestInventory = Inventory;
BestRecharge = 370;
end
elseif TotalRechargeHealth >= 970 and TotalRechargeMana >= 1280 and BestRecharge < 970 then
BestInventory = Inventory;
BestRecharge = 970;
end
end
end
-- Check if we have a positive match and see if the cooldown allows the use of it.
if BestInventory ~= nil and BestInventory:GetCooldown() == 0 then
if PlayerInput:Inventory( BestInventory:GetName()) then
self._iPotionDelay = Time() + BestInventory:GetReuse();
end
return false;
end
end
-- We have not executed any potion.
return true;
end
If you ask me, botting with potions isnt the most efficient way, you are wasting a lot of resources in the long term, and you can use the rest option to replenish your HP/MP after it reaches certain level.
For this, just modify the next lines: (these numbers means %).
Code: Select all
-- Indicates whether or not to allow resting (Requires AllowAttack).
self.AllowRest = true;
-- Contains the remaining amount of health required before resting (Requires AllowRest).
self.RestHealth = 30;
-- Contains the remaining amount of mana required before resting (Requires AllowRest).
self.RestMana = 30;
PD: That HelperFunction script is pretty old, and I think "Superior recovery serums" potions are not supported. Maybe that's your problem.
Who is online
Users browsing this forum: No registered users and 1 guest