Thread Rating:
  • 9 Vote(s) - 3.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gathering options (LUA scripting)
#1
tried adding the spell action 43 for kings yield II for my mining, right before the bot starts gathering, at line 178 in ffxiv_task_gather.lua, though problem is bot stops running, and wont do the action either when it starts mining, so it just stands there without actually mining. Any ideas what I can do?

(Might be im even getting the code wrong :P

//line 178
local myspell = ActionList("actionid=241")
myspell:Cast(Player)


I also tried changing the area there by adding:

local list = Player:GetGatherableSlotList() //already there
local mytarget = Player:GetTarget()
local myspell = ActionList("actionid=241")
if (list ~= nil) then //already there
myspell:Cast(mytarget.id)


But sadly, that didnt work either.


edit:

says in console;
attempt to call method 'Cast' (a nil value), when i write directly into console.

edit2:
no worries, got it working with ActionList:Cast(241,0), sorry 'boat that.
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products