Posts: 10
Threads: 1
Joined: Nov 2014
hello i'm crafting and need to use food for cp and bot doesn't recognize any food in bag ?
before it was working fine it show food no it doesn't any soultion
SS below
http://i.imgur.com/3TZwrDrl.jpg
Posts: 180
Threads: 29
Joined: Jul 2014
02-06-2017, 11:20 PM
(This post was last modified: 02-07-2017, 12:23 AM by tadeus.)
Modify ffxiv.lua.
Replace the function ffxivminion.UpdateFoodOptions() with this code:
Code:
function ffxivminion.UpdateFoodOptions()
local foodlistHQ = "None"
local foodlist = "None"
for x = 0,3 do
local inv = Inventory("type="..tostring(x))
if ( inv ) then
for i,item in pairs(inv) do
if (item.class == 5) then
if (toboolean(item.IsHQ)) then
if (ffxivminion.foodsHQ[item.name] ~= item.hqid) then
ffxivminion.foodsHQ[item.name] = item.hqid
end
foodlistHQ = foodlistHQ..","..item.name
else
if (ffxivminion.foods[item.name] ~= item.hqid) then
ffxivminion.foods[item.name] = item.hqid
end
foodlist = foodlist..","..item.name
end
end
end
end
end
gFood_listitems = foodlist
gFoodHQ_listitems = foodlistHQ
if (ffxivminion.foodsHQ[gFoodHQ] == nil) then
gFoodHQ = "None"
SafeSetVar("gFoodHQ",gFoodHQ)
end
if (ffxivminion.foods[gFood] == nil) then
gFood = "None"
SafeSetVar("gFood",gFood)
end
GUI_RefreshWindow(ffxivminion.Windows.Main.Name)
end
The next time you start minionapp and it does an update check, it will want to replace ffxiv.lua since you've changed it. You can update the file then reapply the change or ignore the update, your choice.
Cheers!