Thread Rating:
  • 8 Vote(s) - 3.38 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cordial Usage Not working.
#1
PHP Code:
if (markerType == GetString("unspoiledMarker") or markerType == GetString("botanyMarker") or markerType == GetString("miningMarker")) then
local requiredGP 
tonumber(ml_task_hub:ThisTask().currentMarker:GetFieldValue(strings[gCurrentLanguage].minimumGP)) or 0
if (not ffxiv_task_gather.gatherStartedthen
if (Player.gp.current requiredGPthen
if (((requiredGP Player.gp.current) > 50) and gGatherUseCordials == "1"then
if (ItemIsReady(6141)) then
local newTask 
ffxiv_task_useitem.Create()
newTask.itemid 6141
ml_task_hub
:CurrentTask():AddSubTask(newTask)
end
end
return false
else
return 
true
end
else
return 
true
end
else
return 
true
end 

local requiredGP = tonumber(ml_task_hub:ThisTask().currentMarker:GetFieldValue(strings[gCurrentLanguage].minimumGP)) or 0
This line will always return 0. Making the bot never use cordial. Can you please re-look at cordial usage?
Reply
 


Messages In This Thread
Cordial Usage Not working. - by crayfish - 10-14-2014, 02:18 AM
RE: Cordial Usage Not working. - by Ace - 10-14-2014, 07:38 PM
RE: Cordial Usage Not working. - by crayfish - 10-15-2014, 04:32 AM
RE: Cordial Usage Not working. - by Ace - 10-15-2014, 07:46 PM
RE: Cordial Usage Not working. - by crayfish - 10-16-2014, 02:24 AM
RE: Cordial Usage Not working. - by Ace - 10-16-2014, 09:24 PM
RE: Cordial Usage Not working. - by crayfish - 10-17-2014, 02:56 PM
RE: Cordial Usage Not working. - by knighted1 - 10-13-2015, 09:24 PM

Forum Jump:


Users browsing this thread:

We help you win the game.

FFXIV Bot and More.

 

Products